Compare commits
46 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75d97f2bb3 | ||
|
|
43f64a052d | ||
|
|
27e6c5a442 | ||
|
|
8983e8fcee | ||
|
|
4ec76880a0 | ||
|
|
01ed3cc5ab | ||
|
|
6e4c16ba2e | ||
|
|
b2f3950795 | ||
|
|
2844b64621 | ||
|
|
20582a7fe6 | ||
|
|
de875e14f6 | ||
|
|
6ca10fe63d | ||
|
|
08e65a0769 | ||
|
|
bc031e515e | ||
|
|
ce74f2b418 | ||
|
|
292ffd482b | ||
|
|
8267b04c4f | ||
|
|
4ab831470b | ||
|
|
203fcc8baf | ||
|
|
dbb03144dd | ||
|
|
3e384b6ea4 | ||
|
|
2b70590b4f | ||
|
|
f32618bc44 | ||
|
|
63389b8969 | ||
|
|
2faf4a83c1 | ||
|
|
0de4fcd2c1 | ||
|
|
4501f517cd | ||
|
|
50b81437a3 | ||
|
|
cb2effd01e | ||
|
|
8a0741d6a2 | ||
|
|
8605a2801f | ||
|
|
39b8fe59e8 | ||
|
|
ab0335ff1a | ||
|
|
e6d27ee341 | ||
|
|
306ee5dadb | ||
|
|
e6b9d6cafb | ||
|
|
8e02930fbd | ||
|
|
8c3209768d | ||
|
|
cdab116284 | ||
|
|
092b466ff4 | ||
|
|
6177240cf6 | ||
|
|
cf22aa6ae7 | ||
|
|
aa02b23016 | ||
|
|
2cd92623e2 | ||
|
|
ee7878d3d2 | ||
|
|
33dca51dcd |
115
CHANGELOG
115
CHANGELOG
@@ -519,3 +519,118 @@
|
|||||||
* Fix a bug introduced in 1.47.0rc1 which caused worker processes to not halt startup in the presence of outstanding database migrations. (#11346)
|
* Fix a bug introduced in 1.47.0rc1 which caused worker processes to not halt startup in the presence of outstanding database migrations. (#11346)
|
||||||
* Fix a bug introduced in 1.47.0rc1 which prevented the 'remove deleted devices from device_inbox column' background process from running when updating from a recent Synapse version. (#11303, #11353)
|
* Fix a bug introduced in 1.47.0rc1 which prevented the 'remove deleted devices from device_inbox column' background process from running when updating from a recent Synapse version. (#11303, #11353)
|
||||||
|
|
||||||
|
[1.36.1]
|
||||||
|
* Update Synapse to 1.47.1
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.47.1)
|
||||||
|
* GHSA-3hfw-x7gx-437c / CVE-2021-41281: Path traversal when downloading remote media.
|
||||||
|
|
||||||
|
[1.37.0]
|
||||||
|
* Update Synapse to 1.48.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.48.0)
|
||||||
|
|
||||||
|
[1.38.0]
|
||||||
|
* Update Synapse to 1.49.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.49.0)
|
||||||
|
|
||||||
|
[1.38.1]
|
||||||
|
* Update Synapse to 1.49.2
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.49.2)
|
||||||
|
|
||||||
|
[1.38.2]
|
||||||
|
* Update Synapse to 1.50.1
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.50.1)
|
||||||
|
|
||||||
|
[1.38.3]
|
||||||
|
* Update Synapse to 1.50.2
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.50.2)
|
||||||
|
* Fix a bug introduced in Synapse 1.40.0 that caused Synapse to fail to process incoming federation traffic after handling a large amount of events in a v1 room. (#11806)
|
||||||
|
|
||||||
|
[1.38.4]
|
||||||
|
* Update Synapse to 1.51.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.51.0)
|
||||||
|
|
||||||
|
[1.38.5]
|
||||||
|
* Update Synapse to 1.52.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.52.0)
|
||||||
|
* Remove account data (including client config, push rules and ignored users) upon user deactivation. (#11621, #11788, #11789)
|
||||||
|
* Add an admin API to reset connection timeouts for remote server. (#11639)
|
||||||
|
* Add an admin API to get a list of rooms that federate with a given remote homeserver. (#11658)
|
||||||
|
* Add a config flag to inhibit M_USER_IN_USE during registration. (#11743)
|
||||||
|
* Add a module callback to set username at registration. (#11790)
|
||||||
|
* Allow configuring a maximum file size as well as a list of allowed content types for avatars. (#11846)
|
||||||
|
|
||||||
|
[1.38.6]
|
||||||
|
* Update Synapse to 1.53.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.53.0)
|
||||||
|
* Add experimental support for sending to-device messages to application services, as specified by MSC2409. (#11215, #11966)
|
||||||
|
* Add a background database update to purge account data for deactivated users. (#11655)
|
||||||
|
* Experimental support for MSC3666: including bundled aggregations in server side search results. (#11837)
|
||||||
|
* Enable cache time-based expiry by default. The expiry_time config flag has been superseded by expire_caches and cache_entry_ttl. (#11849)
|
||||||
|
* Add a callback to allow modules to allow or forbid a 3PID (email address, phone number) from being associated to a local account. (#11854)
|
||||||
|
* Stabilize support and remove unstable endpoints for MSC3231. Clients must switch to the stable identifier and endpoint. See the upgrade notes for more information. (#11867)
|
||||||
|
* Allow modules to retrieve the current instance's server name and worker name. (#11868)
|
||||||
|
* Use a dedicated configurable rate limiter for 3PID invites. (#11892)
|
||||||
|
* Support the stable API endpoint for MSC3283: new settings in /capabilities endpoint. (#11933, #11989)
|
||||||
|
* Support the dir parameter on the /relations endpoint, per MSC3715. (#11941)
|
||||||
|
* Experimental implementation of MSC3706: extensions to /send_join to support reduced response size. (#11967)
|
||||||
|
|
||||||
|
[1.39.0]
|
||||||
|
* Update Synapse to 1.54.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.54.0)
|
||||||
|
* Fix a bug introduced in Synapse 1.54.0rc1 preventing the new module callbacks introduced in this release from being registered by modules. (#12141)
|
||||||
|
* Fix a bug introduced in Synapse 1.54.0rc1 where runtime dependency version checks would mistakenly check development dependencies if they were present and would not accept pre-release versions of dependencies. (#12129, #12177)
|
||||||
|
|
||||||
|
[1.40.0]
|
||||||
|
* Update Synapse to 1.55.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.55.0)
|
||||||
|
* Add third-party rules callbacks check_can_shutdown_room and check_can_deactivate_user. (#12028)
|
||||||
|
* Improve performance of logging in for large accounts. (#12132)
|
||||||
|
* Support the stable identifiers from MSC3440: threads. (#12151)
|
||||||
|
* Add a new Jinja2 template filter to extract the local part of an email address. (#12212)
|
||||||
|
|
||||||
|
[1.40.1]
|
||||||
|
* Update Synapse to 1.55.2
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.55.2)
|
||||||
|
|
||||||
|
[1.41.0]
|
||||||
|
* Update Synapse to 1.57.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.57.0)
|
||||||
|
|
||||||
|
[1.41.1]
|
||||||
|
* Update Synapse to 1.57.1
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.57.1)
|
||||||
|
|
||||||
|
[1.42.0]
|
||||||
|
* Update Synapse to 1.58.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.58.0)
|
||||||
|
* Implement MSC3383 for including the destination in server-to-server authentication headers. Contributed by @Bubu and @jcgruenhage for Famedly. (#11398)
|
||||||
|
* Enable processing of device list updates asynchronously. (#12365, #12465)
|
||||||
|
* Implement MSC2815 to allow room moderators to view redacted event content. Contributed by @tulir @ Beeper. (#12427)
|
||||||
|
|
||||||
|
[1.43.0]
|
||||||
|
* Update Synapse to 1.59.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.59.0)
|
||||||
|
|
||||||
|
[1.43.1]
|
||||||
|
* Update Synapse to 1.59.1
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.59.1)
|
||||||
|
|
||||||
|
[1.44.0]
|
||||||
|
* Update Synapse to 1.60.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.60.0)
|
||||||
|
* Add an option allowing users to use their password to reauthenticate for privileged actions even though password login is disabled. (#12883)
|
||||||
|
* Explicitly close ijson coroutines once we are done with them, instead of leaving the garbage collector to close them. (#12875)
|
||||||
|
* Improve URL previews by not including the content of media tags in the generated description. (#12887)
|
||||||
|
|
||||||
|
[1.45.0]
|
||||||
|
* Update Synapse to 1.61.0
|
||||||
|
* [Full changelog](https://github.com/matrix-org/synapse/releases/tag/v1.61.0)
|
||||||
|
* Add new media_retention options to the homeserver config for routinely cleaning up non-recently accessed media. (#12732, #12972, #12977)
|
||||||
|
* Experimental support for MSC3772: Push rule for mutually related events. (#12740, #12859)
|
||||||
|
* Update to the check_event_for_spam module callback: Deprecate the current callback signature, replace it with a new signature that is both less ambiguous (replacing booleans with explicit allow/block) and more powerful (ability to return explicit error codes). (#12808)
|
||||||
|
* Add storage and module API methods to get monthly active users (and their corresponding appservices) within an optionally specified time range. (#12838, #12917)
|
||||||
|
* Support the new error code ORG.MATRIX.MSC3823.USER_ACCOUNT_SUSPENDED from MSC3823. (#12845, #12923)
|
||||||
|
* Add a configurable background job to delete stale devices. (#12855)
|
||||||
|
* Improve URL previews for pages with empty elements. (#12951)
|
||||||
|
* Allow updating a user's password using the admin API without logging out their devices. Contributed by @jcgruenhage. (#12952)
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,8 @@
|
|||||||
"description": "file://DESCRIPTION.md",
|
"description": "file://DESCRIPTION.md",
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"tagline": "Secure & decentralized communication",
|
"tagline": "Secure & decentralized communication",
|
||||||
"version": "1.36.0",
|
"version": "1.45.0",
|
||||||
|
"upstreamVersion": "1.61.0",
|
||||||
"healthCheckPath": "/",
|
"healthCheckPath": "/",
|
||||||
"httpPort": 8008,
|
"httpPort": 8008,
|
||||||
"memoryLimit": 536870912,
|
"memoryLimit": 536870912,
|
||||||
@@ -13,7 +14,7 @@
|
|||||||
"localstorage": {},
|
"localstorage": {},
|
||||||
"ldap": {},
|
"ldap": {},
|
||||||
"postgresql": {},
|
"postgresql": {},
|
||||||
"sendmail": {},
|
"sendmail": { "supportsDisplayName": true },
|
||||||
"turn": {}
|
"turn": {}
|
||||||
},
|
},
|
||||||
"manifestVersion": 2,
|
"manifestVersion": 2,
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
],
|
],
|
||||||
"changelog": "file://CHANGELOG",
|
"changelog": "file://CHANGELOG",
|
||||||
"postInstallMessage": "file://POSTINSTALL.md",
|
"postInstallMessage": "file://POSTINSTALL.md",
|
||||||
"minBoxVersion": "5.3.0",
|
"minBoxVersion": "7.2.0",
|
||||||
"forumUrl": "https://forum.cloudron.io/category/50/matrix-synapse-riot",
|
"forumUrl": "https://forum.cloudron.io/category/50/matrix-synapse-riot",
|
||||||
"documentationUrl": "https://docs.cloudron.io/apps/synapse/",
|
"documentationUrl": "https://docs.cloudron.io/apps/synapse/",
|
||||||
"optionalSso": true
|
"optionalSso": true
|
||||||
|
|||||||
@@ -1,12 +1,10 @@
|
|||||||
This app packages Synapse <upstream>1.47.0</upstream>.
|
|
||||||
|
|
||||||
**This package only provides the Matrix backend. A variety of clients are available
|
**This package only provides the Matrix backend. A variety of clients are available
|
||||||
[here](https://matrix.org/clients/). Riot is a popular web frontend for Matrix and
|
[here](https://matrix.org/clients/). Riot is a popular web frontend for Matrix and
|
||||||
is available as a separate app.**
|
is available as a separate app.**
|
||||||
|
|
||||||
Matrix is an ambitious new ecosystem for open federated Instant Messaging and VoIP.
|
## About
|
||||||
|
|
||||||
## Matrix
|
Matrix is an ambitious new ecosystem for open federated Instant Messaging and VoIP.
|
||||||
|
|
||||||
Matrix specifies a set of pragmatic RESTful HTTP JSON APIs as an open standard, which handle:
|
Matrix specifies a set of pragmatic RESTful HTTP JSON APIs as an open standard, which handle:
|
||||||
|
|
||||||
@@ -18,7 +16,7 @@ Matrix specifies a set of pragmatic RESTful HTTP JSON APIs as an open standard,
|
|||||||
* Using 3rd Party IDs (3PIDs) such as email addresses, phone numbers, Facebook accounts to authenticate, identify and discover users on Matrix.
|
* Using 3rd Party IDs (3PIDs) such as email addresses, phone numbers, Facebook accounts to authenticate, identify and discover users on Matrix.
|
||||||
* Placing 1:1 VoIP and Video calls
|
* Placing 1:1 VoIP and Video calls
|
||||||
|
|
||||||
## Synapse
|
## What is Synapse?
|
||||||
|
|
||||||
Synapse is a reference "homeserver" implementation of Matrix from the core development
|
Synapse is a reference "homeserver" implementation of Matrix from the core development
|
||||||
team at matrix.org, written in Python/Twisted.
|
team at matrix.org, written in Python/Twisted.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
FROM cloudron/base:3.0.0@sha256:455c70428723e3a823198c57472785437eb6eab082e79b3ff04ea584faf46e92
|
FROM cloudron/base:3.2.0@sha256:ba1d566164a67c266782545ea9809dc611c4152e27686fd14060332dd88263ea
|
||||||
|
|
||||||
RUN mkdir -p /app/pkg
|
RUN mkdir -p /app/pkg
|
||||||
|
|
||||||
WORKDIR /app/code
|
WORKDIR /app/code
|
||||||
@@ -9,7 +9,7 @@ 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.47.0
|
ARG VERSION=v1.61.0
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
Account ids are created with the username and the second level domain under which the
|
Account ids are created with the username and the second level domain under which the
|
||||||
app is installed e.g. `@$CLOUDRON-USERNAME@$CLOUDRON-APP-DOMAIN`.
|
app is installed e.g. `@$CLOUDRON-USERNAME@$CLOUDRON-APP-DOMAIN`.
|
||||||
|
|
||||||
For federation to work, the second level domain (`$CLOUDRON-APP-DOMAIN`) has to be configured to serve up the
|
For federation to work, the delegation URI `https://$CLOUDRON-APP-DOMAIN/.well-known/matrix/server`
|
||||||
`.well-known/matrix/server` URI. See the [federation docs](https://cloudron.io/documentation/apps/synapse/) on
|
must be configured. See the [docs](https://docs.cloudron.io/apps/synapse/#post-installation) on how to do this.
|
||||||
how to do this.
|
|
||||||
|
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ federation_ip_range_blacklist:
|
|||||||
- 'fc00::/7'
|
- 'fc00::/7'
|
||||||
|
|
||||||
enable_registration: false
|
enable_registration: false
|
||||||
|
enable_registration_without_verification: true
|
||||||
registration_shared_secret: "somesecret"
|
registration_shared_secret: "somesecret"
|
||||||
allow_guest_access: false
|
allow_guest_access: false
|
||||||
|
|
||||||
|
|||||||
2
start.sh
2
start.sh
@@ -63,7 +63,7 @@ yq eval -i ".email.smtp_host=\"${CLOUDRON_MAIL_SMTP_SERVER}\"" /app/data/configs
|
|||||||
yq eval -i ".email.smtp_port=${CLOUDRON_MAIL_SMTP_PORT}" /app/data/configs/homeserver.yaml
|
yq eval -i ".email.smtp_port=${CLOUDRON_MAIL_SMTP_PORT}" /app/data/configs/homeserver.yaml
|
||||||
yq eval -i ".email.smtp_user=\"${CLOUDRON_MAIL_SMTP_USERNAME}\"" /app/data/configs/homeserver.yaml
|
yq eval -i ".email.smtp_user=\"${CLOUDRON_MAIL_SMTP_USERNAME}\"" /app/data/configs/homeserver.yaml
|
||||||
yq eval -i ".email.smtp_pass=\"${CLOUDRON_MAIL_SMTP_PASSWORD}\"" /app/data/configs/homeserver.yaml
|
yq eval -i ".email.smtp_pass=\"${CLOUDRON_MAIL_SMTP_PASSWORD}\"" /app/data/configs/homeserver.yaml
|
||||||
yq eval -i ".email.notif_from=\"%(app)s <${CLOUDRON_MAIL_FROM}>\"" /app/data/configs/homeserver.yaml
|
yq eval -i ".email.notif_from=\"${CLOUDRON_MAIL_FROM_DISPLAY_NAME:-Matrix} <${CLOUDRON_MAIL_FROM}>\"" /app/data/configs/homeserver.yaml
|
||||||
|
|
||||||
# ldap
|
# ldap
|
||||||
if [[ -n "${CLOUDRON_LDAP_SERVER:-}" ]]; then
|
if [[ -n "${CLOUDRON_LDAP_SERVER:-}" ]]; then
|
||||||
|
|||||||
2108
test/package-lock.json
generated
2108
test/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -9,11 +9,11 @@
|
|||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chromedriver": "^96.0.0",
|
"chromedriver": "^101.0.0",
|
||||||
"expect.js": "^0.3.1",
|
"expect.js": "^0.3.1",
|
||||||
"mocha": "^9.1.3",
|
"mocha": "^10.0.0",
|
||||||
"selenium-server-standalone-jar": "^3.141.59",
|
"selenium-server-standalone-jar": "^3.141.59",
|
||||||
"selenium-webdriver": "^4.0.0",
|
"selenium-webdriver": "^4.1.2",
|
||||||
"superagent": "^6.1.0"
|
"superagent": "^7.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user