Commit Graph
70 Commits
Author SHA1 Message Date
Jason Robinson 0e840eb6a3 Merge remote-tracking branch 'origin/develop' into anoa/msc4429 2026-07-17 00:32:21 +03:00
夜坂雅 5ed830b3b4 Change default room version to 11 (MSC4239) (#18680)
Fix #18530

Complement test changes: https://github.com/matrix-org/complement/pull/858

SyTest changes: https://github.com/matrix-org/sytest/pull/1422
2026-07-16 12:33:13 -05:00
Eric Eastwood 72be9b5e17 1.157.0rc1 2026-07-14 16:20:56 -05:00
Jason Robinson 57675ee36d Merge remote-tracking branch 'origin/develop' into anoa/msc4429
# Conflicts:
#	rust/src/config/mod.rs
2026-07-14 22:48:23 +03:00
Jason Robinson 0570774f75 Remove profile_updates dedicates stream writer worker
Instead, all profile updates stream writes should go via the event persisters, via replication if not directly coming out of events.
2026-07-13 15:31:25 +03:00
Erik JohnstonandClaude Fable 5 0bd28389b1 Improve caching for presence (#19939)
This does two things, first it adds a config flag to ignore rooms for
the purposes of presence routing.

Secondly, it changes the caching behaviour to try and improve the cache
hit ratio. Previously, the size of the `do_users_share_a_room` cache
(which stores pairs of users) needs to `O(n²)` for the number of online
users, which is infeasible for large servers.

Instead, we call `get_users_in_room` for both the syncing and updated
users. This sounds more expensive, but a) we will already have cached
the syncing user's rooms, and b) we will only calculate the updated
user's rooms once (rather than once per syncing user).

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 09:34:07 +01:00
Jason Robinson 48b45263fa Merge remote-tracking branch 'origin/develop' into anoa/msc4429 2026-07-10 15:15:48 +03:00
Jason Robinson 72e3d2363a Linkify MSC4429 in the docs 2026-07-10 15:02:23 +03:00
Jason Robinson b3237ce97f Fix config schema 2026-07-10 15:00:52 +03:00
Erik JohnstonandClaude Fable 5 3f3edaf029 Make the presence state-machine timers configurable (#19942)
Adds `last_active_granularity`, `sync_online_timeout` and `idle_timeout`
options to the `presence` config section, controlling the previously
hard-coded `LAST_ACTIVE_GRANULARITY`, `SYNC_ONLINE_TIMEOUT` and
`IDLE_TIMER` constants (which remain as the defaults).

This is mainly useful on deployments that ratelimit how often syncs can
affect presence (`rc_presence`): the sync timeout must exceed the
ratelimit interval or users flap offline between syncs, so tuning down
presence traffic currently requires squeezing under the fixed 30s limit.

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-09 17:21:50 +01:00
Jason Robinson 3ed759a32f Add include_profile_updates_in_sync to the config schema 2026-07-08 13:01:16 +03:00
Jason Robinson e6aec556ab Merge remote-tracking branch 'origin/develop' into anoa/msc4429 2026-07-01 11:55:57 +03:00
Olivier 'reivilibre a247001400 1.156.0rc1 2026-06-30 14:41:26 +01:00
Jason Robinson 874dc359ac Merge remote-tracking branch 'origin/develop' into anoa/msc4429 2026-06-22 22:54:16 +03:00
Maximilian Bosch 1f0c2bc3e4 docs/config: make it explicit that auto_join_rooms can be used for invite-only rooms (#19660) 2026-06-22 08:57:10 +00:00
2487b31422 MSC4140: allow auth on management endpoints for delayed events (#19794)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-06-18 13:27:37 +00:00
Olivier 'reivilibre f53f104449 1.155.0rc1 2026-06-09 14:59:48 +01:00
Jason Robinson 391fd2b62a Merge branch 'develop' into anoa/msc4429 2026-06-01 16:22:20 +03:00
Olivier 'reivilibre 82d66fa0f1 1.154.0rc1 2026-05-27 12:27:43 +01:00
Andrew Morgan 8accba6c4a Merge branch 'develop' of github.com:element-hq/synapse into anoa/msc4429 2026-05-26 17:02:59 +01:00
mhlas7andMichael Hlas 0c6e0f79e5 doc: Enhance update_profile_information documentation with picture claim (#19508)
Added details how synapse syncs the picture claim when
update_profile_information setting is true. Addresses #17836

---------

Co-authored-by: Michael Hlas <3398654+mhlas7@users.noreply.github.com>
2026-05-15 15:29:53 +00:00
Olivier 'reivilibre 0e508ba80f 1.153.0rc1 2026-05-08 13:22:15 +01:00
Half-Shot e37a200138 Merge remote-tracking branch 'origin/develop' into anoa/msc4429 2026-05-01 16:25:22 +01:00
Eric Eastwood 22e1643359 Add warning about known problems when configuring use_frozen_dicts (#19711)
Known problems: https://github.com/element-hq/synapse/issues/18117

As a follow-up, we should consider removing this config option
altogether. It's "expensive" and claims to "prevent bugs" but actually
introduces a whole new class of bugs. It could be re-introduced with a
more holistic solution to the typing. Or a completely new approach (safe
mode that blows up when someone mutates the event content, always make
deep clones when handing out references, etc)

The `use_frozen_dict` config option was there [since
inception](https://github.com/element-hq/synapse/commit/a7b65bdedf512f646a3ca2478fb96a914856de35)
but was only recently
[documented](https://github.com/element-hq/synapse/pull/18122) for
completeness sake.
2026-04-24 12:00:13 -05:00
Olivier 'reivilibre d4034c0cf8 1.152.0rc1 2026-04-14 13:16:25 +01:00
Quentin Gliech 72711a3329 1.151.0rc1 2026-03-31 14:24:05 +02:00
Andrew Morgan 86572c63ed Constrain profile endpoint handling to profile_updates writer workers
And update relevant documentation/integration test config.
2026-03-24 13:10:54 +00:00
Quentin Gliech edf5ce277a Allow using HTTP/2 over plaintext when introspecting tokens with MAS (#19586) 2026-03-18 19:47:17 +01:00
Quentin Gliech 7d8e8747ea 1.150.0rc1 2026-03-17 15:56:55 +01:00
Quentin Gliech fd61b8eeb0 Merge branch 'release-v1.149' into develop 2026-03-03 17:24:12 +01:00
Eric Eastwood 51048b8e36 Update docs to clarify outbound_federation_restricted_to can also be used with the SBG (#19517)
[Secure Border Gateway (SBG)](https://element.io/en/server-suite/secure-border-gateways)

Spawning from [internal
discussion](https://matrix.to/#/!mNoPShRlwEeyHAEJOe:element.io/$6eGip85OUKOmyK1VzqrFMc7eF7dON7Vs76O40kVbRRY?via=banzan.uk&via=element.io&via=jki.re)
around integrating [Synapse Pro for small
hosts](https://docs.element.io/latest/element-server-suite-pro/synapse-pro-for-small-hosts/overview)
in the [Element Server Suite (ESS)](https://element.io/en/server-suite)
stack and wanting it be compatible with the SBG.

We know that the SBG works with monolith Synapse because that's what we
have configured with the [Complement tests in the SBG
repo](https://github.com/element-hq/sbg/blob/b76b05b53e40bf6890e51dd1b83cec3460274eb2/complement/configure_synapse_for_sbg.sh#L8-L10).
2026-03-03 10:04:37 -06:00
Quentin Gliech 639922e835 1.149.0rc1 2026-03-03 15:38:17 +01:00
Quentin Gliech 40171d036a 1.148.0rc1 2026-02-17 17:44:37 +01:00
Devon Hudson 3048ff8b26 1.147.0rc1 2026-02-03 08:56:37 -07:00
Devon Hudson a0e6a0595f 1.146.0rc1 2026-01-20 08:53:34 -07:00
Luis Paulino 8bdb72c93b Give an estimate for room complexity values. (#19384) 2026-01-20 14:39:59 +00:00
Devon Hudson cbc5469113 Merge branch 'release-v1.145' into develop 2026-01-07 10:34:01 -07:00
Patrice Brend'amour a094d922c9 Implement synapse issue #16751: Treat local_media_directory as optional storage provider (#19204) 2026-01-06 23:29:58 +00:00
Devon Hudson 39f80296c5 1.145.0rc1 2026-01-06 09:38:44 -07:00
Mathieu Velten 444bc56cda Add rate limit conf to user directory endpoint (#19291)
The goal is to avoid that an user could scrape the user directory too
quickly.
2026-01-05 13:35:11 -06:00
Devon Hudson 5fe4b7ed60 1.144.0rc1 2025-12-02 09:21:08 -07:00
Devon Hudson f5bf02eff6 1.143.0rc1 2025-11-18 13:20:59 -07:00
Andrew Morgan 2760d15348 1.142.0rc1 2025-11-04 13:34:46 +00:00
Andrew Morgan db9a61c30f Fix bcrypt errors preventing users from being able to log in (#19101) 2025-10-28 10:16:02 +00:00
Andrew Morgan 1271e896b5 1.141.0rc1 2025-10-21 11:12:59 +01:00
Andrew Morgan c0d6998dea 1.140.0rc1 2025-10-10 11:24:27 +01:00
fkwpandAndrew Morgan 18f07fdc4c Add MatrixRTC backend/services discovery endpoint (#18967)
Co-authored-by: Andrew Morgan <andrew@amorgan.xyz>
2025-10-09 17:15:47 +01:00
Sebastian Spaeth d1c96ee0f2 Fix rc_room_creation and rc_reports docs - remove per_user typo (#18998) 2025-09-30 15:17:11 -05:00
Andrew Morgan daf33e4954 1.139.0rc1 2025-09-23 13:28:34 +01:00
Hugh Nimmo-SmithandAndrew Morgan e1036ffa48 Add get_media_upload_limits_for_user and on_media_upload_limit_exceeded callbacks to module API (#18848)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2025-09-12 12:26:19 +01:00