Skip to content

Commit

Permalink
Update chat/matrix-synapse to 1.112.0
Browse files Browse the repository at this point in the history
# Synapse 1.112.0 (2024-07-30)

This security release is to update our locked dependency on Twisted to 24.7.0rc1, which includes a security fix for [CVE-2024-41671 / GHSA-c8m8-j448-xjx7: Disordered HTTP pipeline response in twisted.web, again](GHSA-c8m8-j448-xjx7).

Note that this security fix is also available as **Synapse 1.111.1**, which does not include the rest of the changes in Synapse 1.112.0.

This issue means that, if multiple HTTP requests are pipelined in the same TCP connection, Synapse can send responses to the wrong HTTP request.
If a reverse proxy was configured to use HTTP pipelining, this could result in responses being sent to the wrong user, severely harming confidentiality.

With that said, despite being a high severity issue, **we consider it unlikely that Synapse installations will be affected**.
The use of HTTP pipelining in this fashion would cause worse performance for clients (request-response latencies would be increased as users' responses would be artificially blocked behind other users' slow requests). Further, Nginx and Haproxy, two common reverse proxies, do not appear to support configuring their upstreams to use HTTP pipelining and thus would not be affected. For both of these reasons, we consider it unlikely that a Synapse deployment would be set up in such a configuration.

Despite that, we cannot rule out that some installations may exist with this unusual setup and so we are releasing this security update today.

**pip users:** Note that by default, upgrading Synapse using pip will not automatically upgrade Twisted. **Please manually install the new version of Twisted** using `pip install Twisted==24.7.0rc1`. Note also that even the `--upgrade-strategy=eager` flag to `pip install -U matrix-synapse` will not upgrade Twisted to a patched version because it is only a release candidate at this time.

### Internal Changes

