Commit Graph

590 Commits

Author SHA1 Message Date
Karmanyaah Malhotra
daf1edffb7 database issues 2021-02-28 15:02:11 -05:00
Karmanyaah Malhotra
b8044adf3f Fix jid assignments and stuff 2021-02-28 15:01:32 -05:00
Karmanyaah Malhotra
a46326cedd List and Open commands 2021-02-28 14:59:03 -05:00
Karmanyaah Malhotra
3e75ffaf05 handle leave chat from matrix side 2021-02-27 20:07:46 -05:00
Karmanyaah Malhotra
b5af55122e avatar and room on join 2021-02-27 17:39:19 -05:00
Karmanyaah Malhotra
27d3e0322d Avatar gm -> matrix
mute system messages
2021-02-23 00:28:11 -05:00
Karmanyaah Malhotra
5dbace10c6 both way sync 2021-02-22 22:02:33 -05:00
Karmanyaah Malhotra
f1c093896e kinda 2021-02-21 22:46:17 -05:00
Karmanyaah Malhotra
7cb9983da8 super basic 2021-02-21 00:59:07 -05:00
Karmanyaah Malhotra
eafc18099d BIG ASS COMMIT 2021-02-13 00:53:35 -05: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