summary refs log tree commit diff
path: root/snap (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-03-16requested changesH. Shay2-2/+6
2023-03-16Remove no-op send_command for Redis replication. (#15274)Patrick Cloke4-89/+3
With Redis commands do not need to be re-issued by the main process (they fan-out to all processes at once) and thus it is no longer necessary to worry about them reflecting recursively forever.
2023-03-16Implement MSC2659: application service ping endpoint (#15249)Tulir Asokan7-0/+141
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2023-03-16Refresh remote profiles that have been marked as stale, in order to fill the ↵reivilibre5-4/+504
user directory. [rei:userdirpriv] (#14756) * Scaffolding for background process to refresh profiles * Add scaffolding for background process to refresh profiles for a given server * Implement the code to select servers to refresh from * Ensure we don't build up multiple looping calls * Make `get_profile` able to respect backoffs * Add logic for refreshing users * When backing off, schedule a refresh when the backoff is over * Wake up the background processes when we receive an interesting state event * Add tests * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Add comment about 1<<62 --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-03-16Move Account Validity callbacks to a dedicated file (#15237)Andrew Morgan8-106/+154
2023-03-16Preparatory work to fix the user directory assuming that any remote ↵reivilibre4-34/+127
membership state events represent a profile change. [rei:userdirpriv] (#14755) * Remove special-case method for new memberships only, use more generic method * Only collect profiles from state events in public rooms * Add a table to track stale remote user profiles * Add store methods to set and delete rows in this new table * Mark remote profiles as stale when a member state event comes in to a private room * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Simplify by removing Optionality of `event_id` * Replace names and avatars with None if they're set to dodgy things I think this makes more sense anyway. * Move schema delta to 74 (I missed the boat?) * Turns out these can be None after all --------- Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-03-15Remove unused class: DirectTcpReplicationClientFactory. (#15272)Patrick Cloke2-51/+1
2023-03-15Enable running tests & release artifacts on merge queue. (#15244)Patrick Cloke3-1/+5
2023-03-15Add schema comments about the `destinations` and `destination_rooms` tables. ↵reivilibre2-0/+53
(#15247)
2023-03-14Remove unused store method `_set_destination_retry_timings_emulated`. (#15266)reivilibre2-54/+3
2023-03-14Additional functionality for declaring worker types in Complement (#14921)Jason Little3-115/+413
Co-authored-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-03-141.79.0 v1.79.0Mathieu Velten3-1/+13
2023-03-14Avoid unneeded work if auto-join rooms aren't configured. (#15262)Patrick Cloke2-2/+9
It is not necessary to reach out to the database to check some parameters if the auto-join rooms are not configured, or (in some cases) if auto-create rooms is not configured.
2023-03-13Bump cryptography from 39.0.1 to 39.0.2 (#15257)dependabot[bot]2-24/+25
* Bump cryptography from 39.0.1 to 39.0.2 Bumps [cryptography](https://github.com/pyca/cryptography) from 39.0.1 to 39.0.2. - [Release notes](https://github.com/pyca/cryptography/releases) - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pyca/cryptography/compare/39.0.1...39.0.2) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-03-131.79.0rc2 v1.79.0rc2David Robertson6-4/+23
2023-03-13Ensure fed-sender catchup does not block for full state (#15248)David Robertson4-3/+125
* Reproduce bad scenario in test * Avoid catchup optimisation for partial state rooms
2023-03-13Install rust during Stage 0 of docker build (#15239)David Robertson2-1/+17
* Install rust during Stage 0 of docker build Thanks to @atomdmac for spotting the fix. Fixes #15179. * Changelog
2023-03-13Bump hiredis from 2.2.1 to 2.2.2 (#15252)dependabot[bot]2-90/+91
* Bump hiredis from 2.2.1 to 2.2.2 Bumps [hiredis](https://github.com/redis/hiredis-py) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/redis/hiredis-py/releases) - [Changelog](https://github.com/redis/hiredis-py/blob/master/CHANGELOG.md) - [Commits](https://github.com/redis/hiredis-py/compare/v2.2.1...v2.2.2) --- updated-dependencies: - dependency-name: hiredis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-03-13Bump serde from 1.0.152 to 1.0.155 (#15253)dependabot[bot]2-4/+5
* Bump serde from 1.0.152 to 1.0.155 Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.155. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.155) --- updated-dependencies: - dependency-name: serde dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-03-13Bump pysaml2 from 7.2.1 to 7.3.1 (#15254)dependabot[bot]2-8/+8
* Bump pysaml2 from 7.2.1 to 7.3.1 Bumps [pysaml2](https://github.com/IdentityPython/pysaml2) from 7.2.1 to 7.3.1. - [Release notes](https://github.com/IdentityPython/pysaml2/releases) - [Changelog](https://github.com/IdentityPython/pysaml2/blob/v7.3.1/CHANGELOG.md) - [Commits](https://github.com/IdentityPython/pysaml2/compare/v7.2.1...v7.3.1) --- updated-dependencies: - dependency-name: pysaml2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-03-13Bump msgpack from 1.0.4 to 1.0.5 (#15255)dependabot[bot]2-53/+65
* Bump msgpack from 1.0.4 to 1.0.5 Bumps [msgpack](https://github.com/msgpack/msgpack-python) from 1.0.4 to 1.0.5. - [Release notes](https://github.com/msgpack/msgpack-python/releases) - [Changelog](https://github.com/msgpack/msgpack-python/blob/main/ChangeLog.rst) - [Commits](https://github.com/msgpack/msgpack-python/compare/v1.0.4...v1.0.5) --- updated-dependencies: - dependency-name: msgpack dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-03-13Bump gitpython from 3.1.30 to 3.1.31 (#15256)dependabot[bot]2-5/+6
* Bump gitpython from 3.1.30 to 3.1.31 Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.30 to 3.1.31. - [Release notes](https://github.com/gitpython-developers/GitPython/releases) - [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES) - [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.30...3.1.31) --- updated-dependencies: - dependency-name: gitpython dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-03-10Refactor `filter_events_for_server` (#15240)David Robertson5-30/+109
* Tweak docstring and type hint * Flip logic and provide better name * Separate decision from action * Track a set of strings, not EventBases * Require explicit boolean options from callers * Add explicit option for partial state rooms * Changelog * Rename param
2023-03-10Fix missing conditional for registering ↵Andrew Morgan3-9/+16
`on_remove_user_third_party_identifier` module api callbacks (#15227
2023-03-09Give PyCharm some help with `@cache_in_self` (#15238)David Robertson2-3/+27
* Give PyCharm some help with `@cache_in_self` * Changelog * Fix import for old python versions
2023-03-09Faster joins: Fix spurious errors on incremental sync (#15232)Sean Quah2-2/+8
When pushing events in partial state rooms down incremental /sync, we try to find the `m.room.member` state event for their senders by digging through their auth events, so that we can present the membership to the client. Events usually have a membership event in their auth events, with the exception of the `m.room.create` event and a user's first join into the room. When implementing #13477, we took the case of a user's first join into account, but forgot to handle the `m.room.create` case. This change fixes that. Signed-off-by: Sean Quah <seanq@matrix.org>
2023-03-09Add missing type hints to `synapse.storage.database`. (#15230)Patrick Cloke3-8/+17
2023-03-09Pull in netaddr type hints. (#15231)Patrick Cloke7-12/+23
And fix any issues from having those type hints.
2023-03-08Add topic and name events to group of events that are batch persisted when ↵Shay2-56/+53
creating a room. (#15229)
2023-03-08Include the room ID in more purge room log lines. (#15222)Patrick Cloke5-15/+23
2023-03-08Add a missing endpoint to the workers documentation. (#15223)Patrick Cloke2-0/+2
2023-03-07More speedups/fixes to creating batched events (#15195)Shay5-9/+33
2023-03-07Fix typo in changelogDavid Robertson1-1/+1
2023-03-07Stabilize support for MSC3873: disambuguated event push keys. (#15190)Patrick Cloke5-45/+15
This removes the experimental configuration option and always escapes the push rule condition keys. Also escapes any (experimental) push rule condition keys in the base rules which contain dot in a field name.
2023-03-07Pass the Requester down to the HttpTransactionCache. (#15200)Quentin Gliech6-129/+215
2023-03-07Stabilize support for MSC3966: event_property_contains push condition. (#15187)Patrick Cloke9-55/+13
This removes the configuration flag & updates the identifiers to use the stable version.
2023-03-07Remove duplicate entry from changelog v1.79.0rc1David Robertson1-1/+0
2023-03-07Update changelogDavid Robertson1-21/+24
2023-03-071.79.0rc1David Robertson63-61/+102
2023-03-07Hack to rebuild the complement editable image (#15184)David Robertson2-1/+12
* Hack to rebuild the complement editable image * Changelog
2023-03-07Bump types-pyopenssl from 22.1.0.2 to 23.0.0.4 (#15213)dependabot[bot]2-44/+5
2023-03-07Bump types-pillow from 9.4.0.13 to 9.4.0.17 (#15211)dependabot[bot]2-3/+4
2023-03-07Bump types-setuptools from 67.4.0.3 to 67.5.0.0 (#15212)dependabot[bot]2-3/+4
2023-03-07Bump types-psycopg2 from 2.9.21.4 to 2.9.21.8 (#15210)dependabot[bot]2-3/+4
2023-03-07Bump types-commonmark from 0.9.2.1 to 0.9.2.2 (#15209)dependabot[bot]2-3/+4
2023-03-07Split up txn for fetching device keys (#15215)Erik Johnston3-9/+26
We look up keys in batches, but we should do that outside of the transaction to avoid starving the database pool.
2023-03-06more develop merge fixH. Shay1-4/+4
2023-03-06add clearer return valuesH. Shay1-2/+11
2023-03-06Pass the requester during event serialization. (#15174)Quentin Gliech12-75/+151
This allows Synapse to properly include the transaction ID in the unsigned data of events.
2023-03-06Stop applying edits to event contents (MSC3925). (#15193)Patrick Cloke6-109/+15
Enables MSC3925 support by default, which: * Includes the full edit event in the bundled aggregations of an edited event. * Stops modifying the original event's content to return the new content from the edit event. This is a backwards-incompatible change that is considered to be "correct" by the spec.
2023-03-06Stabilize support for MSC3758: event_property_is push condition (#15185)Patrick Cloke10-81/+39
This removes the configuration flag & updates the identifiers to use the stable version.
2023-03-06Bump serde_json from 1.0.93 to 1.0.94 (#15214)Co-authored-by: ↵dependabot[bot]2-2/+3
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com> * Bump serde_json from 1.0.93 to 1.0.94 Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.93 to 1.0.94. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.93...v1.0.94) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-03-03Use nightly rustfmt in CI (#15188)Erik Johnston4-2/+5
As we use some nightly only options, e.g. to group and sort imports consistently.
2023-03-03Fix ICU tests on alpine / macOS. (#15177)65432-0/+3
The word boundary behaviour is slightly different, consider it acceptable for the tests.
2023-03-03Combine AbstractStreamIdTracker and AbstractStreamIdGenerator. (#15192)Patrick Cloke7-27/+15
AbstractStreamIdTracker (now) has only a single sub-class: AbstractStreamIdGenerator, combine them to simplify some code and remove any direct references to AbstractStreamIdTracker.
2023-03-03Remove unspecced and buggy `PUT` method on the unstable ↵Quentin Gliech2-15/+2
`/rooms/<room_id>/batch_send` endpoint. (#15199)
2023-03-03Configure ruff to automatically fix issues. (#15194)Patrick Cloke2-1/+2
2023-03-03Experimental MSC3890 Implementation: Fix deleting account data when using an ↵Andrew Morgan3-26/+16
account data writer worker (#14869)
2023-03-02Add a `get_next_txn` method to `StreamIdGenerator` to match ↵Andrew Morgan4-11/+48
`MultiWriterIdGenerator` (#15191
2023-03-02Add support for knocking to workers. (#15133)Dirk Klimpel9-16/+15
2023-03-02Remove the unspecced and bugged PUT /knock/{roomIdOrAlias} endpoint (#15189)Quentin Gliech2-15/+2
2023-03-02Dockerfile-workers: spell out when config isn't generated (#15186)David Robertson2-1/+6
* Complement: Spell out when config isn't generated * Changelog
2023-03-02Update intentional mentions (MSC3952) to depend on ↵Patrick Cloke11-94/+73
`exact_event_property_contains` (MSC3966). (#15051) This replaces the specific `is_user_mention` push rule condition used in MSC3952 with the generic `exact_event_property_contains` push rule condition from MSC3966.
2023-03-02Fix conflicting URLs for dehydrated devices. (#15180)Patrick Cloke2-1/+2
2023-03-02Add Sytest jobs with the asyncio reactor enabled (#14101)Quentin Gliech3-0/+17
2023-03-02Move event_reports to `RoomWorkerStore` (#15165)Dirk Klimpel2-177/+178
2023-03-02Implementation of MSC3967: Don't require UIA for initial upload of cross ↵Hugh Nimmo-Smith5-9/+182
signing keys (#15077)
2023-02-28Remove support for aggregating reactions (#15172)Richard van der Hoff8-377/+30
It turns out that no clients rely on server-side aggregation of `m.annotation` relationships: it's just not very useful as currently implemented. It's also non-trivial to calculate. I want to remove it from MSC2677, so to keep the implementation in line, let's remove it here.
2023-02-28Update spam checker documentation for moved media modules. (#15175)Patrick Cloke2-2/+3
2023-02-28Fix a long-standing bug where an initial sync would not respond to changes ↵reivilibre4-2/+77
to the list of ignored users if there was an initial sync cached. (#15163)
2023-02-281.78.0 v1.78.0H. Shay4-2/+16
2023-02-28Allow use of the `/filter` Client-Server APIs on workers. (#15134)reivilibre6-8/+27
2023-02-28Add missing type hints to InsecureInterceptableContextFactory. (#15164)Patrick Cloke3-5/+4
2023-02-28Do not accept pattern_type from user input in push rules. (#15088)Patrick Cloke6-186/+244
Internally the push rules module uses a `pattern_type` property for `event_match` conditions (and `related_event_match`) to mark the condition as matching the current user's Matrix ID or localpart. This is leaky to the Client-Server API where a user can successfully set a condition which provides `pattern_type` instead of `pattern` (note that there's no benefit to doing this -- the user can just use their own Matrix ID or localpart instead). When serializing back to the client the `pattern_type` property is converted into a proper `pattern`. The following changes are made to avoid this: * Separate the `KnownCondition::EventMatch` enum value into `EventMatch` and `EventMatchType`, each with their own expected properties. (Note that a similar change is made for `RelatedEventMatch`.) * Make it such that the `pattern_type` variants serialize to the same condition kind, but cannot be deserialized (since they're only provided by base rules). * As a final tweak, convert `user_id` vs. `user_localpart` values into an enum.
2023-02-28Add documentation for caching in a module (#14026)Brendan Abolivier2-0/+57
* Add documentation for caching in a module * Changelog * Formatting * Wrap lines at a length that mdbook is happier with * Typo fix Co-authored-by: Erik Johnston <erik@matrix.org> * Link to recent version of the API In the longer term I'd like to see us generate markdown with Sphinx. * Refer to public `cached` decorator * Mark caching as being added in 1.74 Some of the underlying infrastructure was added in 1.69, but the public-facing `cached` decorator was only added in 1.74. It is the latter that I think we should be advertising. * Update docs/modules/writing_a_module.md Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> --------- Co-authored-by: David Robertson <davidr@element.io> Co-authored-by: Erik Johnston <erik@matrix.org> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
2023-02-28Admin API endpoint to delete a reported event (#15116)Dirk Klimpel5-11/+224
* Admin api to delete event report * lint + tests * newsfile * Apply suggestions from code review Co-authored-by: David Robertson <david.m.robertson1@gmail.com> * revert changes - move to WorkerStore * update unit test * Note that timestamp is in millseconds --------- Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
2023-02-28Correct documentation about registration_shared_secret_path (#15168)Evan Krall2-2/+3
* Correct documentation about registration_shared_secret_path * Create 15168.doc * Update changelog.d/15168.doc --------- Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
2023-02-27Remove dangling reference to being a reference implementation (#15167)Travis Ralston2-2/+4
* Remove dangling reference to being a reference implementation * Create 15167.misc
2023-02-27Add module API callbacks for adding and deleting local 3PID associations (#15044Andrew Morgan12-48/+324
2023-02-27Refactor media modules. (#15146)Patrick Cloke31-1123/+1190
* Removes the `v1` directory from `test.rest.media.v1`. * Moves the non-REST code from `synapse.rest.media.v1` to `synapse.media`. * Flatten the `v1` directory from `synapse.rest.media`, but leave compatiblity with 3rd party media repositories and spam checkers.
2023-02-27Small fixes to `MatrixFederationHttpClient` docstrings (#15148)Andrew Morgan2-7/+10
2023-02-27Bump ruff from 0.0.237 to 0.0.252 (#15159)dependabot[bot]3-19/+21
* Bump ruff from 0.0.237 to 0.0.252 Bumps [ruff](https://github.com/charliermarsh/ruff) from 0.0.237 to 0.0.252. - [Release notes](https://github.com/charliermarsh/ruff/releases) - [Changelog](https://github.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/charliermarsh/ruff/compare/v0.0.237...v0.0.252) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-02-27Bump types-setuptools from 67.3.0.1 to 67.4.0.3 (#15160)dependabot[bot]2-18/+4
* Bump types-setuptools from 67.3.0.1 to 67.4.0.3 Bumps [types-setuptools](https://github.com/python/typeshed) from 67.3.0.1 to 67.4.0.3. - [Release notes](https://github.com/python/typeshed/releases) - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-setuptools dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-02-27Bump types-opentracing from 2.4.10.1 to 2.4.10.3 (#15158)dependabot[bot]2-3/+4
* Bump types-opentracing from 2.4.10.1 to 2.4.10.3 Bumps [types-opentracing](https://github.com/python/typeshed) from 2.4.10.1 to 2.4.10.3. - [Release notes](https://github.com/python/typeshed/releases) - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: types-opentracing dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-02-27Bump typing-extensions from 4.4.0 to 4.5.0 (#15157)dependabot[bot]2-3/+4
* Bump typing-extensions from 4.4.0 to 4.5.0 Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/python/typing_extensions/releases) - [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md) - [Commits](https://github.com/python/typing_extensions/compare/4.4.0...4.5.0) --- updated-dependencies: - dependency-name: typing-extensions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-02-27Bump matrix-org/backend-meta from 1 to 2 (#15156)dependabot[bot]2-1/+2
* Bump matrix-org/backend-meta from 1 to 2 Bumps [matrix-org/backend-meta](https://github.com/matrix-org/backend-meta) from 1 to 2. - [Release notes](https://github.com/matrix-org/backend-meta/releases) - [Commits](https://github.com/matrix-org/backend-meta/compare/v1...v2) --- updated-dependencies: - dependency-name: matrix-org/backend-meta dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-02-27Bump actions/checkout from 2 to 3 (#15155)dependabot[bot]2-2/+3
* Bump actions/checkout from 2 to 3 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-02-27Bump docker/login-action from 1 to 2 (#15154)dependabot[bot]2-1/+2
* Bump docker/login-action from 1 to 2 Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v1...v2) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-02-27Bump dawidd6/action-download-artifact from 2.25.0 to 2.26.0 (#15152)dependabot[bot]2-1/+2
* Bump dawidd6/action-download-artifact from 2.25.0 to 2.26.0 Bumps [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact) from 2.25.0 to 2.26.0. - [Release notes](https://github.com/dawidd6/action-download-artifact/releases) - [Commits](https://github.com/dawidd6/action-download-artifact/compare/b59d8c6a6c5c6c6437954f470d963c0b20ea7415...5e780fc7bbd0cac69fc73271ed86edf5dcb72d67) --- updated-dependencies: - dependency-name: dawidd6/action-download-artifact dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Changelog --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: GitHub Actions <github-actions[bot]@users.noreply.github.com>
2023-02-24Batch up storing state groups when creating new room (#14918)Shay14-49/+371
2023-02-24Fix bug where 5s delays would occasionally happen. (#15150)Erik Johnston3-0/+80
This only affects deployments using workers.
2023-02-24Improve handling of non-ASCII characters in user directory search (#15143)Sean Quah3-2/+184
* Fix a long-standing bug where non-ASCII characters in search terms, including accented letters, would not match characters in a different case. * Fix a long-standing bug where search terms using combining accents would not match display names using precomposed accents and vice versa. To fully take effect, the user directory must be rebuilt after this change. Fixes #14630. Signed-off-by: Sean Quah <seanq@matrix.org>
2023-02-23Do not fail completely if oEmbed autodiscovery fails. (#15092)Patrick Cloke3-13/+65
Previously if an autodiscovered oEmbed request failed (e.g. the oEmbed endpoint is down or does not exist) then the entire URL preview would fail. Instead we now return everything we can, even if this additional request fails.
2023-02-23Stop parsing the unspecced type parameter on thumbnail requests. (#15137)Patrick Cloke2-1/+3
Ideally we would replace this with parsing of the Accept header or something else, but for now just make Synapse spec compliant by ignoring the unspecced parameter. It does not seem that this is ever sent by a client, and even if it is there's a reasonable fallback.
2023-02-23Fix a typo in MSC3873 config option. (#15138)Patrick Cloke4-9/+10
Previously the experimental configuration option referred to the wrong MSC number.
2023-02-23Fix typo in federation_verify_certificates in config documentation. (#15139)Centzilius2-1/+2
2023-02-23Add information on uploaded media to user export command. (#15107)Dirk Klimpel5-16/+136
2023-02-23Documentation using Shibboleth with OIDC Plugin for SSO. (#15112)Fly2-0/+42
2023-02-22Update .git-blame-ignore-revs for #15103.Patrick Cloke1-1/+5
2023-02-22Bump black from 22.12.0 to 23.1.0 (#15103)dependabot[bot]117-218/+108
2023-02-22Tighten the default rate limit of creating new devices. (#15135)Patrick Cloke3-5/+15
2023-02-22Use `json.dump` in `FileExfiltrationWriter` (#15095)Dirk Klimpel2-8/+9
To directly write to the open file, instead of writing to an in-memory string first.
2023-02-22Clarify the workers that the ThirdPartyRules' `on_new_event` callback will ↵Andrew Morgan2-0/+4
run on (#15071)
2023-02-22Remove unused `room_alias` field from `/createRoom` response (#15093)David Robertson10-39/+40
* Change `create_room` return type * Don't return room alias from /createRoom * Update other callsites * Fix up mypy complaints It looks like new_room_user_id is None iff new_room_id is None. It's a shame we haven't expressed this in a way that mypy can understand. * Changelog
2023-02-21update changelogH. Shay1-0/+0
<