Commit graph

382 commits

Author SHA1 Message Date
Tulir Asokan
44b399790b Fix replies in encrypted rooms 2020-06-30 16:26:13 +03:00
Tulir Asokan
5a611146cb Update go-whatsapp to improve some errors 2020-06-26 00:37:17 +03:00
Tulir Asokan
f4ce80f98e Handle contact and battery events 2020-06-25 16:44:51 +03:00
Tulir Asokan
d4e812b968 Update mautrix-go 2020-06-24 00:31:50 +03:00
Tulir Asokan
542d30ead7 Use SQLCryptoStore from mautrix-go and update deps 2020-06-23 23:22:44 +03:00
Tulir Asokan
c541afbb46 Update go-whatsapp again 2020-06-23 19:01:11 +03:00
Tulir Asokan
63a1a77f26 Update go-whatsapp to handle unknown ping responses 2020-06-23 15:36:08 +03:00
Tulir Asokan
58de73f8b2 Update mautrix-go 2020-06-23 14:52:32 +03:00
Tulir Asokan
beed19fdad Add Prometheus metrics
Closes #197

Co-authored-by: haywo <haywo@nct08.de>
2020-06-17 17:50:06 +03:00
Tulir Asokan
59e2015fa7 Add option to resend bridge info to all portals 2020-06-15 20:28:04 +03:00
Tulir Asokan
7c799f1faa Encrypt media from WhatsApp when sending to encrypted portal 2020-06-10 15:26:14 +03:00
Tulir Asokan
e4a160e650 Add basic bridging of contact messages to Matrix 2020-06-10 14:06:36 +03:00
Tulir Asokan
934f98119f Add option to disable notifications during initial backfill 2020-06-08 20:51:24 +03:00
Tulir Asokan
aea84c9907 Update mautrix-go to fix new OTK generation for e2be 2020-06-04 18:39:11 +03:00
Tulir Asokan
7b75d763ed Update mautrix-go 2020-06-03 19:49:57 +03:00
Tulir Asokan
91db286208 Update mautrix-go 2020-05-26 17:51:20 +03:00
Tulir Asokan
d625ad0066 Update go-whatsapp 2020-05-24 17:47:05 +03:00
Tulir Asokan
91bb38eaa3 Wait for response even after message send timeout 2020-05-24 15:33:26 +03:00
Tulir Asokan
fc6f8df4d3 Fix replacing outbound group session in db 2020-05-12 23:33:59 +03:00
Tulir Asokan
c9adb3aba3 Store outbound group sessions in database 2020-05-12 23:16:33 +03:00
Tulir Asokan
1c3de877db Maybe support e2be by default and fix some bugs 2020-05-12 22:25:55 +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
e7458139c4 Update deps 2020-05-09 02:14:12 +03:00
Tulir Asokan
f89fcf7212 Make no-cgo build work without source changes 2020-05-09 02:08:23 +03:00
Tulir Asokan
acc25a02e4 Update mautrix-go 2020-05-08 22:32:22 +03:00
Tulir Asokan
e0aea74abf Update go-whatsapp to prevent rare panic when disconnecting 2020-04-21 23:18:28 +03:00
Tulir Asokan
53fe1b1818 Update go-whatsapp. Fixes #169 2020-04-21 09:25:18 +03:00
Tulir Asokan
0ded3aa7af Update go-whatsapp 2020-04-12 10:43:33 +03:00
Tulir Asokan
78d3d22cd4 Add support for setting group description from Matrix 2020-03-31 16:27:42 +03:00
Tulir Asokan
3f60a6f28e Update go-whatsapp to fix file uploading 2020-03-31 11:55:07 +03:00
Tulir Asokan
ac356031ac Update all deps 2020-03-27 10:27:03 +02:00
Tulir Asokan
0b6f14460d Update go-whatsapp to get new protobuf schema 2020-03-26 21:49:35 +02:00
Tulir Asokan
f66041eaf9 Update go-whatsapp 2020-03-26 20:15:32 +02:00
Tulir Asokan
a937863c1e Update mautrix-appservice-go 2020-03-26 19:57:46 +02:00
Marco Antonio Alvarez
2d8bc96a09
updated to latest mautrix-go and mautrix-appservice-go (#145) 2020-03-26 19:31:56 +02:00
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