Compare commits
19 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23d4c1106a | ||
|
|
99612d5740 | ||
|
|
2f3b5edfbc | ||
|
|
35ee043100 | ||
|
|
ed9a5d5cd5 | ||
|
|
d9e1eca30e | ||
|
|
ea99f2f4a5 | ||
|
|
35c31e2512 | ||
|
|
370f256143 | ||
|
|
f5a5440cc8 | ||
|
|
e226002bf3 | ||
|
|
9c84c6424f | ||
|
|
97eebecf37 | ||
|
|
0c32ddde1f | ||
|
|
24680e18af | ||
|
|
97e11820b7 | ||
|
|
700d3b23cb | ||
|
|
2859cc73d0 | ||
|
|
aae5a5eecd |
89
CHANGELOG.md
89
CHANGELOG.md
@@ -713,7 +713,7 @@
|
|||||||
* Fix an issue with Docker images causing the Rust dependencies to not be pinned correctly. Introduced in v1.68.0 (#14129)
|
* Fix an issue with Docker images causing the Rust dependencies to not be pinned correctly. Introduced in v1.68.0 (#14129)
|
||||||
* Fix a bug introduced in Synapse 1.69.0rc1 which would cause registration replication requests to fail if the worker sending the request is not running Synapse 1.69. (#14135)
|
* Fix a bug introduced in Synapse 1.69.0rc1 which would cause registration replication requests to fail if the worker sending the request is not running Synapse 1.69. (#14135)
|
||||||
* Fix error in background update when rotating existing notifications. Introduced in v1.69.0rc2. (#14138)
|
* Fix error in background update when rotating existing notifications. Introduced in v1.69.0rc2. (#14138)
|
||||||
* Allow application services to set the origin_server_ts of a state event by providing the query parameter ts in PUT /_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}, per MSC3316. Contributed by @lukasdenk. (#11866)
|
* Allow application services to set the origin_server_ts of a state event by providing the query parameter ts in PUT `/_matrix/client/r0/rooms/{roomId}/state/{eventType}/{stateKey}`, per MSC3316. Contributed by @lukasdenk. (#11866)
|
||||||
* Allow server admins to require a manual approval process before new accounts can be used (using MSC3866). (#13556)
|
* Allow server admins to require a manual approval process before new accounts can be used (using MSC3866). (#13556)
|
||||||
* Exponentially backoff from backfilling the same event over and over. (#13635, #13936)
|
* Exponentially backoff from backfilling the same event over and over. (#13635, #13936)
|
||||||
* Add cache invalidation across workers to module API. (#13667, #13947)
|
* Add cache invalidation across workers to module API. (#13667, #13947)
|
||||||
@@ -721,7 +721,7 @@
|
|||||||
* Experimental support for thread-specific receipts (MSC3771). (#13782, #13893, #13932, #13937, #13939)
|
* Experimental support for thread-specific receipts (MSC3771). (#13782, #13893, #13932, #13937, #13939)
|
||||||
* Add experimental support for MSC3881: Remotely toggle push notifications for another client. (#13799, #13831, #13860)
|
* Add experimental support for MSC3881: Remotely toggle push notifications for another client. (#13799, #13831, #13860)
|
||||||
* Keep track when an event pulled over federation fails its signature check so we can intelligently back-off in the future. (#13815)
|
* Keep track when an event pulled over federation fails its signature check so we can intelligently back-off in the future. (#13815)
|
||||||
* Improve validation for the unspecced, internal-only _matrix/client/unstable/add_threepid/msisdn/submit_token endpoint. (#13832)
|
* Improve validation for the unspecced, internal-only `_matrix/client/unstable/add_threepid/msisdn/submit_token` endpoint. (#13832)
|
||||||
* Faster remote room joins: record when we first partial-join to a room. (#13892)
|
* Faster remote room joins: record when we first partial-join to a room. (#13892)
|
||||||
* Support a dir parameter on the /relations endpoint per MSC3715. (#13920)
|
* Support a dir parameter on the /relations endpoint per MSC3715. (#13920)
|
||||||
* Ask mail servers receiving emails from Synapse to not send automatic replies (e.g. out-of-office responses). (#13957)
|
* Ask mail servers receiving emails from Synapse to not send automatic replies (e.g. out-of-office responses). (#13957)
|
||||||
@@ -735,7 +735,7 @@
|
|||||||
* Fix packaging to include Cargo.lock in sdist. (#13909)
|
* Fix packaging to include Cargo.lock in sdist. (#13909)
|
||||||
* Fix a long-standing bug where device updates could cause delays sending out to-device messages over federation. (#13922)
|
* Fix a long-standing bug where device updates could cause delays sending out to-device messages over federation. (#13922)
|
||||||
* Fix a bug introduced in v1.68.0 where Synapse would require setuptools_rust at runtime, even though the package is only required at build time. (#13952)
|
* Fix a bug introduced in v1.68.0 where Synapse would require setuptools_rust at runtime, even though the package is only required at build time. (#13952)
|
||||||
* Fix a long-standing bug where POST /_matrix/client/v3/keys/query requests could result in excessively large SQL queries. (#13956)
|
* Fix a long-standing bug where POST `/_matrix/client/v3/keys/query` requests could result in excessively large SQL queries. (#13956)
|
||||||
* Fix a performance regression in the get_users_in_room database query. Introduced in v1.67.0. (#13972)
|
* Fix a performance regression in the get_users_in_room database query. Introduced in v1.67.0. (#13972)
|
||||||
* Fix a bug introduced in v1.68.0 bug where Rust extension wasn't built in release mode when using poetry install. (#14009)
|
* Fix a bug introduced in v1.68.0 bug where Rust extension wasn't built in release mode when using poetry install. (#14009)
|
||||||
* Do not return an unspecified original_event field when using the stable /relations endpoint. Introduced in Synapse v1.57.0. (#14025)
|
* Do not return an unspecified original_event field when using the stable /relations endpoint. Introduced in Synapse v1.57.0. (#14025)
|
||||||
@@ -764,3 +764,86 @@
|
|||||||
* Fix a bug introduced in Synapse 1.70.0rc1 where the access tokens sent to application services as headers were malformed. Application services which were obtaining access tokens from query parameters were not affected. (#14301)
|
* Fix a bug introduced in Synapse 1.70.0rc1 where the access tokens sent to application services as headers were malformed. Application services which were obtaining access tokens from query parameters were not affected. (#14301)
|
||||||
* Fix room creation being rate limited too aggressively since Synapse v1.69.0. (#14314)
|
* Fix room creation being rate limited too aggressively since Synapse v1.69.0. (#14314)
|
||||||
|
|
||||||
|
[1.54.0]
|
||||||
|
* Update Synapse to 1.71.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.71.0)
|
||||||
|
|
||||||
|
[1.55.0]
|
||||||
|
* Update Synapse to 1.72.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.72.0)
|
||||||
|
* Add experimental support for MSC3912: Relation-based redactions. (#14260)
|
||||||
|
* Add an Admin API endpoint for user lookup based on third-party ID (3PID). Contributed by @ashfame. (#14405)
|
||||||
|
* Faster joins: include heroes' membership events in the partial join response, for rooms without a name or canonical alias. (#14442)
|
||||||
|
|
||||||
|
[1.56.0]
|
||||||
|
* Update Synapse to 1.73.0
|
||||||
|
* Update Cloudron base image to 4.0.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.73.0)
|
||||||
|
|
||||||
|
[1.57.0]
|
||||||
|
* Update Synapse to 1.74.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.74.0)
|
||||||
|
* Improve user search for international display names. ([\#14464](https://github.com/matrix-org/synapse/issues/14464))
|
||||||
|
* Stop using deprecated `keyIds` parameter when calling `/_matrix/key/v2/server`. ([\#14490](https://github.com/matrix-org/synapse/issues/14490), [\#14525](https://github.com/matrix-org/synapse/issues/14525))
|
||||||
|
* Add new `push.enabled` config option to allow opting out of push notification calculation. ([\#14551](https://github.com/matrix-org/synapse/issues/14551), [\#14619](https://github.com/matrix-org/synapse/issues/14619))
|
||||||
|
* Advertise support for Matrix 1.5 on `/_matrix/client/versions`. ([\#14576](https://github.com/matrix-org/synapse/issues/14576))
|
||||||
|
* Improve opentracing and logging for to-device message handling. ([\#14598](https://github.com/matrix-org/synapse/issues/14598))
|
||||||
|
* Allow selecting "prejoin" events by state keys in addition to event types. ([\#14642](https://github.com/matrix-org/synapse/issues/14642))
|
||||||
|
* Fix a long-standing bug where a device list update might not be sent to clients in certain circumstances. ([\#14435](https://github.com/matrix-org/synapse/issues/14435), [\#14592](https://github.com/matrix-org/synapse/issues/14592), [\#14604](https://github.com/matrix-org/synapse/issues/14604))
|
||||||
|
* Suppress a spurious warning when `POST /rooms/<room_id>/<membership>/`, `POST /join/<room_id_or_alias`, or the unspecced `PUT /join/<room_id_or_alias>/<txn_id>` receive an empty HTTP request body. ([\#14600](https://github.com/matrix-org/synapse/issues/14600))
|
||||||
|
* Return spec-compliant JSON errors when unknown endpoints are requested. ([\#14620](https://github.com/matrix-org/synapse/issues/14620), [\#14621](https://github.com/matrix-org/synapse/issues/14621))
|
||||||
|
* Update html templates to load images over HTTPS. Contributed by @ashfame. ([\#14625](https://github.com/matrix-org/synapse/issues/14625))
|
||||||
|
* Fix a long-standing bug where the user directory would return 1 more row than requested. ([\#14631](https://github.com/matrix-org/synapse/issues/14631))
|
||||||
|
* Reject invalid read receipt requests with empty room or event IDs. Contributed by Nick @ Beeper (@fizzadar). ([\#14632](https://github.com/matrix-org/synapse/issues/14632))
|
||||||
|
* Fix a bug introduced in Synapse 1.67.0 where not specifying a config file or a server URL would lead to the `register_new_matrix_user` script failing. ([\#14637](https://github.com/matrix-org/synapse/issues/14637))
|
||||||
|
* Fix a long-standing bug where the user directory and room/user stats might be out of sync. ([\#14639](https://github.com/matrix-org/synapse/issues/14639), [\#14643](https://github.com/matrix-org/synapse/issues/14643))
|
||||||
|
* Fix a bug introduced in Synapse 1.72.0 where the background updates to add non-thread unique indexes on receipts would fail if they were previously interrupted. ([\#14650](https://github.com/matrix-org/synapse/issues/14650))
|
||||||
|
* Improve validation of field size limits in events. ([\#14664](https://github.com/matrix-org/synapse/issues/14664))
|
||||||
|
* Fix bugs introduced in Synapse 1.55.0 and 1.69.0 where application services would not be notified of events in the correct rooms, due to stale caches. ([\#14670](https://github.com/matrix-org/synapse/issues/14670))
|
||||||
|
|
||||||
|
[1.58.0]
|
||||||
|
* Update Synapse to 1.75.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.75.0)
|
||||||
|
* Fix race where calling /members or /state with an at parameter could fail for newly created rooms, when using multiple workers. (#14817)
|
||||||
|
* Add a cached function to synapse.module_api that returns a decorator to cache return values of functions. (#14663)
|
||||||
|
* Add experimental support for MSC3391 (removing account data). (#14714)
|
||||||
|
* Support RFC7636 Proof Key for Code Exchange for OAuth single sign-on. (#14750)
|
||||||
|
* Support non-OpenID compliant userinfo claims for subject and picture. (#14753)
|
||||||
|
* Improve performance of /sync when filtering all rooms, message types, or senders. (#14786)
|
||||||
|
* Improve performance of the /hierarchy endpoint. (#14263)
|
||||||
|
* Fix the MAU Limits section of the Grafana dashboard relying on a specific job name for the workers of a Synapse deployment. (#14644)
|
||||||
|
* Fix a bug introduced in Synapse 1.70.0 which could cause spurious UNIQUE constraint failed errors in the rotate_notifs background job. (#14669)
|
||||||
|
* Ensure stream IDs are always updated after caches get invalidated with workers. Contributed by Nick @ Beeper (@Fizzadar). (#14723)
|
||||||
|
* Remove the unspecced device field from /pushrules responses. (#14727)
|
||||||
|
* Fix a bug introduced in Synapse 1.73.0 where the picture_claim configured under oidc_providers was unused (the default value of "picture" was used instead). (#14751)
|
||||||
|
* Unescape HTML entities in URL preview titles making use of oEmbed responses. (#14781)
|
||||||
|
* Disable sending confirmation email when 3pid is disabled. (#14725)
|
||||||
|
|
||||||
|
[1.59.0]
|
||||||
|
* Update Synapse to 1.76.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.76.0)
|
||||||
|
* Faster joins: Fix a bug introduced in Synapse 1.69 where device list EDUs could fail to be handled after a restart when a faster join sync is in progress. (#14914)
|
||||||
|
* Update the default room version to v10 (MSC 3904). Contributed by @FSG-Cat. (#14111)
|
||||||
|
* Add a set_displayname() method to the module API for setting a user's display name. (#14629)
|
||||||
|
* Add a dedicated listener configuration for health endpoint. (#14747)
|
||||||
|
* Implement support for MSC3890: Remotely silence local notifications. (#14775)
|
||||||
|
* Implement experimental support for MSC3930: Push rules for (MSC3381) Polls. (#14787)
|
||||||
|
* Per MSC3925, bundle the whole of the replacement with any edited events, and optionally inhibit server-side replacement. (#14811)
|
||||||
|
* Faster joins: always serve a partial join response to servers that request it with the stable query param. (#14839)
|
||||||
|
* Faster joins: allow non-lazy-loading ("eager") syncs to complete after a partial join by omitting partial state rooms until they become fully stated. (#14870)
|
||||||
|
* Faster joins: request partial joins by default. Admins can opt-out of this for the time being---see the upgrade notes. (#14905)
|
||||||
|
|
||||||
|
[1.60.0]
|
||||||
|
* Update Synapse to 1.77.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.77.0)
|
||||||
|
* Fix bug where retried replication requests would return a failure. Introduced in v1.76.0. ([\#15024](https://github.com/matrix-org/synapse/issues/15024))
|
||||||
|
|
||||||
|
[1.61.0]
|
||||||
|
* Update Synapse to 1.78.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.78.0)
|
||||||
|
* Implement the experimental `exact_event_match` push rule condition from MSC3758. (#14964)
|
||||||
|
* Add account data to the command line user data export tool. (#14969)
|
||||||
|
* Implement MSC3873 to disambiguate push rule keys with dots in them. (#15004)
|
||||||
|
* Allow Synapse to use a specific Redis logical database in worker-mode deployments. (#15034)
|
||||||
|
* Tag opentracing spans for federation requests with the name of the worker serving the request. (#15042)
|
||||||
|
* Implement the experimental `exact_event_property_contains` push rule condition from MSC3966. (#15045)
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG.md",
|
"changelog": "file://CHANGELOG.md",
|
||||||
"tagline": "Secure & decentralized communication",
|
"tagline": "Secure & decentralized communication",
|
||||||
"version": "1.53.1",
|
"version": "1.61.0",
|
||||||
"upstreamVersion": "1.70.1",
|
"upstreamVersion": "1.78.0",
|
||||||
"healthCheckPath": "/",
|
"healthCheckPath": "/",
|
||||||
"httpPort": 8008,
|
"httpPort": 8008,
|
||||||
"memoryLimit": 536870912,
|
"memoryLimit": 536870912,
|
||||||
|
|||||||
13
Dockerfile
13
Dockerfile
@@ -1,5 +1,5 @@
|
|||||||
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
|
FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
|
||||||
|
|
||||||
RUN mkdir -p /app/pkg
|
RUN mkdir -p /app/pkg
|
||||||
|
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
@@ -9,15 +9,18 @@ RUN virtualenv -p python3 /app/code/env
|
|||||||
ENV VIRTUAL_ENV=/app/code/env
|
ENV VIRTUAL_ENV=/app/code/env
|
||||||
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||||
|
|
||||||
ARG VERSION=v1.70.1
|
ARG VERSION=v1.78.0
|
||||||
|
|
||||||
|
# https://github.com/matrix-org/synapse-s3-storage-provider
|
||||||
|
ARG STORAGE_PROVIDER_VERSION=fa27fa1a92bcbeb42b10399641348bee0ddf2c72
|
||||||
|
|
||||||
# Synapse (https://github.com/matrix-org/synapse/blob/master/INSTALL.md)
|
# Synapse (https://github.com/matrix-org/synapse/blob/master/INSTALL.md)
|
||||||
# lxml - required for previews
|
# lxml - required for previews
|
||||||
RUN pip install --upgrade pip && \
|
RUN pip install --upgrade pip && \
|
||||||
pip install --upgrade setuptools && \
|
pip install --upgrade setuptools && \
|
||||||
pip install matrix-synapse==${VERSION} psycopg2-binary python-ldap matrix-synapse-ldap3 lxml publicsuffix2 git+https://github.com/matrix-org/synapse-s3-storage-provider.git@ffd3fa477321608e57d27644197e721965e0e858 matrix-synapse[oidc]
|
pip install matrix-synapse==${VERSION} psycopg2-binary python-ldap matrix-synapse-ldap3 lxml publicsuffix2 git+https://github.com/matrix-org/synapse-s3-storage-provider.git@${STORAGE_PROVIDER_VERSION} matrix-synapse[oidc]
|
||||||
|
|
||||||
RUN ln -sf /app/data/index.html /app/code/env/lib/python3.8/site-packages/synapse/static/index.html
|
RUN ln -sf /app/data/index.html /app/code/env/lib/python3.10/site-packages/synapse/static/index.html
|
||||||
|
|
||||||
RUN chown -R cloudron.cloudron /app/code
|
RUN chown -R cloudron.cloudron /app/code
|
||||||
|
|
||||||
|
|||||||
677
test/package-lock.json
generated
677
test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,11 +9,10 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^107.0.1",
|
"chromedriver": "^110.0.0",
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mocha": "^10.1.0",
|
"mocha": "^10.2.0",
|
||||||
"selenium-server-standalone-jar": "^3.141.59",
|
"selenium-webdriver": "^4.8.1",
|
||||||
"selenium-webdriver": "^4.5.0",
|
"superagent": "^8.0.9"
|
||||||
"superagent": "^8.0.3"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user