Commit graph

230 commits

Author SHA1 Message Date
Tulir Asokan adbdf55926 Improve edge case handling in login command by not assuming connection status 2019-05-15 23:17:09 +03:00
Tulir Asokan 6b73c66e12 Improve connection error handling 2019-05-15 23:04:09 +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
Sami Olmari d634addafc Change help 'import contacts' to 'sync'
After user succesfully sets up bridge, bot will tell what to do next. This info had still old command so I updated message to reflect new 'sync' directive.
2019-03-05 18:56:14 +02: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 c7348f29b0 Initial desegregation of users and automatic config updating 2018-08-29 00:40:54 +03:00
Tulir Asokan 6ad224a58b Convert mentions to names in plaintext body. Fixes #3 2018-08-28 20:09:37 +03:00
Tulir Asokan dad2fc29ab Send captions in a different message and improve other things 2018-08-27 23:15:05 +03:00
Tulir Asokan 941ab724c6 Add bridge permission checks 2018-08-26 17:08:37 +03:00
Tulir Asokan f78fb72622 Implement WhatsApp->Matrix power level bridging 2018-08-26 16:11:48 +03:00
Tulir Asokan d3a178ecf3 Add handling for group metadata changes and refactor things
Group metadata temporarily broken until power level bridging is implemented
2018-08-26 01:56:22 +03:00
Tulir Asokan ccfa85e44a Handle user avatar changes 2018-08-26 01:56:22 +03:00
Tulir Asokan 060516f9cf Add Matrix->WhatsApp replies and other stuff 2018-08-26 01:56:22 +03:00
Tulir Asokan 7f91d91f1b Fix read receipts in private chats and remove unnecessary stuff 2018-08-26 01:56:22 +03:00
Tulir Asokan 5eacaafc93 Add last typing update timestamp to check intended action of available presence properly 2018-08-24 22:06:17 +03:00
Tulir Asokan a7f7295528 Add WhatsApp->Matrix typing notifications and presence 2018-08-24 20:02:38 +03:00
Tulir Asokan 1f87deb317 Add WhatsApp->Matrix read receipts and phone connection notifications 2018-08-24 20:02:18 +03:00
Tulir Asokan b62a85a6df Implement matrix->whatsapp formatting and fix whatsapp->matrix files 2018-08-24 00:52:06 +03:00
Tulir Asokan 329bc9d8ce Add avatars, room topics and message deduplication 2018-08-23 01:12:26 +03:00
Tulir Asokan c1f8d264f4 Fix portal DB scanning and add initial message bridging 2018-08-19 18:21:38 +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