Commit graph

2,792 commits

Author SHA1 Message Date
Tulir Asokan
77519b6de7 bridgev2/errors: send notice for public media errors 2025-11-11 01:07:40 +02:00
Nick Mills-Barrett
913a28fdce
bridgev2: pass back event ID and stream order in send results
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 13:44:04 +00:00
Nick Mills-Barrett
1779c72316
bridgev2: pass back event ID and stream order in send results 2025-11-10 13:44:04 +00: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
2eea2e7412 bridgev2/publicmedia: add support for file name in content disposition 2025-11-09 23:02:23 +02:00
Tulir Asokan
60cbe66e2f bridgev2/publicmedia: add support for custom path prefixes 2025-11-09 22:44:02 +02:00
Tulir Asokan
14e16a3a81 bridgev2/matrix: drop events from users without permission earlier
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-09 11:40:10 +02:00
Tulir Asokan
fdd7632e53 bridgev2/matrix: avoid sending message status notices for m.notice events 2025-11-09 11:33:39 +02:00
Tulir Asokan
a973e5dc94 event/reply: only remove plaintext reply fallback if there is one in HTML
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-08 09:49:15 +01:00
Tulir Asokan
bade596e49 bridgev2/portal: allow chaining ChatMembermap.Set calls
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-07 14:33:00 +01:00
Tulir Asokan
3014bf966c bridgev2/commands: include options in user input prompt
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-06 16:38:22 +01:00
Tulir Asokan
36d4e1f99c federation: don't close body when not reading it
Closes #431
2025-11-06 16:38:10 +01:00
Tulir Asokan
cfa47299df bridgev2/provisioning: add select type for login user input
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-06 09:26:28 +01:00
Tulir Asokan
6e7b692098 federation/eventauth: fix restricted joins typo
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-01 22:19:57 +01:00
Tulir Asokan
4ec3fbb4ab crypto/goolm: fix var bytes read overflow 2025-11-01 22:10:43 +01:00
Tulir Asokan
175f5a1c61 federation/serverauth: fix request uri
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-10-31 21:11:24 +01:00
Nick Mills-Barrett
8e23192a7d
client: support sending custom txn ID query param with state 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-31 10:01:49 +00:00
Tulir Asokan
2ece053b2b
bridgev2: roll back failed room metadata changes (#425)
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-31 00:07:24 +02:00
Tulir Asokan
be9bbf8d09 bridgev2/provisioning: fix max length checks in group creation
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-29 22:50:02 +02:00
Tulir Asokan
0da0175157 bridgev2: add new flag for slack remote ID 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
2025-10-29 20:58:46 +02:00
timedout
1edfccb4e2
federation/client: Use PUT instead of POST to send transactions (#426) 2025-10-29 17:55:12 +00:00
Tulir Asokan
76cb8ee7d3 bridgev2/provisioning: add option to skip identifier validation in create group
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 22:46:29 +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
adc035b6a5
event: add state and member action maps to room features (#424)
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-27 18:39:10 +02:00
Tulir Asokan
d486dba927 event: add some getters for state content
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-10-25 16:59:36 +03:00
Tulir Asokan
364ae39fef responses: add Equal method for LazyLoadSummary 2025-10-25 15:34:48 +03:00
Tulir Asokan
02a0aad583 bridgev2/portal: add event for waiting for room creation
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-10-24 15:14:31 +03:00
Tulir Asokan
ee1e05c3e8 event: fix 32-bit compatibility 2025-10-24 13:15:46 +03:00
Tulir Asokan
5d87d14b88 event/powerlevels: fix some set user level calls in v12 rooms 2025-10-24 12:42:09 +03:00
Tulir Asokan
75ad1961d5 bridgev2/errors: add special-cased message for too long voice 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-10-23 17:35:08 +03:00
Tulir Asokan
1be49d53e4 bridgev2/config: add option to limit maximum number of logins 2025-10-23 15:49:11 +03: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
33d8d658fe bridgev2/commands: fix panic when creating group with no arguments
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-22 21:25:46 +03:00
Tulir Asokan
34a65d3087 bridgev2/commands: enable create group command 2025-10-22 21:24:14 +03:00
Tulir Asokan
bae61f955f bridgev2/matrixinvite: fix bugs in DM creation 2025-10-22 20:54:53 +03:00
Tulir Asokan
9fd1e0f87c bridgev2/networkinterface: allow deleting children in chat delete event 2025-10-22 18:56:41 +03:00
Tulir Asokan
7f0f51ecf3 bridgev2/commands: add command to sync single chat 2025-10-22 18:13:21 +03:00
Tulir Asokan
2a01535030 bridgev2/portal: add helpers for chat member map
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-22 16:50:27 +03:00
Tulir Asokan
1cd285dee0 bridgev2/matrixinvite: allow redirecting created DM to no ghost 2025-10-22 16:50:16 +03:00
Tulir Asokan
e805815e41 bridgev2/commands: add account data debug command 2025-10-22 13:03:32 +03:00
Tulir Asokan
237499fdf5 client: fix admin whois response body
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-21 22:53:18 +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
1aacf6e987 bridgev2/commands: include failed participants in group create response
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-21 17:40:18 +03:00
Tulir Asokan
8ee8fb1a20 bridgev2/provisioning: allow group creation to signal failed participants 2025-10-21 17:31:10 +03:00
Tulir Asokan
36edccf61a bridgev2/provisionutil: allow mxids as participants in CreateGroup 2025-10-21 16:59:18 +03:00
Tulir Asokan
56b182f85d bridgev2/bridgestate: only send one delayed transient disconnect notice
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-20 11:48:45 +03:00
Tulir Asokan
7b70ec6d52 bridgev2/bridgestate: send transient disconnect notices if they persist 2025-10-20 11:45:35 +03:00
Tulir Asokan
a661641bcb bridgev2/matrix: don't sleep after registering bot on versions error
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-19 23:36:07 +03:00
timedout
2fd9e799d2
synapseadmin: Add force_purge option (#420)
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-18 21:27:08 +01:00
timedout
e61c7b3f1e
client: Add AdminWhoIs func (#411) 2025-10-18 20:30:43 +01:00