This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
forked from matrix-org/synapse
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synapse 1.83.0 (2023-05-09) =========================== No significant changes since 1.83.0rc1. Synapse 1.83.0rc1 (2023-05-02) ============================== Features -------- - Experimental support to recursively provide relations per [MSC3981](matrix-org/matrix-spec-proposals#3981). ([\matrix-org#15315](matrix-org#15315)) - Experimental support for [MSC3970](matrix-org/matrix-spec-proposals#3970): Scope transaction IDs to devices. ([\matrix-org#15318](matrix-org#15318)) - Add an [admin API endpoint](https://matrix-org.github.io/synapse/v1.83/admin_api/experimental_features.html) to support per-user feature flags. ([\matrix-org#15344](matrix-org#15344)) - Add a module API to send an HTTP push notification. ([\matrix-org#15387](matrix-org#15387)) - Add an [admin API endpoint](https://matrix-org.github.io/synapse/v1.83/admin_api/statistics.html#get-largest-rooms-by-size-in-database) to query the largest rooms by disk space used in the database. ([\matrix-org#15482](matrix-org#15482)) Bugfixes -------- - Disable push rule evaluation for rooms excluded from sync. ([\matrix-org#15361](matrix-org#15361)) - Fix a long-standing bug where cached server key results which were directly fetched would not be properly re-used. ([\matrix-org#15417](matrix-org#15417)) - Fix a bug introduced in Synapse 1.73.0 where some experimental push rules were returned by default. ([\matrix-org#15494](matrix-org#15494)) Improved Documentation ---------------------- - Add Nginx loadbalancing example with sticky mxid for workers. ([\matrix-org#15411](matrix-org#15411)) - Update outdated development docs that mention restrictions in versions of SQLite that we no longer support. ([\matrix-org#15498](matrix-org#15498)) Internal Changes ---------------- - Speedup tests by caching HomeServerConfig instances. ([\matrix-org#15284](matrix-org#15284)) - Add denormalised event stream ordering column to membership state tables for future use. Contributed by Nick @ Beeper (@Fizzadar). ([\matrix-org#15356](matrix-org#15356)) - Always use multi-user device resync replication endpoints. ([\matrix-org#15418](matrix-org#15418)) - Add column `full_user_id` to tables `profiles` and `user_filters`. ([\matrix-org#15458](matrix-org#15458)) - Update support for [MSC3983](matrix-org/matrix-spec-proposals#3983) to allow always returning fallback-keys in a `/keys/claim` request. ([\matrix-org#15462](matrix-org#15462)) - Improve type hints. ([\matrix-org#15465](matrix-org#15465), [\matrix-org#15496](matrix-org#15496), [\matrix-org#15497](matrix-org#15497)) - Support claiming more than one OTK at a time. ([\matrix-org#15468](matrix-org#15468)) - Bump types-pyyaml from 6.0.12.8 to 6.0.12.9. ([\matrix-org#15471](matrix-org#15471)) - Bump pyasn1-modules from 0.2.8 to 0.3.0. ([\matrix-org#15473](matrix-org#15473)) - Bump cryptography from 40.0.1 to 40.0.2. ([\matrix-org#15474](matrix-org#15474)) - Bump types-netaddr from 0.8.0.7 to 0.8.0.8. ([\matrix-org#15475](matrix-org#15475)) - Bump types-jsonschema from 4.17.0.6 to 4.17.0.7. ([\matrix-org#15476](matrix-org#15476)) - Ask bug reporters to provide logs as text. ([\matrix-org#15479](matrix-org#15479)) - Add a Nix flake for use as a development environment. ([\matrix-org#15495](matrix-org#15495)) - Bump anyhow from 1.0.70 to 1.0.71. ([\matrix-org#15507](matrix-org#15507)) - Bump types-pillow from 9.4.0.19 to 9.5.0.2. ([\matrix-org#15508](matrix-org#15508)) - Bump packaging from 23.0 to 23.1. ([\matrix-org#15510](matrix-org#15510)) - Bump types-requests from 2.28.11.16 to 2.29.0.0. ([\matrix-org#15511](matrix-org#15511)) - Bump setuptools-rust from 1.5.2 to 1.6.0. ([\matrix-org#15512](matrix-org#15512)) - Update the check_schema_delta script to account for when the schema version has been bumped locally. ([\matrix-org#15466](matrix-org#15466)) # -----BEGIN PGP SIGNATURE----- # # iHUEABYIAB0WIQSTI7xPaHQ1yo0PA8uSL1esuTqr+QUCZFp2zQAKCRCSL1esuTqr # +YVzAP94u5kth80qhAB5x/vpCMrpPZC8Hk4kPTNwTuqCia7qGQEAlcEgsNXRmLnw # esBnwhQE+ntwodK4uvHKjVZafkDG2gs= # =N1Pk # -----END PGP SIGNATURE----- # gpg: Signature made Tue May 9 17:37:33 2023 BST # gpg: using EDDSA key 9323BC4F687435CA8D0F03CB922F57ACB93AABF9 # gpg: Can't check signature: No public key # Conflicts: # poetry.lock # synapse/events/utils.py # synapse/push/bulk_push_rule_evaluator.py # synapse/push/httppusher.py # synapse/server.py
- Loading branch information
Showing
119 changed files
with
3,331 additions
and
820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Experimental Features API | ||
|
||
This API allows a server administrator to enable or disable some experimental features on a per-user | ||
basis. Currently supported features are [msc3026](https://github.com/matrix-org/matrix-spec-proposals/pull/3026): busy | ||
presence state enabled, [msc2654](https://github.com/matrix-org/matrix-spec-proposals/pull/2654): enable unread counts, | ||
[msc3881](https://github.com/matrix-org/matrix-spec-proposals/pull/3881): enable remotely toggling push notifications | ||
for another client, and [msc3967](https://github.com/matrix-org/matrix-spec-proposals/pull/3967): do not require | ||
UIA when first uploading cross-signing keys. | ||
|
||
|
||
To use it, you will need to authenticate by providing an `access_token` | ||
for a server admin: see [Admin API](../usage/administration/admin_api/). | ||
|
||
## Enabling/Disabling Features | ||
|
||
This API allows a server administrator to enable experimental features for a given user. The request must | ||
provide a body containing the user id and listing the features to enable/disable in the following format: | ||
```json | ||
{ | ||
"features": { | ||
"msc3026":true, | ||
"msc2654":true | ||
} | ||
} | ||
``` | ||
where true is used to enable the feature, and false is used to disable the feature. | ||
|
||
|
||
The API is: | ||
|
||
``` | ||
PUT /_synapse/admin/v1/experimental_features/<user_id> | ||
``` | ||
|
||
## Listing Enabled Features | ||
|
||
To list which features are enabled/disabled for a given user send a request to the following API: | ||
|
||
``` | ||
GET /_synapse/admin/v1/experimental_features/<user_id> | ||
``` | ||
|
||
It will return a list of possible features and indicate whether they are enabled or disabled for the | ||
user like so: | ||
```json | ||
{ | ||
"features": { | ||
"msc3026": true, | ||
"msc2654": true, | ||
"msc3881": false, | ||
"msc3967": false | ||
} | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.