Commit graph

2,844 commits

Author SHA1 Message Date
Brad Murray
cf33f9d24c
verification: Clean up logging when checking transaction IDs 2025-12-08 14:22:05 -05:00
Nick Mills-Barrett
e7a95b7f97
client: backoff before retrying external upload 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-08 14:33:02 +00: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
6017612c55 bridgev2/portal: only delete old reactions if new one is successful 2025-12-07 23:21:05 +02:00
Tulir Asokan
00c58efc59 bridgev2/portal: don't try to update functional members if portal doesn't exist 2025-12-07 19:52:22 +02:00
Tulir Asokan
0584fd0c0d bridgev2/portal: don't forward backfill without CanBackfill flag 2025-12-07 19:52:08 +02:00
Tulir Asokan
a2522192ff bridgev2/config: fix warning log for null env_config_prefix 2025-12-07 19:34:29 +02:00
Tulir Asokan
3e07631f9e bridgev2/mxmain: add better error for pre-megabridge dbs
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-06 22:58:11 +02:00
Tulir Asokan
4efa4bdac5 bridgev2/config: allow multiple prioritized backfill limit override keys
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-06 12:51:12 +02:00
Nick Mills-Barrett
f6d8362278
client: add missing retry cancel check while backing off 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-05 11:36:43 +00:00
Tulir Asokan
02ce6ff918 mediaproxy: allow delayed mime type and redirects for file responses
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-03 21:59:41 +02:00
Tulir Asokan
7d54edbfda bridgev2/mxmain: add support for reading env vars from config
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-02 19:04:04 +02:00
Tulir Asokan
2eeece6942 bridgev2/networkinterface: allow HandleMatrixMembership to redirect invites to another user ID 2025-12-02 15:22:04 +02:00
Tulir Asokan
dfd5485a0d bridgev2/networkinterface: remove deprecated fields in MatrixMembershipChange 2025-12-02 14:17:29 +02:00
Tulir Asokan
5206439b83 bridgev2/portal: pass is state request flag to event handlers 2025-12-02 13:52:48 +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
09052986b2 bridgev2/commands: add command for muting chat on remote network 2025-12-01 15:28:56 +02:00
Tulir Asokan
6e402e8fd2 bridgev2/backfill: don't try to backfill empty threads 2025-12-01 00:10:29 +02:00
Tulir Asokan
1d1ecb2286 federation/eventauth: fix sender membership check when kicking
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-11-28 13:40:54 +02:00
Tulir Asokan
3293e2f8ff dependencies: update 2025-11-28 13:38:05 +02:00
Nick Mills-Barrett
c3b85e8e3c
client: add special error that indicates to retry canceled contexts
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
On it's own this is useless since the retries would all immediately
fail with the canceled context error. The caller is expected to also
set a `UpdateRequestOnRetry` on the client which is used to swap out
the context.
2025-11-26 10:55:36 +00:00
Nick Mills-Barrett
016637ebf8
bridgev2/bridgestate: add var to disable catching bridge state queue panics 2025-11-26 10:54:18 +00:00
Nick Mills-Barrett
dc38165473
crypto: allow storing arbitrary metadata alongside encrypted account data
For example, the creation time of a key.
2025-11-26 10:42:32 +00:00
Tulir Asokan
0f2ff4a090 bridgev2/portal: improve error messages in FindPreferredLogin when portal has receiver
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-25 14:23:30 +02:00
Tulir Asokan
eaa4e07eae bridgev2/portal: only allow setting receiver as relay in split portals 2025-11-25 14:23:09 +02:00
Tulir Asokan
41b1dfc8c1 bridgev2/provisionutil: check for orphaned DMs in resolve identifier
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-11-23 15:51:15 +02:00
Tulir Asokan
75d54132ae bridgev2/portal: fix getting state events in roomIsPublic
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-11-21 16:07:16 +02:00
Tulir Asokan
1fac8ceb66 bridgev2/matrix: fix GetStateEvent not passing state key through
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-11-19 23:21:56 +02:00
Tulir Asokan
fa56255a06 bridgev2/portal: ignore not found errors when fetching prev state 2025-11-19 23:13:41 +02:00
Tulir Asokan
57657d54ee
bridgev2: add custom event for requesting state change (#428)
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-19 13:15:38 +02:00
Tulir Asokan
8a59112eb1 client: move some room summary fields to public room info 2025-11-19 12:51:08 +02:00
Tulir Asokan
606b627d48 changelog: fix link 2025-11-19 12:51:08 +02:00
Finn
346100cfd4
statestore: fix missing JoinRules map when initializing MemoryStateStore (#432)
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-11-17 20:18:46 +02:00
timedout
14b85e98a6
federation: Implement federated membership functions (make/send join/knock/leave) (#422) 2025-11-17 16:35:46 +00:00
Tulir Asokan
36029b7622 Bump version to v0.26.0
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
v0.26.0
2025-11-16 12:51:14 +02:00
Tulir Asokan
202c7f1176 dependencies: update 2025-11-16 12:43:52 +02:00
Tulir Asokan
a0cb5c6129 bridgev2/backfill: ignore nil reactions 2025-11-13 18:10:27 +02:00
Tulir Asokan
a61e4d05f8 bridgev2/matrix: use MSC4169 to send redactions when available
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-11-13 17:39:27 +02:00
Tulir Asokan
0b73e9e7be client,appservice: deprecate SendMassagedStateEvent in favor of SendStateEvent params 2025-11-13 17:38:45 +02:00
Tulir Asokan
eb2fb84009 appservice/intent: don't EnsureJoined when sending massaged own join event 2025-11-13 17:32:14 +02:00
Tulir Asokan
151d945685 event/capabilities: add docstrings for state and member_actions 2025-11-13 01:29:45 +02:00
Tulir Asokan
828ba3cec1 bridgev2/portal: add capability to disable formatting relayed messages
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-12 23:14:37 +02:00
Tulir Asokan
85e25748a8 bridgev2/portal: ensure join is sent using target intent 2025-11-12 23:09:49 +02:00
Tulir Asokan
e9bfa0c519 bridgev2/portal: treat spam checker join rule as public 2025-11-12 22:04:29 +02:00
Tulir Asokan
6c7828afe3 bridgev2/portal: skip invite step if room is public 2025-11-12 21:46:23 +02:00
Tulir Asokan
e31d186dc8 statestore: save join rules for rooms 2025-11-12 21:46:23 +02:00
Tulir Asokan
981addddc9 bridgev2/config: add option to disable kicking matrix users
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-12 19:38:08 +02:00
Tulir Asokan
8b70baa336 bridgev2/commands: add support for ResolveIdentifierTryNext in pm command 2025-11-12 15:34:31 +02:00
Tulir Asokan
4913b123f1 bridgev2/space: let network connector customize personal filtering space 2025-11-12 14:57:18 +02:00
Tulir Asokan
7b33248d3d bridgev2: add flag to indicate when bridge is stopping
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-12 01:54:29 +02:00