Commit graph

196 commits

Author SHA1 Message Date
Tulir Asokan
16dc3c8699 Add initial provisioning API 2020-02-09 20:32:14 +02:00
Tulir Asokan
e056459ab4 Add/fix sticker bridging in both directions
* Matrix stickers are sent as images
* WhatsApp stickers were missing the incoming event handler

Fixes #124
Fixes #127
Closes #126
Closes #129

Co-authored-by: rafaeltheraven <rafael.dulfer@gmail.com>
2019-12-31 20:22:04 +02:00
Tulir Asokan
ec0e60c71c Add option to automatically enable custom puppeting with shared secret login 2019-12-30 20:21:04 +02:00
Tulir Asokan
03d42640fe Add basic relaybot support. Fixes #20 2019-11-10 21:22:11 +02:00
Nicolas Werner
fc4098d3e4 Receive stickers from whatsapp
We need to convert them to png, otherwise synapse has trouble
thumbnailing them. Also the default webp decoder can't decode WhatsApp
stickers, so we use the chai2010 decoder.
2019-10-05 02:39:55 +02:00
Tulir Asokan
22fb5c125d Update go-whatsapp (ref #94) 2019-09-03 21:24:33 +03:00
Tulir Asokan
9c144e480e Update mautrix-appservice-go 2019-09-01 18:23:14 +03:00
Tulir Asokan
6861ba00ec Update go-whatsapp 2019-08-31 00:33:39 +03:00
Tulir Asokan
04192da0a6 Update go-whatsapp dep 2019-08-30 22:22:44 +03:00
Tulir Asokan
db53b95ab1 Try to ensure recovered panics still print stack traces 2019-08-30 09:39:41 +03:00
Tulir Asokan
ab91d326fd Move Matrix state store to main database. Fixes #64 2019-08-25 16:29:35 +03:00
Tulir Asokan
1490830be2 Use handlers instead of sleeping for startup chat/contact sync 2019-08-25 00:25:29 +03:00
Tulir Asokan
2c89089650 Update deps 2019-08-24 22:56:29 +03:00
Tulir Asokan
b9ce4d7ab4 Update mautrix-appservice-go 2019-08-23 00:02:04 +03:00
Tulir Asokan
35e28feb7c Update deps 2019-07-18 00:18:01 +03:00
Tulir Asokan
2023f55f32 Recover from panics in event handlers 2019-06-18 08:24:17 +03:00
Tulir Asokan
45e60c2510 Update go-whatsapp 2019-06-16 23:00:45 +03:00
Tulir Asokan
d270c86709 Update go-whatsapp 2019-06-12 12:38:07 +03:00
Tulir Asokan
c4186c9029 Update deps and add real version for go-whatsapp dep
Closes #66
2019-06-01 20:18:24 +03:00
Tulir Asokan
666194b066 Possibly fix and/or break missed message backfilling 2019-05-28 21:30:39 +03:00
Tulir Asokan
402f482db3 Update deps 2019-05-27 13:48:11 +03:00
Tulir Asokan
0db44d4cc7 Remove dev replaces in go.mod again 2019-05-24 02:36:59 +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
2f78d803c2 Update deps 2019-05-23 18:24:58 +03:00
Tulir Asokan
6f2a51410f Make message handling more synchronous and fill history on portal create 2019-05-21 23:44:14 +03:00
Tulir Asokan
9c8a75583e Update deps 2019-05-20 18:46:18 +03:00
Tulir Asokan
bd1d60639c Switch to go-whatsapp fork to test json parse error fix 2019-05-20 18:45:16 +03:00
Tulir Asokan
33148909d6 Remove dev replaces in go.mod again 2019-05-17 02:33:49 +03:00
Tulir Asokan
b0d774a5a5 Add database migrations and handle leaving private chat portals. Fixes #7 2019-05-16 21:26:43 +03:00
Tulir Asokan
f39fd0ac46 Update mautrix-go 2019-05-16 00:51:45 +03:00
Tulir Asokan
7fb5cfe884 Remove dev replaces that were accidentally committed 2019-05-15 23:17:31 +03:00
Tulir Asokan
6b73c66e12 Improve connection error handling 2019-05-15 23:04:09 +03:00
Tulir Asokan
69879df346 Update deps 2019-05-15 21:49:16 +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
Tulir Asokan
c88e299348 Set name for status broadcast room when creating and reformat example config
Fixes #27
2019-03-14 00:54:05 +02:00
Tulir Asokan
e051067f81 Upgrade dependencies to version without Rhymen/go-whatsapp@c9a81e9 2019-02-24 02:22:57 +02:00
Tulir Asokan
6f300ae6cb Revert "Use fork of go-whatsapp with better connection handling"
This reverts commit c5aac5e770.
2019-02-23 23:29:26 +02:00
Tulir Asokan
542aafe7df Revert "Update dependencies"
This reverts commit cc8928b30e.
2019-02-23 23:27:38 +02:00
Tulir Asokan
8dfc37b190 Use fork of go-whatsapp with better connection handling 2019-02-20 15:15:30 +02:00
Tulir Asokan
58a1ec9f2e Update dependencies 2019-02-20 13:12:23 +02:00
Tulir Asokan
010059969a Remove replace directives in go.mod 2019-01-27 14:17:51 +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