Commit graph

519 commits

Author SHA1 Message Date
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
Tulir Asokan
36bb15fbd6 Handle cases where sync response handling takes too long 2020-10-06 22:22:04 +03:00
Tulir Asokan
18f709f435 Add some more logs in bridge bot syncing 2020-10-06 21:39:35 +03:00
Tulir Asokan
491d8b232e Stop using github.com/pkg/errors 2020-10-05 22:38:34 +03:00
Tulir Asokan
6315dac2eb Slightly improve waiting for inbound Megolm sessions 2020-10-05 22:32:35 +03:00
Tulir Asokan
0f17863708 Add command to reset the megolm session in a room 2020-10-05 22:32:15 +03:00
Tulir Asokan
f21f57f09f Fix delete-session not deleting all cached state 2020-10-04 13:55:09 +03:00
Tulir Asokan
1379e46e1e Update mautrix-go 2020-10-02 01:13:26 +03:00
Tulir Asokan
3afe65726d Update mautrix-go 2020-09-29 11:17:48 +03:00
Tulir Asokan
3dae9b1999 Add connection state to prometheus metrics 2020-09-27 22:30:08 +03:00
Tulir Asokan
f88abe98bf Skip key sharing IsInPortal check if user is admin 2020-09-25 21:33:55 +03:00
Tulir Asokan
34163859f0 Fix no-crypto build 2020-09-24 15:49:13 +03:00
Tulir Asokan
d67c3a8c96 Wait up to 3 seconds for encryption keys to arrive 2020-09-24 15:25:36 +03:00
Tulir Asokan
0b2fd69bf1 Send error notice if decrypting event fails 2020-09-17 22:01:17 +03:00
Tulir Asokan
4b3c411f2f Ping again if stream goes to sleep soon after connection 2020-09-17 18:48:37 +03:00
Tulir Asokan
01101c1272 Move .github metadata to common repo 2020-09-09 01:20:25 +03:00
Tulir Asokan
075689dacf Update go-whatsapp and rename device name config fields 2020-09-04 17:54:59 +03:00
Tulir Asokan
1edf8bb9e1
Bump version to v0.1.4 2020-09-04 17:53:53 +03:00
Tulir Asokan
2638204eaa Add option to update m.direct with double puppeting 2020-08-22 13:07:55 +03:00
Tulir Asokan
b1c947da99 Remove deploy step in CI 2020-08-18 12:05:32 +03:00