Commit graph

189 commits

Author SHA1 Message Date
Tulir Asokan
a4b0b55db2 bridgev2/backfill: add support for reactions 2024-07-18 19:59:23 +03:00
Tulir Asokan
b395abf62e bridgev2: add extra metadata to SendMessage calls 2024-07-18 18:22:12 +03:00
Tulir Asokan
910e3ee771 bridgev2/backfill: create new timer every time 2024-07-18 17:53:20 +03:00
Tulir Asokan
5a7e002bcc bridgev2/backfill: do forward backfill after room creation 2024-07-18 17:37:22 +03:00
Tulir Asokan
e341bdf0e8 bridgev2: implement more fields in SimpleRemoteEvent 2024-07-18 17:19:09 +03:00
Tulir Asokan
ceb6640054 bridgev2/backfill: respect unread_hours_threshold config option 2024-07-18 17:13:38 +03:00
Tulir Asokan
28d15fa7b0 bridgev2/commands: add command to delete all portals 2024-07-18 17:10:48 +03:00
Tulir Asokan
3fe5071c3f bridgev2/database: rename backfill_queue to backfill_task 2024-07-18 16:51:25 +03:00
Tulir Asokan
6509b11d9c bridgev2/backfill: add more logs 2024-07-18 16:51:25 +03:00
Tulir Asokan
c0aa5898d8 bridgev2/ghost: adjust UpdateInfoIfNecessary logs 2024-07-18 16:51:25 +03:00
Tulir Asokan
edc71a5ee3 bridgev2/backfill: actually run backfill queue 2024-07-18 16:51:25 +03:00
Tulir Asokan
18bca337a5 bridgev2/backfill: insert backfill queue task when creating portal 2024-07-18 16:51:25 +03:00
Tulir Asokan
f80e3d6838 bridgev2/backfill: actually call backfill function 2024-07-18 16:51:25 +03:00
Tulir Asokan
328be908b5 bridgev2/backfill: add stub backfill queue 2024-07-18 16:51:25 +03:00
Tulir Asokan
c48630b4f3 bridgev2/backfill: add config 2024-07-18 16:51:25 +03:00
Toni Spets
62e36db08d
bridgev2: Use pointer type for parsed content in replies (#257) 2024-07-17 14:49:04 +03:00
Tulir Asokan
0d81a91c9f bridgev2: fix scanning message timestamp 2024-07-17 11:57:51 +03:00
Tulir Asokan
f120ac6b7e bridgev2: use add user-visible message to more errors 2024-07-17 11:44:56 +03:00
Tulir Asokan
085859bfdd bridgev2: add UserInfo to ChatMember to allow updating ghost info easily 2024-07-16 20:59:30 +03:00
Tulir Asokan
128781cffe bridgev2: fix some things in backfill 2024-07-16 17:33:45 +03:00
Tulir Asokan
0d122e5bb2 bridgev2: implement backwards backfilling method 2024-07-16 16:53:21 +03:00
Tulir Asokan
c24fd786af bridgev2: add basic support for backfilling threads 2024-07-16 16:36:29 +03:00
Tulir Asokan
a340612071 bridgev2: save other user ID in DM portals 2024-07-16 16:29:34 +03:00
Tulir Asokan
fb9fb5ae44 bridgev2: add method for getting all portals with Matrix room 2024-07-14 15:10:51 +03:00
Tulir Asokan
edf1a8d8d0 bridge2/database: fix bugs in metadata move 2024-07-14 14:45:57 +03:00
Tulir Asokan
d1905f6232 bridgev2: rename some uses of ID to Key in reference to portal keys 2024-07-14 11:06:19 +03:00
Tulir Asokan
51aad3c0d7 bridgev2/database: add indexes for some foreign keys 2024-07-13 19:59:18 +03:00
Tulir Asokan
9fdf94132a bridgev2/database: move standard metadata fields to columns, add typing for custom metadata 2024-07-13 12:09:52 +03:00
Tulir Asokan
85e0664cb4 bridgev2: register if /versions fails with M_FORBIDDEN 2024-07-12 19:43:09 +03:00
Tulir Asokan
88f4da3433 bridgev2: add method to get or create management room 2024-07-12 17:31:15 +03:00
Tulir Asokan
7c9b8cb287 bridgev2/matrix: add support for appservice websockets 2024-07-12 16:53:40 +03:00
Tulir Asokan
681b5449d5 bridgev2/backfill: fix handling forward backfills in empty rooms 2024-07-12 16:10:06 +03:00
Tulir Asokan
85cead8034 bridgev2: add support for forward backfilling 2024-07-12 15:52:32 +03:00
Tulir Asokan
0f9f923378 bridgev2/matrix: also add timestamp to BRIDGE checkpoints 2024-07-12 15:00:58 +03:00
Tulir Asokan
98918d7ab7 bridgev2: add timestamp to message checkpoints 2024-07-12 14:59:46 +03:00
Tulir Asokan
ebcdde0c97 bridgev2: add support for legacy replies to thread messages 2024-07-11 17:34:25 +03:00
Tulir Asokan
7f18d6b735 bridgev2: add caption merging utilities 2024-07-11 11:38:23 +03:00
Tulir Asokan
8893695f84 bridgev2/commands: fix panic and improve logs in start-chat 2024-07-11 10:49:28 +03:00
Tulir Asokan
dd16a8d1d9 bridgev2: replace relates_to with thread_root and reply_to columns 2024-07-10 23:46:02 +03:00
Tulir Asokan
3ebe0e18ce bridgev2: allow returning nil in HandleMatrixReaction 2024-07-10 19:07:38 +03:00
Tulir Asokan
8ebeb5e3ab bridgev2: add some more logs to handling remote events 2024-07-10 18:28:29 +03:00
Tulir Asokan
6ce34d7819 bridgev2: set network section in m.bridge events properly 2024-07-10 17:14:30 +03:00
Tulir Asokan
9ff2c21fa7 bridgev2: fix auto-joining if membership is blank 2024-07-10 15:37:28 +03:00
Tulir Asokan
b5f24a8b50 bridgev2/commands: fix logging error message in command panic handler 2024-07-10 15:37:13 +03:00
Tulir Asokan
b6bc70e101 bridgev2: fix filling global bridge state 2024-07-10 14:16:41 +03:00
Tulir Asokan
2675993fc2 bridgev2: fill global bridge state before sending 2024-07-10 14:15:41 +03:00
Tulir Asokan
890b23a332 bridgev2: don't add portals with parent into user login space 2024-07-10 14:13:21 +03:00
Tulir Asokan
e9097ad3a2 bridgev2: implement portal parent spaces 2024-07-10 13:17:52 +03:00
Tulir Asokan
cd334a3815 bridgev2: expose unlocked get functions and lock entire NewLogin 2024-07-10 13:17:32 +03:00
Tulir Asokan
989edc61a8 bridgev2: refetch info on room create if it's missing member list 2024-07-10 11:41:46 +03:00