Nick Mills-Barrett
3f23c300ca
bridgev2/provisioning: include underlying error in failed to wait response
2025-05-28 18:23:51 +01:00
Tulir Asokan
f5746ee0f6
event: add omitempty for mod policy entity
...
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
Only one of hash and entity should be set
2025-05-27 18:04:56 +03:00
Tulir Asokan
a3092e5195
bridgev2/portal: don't do initial backfill in background
2025-05-27 16:45:39 +03:00
Tulir Asokan
50cc3d4d47
bridgev2/queue: fix context used for queueing remote events
2025-05-27 16:37:51 +03:00
Tulir Asokan
0589b8757b
synapseadmin: fix response structs again
2025-05-27 15:57:40 +03:00
Tulir Asokan
5c8ea2c269
synapseadmin: add wrapper for room delete status
2025-05-27 15:54:46 +03:00
Tulir Asokan
8a745c0d03
bridgev2/portal: allow always using deterministic ids for replies
2025-05-27 11:37:57 +03:00
Tulir Asokan
cdb99239d3
bridgev2: add interfaces for reading up to stream order ( #379 )
2025-05-27 11:35:40 +03:00
Tulir Asokan
140b20cab9
id: add utilities for validating server names
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-27 12:04:13 +05:30
Tulir Asokan
34afb98ef0
event: fix parsing some url preview responses
2025-05-27 12:04:13 +05:30
Tulir Asokan
e7322f04b8
bridgev2: fix handling some cases of context cancellation
2025-05-27 09:14:25 +03:00
nexy7574
c7fbfd150f
federation/serverauth: fix URI passed to signableRequest ( #381 )
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-26 20:37:28 +01:00
Tulir Asokan
a3d5da315f
federation: use errors in signature verification
2025-05-26 21:58:35 +03:00
Tulir Asokan
92311e5c98
federation/client: fix QueryKeys return format
2025-05-26 21:14:47 +03:00
Tulir Asokan
6ed660557b
federation/signingkey: store raw response for validation
2025-05-26 21:14:37 +03:00
Tulir Asokan
c5ef0f9d90
bridgev2/userlogin: ensure Client is filled in NewLogin
2025-05-26 20:24:33 +03:00
Tulir Asokan
306b48bd68
bridgev2/ghost: ensure GetGhostByID can't return nil
2025-05-26 19:34:51 +03:00
Tulir Asokan
89fad2f462
commands: add reaction button system
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-05-24 16:33:36 +03:00
Tulir Asokan
da9e72e616
commands: add separate field for logger in event
2025-05-24 16:29:37 +03:00
Tulir Asokan
ec15b79493
commands: add event id to logger
2025-05-24 16:29:37 +03:00
Tulir Asokan
e9dfee45c0
event: add missing letter to docstring
2025-05-24 16:29:37 +03:00
Tulir Asokan
68565a1f18
client: add wrapper for /relations endpoints
2025-05-24 16:29:37 +03:00
Tulir Asokan
50f0b5fa7d
synapseadmin: add support for synchronous room delete
2025-05-24 14:43:28 +03:00
Tulir Asokan
49d2f39183
format: add markdown link utilities
2025-05-24 14:35:00 +03:00
Tulir Asokan
ad8145c43b
synapseadmin: don't embed mautrix.Client in admin client struct
2025-05-24 14:23:48 +03:00
Nick Mills-Barrett
203e402ebf
bridgev2/provisioning: correct field name
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-05-22 15:22:13 +01:00
Nick Mills-Barrett
a3efaa3632
bridgev2/provisioning: disconnect login before exporting credentials
2025-05-22 15:20:36 +01:00
Nick Mills-Barrett
487fc699fe
bridgev2/provisioning: add session transfer support
...
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
For connector logins that support it this will expose an API to transfer
credentials between bridge instances.
Currently does not do any extra validation beyond the usual provisioning
API request validation (so shared secret or matrix token). One future
improvement would be to require clients to sign incoming requests, and
to then validate a) the signature and b) the device is verified.
2025-05-22 11:28:58 +01:00
Nick Mills-Barrett
a205a77db4
bridgev2: add CredentialExportingNetworkAPI interface
2025-05-22 11:28:57 +01:00
Tulir Asokan
0a8e823016
Bump version to v0.24.0
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.24.0
2025-05-16 08:13:16 +03:00
Tulir Asokan
978e0983ea
dependencies: update
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-15 14:15:34 +03:00
Tulir Asokan
f23fc99ef4
crypto/cross_signing: allow json marshaling cross-signing key seeds
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-10 11:35:06 +03:00
Tulir Asokan
a0191c8f58
bridgev2: expose background context
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-05-09 15:16:14 +03:00
Tulir Asokan
23d91b64cb
bridgev2: fall back to remote ID for state update notices
2025-05-09 14:25:43 +03:00
Tulir Asokan
376fa1f368
bridgev2: fix initializing background context
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-08 15:25:20 +03:00
Nick Mills-Barrett
27769dfc98
bridgev2: add shared event handling context
...
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
This context is then passed into the network connectors handlers and
message conversion functions which may require making network requests,
which before this would not be canceled on bridge stop.
2025-05-07 17:30:50 +01:00
Nick Mills-Barrett
4ffe1d23e9
client: don't attempt to make requests if the homeserver URL isn't set ( #376 )
...
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
Quick guard for where the client is created without using the
`NewClient` method.
2025-05-07 14:19:01 +01: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
72f6229f40
crypto: fix key export test
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-06 23:18:23 +03:00
Tulir Asokan
0ffe3524f6
crypto/sql_store: ensure forwarding chains is always set instead of having fallback in getter
2025-05-06 22:55:23 +03:00
Tulir Asokan
bef23edaea
crypto/keysharing: ensure forwarding chains is always set
2025-05-06 22:50:46 +03:00
Tulir Asokan
a7faac33c8
bridgev2/portal: add fallback if last receipt target is fake
2025-05-06 20:55:26 +03:00
Tulir Asokan
37d486dfcd
bridgev2/portal: ignore fake mxids when bridging read receipts
2025-05-06 20:53:00 +03:00
Tulir Asokan
ba43e615f8
bridgev2/login: add wait_for_url_pattern field to cookie logins
2025-05-06 18:49:54 +03:00
Tulir Asokan
6eb4c7b17f
crypto/keybackup: allow importing room keys without saving
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-05-04 14:09:06 +03:00
Tulir Asokan
5cd8ba8887
federation/serverauth: fix go 1.23 compatibility
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-04 01:14:44 +03:00
Tulir Asokan
b45dcd42fc
federation/serverauth: fix get requests
2025-05-04 01:09:12 +03:00
Tulir Asokan
5c2bc3b1cf
mediaproxy: add option to enforce federation auth
2025-05-04 01:04:40 +03:00
Tulir Asokan
63f35754c6
federation/serverauth: store verified origin in request context
2025-05-04 01:04:12 +03:00
Tulir Asokan
0a33bde865
federation/cache: expose noop cache as variable instead of type
2025-05-04 01:00:08 +03:00