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
Tulir Asokan
284fe7f1a6
Build static executables with olm using gomuks-build-docker
2020-10-19 15:36:40 +03:00
Tulir Asokan
592b0862ce
Install yq from alpine repos
2020-10-19 14:46:59 +03:00
Tulir Asokan
38bfafbe3a
Point GOCACHE to CI cache dir
2020-10-19 02:19:34 +03:00
Tulir Asokan
1af8260ddc
Remove alpine edge from gitlab CI build as well
2020-10-19 02:17:51 +03:00
Tulir Asokan
22023404bc
Stop using alpine edge for some packages in dockerfile
2020-10-19 01:45:53 +03:00
Tulir Asokan
b76b9ce790
Use Gauge instead of fake Enum to count connected users
2020-10-16 16:52:54 +03:00
Tulir Asokan
ead8a869c8
Use MSC2778 instead of shared secret for bridge bot login
2020-10-16 16:52:37 +03:00
Tulir Asokan
0329dd5e62
Update mautrix-go to fix errors.Is
2020-10-12 18:24:36 +03:00
Remi Reuvekamp
702a837929
Set RestrictMessageSending in portal create+update
...
Fixes #228
2020-10-12 12:59:14 +02:00
Tulir Asokan
cd8352a7df
Remove webp conversion
2020-10-09 18:24:29 +03:00