Commit graph

132 commits

Author SHA1 Message Date
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