- Upgrade locked dependency on Twisted to 24.7.0rc1. ([\#17502](element-hq/synapse#17502))


# Synapse 1.112.0rc1 (2024-07-23)

Please note that this release candidate does not include the security dependency update
included in version 1.111.1 as this version was released before 1.111.1.
The same security fix can be found in the full release of 1.112.0.

### Features

- Add to-device extension support to experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17416](element-hq/synapse#17416))
- Populate `name`/`avatar` fields in experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17418](element-hq/synapse#17418))
- Populate `heroes` and room summary fields (`joined_count`, `invited_count`) in experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17419](element-hq/synapse#17419))
- Populate `is_dm` room field in experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17429](element-hq/synapse#17429))
- Add room subscriptions to experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17432](element-hq/synapse#17432))
- Prepare for authenticated media freeze. ([\#17433](element-hq/synapse#17433))
- Add E2EE extension support to experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17454](element-hq/synapse#17454))

### Bugfixes

- Add configurable option to always include offline users in presence sync results. Contributed by @Michael-Hollister. ([\#17231](element-hq/synapse#17231))
- Fix bug in experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint when using room type filters and the user has one or more remote invites. ([\#17434](element-hq/synapse#17434))
- Order `heroes` by `stream_ordering` as the Matrix specification states (applies to `/sync`). ([\#17435](element-hq/synapse#17435))
- Fix rare bug where `/sync` would break for a user when using workers with multiple stream writers. ([\#17438](element-hq/synapse#17438))

### Improved Documentation

- Update the readme image to have a white background, so that it is readable in dark mode. ([\#17387](element-hq/synapse#17387))
- Add Red Hat Enterprise Linux and Rocky Linux 8 and 9 installation instructions. ([\#17423](element-hq/synapse#17423))
- Improve documentation for the [`default_power_level_content_override`](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#default_power_level_content_override) config option. ([\#17451](element-hq/synapse#17451))

### Internal Changes

- Make sure we always use the right logic for enabling the media repo. ([\#17424](element-hq/synapse#17424))
- Fix argument documentation for method `RateLimiter.record_action`. ([\#17426](element-hq/synapse#17426))
- Reduce volume of 'Waiting for current token' logs, which were introduced in v1.109.0. ([\#17428](element-hq/synapse#17428))
- Limit concurrent remote downloads to 6 per IP address, and decrement remote downloads without a content-length from the ratelimiter after the download is complete. ([\#17439](element-hq/synapse#17439))
- Remove unnecessary call to resume producing in fake channel. ([\#17449](element-hq/synapse#17449))
- Update experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint to bump room when it is created. ([\#17453](element-hq/synapse#17453))
- Speed up generating sliding sync responses. ([\#17458](element-hq/synapse#17458))
- Add cache to `get_rooms_for_local_user_where_membership_is` to speed up sliding sync. ([\#17460](element-hq/synapse#17460))
- Speed up fetching room keys from backup. ([\#17461](element-hq/synapse#17461))
- Speed up sorting of the room list in sliding sync. ([\#17468](element-hq/synapse#17468))
- Implement handling of `$ME` as a state key in sliding sync. ([\#17469](element-hq/synapse#17469))



### Updates to locked dependencies

* Bump bytes from 1.6.0 to 1.6.1. ([\#17441](element-hq/synapse#17441))
* Bump hiredis from 2.3.2 to 3.0.0. ([\#17464](element-hq/synapse#17464))
* Bump jsonschema from 4.22.0 to 4.23.0. ([\#17444](element-hq/synapse#17444))
* Bump matrix-org/done-action from 2 to 3. ([\#17440](element-hq/synapse#17440))
* Bump mypy from 1.9.0 to 1.10.1. ([\#17445](element-hq/synapse#17445))
* Bump pyopenssl from 24.1.0 to 24.2.1. ([\#17465](element-hq/synapse#17465))
* Bump ruff from 0.5.0 to 0.5.4. ([\#17466](element-hq/synapse#17466))
* Bump sentry-sdk from 2.6.0 to 2.8.0. ([\#17456](element-hq/synapse#17456))
* Bump sentry-sdk from 2.8.0 to 2.10.0. ([\#17467](element-hq/synapse#17467))
* Bump setuptools from 67.6.0 to 70.0.0. ([\#17448](element-hq/synapse#17448))
* Bump twine from 5.1.0 to 5.1.1. ([\#17443](element-hq/synapse#17443))
* Bump types-jsonschema from 4.22.0.20240610 to 4.23.0.20240712. ([\#17446](element-hq/synapse#17446))
* Bump ulid from 1.1.2 to 1.1.3. ([\#17442](element-hq/synapse#17442))
* Bump zipp from 3.15.0 to 3.19.1. ([\#17427](element-hq/synapse#17427))

# Synapse 1.111.0 (2024-07-16)

No significant changes since 1.111.0rc2.




# Synapse 1.111.0rc2 (2024-07-10)

### Bugfixes

- Fix bug where using `synapse.app.media_repository` worker configuration would break the new media endpoints. ([\#17420](element-hq/synapse#17420))

### Improved Documentation

- Document the new federation media worker endpoints in the [upgrade notes](https://element-hq.github.io/synapse/v1.111/upgrade.html) and [worker docs](https://element-hq.github.io/synapse/v1.111/workers.html). ([\#17421](element-hq/synapse#17421))

### Internal Changes

- Route authenticated federation media requests to media repository workers in Complement tests. ([\#17422](element-hq/synapse#17422))




# Synapse 1.111.0rc1 (2024-07-09)

### Features

- Add `rooms` data to experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17320](element-hq/synapse#17320))
- Add `room_types`/`not_room_types` filtering to experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17337](element-hq/synapse#17337))
- Return "required state" in experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17342](element-hq/synapse#17342))
- Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/3916-authentication-for-media.md) by adding [`_matrix/client/v1/media/download`](https://spec.matrix.org/v1.11/client-server-api/#get_matrixclientv1mediadownloadservernamemediaid) endpoint. ([\#17365](element-hq/synapse#17365))
- Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/rav/authentication-for-media/proposals/3916-authentication-for-media.md)
  by adding [`_matrix/client/v1/media/thumbnail`](https://spec.matrix.org/v1.11/client-server-api/#get_matrixclientv1mediathumbnailservernamemediaid), [`_matrix/federation/v1/media/thumbnail`](https://spec.matrix.org/v1.11/server-server-api/#get_matrixfederationv1mediathumbnailmediaid) endpoints and stabilizing the
  remaining [`_matrix/client/v1/media`](https://spec.matrix.org/v1.11/client-server-api/#get_matrixclientv1mediaconfig) endpoints. ([\#17388](element-hq/synapse#17388))
- Add `rooms.bump_stamp` for easier client-side sorting in experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17395](element-hq/synapse#17395))
- Forget all of a user's rooms upon deactivation, preventing local room purges from being blocked on deactivated users. ([\#17400](element-hq/synapse#17400))
- Declare support for [Matrix 1.11](https://matrix.org/blog/2024/06/20/matrix-v1.11-release/). ([\#17403](element-hq/synapse#17403))
- [MSC3861](matrix-org/matrix-spec-proposals#3861): allow overriding the introspection endpoint. ([\#17406](element-hq/synapse#17406))

### Bugfixes

- Fix rare race which caused no new to-device messages to be received from remote server. ([\#17362](element-hq/synapse#17362))
- Fix bug in experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint when using an old database. ([\#17398](element-hq/synapse#17398))

### Improved Documentation

- Clarify that `url_preview_url_blacklist` is a usability feature. ([\#17356](element-hq/synapse#17356))
- Fix broken links in README. ([\#17379](element-hq/synapse#17379))
- Clarify that changelog content *and file extension* need to match in order for entries to merge. ([\#17399](element-hq/synapse#17399))

### Internal Changes

- Make the release script create a release branch for Complement as well. ([\#17318](element-hq/synapse#17318))
- Fix uploading packages to PyPi. ([\#17363](element-hq/synapse#17363))
- Add CI check for the README. ([\#17367](element-hq/synapse#17367))
- Fix linting errors from new `ruff` version. ([\#17381](element-hq/synapse#17381), [\#17411](element-hq/synapse#17411))
- Fix building debian packages on non-clean checkouts. ([\#17390](element-hq/synapse#17390))
- Finish up work to allow per-user feature flags. ([\#17392](element-hq/synapse#17392), [\#17410](element-hq/synapse#17410))
- Allow enabling sliding sync per-user. ([\#17393](element-hq/synapse#17393))



### Updates to locked dependencies

* Bump certifi from 2023.7.22 to 2024.7.4. ([\#17404](element-hq/synapse#17404))
* Bump cryptography from 42.0.7 to 42.0.8. ([\#17382](element-hq/synapse#17382))
* Bump ijson from 3.2.3 to 3.3.0. ([\#17413](element-hq/synapse#17413))
* Bump log from 0.4.21 to 0.4.22. ([\#17384](element-hq/synapse#17384))
* Bump mypy-zope from 1.0.4 to 1.0.5. ([\#17414](element-hq/synapse#17414))
* Bump pillow from 10.3.0 to 10.4.0. ([\#17412](element-hq/synapse#17412))
* Bump pydantic from 2.7.1 to 2.8.2. ([\#17415](element-hq/synapse#17415))
* Bump ruff from 0.3.7 to 0.5.0. ([\#17381](element-hq/synapse#17381))
* Bump serde from 1.0.203 to 1.0.204. ([\#17409](element-hq/synapse#17409))
* Bump serde_json from 1.0.117 to 1.0.120. ([\#17385](element-hq/synapse#17385), [\#17408](element-hq/synapse#17408))
* Bump types-setuptools from 69.5.0.20240423 to 70.1.0.20240627. ([\#17380](element-hq/synapse#17380))

# Synapse 1.110.0 (2024-07-03)

No significant changes since 1.110.0rc3.




# Synapse 1.110.0rc3 (2024-07-02)

### Bugfixes

- Fix bug where `/sync` requests could get blocked indefinitely after an upgrade from Synapse versions before v1.109.0. ([\#17386](element-hq/synapse#17386), [\#17391](element-hq/synapse#17391))

### Internal Changes

- Limit size of presence EDUs to 50 entries. ([\#17371](element-hq/synapse#17371))
- Fix building debian package for debian sid. ([\#17389](element-hq/synapse#17389))




# Synapse 1.110.0rc2 (2024-06-26)

### Internal Changes

- Fix uploading packages to PyPi. ([\#17363](element-hq/synapse#17363))




# Synapse 1.110.0rc1 (2024-06-26)

### Features

- Add initial implementation of an experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17187](element-hq/synapse#17187))
- Add experimental support for [MSC3823](matrix-org/matrix-spec-proposals#3823) - Account suspension. ([\#17255](element-hq/synapse#17255))
- Improve ratelimiting in Synapse. ([\#17256](element-hq/synapse#17256))
- Add support for the unstable [MSC4151](matrix-org/matrix-spec-proposals#4151) report room API. ([\#17270](element-hq/synapse#17270), [\#17296](element-hq/synapse#17296))
- Filter for public and empty rooms added to Admin-API [List Room API](https://element-hq.github.io/synapse/latest/admin_api/rooms.html#list-room-api). ([\#17276](element-hq/synapse#17276))
- Add `is_dm` filtering to experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17277](element-hq/synapse#17277))
- Add `is_encrypted` filtering to experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17281](element-hq/synapse#17281))
- Include user membership in events served to clients, per [MSC4115](matrix-org/matrix-spec-proposals#4115). ([\#17282](element-hq/synapse#17282))
- Do not require user-interactive authentication for uploading cross-signing keys for the first time, per [MSC3967](matrix-org/matrix-spec-proposals#3967). ([\#17284](element-hq/synapse#17284))
- Add `stream_ordering` sort to experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17293](element-hq/synapse#17293))
- `register_new_matrix_user` now supports a --password-file flag, which
  is useful for scripting. ([\#17294](element-hq/synapse#17294))
- `register_new_matrix_user` now supports a --exists-ok flag to allow registration of users that already exist in the database.
  This is useful for scripts that bootstrap user accounts with initial passwords. ([\#17304](element-hq/synapse#17304))
- Add support for via query parameter from [MSC4156](matrix-org/matrix-spec-proposals#4156). ([\#17322](element-hq/synapse#17322))
- Add `is_invite` filtering to experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17335](element-hq/synapse#17335))
- Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/3916-authentication-for-media.md) by adding a federation /download endpoint. ([\#17350](element-hq/synapse#17350))

### Bugfixes

- Fix searching for users with their exact localpart whose ID includes a hyphen. ([\#17254](element-hq/synapse#17254))
- Fix wrong retention policy being used when filtering events. ([\#17272](element-hq/synapse#17272))
- Fix bug where OTKs were not always included in `/sync` response when using workers. ([\#17275](element-hq/synapse#17275))
- Fix a long-standing bug where an invalid 'from' parameter to [`/notifications`](https://spec.matrix.org/v1.10/client-server-api/#get_matrixclientv3notifications) would result in an Internal Server Error. ([\#17283](element-hq/synapse#17283))
- Fix edge case in `/sync` returning the wrong the state when using sharded event persisters. ([\#17295](element-hq/synapse#17295))
- Add initial implementation of an experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync `/sync` endpoint. ([\#17301](element-hq/synapse#17301))
- Fix email notification subject when invited to a space. ([\#17336](element-hq/synapse#17336))

### Improved Documentation

- Add missing quotes for example for `exclude_rooms_from_sync`. ([\#17308](element-hq/synapse#17308))
- Update header in the README to visually fix the the auto-generated table of contents. ([\#17329](element-hq/synapse#17329))
- Fix stale references to the Foundation's Security Disclosure Policy. ([\#17341](element-hq/synapse#17341))
- Add default values for `rc_invites.per_issuer` to docs. ([\#17347](element-hq/synapse#17347))
- Fix an error in the docs for `search_all_users` parameter under `user_directory`. ([\#17348](element-hq/synapse#17348))

### Internal Changes

- Remove unused `expire_access_token` option in the Synapse Docker config file. Contributed by @AaronDewes. ([\#17198](element-hq/synapse#17198))
- Use fully-qualified `PersistedEventPosition` when returning `RoomsForUser` to facilitate proper comparisons and `RoomStreamToken` generation. ([\#17265](element-hq/synapse#17265))
- Add debug logging for when room keys are uploaded, including whether they are replacing other room keys. ([\#17266](element-hq/synapse#17266))
- Handle OTK uploads off master. ([\#17271](element-hq/synapse#17271))
- Don't try and resync devices for remote users whose servers are marked as down. ([\#17273](element-hq/synapse#17273))
- Re-organize Pydantic models and types used in handlers. ([\#17279](element-hq/synapse#17279))
- Expose the worker instance that persisted the event on `event.internal_metadata.instance_name`. ([\#17300](element-hq/synapse#17300))
- Update the README with Element branding, improve headers and fix the #synapse:matrix.org support room link rendering. ([\#17324](element-hq/synapse#17324))
- Change path of the experimental [MSC3575](matrix-org/matrix-spec-proposals#3575) Sliding Sync implementation to `/org.matrix.simplified_msc3575/sync` since our simplified API is slightly incompatible with what's in the current MSC. ([\#17331](element-hq/synapse#17331))
- Handle device lists notifications for large accounts more efficiently in worker mode. ([\#17333](element-hq/synapse#17333), [\#17358](element-hq/synapse#17358))
- Do not block event sending/receiving while calculating large event auth chains. ([\#17338](element-hq/synapse#17338))
- Tidy up `parse_integer` docs and call sites to reflect the fact that they require non-negative integers by default, and bring `parse_integer_from_args` default in alignment. Contributed by Denis Kasak (@dkasak). ([\#17339](element-hq/synapse#17339))



### Updates to locked dependencies

* Bump authlib from 1.3.0 to 1.3.1. ([\#17343](element-hq/synapse#17343))
* Bump dawidd6/action-download-artifact from 3.1.4 to 5. ([\#17289](element-hq/synapse#17289))
* Bump dawidd6/action-download-artifact from 5 to 6. ([\#17313](element-hq/synapse#17313))
* Bump docker/build-push-action from 5 to 6. ([\#17312](element-hq/synapse#17312))
* Bump jinja2 from 3.1.3 to 3.1.4. ([\#17287](element-hq/synapse#17287))
* Bump lazy_static from 1.4.0 to 1.5.0. ([\#17355](element-hq/synapse#17355))
* Bump msgpack from 1.0.7 to 1.0.8. ([\#17317](element-hq/synapse#17317))
* Bump netaddr from 1.2.1 to 1.3.0. ([\#17353](element-hq/synapse#17353))
* Bump packaging from 24.0 to 24.1. ([\#17352](element-hq/synapse#17352))
* Bump phonenumbers from 8.13.37 to 8.13.39. ([\#17315](element-hq/synapse#17315))
* Bump regex from 1.10.4 to 1.10.5. ([\#17290](element-hq/synapse#17290))
* Bump requests from 2.31.0 to 2.32.2. ([\#17345](element-hq/synapse#17345))
* Bump sentry-sdk from 2.1.1 to 2.3.1. ([\#17263](element-hq/synapse#17263))
* Bump sentry-sdk from 2.3.1 to 2.6.0. ([\#17351](element-hq/synapse#17351))
* Bump tornado from 6.4 to 6.4.1. ([\#17344](element-hq/synapse#17344))
* Bump mypy from 1.8.0 to 1.9.0. ([\#17297](element-hq/synapse#17297))
* Bump types-jsonschema from 4.21.0.20240311 to 4.22.0.20240610. ([\#17288](element-hq/synapse#17288))
* Bump types-netaddr from 1.2.0.20240219 to 1.3.0.20240530. ([\#17314](element-hq/synapse#17314))
* Bump types-pillow from 10.2.0.20240423 to 10.2.0.20240520. ([\#17285](element-hq/synapse#17285))
* Bump types-pyyaml from 6.0.12.12 to 6.0.12.20240311. ([\#17316](element-hq/synapse#17316))
* Bump typing-extensions from 4.11.0 to 4.12.2. ([\#17354](element-hq/synapse#17354))
* Bump urllib3 from 2.0.7 to 2.2.2. ([\#17346](element-hq/synapse#17346))
  • Loading branch information
Midar committed Aug 11, 2024
1 parent 8bca51a commit 399488c
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 57 deletions.
9 changes: 5 additions & 4 deletions chat/matrix-synapse/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.99 2024/06/18 16:49:41 gdt Exp $
# $NetBSD: Makefile,v 1.100 2024/08/11 15:01:32 js Exp $

DISTNAME= matrix-synapse-1.109.0
DISTNAME= matrix-synapse-1.112.0
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_GITHUB:=element-hq/}
GITHUB_PROJECT= synapse
Expand Down Expand Up @@ -43,9 +43,10 @@ DEPENDS+= ${PYPKGPREFIX}-signedjson>=1.1.0:../../security/py-signedjson
DEPENDS+= ${PYPKGPREFIX}-sortedcontainers>=1.5.2:../../devel/py-sortedcontainers
DEPENDS+= ${PYPKGPREFIX}-treq>=15.1:../../devel/py-treq
DEPENDS+= ${PYPKGPREFIX}-twisted>=18.9.0:../../net/py-twisted
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10.0.1:../../devel/py-typing-extensions
DEPENDS+= ${PYPKGPREFIX}-unpaddedbase64>=1.1.0:../../devel/py-unpaddedbase64
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.0:../../devel/py-typing-extensions
DEPENDS+= ${PYPKGPREFIX}-unpaddedbase64>=2.1.0:../../devel/py-unpaddedbase64
DEPENDS+= ${PYPKGPREFIX}-yaml>=3.13:../../textproc/py-yaml
DEPENDS+= ${PYPKGPREFIX}-python-multipart>=0.0.9:../../www/py-python-multipart
# jwt/oidc
DEPENDS+= ${PYPKGPREFIX}-authlib>=0.15.1:../../security/py-authlib
# postgres
Expand Down
28 changes: 18 additions & 10 deletions chat/matrix-synapse/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.53 2024/06/18 16:49:41 gdt Exp $
@comment $NetBSD: PLIST,v 1.54 2024/08/11 15:01:32 js Exp $
bin/export_signing_key
bin/generate_config
bin/generate_log_config
Expand Down Expand Up @@ -507,6 +507,9 @@ ${PYSITELIB}/synapse/handlers/send_email.pyo
${PYSITELIB}/synapse/handlers/set_password.py
${PYSITELIB}/synapse/handlers/set_password.pyc
${PYSITELIB}/synapse/handlers/set_password.pyo
${PYSITELIB}/synapse/handlers/sliding_sync.py
${PYSITELIB}/synapse/handlers/sliding_sync.pyc
${PYSITELIB}/synapse/handlers/sliding_sync.pyo
${PYSITELIB}/synapse/handlers/sso.py
${PYSITELIB}/synapse/handlers/sso.pyc
${PYSITELIB}/synapse/handlers/sso.pyo
Expand Down Expand Up @@ -963,9 +966,6 @@ ${PYSITELIB}/synapse/rest/client/logout.pyo
${PYSITELIB}/synapse/rest/client/media.py
${PYSITELIB}/synapse/rest/client/media.pyc
${PYSITELIB}/synapse/rest/client/media.pyo
${PYSITELIB}/synapse/rest/client/models.py
${PYSITELIB}/synapse/rest/client/models.pyc
${PYSITELIB}/synapse/rest/client/models.pyo
${PYSITELIB}/synapse/rest/client/mutual_rooms.py
${PYSITELIB}/synapse/rest/client/mutual_rooms.pyc
${PYSITELIB}/synapse/rest/client/mutual_rooms.pyo
Expand Down Expand Up @@ -1005,9 +1005,9 @@ ${PYSITELIB}/synapse/rest/client/relations.pyo
${PYSITELIB}/synapse/rest/client/rendezvous.py
${PYSITELIB}/synapse/rest/client/rendezvous.pyc
${PYSITELIB}/synapse/rest/client/rendezvous.pyo
${PYSITELIB}/synapse/rest/client/report_event.py
${PYSITELIB}/synapse/rest/client/report_event.pyc
${PYSITELIB}/synapse/rest/client/report_event.pyo
${PYSITELIB}/synapse/rest/client/reporting.py
${PYSITELIB}/synapse/rest/client/reporting.pyc
${PYSITELIB}/synapse/rest/client/reporting.pyo
${PYSITELIB}/synapse/rest/client/room.py
${PYSITELIB}/synapse/rest/client/room.pyc
${PYSITELIB}/synapse/rest/client/room.pyo
Expand Down Expand Up @@ -1101,9 +1101,6 @@ ${PYSITELIB}/synapse/rest/media/v1/media_storage.pyo
${PYSITELIB}/synapse/rest/media/v1/storage_provider.py
${PYSITELIB}/synapse/rest/media/v1/storage_provider.pyc
${PYSITELIB}/synapse/rest/media/v1/storage_provider.pyo
${PYSITELIB}/synapse/rest/models.py
${PYSITELIB}/synapse/rest/models.pyc
${PYSITELIB}/synapse/rest/models.pyo
${PYSITELIB}/synapse/rest/synapse/__init__.py
${PYSITELIB}/synapse/rest/synapse/__init__.pyc
${PYSITELIB}/synapse/rest/synapse/__init__.pyo
Expand Down Expand Up @@ -1871,6 +1868,8 @@ ${PYSITELIB}/synapse/storage/schema/main/delta/85/02_add_instance_names.sql
${PYSITELIB}/synapse/storage/schema/main/delta/85/03_new_sequences.sql.postgres
${PYSITELIB}/synapse/storage/schema/main/delta/85/04_cleanup_device_federation_outbox.sql
${PYSITELIB}/synapse/storage/schema/main/delta/85/05_add_instance_names_converted_pos.sql
${PYSITELIB}/synapse/storage/schema/main/delta/85/06_add_room_reports.sql
${PYSITELIB}/synapse/storage/schema/main/delta/86/01_authenticate_media.sql
${PYSITELIB}/synapse/storage/schema/main/full_schemas/72/full.sql.postgres
${PYSITELIB}/synapse/storage/schema/main/full_schemas/72/full.sql.sqlite
${PYSITELIB}/synapse/storage/schema/state/delta/23/drop_state_index.sql
Expand Down Expand Up @@ -1919,6 +1918,15 @@ ${PYSITELIB}/synapse/synapse_rust/rendezvous.pyi
${PYSITELIB}/synapse/types/__init__.py
${PYSITELIB}/synapse/types/__init__.pyc
${PYSITELIB}/synapse/types/__init__.pyo
${PYSITELIB}/synapse/types/handlers/__init__.py
${PYSITELIB}/synapse/types/handlers/__init__.pyc
${PYSITELIB}/synapse/types/handlers/__init__.pyo
${PYSITELIB}/synapse/types/rest/__init__.py
${PYSITELIB}/synapse/types/rest/__init__.pyc
${PYSITELIB}/synapse/types/rest/__init__.pyo
${PYSITELIB}/synapse/types/rest/client/__init__.py
${PYSITELIB}/synapse/types/rest/client/__init__.pyc
${PYSITELIB}/synapse/types/rest/client/__init__.pyo
${PYSITELIB}/synapse/types/state.py
${PYSITELIB}/synapse/types/state.pyc
${PYSITELIB}/synapse/types/state.pyo
Expand Down
18 changes: 9 additions & 9 deletions chat/matrix-synapse/cargo-depends.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: cargo-depends.mk,v 1.19 2024/06/18 16:49:41 gdt Exp $
# $NetBSD: cargo-depends.mk,v 1.20 2024/08/11 15:01:32 js Exp $

CARGO_CRATE_DEPENDS+= aho-corasick-1.1.3
CARGO_CRATE_DEPENDS+= anyhow-1.0.86
Expand All @@ -9,7 +9,7 @@ CARGO_CRATE_DEPENDS+= bitflags-2.5.0
CARGO_CRATE_DEPENDS+= blake2-0.10.6
CARGO_CRATE_DEPENDS+= block-buffer-0.10.4
CARGO_CRATE_DEPENDS+= bumpalo-3.16.0
CARGO_CRATE_DEPENDS+= bytes-1.6.0
CARGO_CRATE_DEPENDS+= bytes-1.6.1
CARGO_CRATE_DEPENDS+= cfg-if-1.0.0
CARGO_CRATE_DEPENDS+= cpufeatures-0.2.12
CARGO_CRATE_DEPENDS+= crypto-common-0.1.6
Expand All @@ -26,10 +26,10 @@ CARGO_CRATE_DEPENDS+= httpdate-1.0.3
CARGO_CRATE_DEPENDS+= indoc-2.0.5
CARGO_CRATE_DEPENDS+= itoa-1.0.11
CARGO_CRATE_DEPENDS+= js-sys-0.3.69
CARGO_CRATE_DEPENDS+= lazy_static-1.4.0
CARGO_CRATE_DEPENDS+= lazy_static-1.5.0
CARGO_CRATE_DEPENDS+= libc-0.2.154
CARGO_CRATE_DEPENDS+= lock_api-0.4.12
CARGO_CRATE_DEPENDS+= log-0.4.21
CARGO_CRATE_DEPENDS+= log-0.4.22
CARGO_CRATE_DEPENDS+= memchr-2.7.2
CARGO_CRATE_DEPENDS+= memoffset-0.9.1
CARGO_CRATE_DEPENDS+= mime-0.3.17
Expand All @@ -51,22 +51,22 @@ CARGO_CRATE_DEPENDS+= rand-0.8.5
CARGO_CRATE_DEPENDS+= rand_chacha-0.3.1
CARGO_CRATE_DEPENDS+= rand_core-0.6.4
CARGO_CRATE_DEPENDS+= redox_syscall-0.5.1
CARGO_CRATE_DEPENDS+= regex-1.10.4
CARGO_CRATE_DEPENDS+= regex-1.10.5
CARGO_CRATE_DEPENDS+= regex-automata-0.4.6
CARGO_CRATE_DEPENDS+= regex-syntax-0.8.3
CARGO_CRATE_DEPENDS+= ryu-1.0.18
CARGO_CRATE_DEPENDS+= scopeguard-1.2.0
CARGO_CRATE_DEPENDS+= serde-1.0.203
CARGO_CRATE_DEPENDS+= serde_derive-1.0.203
CARGO_CRATE_DEPENDS+= serde_json-1.0.117
CARGO_CRATE_DEPENDS+= serde-1.0.204
CARGO_CRATE_DEPENDS+= serde_derive-1.0.204
CARGO_CRATE_DEPENDS+= serde_json-1.0.120
CARGO_CRATE_DEPENDS+= sha1-0.10.6
CARGO_CRATE_DEPENDS+= sha2-0.10.8
CARGO_CRATE_DEPENDS+= smallvec-1.13.2
CARGO_CRATE_DEPENDS+= subtle-2.5.0
CARGO_CRATE_DEPENDS+= syn-2.0.61
CARGO_CRATE_DEPENDS+= target-lexicon-0.12.14
CARGO_CRATE_DEPENDS+= typenum-1.17.0
CARGO_CRATE_DEPENDS+= ulid-1.1.2
CARGO_CRATE_DEPENDS+= ulid-1.1.3
CARGO_CRATE_DEPENDS+= unicode-ident-1.0.12
CARGO_CRATE_DEPENDS+= unindent-0.2.3
CARGO_CRATE_DEPENDS+= version_check-0.9.4
Expand Down
58 changes: 29 additions & 29 deletions chat/matrix-synapse/distinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.69 2024/06/18 16:49:41 gdt Exp $
$NetBSD: distinfo,v 1.70 2024/08/11 15:01:32 js Exp $

BLAKE2s (aho-corasick-1.1.3.crate) = 36150b5dacb72fa7cd0d33aee15e14857914224878f0af76eabcb9daa68e3ae0
SHA512 (aho-corasick-1.1.3.crate) = ba422a54688c4678fcf16e34fdf3ed06c333e6e3fc8b75af9272a215add494d43ebaef319021134b61327fd5d3572aec0dc655b714ffb3bc71ba3c265c9ebb69
Expand Down Expand Up @@ -27,9 +27,9 @@ Size (block-buffer-0.10.4.crate) = 10538 bytes
BLAKE2s (bumpalo-3.16.0.crate) = 718bb7ba9add434df2b5e3f8ea1ac354f2e51c0f0a6d8d77296504d6c1ca87b2
SHA512 (bumpalo-3.16.0.crate) = a51b75c36f6794db444cab20eeb24f42a319080ecb486a56d254d6f873f3d188b5ccba11db30c068bd0c52c4322d4a3f5f5195c81c94b0bc04387030418835b1
Size (bumpalo-3.16.0.crate) = 85677 bytes
BLAKE2s (bytes-1.6.0.crate) = 22a44deef7af5f84343d80916cf9b03368d7ecef1474ffd57b7e9bf844f78298
SHA512 (bytes-1.6.0.crate) = 6507bc4274204d0a19b6a95c3284c52245c71cbf5f2dfb5cd372193d989e49869ec557c0c4e449e96ed4e3028c90606dfb0dcdc1d72bb234a36bc5f344c0a7a8
Size (bytes-1.6.0.crate) = 60605 bytes
BLAKE2s (bytes-1.6.1.crate) = 668865d606eac6bf1769f71a3a93a2f667588a0d1b47511f727e57449b55e278
SHA512 (bytes-1.6.1.crate) = 4826cdba7a772b68f7352a3160a4c8ff93002110644c2e99537274cbb9776ba2f40ed8be9cde564f58b884c1985bdbce07cd7f5a46d34b48146ff51f317b5ab7
Size (bytes-1.6.1.crate) = 60723 bytes
BLAKE2s (cfg-if-1.0.0.crate) = fbb02f63b24cc224b045ff2aac3aefd0a77cf7b578df4d5f9da9517a59aaf9bb
SHA512 (cfg-if-1.0.0.crate) = 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
Size (cfg-if-1.0.0.crate) = 7934 bytes
Expand Down Expand Up @@ -78,21 +78,21 @@ Size (itoa-1.0.11.crate) = 10563 bytes
BLAKE2s (js-sys-0.3.69.crate) = 125ca887ceb13c7f7fdc8679994e1ff9be43fa03b93d229d4cbe6ae739c2609a
SHA512 (js-sys-0.3.69.crate) = 506722e6dc13484828a4147d974822ff9d103d9e7db58a48181b0957770d9fc43b97605ced105c5b680d8b2cda5fa1705f605707611cb48ed8a45a96d5f196b9
Size (js-sys-0.3.69.crate) = 81083 bytes
BLAKE2s (lazy_static-1.4.0.crate) = 0d5f7c2bcfe70610bc27bd6b339ea3e4ca3b7014149714db3a0c199ac6f07cd1
SHA512 (lazy_static-1.4.0.crate) = e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
Size (lazy_static-1.4.0.crate) = 10443 bytes
BLAKE2s (lazy_static-1.5.0.crate) = e1c1f0f38c4bae0138784e2df43c1a683e7dc5a2fb3fc0c9f49e01c04b770b40
SHA512 (lazy_static-1.5.0.crate) = 6d2f9887cd7f34f019644e42f02f2bf0111accd73aeaa60973ba0b039b6774670debece1ea9a6978e923208ef5d3ab7326473ee3560c078817f0f7ab8ed0f65f
Size (lazy_static-1.5.0.crate) = 14025 bytes
BLAKE2s (libc-0.2.154.crate) = a36b89bd4038231095e34745dabfeb7f5fae2708abda0d68c581eb66db527751
SHA512 (libc-0.2.154.crate) = 891a36cf153a9f4d58793412c104504c57280994e428ce8ba208673a924b2de38cc21eece09b91696eaea3b2359606dbe9f1509f9bf364bdabdb366ef2dd0f61
Size (libc-0.2.154.crate) = 743304 bytes
BLAKE2s (lock_api-0.4.12.crate) = 15ae57312deba2e9aa3df7a4a7e61ace84bf1faad6c5701eb862da9c11b40f2a
SHA512 (lock_api-0.4.12.crate) = 525d971f495449bbd02eb70fcd84d4aab05ca582142144a5f314f9aa67ad4c5b4c98dc919a416d0ed2e555063eab037a441d671d56b633f2cb75dfab5d99bcf7
Size (lock_api-0.4.12.crate) = 27591 bytes
BLAKE2s (log-0.4.21.crate) = ca813eca404c65ce52e7ff9560ce68303f0ba32f45e14c8d3ee61a0798375b11
SHA512 (log-0.4.21.crate) = 0becc1a06b6e7048cff6c0bb8df49a16ac4772133c00239e9e9459c0811e7715c500f440cf1a9aef8d7ad74f57434559ca9b55917f588b8e476cf36eb6d4e10b
Size (log-0.4.21.crate) = 43442 bytes
BLAKE2s (matrix-synapse-1.109.0.tar.gz) = 4fa0c17bcb101c03ad8ae2745b9e724358bd84f57c198f1f5d2aec7e69260736
SHA512 (matrix-synapse-1.109.0.tar.gz) = f76ea72cdd8039ae41f0438cf421360ceebb48b6a2d73cb04e7f92ee7478ce0bc420d85a3cb8dd80045e5c5181ed10bdf604e8b14d0c69930020036306c65b26
Size (matrix-synapse-1.109.0.tar.gz) = 8529953 bytes
BLAKE2s (log-0.4.22.crate) = 9c270d3af5640c9eeb36754e6fd6cf50521e9fd1efad955e0d777716b3d6839a
SHA512 (log-0.4.22.crate) = bd7baa9c8a5523fd0864a53bcde955d484cacd782412b5b02c890b89dbf62137624da3a27337a310dd8f62bcc6606925a42bbd4ca161a3b7936ea4ff96bc0d71
Size (log-0.4.22.crate) = 44027 bytes
BLAKE2s (matrix-synapse-1.112.0.tar.gz) = bc8a45f5227c783af4adbb0e04baa4d997daffba069b88983d42ecacad9ae7f8
SHA512 (matrix-synapse-1.112.0.tar.gz) = dc09e37f6581dd2b25c2aaae53294df997e450bfc4c3496929f56d342d354a48f0bfaac2aee154f7e1f53e86f7d078844495290c0fbc6c91efea966f8f6d68ff
Size (matrix-synapse-1.112.0.tar.gz) = 8644732 bytes
BLAKE2s (memchr-2.7.2.crate) = 58bad593cd29bb59ae79239f6f69364c2c512fa365107c1c46c37878bf53126f
SHA512 (memchr-2.7.2.crate) = cadcb4239c7f3aaab042592c5186770a225621e32f8583052fd3dbebb4a6d9b99be28f589b39b5ca36cb2d56fb3709e7d4ba91838ebb882e28e51280c02bbc40
Size (memchr-2.7.2.crate) = 96220 bytes
Expand Down Expand Up @@ -156,9 +156,9 @@ Size (rand_core-0.6.4.crate) = 22666 bytes
BLAKE2s (redox_syscall-0.5.1.crate) = f8d509b643ffa477ad2b979f4e1195de551a74d2804f834cc88b9aeca8a47ec8
SHA512 (redox_syscall-0.5.1.crate) = 0952b5f4f79f2cff04b4c21d964df7b56bc0cbff8d8a2a9a7d38ba66fd69cbd0fb004cd3d8ac6feadde8d9590858cd7e1763da7e4a5de840cdef42b1b6f1e460
Size (redox_syscall-0.5.1.crate) = 22536 bytes
BLAKE2s (regex-1.10.4.crate) = 28cc3904c91fe8c5d20358f856de3332047ae5b9d6fcd05de0150e0d304e9f38
SHA512 (regex-1.10.4.crate) = 88ef121a51759f418d5dc01607a6e02651bd00343dae92962c02a80f30343d3f079a0375457780ce46bf205ca38f279b03989154638199fe2fcede10554bf21b
Size (regex-1.10.4.crate) = 253191 bytes
BLAKE2s (regex-1.10.5.crate) = 3df1c365e07bb083bdb0fe36e6f0fc6d80f13d1b1959d3d56b2dd3d88152e13c
SHA512 (regex-1.10.5.crate) = 177fddb001e14281510e34070f88f8e5167278a46f1d93d9286d9606b7673346f504e4064d7ad53558e6988a400c728e33b663ab398fee12ae23fba7158da5fb
Size (regex-1.10.5.crate) = 253805 bytes
BLAKE2s (regex-automata-0.4.6.crate) = 1ed0f1b2621a3903870a4ef6f0a265ee88d15525b0e2245bc6b4155df1ea6065
SHA512 (regex-automata-0.4.6.crate) = b288e1facae2612f73d3de3fe9fd1af13d337107004f990263abe6277b31b948478ad9c2b807dcafa73fa565e48bdf2113139f5ca67eb73165b7d29e2ee5c9f1
Size (regex-automata-0.4.6.crate) = 617565 bytes
Expand All @@ -171,15 +171,15 @@ Size (ryu-1.0.18.crate) = 47713 bytes
BLAKE2s (scopeguard-1.2.0.crate) = 4daf97de7fabaf7fe5ba6000f7132a46cc0bab2a297127580d9ac127d0a8fcec
SHA512 (scopeguard-1.2.0.crate) = 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb
Size (scopeguard-1.2.0.crate) = 11619 bytes
BLAKE2s (serde-1.0.203.crate) = 3e30c21924e228fcca66f4c4188fb8fdcf8cb3fb1a361e0dd0a959eb7f3e47c0
SHA512 (serde-1.0.203.crate) = a8d302589244e41f6f675e8d199b2532b29f62b63e45aee141a93dad96033e4bbb27ed01c11e329ec2266cdcc6f2a40f41dfc7d1b9bada69aea81d35d2d82cec
Size (serde-1.0.203.crate) = 77935 bytes
BLAKE2s (serde_derive-1.0.203.crate) = 1b24ac5f657d790ccdb49aef94ca7fe17622e609a121b30eeac8877535b713fb
SHA512 (serde_derive-1.0.203.crate) = b2aeeab33395ac11ebdbd922fcdbda29f2592e7a20e78aef250713baf269cacf497271be7aa407f657aba33da132df0e035be046fef070f915f234097d1dd392
Size (serde_derive-1.0.203.crate) = 55867 bytes
BLAKE2s (serde_json-1.0.117.crate) = c78384399acd32eee7f74988f43c3d8f4bd0929595cd6b8804792b44216e8cca
SHA512 (serde_json-1.0.117.crate) = 363443af23e8e03dd17c0efc94b376f0d89b596c74d70d0437471e78bc20c6beb61da59404ff150af52000162f6df728ce73475feb828c453e58ea43e66ca056
Size (serde_json-1.0.117.crate) = 146921 bytes
BLAKE2s (serde-1.0.204.crate) = f43fea3418fcdb7f89db4f10bdc05fbaac51fed7ed2317844740d348da864612
SHA512 (serde-1.0.204.crate) = 2fefbeed0117bd791fd25dd5ad0c99ed4f60aac5919605b6f642050f748dd472bf9d4d121b78b0cfe8719db30a675559d097bcc7542cb57451d1779dfd8d294f
Size (serde-1.0.204.crate) = 78253 bytes
BLAKE2s (serde_derive-1.0.204.crate) = 948dbe273ee87fbab81296654d8e24e0b3b9ce0acc6a9a64cac9d9a49dc85df1
SHA512 (serde_derive-1.0.204.crate) = bbb2b5e60e2af5bc7528b937ffaf0d3ffd433dbd9cb2592c1e07090620309057e4f11cbd6112fc1d2c5557e1bb3c0f4d59eb06ff06fa021ec683ab880997140e
Size (serde_derive-1.0.204.crate) = 55871 bytes
BLAKE2s (serde_json-1.0.120.crate) = 3f1a5a0eeb0980ee486808fbd112bde9c92252ffe42941cfb614fb079a56abf5
SHA512 (serde_json-1.0.120.crate) = dab44850326f9020d6f6dd3fc8147e22eed693527fe9cac2c6bc8f6a030f461061e8e54d2780382ce32cced63b5a016372a4f9938effdd1631d8f3dc96014e3e
Size (serde_json-1.0.120.crate) = 147062 bytes
BLAKE2s (sha1-0.10.6.crate) = de97b70d4fb6a4dc4e3db64696720ea96e7b38eec57b2e8fa01ecd5102d96eab
SHA512 (sha1-0.10.6.crate) = fd37be7e3f1d4b6addd313a36b55215fb70abd21be7831b71de28bd3eb03b7352817d8a7b1a166df002c3a23eadc8224e49edd4a37556c0e5357565305d4128f
Size (sha1-0.10.6.crate) = 13517 bytes
Expand All @@ -201,9 +201,9 @@ Size (target-lexicon-0.12.14.crate) = 25508 bytes
BLAKE2s (typenum-1.17.0.crate) = 09823684788c5902da7490db1fa86b53defd3c31eab6e511d3cbbc851616596c
SHA512 (typenum-1.17.0.crate) = 99773d5d9f850c0602db4bb67dd062b0ade6f086e155216f1bb2fb6569461ba7e1b7c2f2af81ea8833bc3bfcf3fe5033edecb7c438adae63f59d3e30cf63a508
Size (typenum-1.17.0.crate) = 42849 bytes
BLAKE2s (ulid-1.1.2.crate) = f16914a7c52a8c09330ffdc701c9ee14aa6ca04712944356a41550a16685f400
SHA512 (ulid-1.1.2.crate) = 6bad4dcc2cbd5c05b1d535e6d8bb91da84cf2ee8c2d6c189ce302f5d5c3757d7878ccefaebeaaed93b8b7d90ec4d22033f9aee7f9a22a9329ce9b391934a3b12
Size (ulid-1.1.2.crate) = 11517 bytes
BLAKE2s (ulid-1.1.3.crate) = 77a6d3444c183391c696ed9f4f28894a06602069a4339b4c5f8283d5603cd70c
SHA512 (ulid-1.1.3.crate) = a8f6ab3601417e7a46a763bb28722c3770fb0c2dea340c02a8e96d2e3597a304589745c65278c90bbc64f5153501a2a85321386669fda71ad7252ec67dd749df
Size (ulid-1.1.3.crate) = 11596 bytes
BLAKE2s (unicode-ident-1.0.12.crate) = d3afb0938724e7bb0f5c2a5f76ff614511446dd54b363f76e84353254acd3739
SHA512 (unicode-ident-1.0.12.crate) = bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920
Size (unicode-ident-1.0.12.crate) = 42168 bytes
Expand Down Expand Up @@ -261,4 +261,4 @@ Size (windows_x86_64_gnullvm-0.52.5.crate) = 433246 bytes
BLAKE2s (windows_x86_64_msvc-0.52.5.crate) = cff55ffe9c61794935a56e2c6b21ca5f068efaad263d63575cfb0863d23be29d
SHA512 (windows_x86_64_msvc-0.52.5.crate) = 81176090dc725d7fe3867e6322fdc4a4065168580847b35e6f8da345f685c4f66a81e35cd1880dbaabdd4cdc82446dde9d6a0e583cf0b7fe47dda8bc8002f1c6
Size (windows_x86_64_msvc-0.52.5.crate) = 827905 bytes
SHA1 (patch-synapse_handlers_room.py) = 1bb7740b5a8385f5d0ca9c1e8c38d41a8e594473
SHA1 (patch-synapse_handlers_room.py) = f39e6f679a95f7830ba27c007e097c573d953b21
10 changes: 5 additions & 5 deletions chat/matrix-synapse/patches/patch-synapse_handlers_room.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
$NetBSD: patch-synapse_handlers_room.py,v 1.4 2022/11/12 13:24:09 gdt Exp $
$NetBSD: patch-synapse_handlers_room.py,v 1.5 2024/08/11 15:01:32 js Exp $

This patch allows changing the default power level for the creator of a new
room. It's useful to set this higher than 100 so that the creator of the room
can give admin to others while still retaining the ability to revoke admin from
someone. In the past, this turned out to be the only thing that could recover a
room in which a bridge with admin permissions went wild and kicked everybody.

--- synapse/handlers/room.py.orig 2022-11-08 10:59:36.000000000 +0000
--- synapse/handlers/room.py.orig 2024-07-30 16:24:09.000000000 +0000
+++ synapse/handlers/room.py
@@ -1151,7 +1151,7 @@ class RoomCreationHandler:
events_to_send.append((power_event, power_context))
else:
@@ -1191,7 +1191,7 @@ class RoomCreationHandler:
# Please update the docs for `default_power_level_content_override` when
# updating the `events` dict below
power_level_content: JsonDict = {
- "users": {creator_id: 100},
+ "users": {creator_id: @SYNAPSE_DEFAULT_CREATOR_PL@},
Expand Down

0 comments on commit 399488c

Please sign in to comment.