Commit graph

42 commits

Author SHA1 Message Date
Tulir Asokan 09385713de Include commit information in CI builds. Fixes #158 2020-06-03 20:32:53 +03:00
Tulir Asokan b4949eec59 Add missing crypto != nil checks 2020-05-21 21:56:46 +03:00
Tulir Asokan dfc5722a80 Move crypto store to main database 2020-05-09 20:08:05 +03:00
Tulir Asokan 6e50a7c380 Switch appservice module location 2020-05-09 20:08:05 +03:00
Tulir Asokan baae66ed04 Add basic end-to-bridge encryption support
Still missing persisting sync tokens and crypto state in DB
2020-05-09 02:04:01 +03:00
Tulir Asokan acc25a02e4 Update mautrix-go 2020-05-08 22:32:22 +03:00
Tulir Asokan 16dc3c8699 Add initial provisioning API 2020-02-09 20:32:14 +02:00
Tulir Asokan 03d42640fe Add basic relaybot support. Fixes #20 2019-11-10 21:22:11 +02:00
Tulir Asokan d91f705e95 Fix most unexpected logout bugs, handle connection-in-progress states better and send warning message if sending to whatsapp times out 2019-08-30 22:04:57 +03:00
Tulir Asokan 0f36ee0168 Add way to migrate database 2019-08-25 19:26:04 +03:00
Tulir Asokan 3be9aa2319 Improve errors in state store migration edge cases 2019-08-25 17:25:19 +03:00
Tulir Asokan ab91d326fd Move Matrix state store to main database. Fixes #64 2019-08-25 16:29:35 +03:00
Tulir Asokan 15b0798cdd Check connection to homeserver before starting. Fixes #15 2019-08-25 00:34:58 +03:00
Tulir Asokan 18724cde6e Don't open log file if file name format is unset 2019-08-24 22:45:16 +03:00
Tulir Asokan 4a13ae731a Fix custom puppet start loop 2019-05-31 23:07:33 +03:00
Tulir Asokan 063ec7873d Don't allow unsupported database versions without flag 2019-05-28 21:29:43 +03:00
Tulir Asokan 2c9c473040 Add basic Matrix puppeting support
May contain bugs.
EDUs from /sync are not yet handled.
2019-05-24 02:33:30 +03:00
Tulir Asokan 5eb06ee43c Update go-whatsapp with new proto version 2019-05-23 22:57:19 +03:00
Tulir Asokan 94ba2244b0 Disconnect clients when stopping bridge 2019-05-23 19:16:29 +03:00
Tulir Asokan 38540d8efb Make max database connection count configurable and default to 20 2019-05-17 23:33:27 +03:00
Tulir Asokan b0d774a5a5 Add database migrations and handle leaving private chat portals. Fixes #7 2019-05-16 21:26:43 +03:00
Andrew Morgan 99ce84151a Add comma to sentence (#54)
Makes it read nicer.
2019-04-06 22:41:15 +03:00
Tulir Asokan 043820755f Revert go-whatsapp update again
This partly reverts commit b092e71a44
2019-03-30 19:25:26 +02:00
Tulir Asokan b10fac2bb1 Update go-whatsapp. Fixes #35 2019-03-14 01:15:39 +02:00
Dominic Renner 5efd476c0a Update main.go 2019-03-06 22:21:24 +01:00
Dominic Renner 4ba331fbfd Update main.go 2019-03-06 18:28:26 +01:00
Dominic Renner daf0faab61 Fixed many database issues 2019-03-06 16:33:42 +01:00
Tulir Asokan 9e170f3d04 Add a bunch of new logging 2019-01-21 23:55:16 +02:00
Tulir Asokan 79bd35964f Update license year, Dockerfile, docker-run.sh and deps and add editorconfig 2019-01-12 15:54:04 +02:00
Tulir Asokan 1cccefd34c Switch to Go modules 2019-01-11 21:17:39 +02:00
Jörg Sommer a626d14a3f No sync on startup; new command import contacts
Having an import of all contacts on each startup and after login is very
annoying, if you have a big list of contacts. If you choose to not join a
room with all contacts, you get the invitation over and over on each
restart of the service. Better is to have a command for the management
room to explicitly start the import.
2018-12-07 20:08:06 +01:00
Tulir Asokan 22cdf519f2 Fix desegregation changes to make the bridge work again 2018-08-30 01:10:26 +03:00
Tulir Asokan 5a1a6f9c3c Remove config update stuff 2018-08-29 23:48:15 +03:00
Tulir Asokan c7348f29b0 Initial desegregation of users and automatic config updating 2018-08-29 00:40:54 +03:00
Tulir Asokan 22e76b6a37 Format 2018-08-26 22:53:13 +03:00
Tulir Asokan a9124b89bd Fix and add things
* Fix user ID reservation in registration
* Fix some database things
* Add commands
* Add basic contact syncing and portal creation
* Add better error logging
2018-08-18 22:57:33 +03:00
Tulir Asokan edd4f817e4 Use type aliases for different ID types and add puppet type 2018-08-17 00:11:28 +03:00
Tulir Asokan 141eba644b Fix data storage and other things 2018-08-16 19:20:07 +03:00
Tulir Asokan 9c48eeb534 Add puppet and portal stuff and fix config stuff 2018-08-16 15:59:18 +03:00
Tulir Asokan fd3c1fb77c Add database models and improve config/main 2018-08-13 23:24:44 +03:00
Tulir Asokan ace08205d9 Initial config structs and example config, some whatsapp testing 2018-08-13 01:00:23 +03:00
Tulir Asokan c84b5dd5dc Initial commit 2018-08-12 22:26:05 +03:00