Commit graph

291 commits

Author SHA1 Message Date
Tulir Asokan
dbab44c945 Ignore unknown old messages 2023-08-10 16:25:42 +03:00
Tulir Asokan
bd213bf550 Delete state if phone ID changes on login 2023-08-10 15:55:33 +03:00
Tulir Asokan
efb0008ca0 Make event handling synchronous 2023-08-10 15:40:43 +03:00
Tulir Asokan
3fc26339d8 Send notifications if applicable when using beeper batch sending 2023-08-10 14:09:26 +03:00
Tulir Asokan
c88e5ec550 Fetch conversation info if necessary when creating portal 2023-08-10 14:09:08 +03:00
Tulir Asokan
39ed9890bc Update dependencies 2023-08-10 14:08:48 +03:00
Tulir Asokan
ad4b9a84b7 Adjust error messages 2023-08-10 11:39:18 +03:00
Tulir Asokan
84aa0c6f4f Check existing messages when forward backfilling 2023-08-10 11:39:09 +03:00
Tulir Asokan
211f000b28 Stop bridging protocol switch messages 2023-08-10 11:30:17 +03:00
Tulir Asokan
f72cb7d7da Track number of parts in message 2023-08-09 19:49:36 +03:00
Tulir Asokan
d1ba596504 Handle message updates properly instead of dropping in-progress messages 2023-08-09 17:54:46 +03:00
Tulir Asokan
3df8296d9f Mark chat as read on conversation events 2023-08-09 17:52:38 +03:00
Tulir Asokan
0169f2140a Enable go vet in pre-commit 2023-08-09 17:52:30 +03:00
Tulir Asokan
2116071b73 Retry on 4xx errors 2023-08-09 15:27:47 +03:00
Tulir Asokan
aa28b6bd38 Send tombstone messages as bridge bot 2023-08-08 23:18:00 +03:00
Tulir Asokan
f9d004a09d Increase ping timeout to 30 seconds 2023-08-08 19:05:08 +03:00
Tulir Asokan
b30d1fe7f8 Add some human-readable error messages 2023-08-08 18:57:23 +03:00
Tulir Asokan
9a45e6a534 Refactor message status handling and bridge read receipts 2023-08-08 18:49:03 +03:00
Tulir Asokan
0411c6eeac Update version identifier 2023-08-08 17:10:41 +03:00
Tulir Asokan
439f5d1033 Delay missed backfill if messages are recent 2023-08-08 17:05:56 +03:00
Tulir Asokan
c3be0a30fa Update mautrix-go 2023-08-08 16:17:14 +03:00
Tulir Asokan
a21a556c57 Include more error states in ping command 2023-08-02 15:21:54 +03:00
Tulir Asokan
bef980092f Save access token when enabling double puppeting manually. Fixes #5 2023-08-02 15:14:45 +03:00
Tulir Asokan
b958401b73 Don't resync if session ID doesn't change 2023-08-02 15:07:02 +03:00
Tulir Asokan
20599e93f3 Include room ID in portal logger 2023-08-02 15:02:54 +03:00
Tulir Asokan
b45185beab Kick users who don't belong in portal (ref #6) 2023-08-02 14:58:27 +03:00
Tulir Asokan
13a8d9b9a9 Add more logs for syncing conversations 2023-08-02 14:54:13 +03:00
Tulir Asokan
7618afed7f Log conversation data when syncing (ref #6) 2023-08-02 14:37:01 +03:00
Tulir Asokan
107f164180 Fix field type 2023-07-31 19:57:31 +03:00
Tulir Asokan
8b8ac305bb Add better logs for decode errors 2023-07-31 19:57:31 +03:00
Tulir Asokan
8a8410cd89 Update mautrix-go 2023-07-29 14:44:43 +03:00
Tulir Asokan
243ebb3e9c Reduce startup sync logs 2023-07-24 16:50:10 +03:00
Tulir Asokan
57dfe0fc72 Log conversation status when syncing 2023-07-24 16:48:22 +03:00
Tulir Asokan
a463f06c48 Update mautrix-go 2023-07-22 20:36:11 +03:00
Tulir Asokan
eb26fbadee Remove unnecessary excludes in go.mod 2023-07-22 19:48:48 +03:00
Tulir Asokan
f63dfbb3ed Add pm command 2023-07-22 19:47:46 +03:00
Tulir Asokan
f1857d515c Expose RCS group creation in provisioning API 2023-07-22 19:37:30 +03:00
Tulir Asokan
95fed6ad49 Expose conversation type in m.bridge info 2023-07-22 19:23:15 +03:00
Tulir Asokan
6e2c66c224 Fix command mentioned in example config
[skip ci]
2023-07-21 17:47:21 +03:00
Tulir Asokan
263c62c109 Allow reactions in all chats
Apparently sometimes Google Messages allows reacting in SMS chats as
well, maybe when the chat changes back and forth between RCS and SMS.
2023-07-20 17:13:54 +03:00
Tulir Asokan
8c20743c88 Update mautrix-go to properly send changed connected bridge states 2023-07-20 12:27:22 +03:00
Tulir Asokan
3e6dd5f130 Allow redacting messages in rooms with no send permission 2023-07-20 02:10:46 +03:00
Tulir Asokan
c742a1fe66 Change log level 2023-07-20 02:03:50 +03:00
Tulir Asokan
ef8a60977f Don't try to sync power levels before creating room 2023-07-20 02:03:07 +03:00
Tulir Asokan
d7d1abc3b7 Fix some bugs 2023-07-20 01:54:30 +03:00
Tulir Asokan
e0df07e384 Make backfill limits configurable 2023-07-20 01:44:59 +03:00
Tulir Asokan
8e814bd05b Send correct bridge state if phone isn't responding 2023-07-20 01:11:59 +03:00
Tulir Asokan
157c9ff17a Stop using maulogger in Portal 2023-07-20 00:01:05 +03:00
Tulir Asokan
1beb51fc01 Send more notices to management room 2023-07-19 23:44:49 +03:00
Tulir Asokan
7981a11bd9 Make initial chat sync count configurable 2023-07-19 23:34:25 +03:00