Eric Eastwood
2c2a42cc10
Fix application service not being able to join remote federated room without a profile set ( #13131 )
...
Fix https://github.com/matrix-org/synapse/issues/4778
Complement tests: https://github.com/matrix-org/complement/pull/399
2022-07-05 05:56:06 -05:00
reivilibre
65e675504f
Add the ability to set the log level using the SYNAPSE_TEST_LOG_LEVEL environment when using complement.sh. ( #13152 )
2022-07-05 09:46:20 +00:00
Dirk Klimpel
e514495465
Add missing links to config options ( #13166 )
2022-07-05 10:10:26 +01:00
David Robertson
d102ad67fd
annotate tests.server.FakeChannel ( #13136 )
2022-07-04 18:08:56 +01:00
Brendan Abolivier
5b5c943e7d
Revert "Up the dependency on canonicaljson to ^1.5.0"
...
This reverts commit dcc4e0621c .
2022-07-04 17:48:09 +01:00
Brendan Abolivier
dcc4e0621c
Up the dependency on canonicaljson to ^1.5.0
2022-07-04 17:47:51 +01:00
Andrew Morgan
6180e1bc4b
Merge tag 'v1.62.0rc3' into develop
...
Synapse 1.62.0rc3 (2022-07-04)
==============================
Bugfixes
--------
- Update the version of the [ldap3 plugin](https://github.com/matrix-org/matrix-synapse-ldap3/ ) included in the `matrixdotorg/synapse` DockerHub images and the Debian packages hosted on `packages.matrix.org` to 0.2.1. This fixes [a bug](https://github.com/matrix-org/matrix-synapse-ldap3/pull/163 ) with usernames containing uppercase characters. ([\#13156](https://github.com/matrix-org/synapse/issues/13156 ))
- Fix a bug introduced in Synapse 1.62.0rc1 affecting unread counts for users on small servers. ([\#13168](https://github.com/matrix-org/synapse/issues/13168 ))
2022-07-04 17:35:06 +01:00
Andrew Morgan
95a260da73
Update changelog for v1.62.0rc2
v1.62.0rc3
2022-07-04 16:29:04 +01:00
Andrew Morgan
046d87756b
1.62.0rc3
2022-07-04 16:16:47 +01:00
Erik Johnston
723ce73d02
Fix stuck notification counts on small servers ( #13168 )
2022-07-04 16:02:21 +01:00
Andrew Morgan
9820665597
Remove tests/utils.py from mypy's exclude list ( #13159 )
2022-07-04 15:15:33 +01:00
Till
fa10468eb4
[Complement] Allow device_name lookup over federation ( #13167 )
2022-07-04 12:34:50 +00:00
David Robertson
8d7491a152
matrix-synapse-ldap3: 0.2.0 -> 0.2.1 ( #13156 )
2022-07-01 17:01:54 +00:00
reivilibre
c04e25789e
Enable Complement testing in the 'Twisted Trunk' CI runs. ( #13079 )
2022-07-01 15:42:49 +00:00
Richard van der Hoff
fe910fb10e
complement.sh: Permit skipping docker build ( #13143 )
...
Add a `-f` argument to `complement.sh` to skip the docker build
2022-07-01 12:33:59 +00:00
Andrew Morgan
5296c09473
Merge tag 'v1.62.0rc2' into develop
...
Synapse 1.62.0rc2 (2022-07-01)
==============================
Bugfixes
--------
- Fix unread counts for users on large servers. Introduced in v1.62.0rc1. ([\#13140](https://github.com/matrix-org/synapse/issues/13140 ))
- Fix DB performance when deleting old push notifications. Introduced in v1.62.0rc1. ([\#13141](https://github.com/matrix-org/synapse/issues/13141 ))
2022-07-01 12:29:23 +01:00
Andrew Morgan
d40b2708cf
1.62.0rc2
v1.62.0rc2
2022-07-01 11:42:57 +01:00
David Robertson
d70ff5cc35
Extra validation for rest/client/account_data ( #13148 )
...
* Extra validation for rest/client/account_data
This is a fairly simple endpoint and we did pretty well here.
* Changelog
2022-07-01 11:04:56 +01:00
Richard van der Hoff
6da861ae69
_process_received_pdu: Improve exception handling (#13145 )
...
`_check_event_auth` is expected to raise `AuthError`s, so no need to log it
again.
2022-07-01 10:52:10 +01:00
Richard van der Hoff
8c2825276f
Skip waiting for full state for incoming events ( #13144 )
...
When we receive an event over federation during a faster join, there is no need
to wait for full state, since we have a whole reconciliation process designed
to take the partial state into account.
2022-07-01 10:19:27 +01:00
Andrew Morgan
c0efc689cb
Add documentation for phone home stats ( #13086 )
2022-06-30 22:12:28 +01:00
Jacek Kuśnierz
50f0e4028b
Allow dependency errors to pass through ( #13113 )
...
Signed-off-by: Jacek Kusnierz <jacek.kusnierz@tum.de >
Co-authored-by: Brendan Abolivier <babolivier@matrix.org >
2022-06-30 19:48:04 +02:00
Patrick Cloke
b0366853ca
Merge remote-tracking branch 'origin/release-v1.62' into develop
2022-06-30 13:27:24 -04:00
Shay
046a6513bc
Don't process /send requests for users who have hit their ratelimit ( #13134 )
2022-06-30 09:22:40 -07:00
Shay
8330fc9953
Cleanup references to sample config in the docs and redirect users to configuration manual ( #13077 )
2022-06-30 09:21:39 -07:00
Andrew Morgan
0ceb3af10b
Add a link to the configuration manual from the homeserver sample config documentation page ( #13139 )
2022-06-30 15:59:11 +01:00
Erik Johnston
dbce28b2f1
Fix unread counts on large servers ( #13140 )
2022-06-30 15:08:40 +01:00
Erik Johnston
a3a05c812d
Add index to help delete old push actions ( #13141 )
2022-06-30 14:05:49 +00:00
Patrick Cloke
6ad012ef89
More type hints for synapse.logging ( #13103 )
...
Completes type hints for synapse.logging.scopecontextmanager and (partially)
for synapse.logging.opentracing.
2022-06-30 13:05:06 +00:00
reivilibre
9667bad55d
Improve startup times in Complement test runs against workers, particularly in CPU-constrained environments. ( #13127 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2022-06-30 11:58:12 +00:00
David Robertson
09f6e43025
Actually typecheck tests.test_server ( #13135 )
2022-06-30 10:45:47 +01:00
David Teller
80c7a06777
Rate limiting invites per issuer ( #13125 )
...
Co-authored-by: reivilibre <oliverw@matrix.org >
2022-06-30 09:44:47 +00:00
Brendan Abolivier
4d3b8fb23f
Don't actually one-line the SQL statements we send to the DB ( #13129 )
2022-06-30 10:43:24 +02:00
Šimon Brandner
13e359aec8
Implement MSC3827: Filtering of /publicRooms by room type ( #13031 )
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-06-29 17:12:45 +00:00
Moritz Stückler
e714b8a057
Fix documentation header for allow_public_rooms_over_federation ( #13116 )
...
Signed-off-by: Moritz Stückler <moritz.stueckler@gmail.com >
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com >
2022-06-29 18:41:39 +02:00
Erik Johnston
92a0c18ef0
Improve performance of getting unread counts in rooms ( #13119 )
2022-06-29 10:32:38 +00:00
jejo86
cdc0259449
Document the --report-stats argument ( #13029 )
...
Signed-off-by: jejo86 <28619134+jejo86@users.noreply.github.com >
2022-06-29 10:24:10 +01:00
Andrew Morgan
79c6b9e12b
Merge branch 'develop' into release-v1.62
v1.62.0rc1
2022-06-28 16:47:21 +01:00
Andrew Morgan
bc9b0912cc
fix linting error from the 1.61.1 main -> develop merge
2022-06-28 16:47:04 +01:00
Andrew Morgan
b210146fd9
1.62.0rc1
2022-06-28 16:42:44 +01:00
Andrew Morgan
6cba6a51af
Merge branch 'master' into develop
2022-06-28 15:19:48 +01:00
Andrew Morgan
09d89ddc1f
Linkify GHSA commit
v1.61.1
2022-06-28 14:41:06 +01:00
Andrew Morgan
ea10cdbea7
1.61.1
2022-06-28 14:37:35 +01:00
reivilibre
fa13080618
Merge pull request from GHSA-22p3-qrh9-cx32
...
* Make _iterate_over_text easier to read by using simple data structures
* Prefer a set of tags to ignore
In my tests, it's 4x faster to check for containment in a set of this size
* Add a stack size limit to _iterate_over_text
* Continue accepting the case where there is no body element
* Use an early return instead for None
Co-authored-by: Richard van der Hoff <richard@matrix.org >
2022-06-28 14:29:08 +01:00
Erik Johnston
7469824d58
Fix serialization errors when rotating notifications ( #13118 )
2022-06-28 13:13:44 +01:00
David Robertson
f1145563f6
Extra type annotations in test_server ( #13124 )
2022-06-28 12:12:17 +00:00
santhoshivan23
6b99a66fe0
Remove unspecced DELETE endpoint that modifies room visibility ( #13123 )
2022-06-28 11:22:59 +00:00
Šimon Brandner
1017f09c18
Update MSC3786 implementation: Check the state_key ( #12939 )
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-06-27 20:28:34 +01:00
Robert Long
9b683ea80f
Add Cross-Origin-Resource-Policy header to thumbnail and download media endpoints ( #12944 )
2022-06-27 14:44:05 +01:00
reivilibre
3c5549e74a
Refactor the Dockerfile-workers configuration script to use Jinja2 templates in Synapse workers' Supervisord blocks. ( #13054 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2022-06-27 11:43:20 +01:00