Commit graph

90 commits

Author SHA1 Message Date
Tulir Asokan
b42ac0e83d bridgev2/status: make RemoteProfile a non-pointer
Closes #468
2026-03-13 16:28:07 +02:00
Tulir Asokan
92cfc0095d
bridgev2: add support for custom profile fields for ghosts (#462) 2026-03-13 16:24:31 +02:00
Tulir Asokan
8fb92239dc bridgev2: fix bugs with threads
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2026-03-10 13:00:00 +02:00
Tulir Asokan
33eb00fde0 bridgev2/database: reduce limit for using chunked deletion
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-12-16 19:29:26 +02:00
Tulir Asokan
b44f81d114 bridgev2/database: only allow one chunked portal deletion at a time 2025-12-16 18:57:39 +02:00
Tulir Asokan
e38d758a52 bridgev2/database: delete messages in chunks if portal has too many 2025-12-16 16:59:54 +02:00
Tulir Asokan
e9b262e671 bridgev2/database: add index for disappearing messages and portal parents 2025-12-16 16:23:44 +02:00
Tulir Asokan
31579be20a bridgev2,event: add interface for message requests
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-12-09 16:41:56 +02:00
Tulir Asokan
315d2ab17d all: fix staticcheck issues
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-12-08 00:07:25 +02:00
Tulir Asokan
e22802b9bb bridgev2/database: improve missing parents when migrating to split portals
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-12-01 17:07:54 +02:00
Tulir Asokan
bb0b26a58b bridgev2/database: fix latest version
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-11-11 01:07:40 +02:00
Tulir Asokan
aa53cbc528 bridgev2/publicmedia: add support for encrypted files
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-11-10 00:11:40 +02:00
Tulir Asokan
bea28c1381 bridgev2/portal: log mismatching disappearing timers in events
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-10-28 15:06:46 +02:00
Tulir Asokan
756196ad4f
bridgev2/disappear: only start timers for read messages rather than all pending ones (#415) 2025-10-23 15:12:42 +03:00
Tulir Asokan
ef31dae082 bridgev2/provisioning: include user and DM room MXID in failed participants 2025-10-21 18:55:49 +03:00
Tulir Asokan
329da10584 bridgev2/database: fix split portal parent migration query
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-09-30 15:35:25 +03:00
Tulir Asokan
6c37f2b21f bridgev2/matrix: add config option to self-sign bot device 2025-09-21 20:34:04 +03:00
Tulir Asokan
fbf8718e22 bridgev2: also fix portal parent receivers in split portal migration 2025-09-19 21:19:55 +03:00
Tulir Asokan
f7bfa885c9 bridgev2: improve split portal migration 2025-09-19 20:45:17 +03:00
Tulir Asokan
717c8c3092 bridgev2/database: normalize disappearing settings before insert
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled
2025-09-13 01:38:06 +03:00
Tulir Asokan
0345a5356d bridgev2/database: don't set disappearing timer content to nil
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-08-26 17:07:16 +03:00
Kishan Bagaria
1d484e01d0
event: implement disappearing timer types (#399)
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2025-08-22 02:16:56 -07:00
Tulir Asokan
66ec881a74 bridgev2/matrix: add hack for resyncing encryption state cache 2025-08-01 11:00:37 +03:00
Tulir Asokan
3ecdb886bf bridgev2/database: add method to mark backfill task as not done 2025-07-22 16:18:25 +03:00
Tulir Asokan
c7263bab40 bridgev2/portal: add support for following tombstones 2025-07-18 17:37:45 +03:00
Tulir Asokan
7ffdbe8bfc bridgev2/disappear: add limit to getting messages from the db 2025-07-17 16:54:55 +03:00
Tulir Asokan
c93d30a83c bridgev2: add option to deduplicate Matrix messages by event or transaction ID 2025-05-07 14:47:05 +03:00
Tulir Asokan
37d486dfcd bridgev2/portal: ignore fake mxids when bridging read receipts 2025-05-06 20:53:00 +03:00
Tulir Asokan
5094eea718 bridgev2/networkinterface: allow clients to generate transaction IDs
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-05-01 16:28:21 +03:00
Nick Mills-Barrett
bf33889eab
bridgev2/userlogin: delete disappearing messages when deleting portals (#374)
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-04-28 14:10:57 +01:00
Tulir Asokan
e1938c5159 bridge: remove package
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-03-15 22:28:16 +02:00
Nick Mills-Barrett
ef5eb3c9cf
bridgev2/database: add BackfillTaskQuery.GetNextForPortal method
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2025-03-05 14:33:04 +00:00
Tulir Asokan
2851065869
bridgev2: send room capabilities as a state event (#344) 2025-01-10 16:55:18 +02:00
Tulir Asokan
fc696eaa47 bridgev2/database: fix bugs with double puppeted column 2025-01-10 16:48:09 +02:00
Brad Murray
ac1ff66e3b
bridgev2/messagestatus: prevent checkpoints for double puppeted events (#342)
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
Co-authored-by: Tulir Asokan <tulir@maunium.net>
2025-01-10 15:19:44 +02:00
Tulir Asokan
21aa3291f3 bridgev2/database: include portal receiver in reaction queries
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2024-11-14 14:58:08 +02:00
Sumner Evans
6fd4b8a213
bridgev2/database: add function to get last N messages in portal
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-10-23 14:40:42 -06:00
Tulir Asokan
d89dac594d bridgev2: automatically update old portals when enabling split portals 2024-09-14 12:45:16 +03:00
Tulir Asokan
a5c4446a22 bridgev2: add option to split all portals by user login 2024-09-13 23:36:47 +03:00
Tulir Asokan
ff4126b5d0 bridgev2/database: delete duplicate mxids in migration
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2024-09-13 21:20:28 +03:00
Tulir Asokan
cbc307b311 bridgev2/database: add unique constraint on message mxids 2024-09-10 14:29:32 +03:00
Tulir Asokan
45527281cc bridgev2/backfill: add support for batch limit overrides
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run
2024-08-07 14:38:00 +03:00
Sumner Evans
9fffe6e54d
bridgev2/database: allow querying ghosts by metadata
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
2024-08-05 13:46:56 -06:00
Tulir Asokan
0e048db4f7 bridgev2: add remote profile field in bridge states 2024-08-04 20:53:00 +03:00
Tulir Asokan
c47f6ea7b0 bridgev2: add option to skip bridging message but save to database 2024-07-30 16:19:17 +03:00
Tulir Asokan
c0218184e4 bridgev2/database: add sender MXID for reactions 2024-07-30 16:16:53 +03:00
Tulir Asokan
1b706d0e5c bridgev2: add options for deleting portals on logout 2024-07-24 18:07:58 +03:00
Tulir Asokan
cc5f225bc6 bridgev2/database: fix getting DM portals with user 2024-07-19 16:05:42 +03:00
Tulir Asokan
b8a067206a bridgev2: implement private_chat_portal_meta option 2024-07-19 14:02:15 +03:00
Tulir Asokan
28d15fa7b0 bridgev2/commands: add command to delete all portals 2024-07-18 17:10:48 +03:00