Commit graph

424 commits

Author SHA1 Message Date
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
Tulir Asokan
498f210e10 Move fetching initial conversations to bridge code 2023-07-19 23:30:27 +03:00
Tulir Asokan
0e3f211118 Add option to reconnect aggressively 2023-07-19 23:06:23 +03:00
Tulir Asokan
f57735901f Only fetch room tags once when syncing 2023-07-19 22:35:19 +03:00
Tulir Asokan
ecae11f6b2 Fix deduplicating updates that flip back and forth 2023-07-19 22:29:30 +03:00
Tulir Asokan
d410ba1e0c Sync archive/pinned status 2023-07-19 22:15:34 +03:00
Tulir Asokan
d367469000 Sync read only and RCS status as power levels 2023-07-19 21:40:39 +03:00
Tulir Asokan
0d8edd817a Clear self_participant_ids on logout 2023-07-19 21:15:24 +03:00
Tulir Asokan
907e6af77b Store all own participant IDs for proper multi-sim support 2023-07-19 20:55:52 +03:00
Tulir Asokan
bf277e197f Always close response body in uploads 2023-07-19 14:19:09 +03:00
Tulir Asokan
a4639eb668 Rename long poll file and functions to be more accurate 2023-07-19 14:13:02 +03:00
Tulir Asokan
01464c5cc2 Unnest long polling handler 2023-07-19 14:12:23 +03:00
Tulir Asokan
d99da61869 Refactor all protobuf HTTP request sending into shared functions 2023-07-19 13:59:11 +03:00
Tulir Asokan
3e2348447a Merge response waiting methods with sending 2023-07-19 01:20:32 +03:00
Tulir Asokan
6caf7e89fb Move start login methods to pair.go 2023-07-19 01:19:04 +03:00
Tulir Asokan
b46885ad58 Move download method to same file as upload 2023-07-19 01:18:06 +03:00
Tulir Asokan
afae081429 Merge all RPC call methods into one file 2023-07-19 01:17:12 +03:00
Tulir Asokan
1ef5b56259 Merge pairing-related code into one file 2023-07-19 01:08:13 +03:00