Commit graph

63 commits

Author SHA1 Message Date
Tulir Asokan
92cfc0095d
bridgev2: add support for custom profile fields for ghosts (#462) 2026-03-13 16:24:31 +02:00
Tulir Asokan
531822f6dc bridgev2/config: add limit for unknown error auto-reconnects
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
2026-03-06 16:08:28 +02:00
Tulir Asokan
f4434b33c6
crypto,bridgev2: add option to encrypt reactions and replies (#445) 2026-01-07 19:22:32 +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
a2522192ff bridgev2/config: fix warning log for null env_config_prefix 2025-12-07 19:34:29 +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
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
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
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
60cbe66e2f bridgev2/publicmedia: add support for custom path prefixes 2025-11-09 22:44:02 +02: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
1be49d53e4 bridgev2/config: add option to limit maximum number of logins 2025-10-23 15:49:11 +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
359afbea2b bridgev2/matrix: remove provisioning API prefix option
Reverse proxy configuration should be used instead when adding prefixes
to the path. Changing the path entirely is not recommended even with
reverse proxies.

Fixes #403
2025-08-28 02:19:27 +03:00
Tulir Asokan
1ee29a47b6
bridgev2: add option to auto-reconnect after unknown error (#394) 2025-07-15 14:37:07 +03:00
Tulir Asokan
07567f6f96 bridgev2/portal: include room id in cross-room replies
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-06-08 00:12:53 +03:00
Nick Mills-Barrett
e859fd8333
bridgev2/bridgeconfig: add missing copy for session transfer 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-05-30 15:09:43 +01:00
Nick Mills-Barrett
487fc699fe
bridgev2/provisioning: add session transfer support
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
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
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
4a0aed30e8 brdigev2/bridgestate: add option to send status updates to management room 2025-03-20 15:34:40 +02:00
Nick Mills-Barrett
a6d948f7c2
bridgev2/config: add BackfillConfig.WillPaginateManually
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-11 10:55:00 +00:00
Tulir Asokan
af84927e31 bridgev2: add option to disable bridging m.notice messages 2025-02-22 23:01:14 +02:00
Tulir Asokan
2851065869
bridgev2: send room capabilities as a state event (#344) 2025-01-10 16:55:18 +02:00
Tulir Asokan
6bf21f1019 bridgev2/config: move msc4190 flag to encryption section 2024-12-17 21:02:10 +02:00
onestacked
3cb79ba7b5 client,bridgev2: add support for MSC4190
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
Closes #288
2024-12-07 23:34:04 +02:00
Tulir Asokan
6032adb113 bridgev2/legacymigrate: fix database type for legacy go configs too
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
2024-11-30 23:02:26 +02:00
Tulir Asokan
3f9a63784e bridgev2/config: add more granular control over room tags
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-13 18:31:41 +02:00
Tulir Asokan
702a0e047c bridgev2/config: add option to disable tag bridging
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
2024-11-08 10:25:12 +01:00
Tulir Asokan
691c834144
bridgev2: add option to use deterministic ID for outgoing messages (#292) 2024-10-10 16:51:20 +03:00
Tulir Asokan
b9fdcd0dce bridgev2/config: add support for deprecated integer permissions
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-10-03 00:36:55 +03: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
bc22852f06 bridgev2: add analytics sending method 2024-09-12 16:53:50 +03:00
Tulir Asokan
6c8519d39e bridgev2: add timeouts for event handling 2024-09-04 23:49:44 +03:00
Tulir Asokan
3eeca239f1 bridgev2/legacymigrate: add txlock when migrating python sqlite db config 2024-08-27 14:51:37 +03:00
Tulir Asokan
ae306b3efa bridgev2/legacymigrate: add support for python configs 2024-08-27 14:50:19 +03:00
Tulir Asokan
b68fdc9057 bridgev2: fix username templates
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-25 22:21:42 +03:00
Tulir Asokan
ce2ffd8232
bridgev2/matrix: add new stream upload that uses a writer instead of a reader (#269) 2024-08-20 00:52:54 +03:00
Tulir Asokan
755ba0f7d6 bridgev2: add config option to only bridge tag/mute on room create 2024-08-13 16:23:39 +03:00
Malte E
0e4780cf1f
bridgev2/networkinterface: add support for handling Matrix member changes (#265) 2024-08-09 14:30:12 +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
Tulir Asokan
0f6fa7d691 bridgev2/config: fix cleanup_on_logout section 2024-08-05 21:37:41 +03:00
Tulir Asokan
9a1e84d74e bridgev2/config: adjust public media section 2024-08-03 20:32:34 +03:00
Tulir Asokan
b71b32d0d6 bridgev2: redefine relay admin-only setting
Now users can still set relays from the `default_relays` list even if
`admin_only` is true.
2024-08-03 18:09:44 +03:00
Tulir Asokan
e6586537d3 bridgev2: add option for name formatting when using fancy relays
(like Discord webhooks and Slack bots that can set custom names)
2024-08-03 18:02:08 +03:00
Tulir Asokan
c6bc42f16c bridgev2/matrix: add support for generating public media URLs 2024-08-03 18:00:53 +03:00
Tulir Asokan
14d23589be bridgev2/config: add missing copy statements 2024-07-24 18:22:09 +03:00
Tulir Asokan
1b706d0e5c bridgev2: add options for deleting portals on logout 2024-07-24 18:07:58 +03:00
Tulir Asokan
b8a067206a bridgev2: implement private_chat_portal_meta option 2024-07-19 14:02:15 +03:00
Tulir Asokan
6509b11d9c bridgev2/backfill: add more logs 2024-07-18 16:51:25 +03:00