Tulir Asokan
9f4283b4e0
Add option to disable bridging Matrix leave events
2021-02-10 22:15:23 +02:00
Tulir Asokan
ba0ec021ba
Update go-whatsapp
2021-02-10 21:20:31 +02:00
Tulir Asokan
e6045a3cf5
Fix bug if portal sync finishes early
2021-02-10 20:59:50 +02:00
Tulir Asokan
87ead90e03
Ignore group leaves in message history
2021-02-10 20:27:14 +02:00
Tulir Asokan
db2793c5e1
Maybe handle syncing after repeated dis/connections better
2021-02-10 12:13:18 +02:00
Tulir Asokan
394da69a69
Ignore picture commands if chat meta sync is disabled
...
We get the same data from the message log
2021-02-09 23:52:55 +02:00
Tulir Asokan
2188dc7701
Add option to not re-sync chat info and user avatars to avoid rate limits
2021-02-09 23:41:13 +02:00
Tulir Asokan
4304472fc9
Add more logging in provisioning API
2021-02-09 17:03:34 +02:00
Tulir Asokan
bcdc19d4f4
Update go-whatsapp to handle weird ping responses
2021-02-08 22:10:53 +02:00
Tulir Asokan
fec43431f7
Cancel login if websocket is closed
2021-02-07 22:14:13 +02:00
Tulir Asokan
eb2c66c753
Fix wrong log type
2021-02-07 21:48:42 +02:00
Tulir Asokan
449943bef8
Log ping status when calling provisioning API
2021-02-07 17:35:06 +02:00
Tulir Asokan
1a6fdf565e
Fix error checks in provisioning API login
2021-02-07 16:54:09 +02:00
Tulir Asokan
1583ccd013
Update Docker image to Alpine 3.13
2021-02-05 19:39:27 +02:00
Tulir Asokan
79229ef19f
Remove unused import
2021-02-05 19:36:55 +02:00
Tulir Asokan
1c801594d5
Add option to auto-reconnect even on clean disconnects
2021-02-05 19:26:26 +02:00
Tulir Asokan
3c7ff4bc0c
Miscellaneous improvements to connection management
2021-02-05 19:26:09 +02:00
Tulir Asokan
25cca87959
Stringify error message in ping endpoint
2021-01-28 22:46:57 +02:00
Alexandre Macabies
95f6487912
Make database log a sublogger of Bridge, like all other modules. ( #260 )
2021-01-25 21:01:54 +02:00
Tulir Asokan
500cb0cd7c
Improve logging when fetching backfill messages
2021-01-23 18:09:58 +02:00
Tulir Asokan
cea2e1a377
Update go-whatsapp to add timeout for some queries
2021-01-22 21:15:35 +02:00
Tulir Asokan
4e8e63388a
Update go-whatsapp again to fix old media download regression
2021-01-22 00:10:12 +02:00
Tulir Asokan
b003a6985c
Update go-whatsapp
2021-01-21 23:03:39 +02:00
Tulir Asokan
5809a6d57b
Disable personal filtering communities by default. Closes #258
2021-01-16 02:47:23 +02:00
Tulir Asokan
e2024aa1e4
Bump version to v0.1.5
2020-12-28 18:57:35 +02:00
Tulir Asokan
0c3b08cd97
Update mautrix-go
2020-12-28 00:22:40 +02:00
Tulir Asokan
eba66693b0
Fix handling empty commands
2020-12-28 00:21:26 +02:00
Tulir Asokan
48d7ec6919
Allow browsers to authenticate in login websocket
2020-11-24 16:48:29 +02:00
Tulir Asokan
97407823e7
Update mautrix-go
2020-11-21 14:50:15 +02:00
Tulir Asokan
b4d7617967
Make force logout the default
2020-11-19 20:08:27 +02:00
Tulir Asokan
b24672d6b4
Add force param to logout provisioning API
2020-11-19 19:18:59 +02:00
Tulir Asokan
e6ccdb83b7
Revert portal backfill lock changes and update mautrix-go
2020-11-18 13:29:47 +02:00
Tulir Asokan
83779c6970
Correctly log cases where getMessageIntent returns nil
2020-11-17 02:16:32 +02:00
Tulir Asokan
7d54aca762
Add metric for tracking buffer size
2020-11-16 14:28:08 +02:00
Tulir Asokan
43c7d50721
Fix incorrect error check after retrying decryption
2020-11-14 19:39:14 +02:00
Tulir Asokan
8348d5539b
Set nova nightly image hash in CI
2020-11-11 23:19:19 +02:00
Tulir Asokan
8b7d7af498
Update mautrix-go
2020-11-10 16:30:41 +02:00
Tulir Asokan
56e4a67f42
Update mautrix-go
2020-11-10 12:37:33 +02:00
Tulir Asokan
05b8d577f3
Retry sending messages if server returns 502
2020-11-09 18:05:23 +02:00
Tulir Asokan
673f5a8389
Fix dropped message log
2020-11-06 15:56:07 +02:00
Tulir Asokan
4eacece8ba
Use ring buffer for message handling
...
This can sometimes avoid dropping the wrong messages if syncing chats
takes too long.
2020-11-06 15:52:18 +02:00
Tulir Asokan
221326bcbf
Add metric for users locked in post-login sync
2020-11-06 02:38:31 +02:00
Tulir Asokan
bf5be3fe62
Add more debug logs in post-connection code
2020-11-06 02:29:14 +02:00
Tulir Asokan
a49a5fa3d4
Retry sending when receiving 599 error
2020-11-04 14:58:24 +02:00
Tulir Asokan
a1740db0d7
Fix bridge->bridge file names
...
WhatsApp uses the "title" and "fileName" fields for document names. The bridge
was only reading title and sending fileName, so sending a document from one
bridge to another through WhatsApp would lose the file name.
Also use names like "image.png" instead of "<random id>.png" for unnamed files
2020-11-02 17:18:21 +02:00
Tulir Asokan
0c60516702
Fix --ignore-unsupported-database flag
2020-11-02 16:16:36 +02:00
Tulir Asokan
63933d0c7e
Include debug message when receiving 599 status code
2020-10-26 17:10:46 +02:00
Tulir Asokan
cccaa62a20
Merge pull request #232 from rreuvekamp/fix_228
...
Set RestrictMessageSending in portal create+update
2020-10-24 16:53:46 +03:00
Tulir Asokan
e02da56ad0
Fix creating groups in unencrypted rooms
...
Fixes #209
Closes #233
2020-10-24 16:51:24 +03:00
Tulir Asokan
e25a87244b
Add quotes around room ids in example config
2020-10-19 16:06:12 +03:00