- Feb 18, 2021
-
-
David Vo authored
-
Patrick Cloke authored
As the comment says, this guard was there for when the initial user directory update has yet to happen.
-
Richard van der Hoff authored
This reverts commit a8878960.
-
- Feb 17, 2021
-
-
Dirk Klimpel authored
-
Andrew Morgan authored
-
Andrew Morgan authored
This is a small bug that I noticed while working on #8956. We have a for-loop which attempts to strip all presence changes for each user except for the final one, as we don't really care about older presence: https://github.com/matrix-org/synapse/blob/9e19c6aab4b5a99039f2ddc7d3120dd3b26c274b/synapse/handlers/presence.py#L368-L371 `new_states_dict` stores this stripped copy of latest presence state for each user, before it is... put into a new variable `new_state`, which is just overridden by the subsequent for loop. I believe this was instead meant to override `new_states`. Without doing so, it effectively meant: 1. The for loop had no effect. 2. We were still processing old presence state for users.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
tiny typo in sso paths
-
David Teller authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
Apple want to POST the OIDC auth response back to us rather than using query-params; add the necessary support to make that work.
-
- Feb 16, 2021
-
-
Richard van der Hoff authored
Fixes #9347
-
Eric Eastwood authored
- Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
-
-
Richard van der Hoff authored
Ensure that we lock correctly to prevent multiple concurrent metadata load requests, and generally clean up the way we construct the metadata cache.
-
Erik Johnston authored
-
Patrick Cloke authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Patrick Cloke authored
And convert some inlineDeferreds to async-friendly functions.
-
- Feb 15, 2021
-
-
Dan Callahan authored
This is needed to build the cryptography library, since it does not provide wheels for ARMv7. Fixes #9403 Signed-off-by:
Dan Callahan <danc@element.io>
-
- Feb 12, 2021
-
-
Andrew Morgan authored
Just a small change missed in 7950aa8a.
-
Andrew Morgan authored
This PR removes a set that was created and [initially used](https://github.com/matrix-org/synapse/commit/1d2a0040cff8d04cdc7d7d09d8f04a5d628fa9dd#diff-0bc92da3d703202f5b9be2d3f845e375f5b1a6bc6ba61705a8af9be1121f5e42R435-R436), but is no longer today. May help cut down a bit on the time it takes to accept invites.
-
Patrick Cloke authored
-
- Feb 11, 2021
-
-
Patrick Cloke authored
Synapse 1.27.0rc2 (2021-02-11) ============================== Features -------- - Further improvements to the user experience of registration via single sign-on. ([\#9297](https://github.com/matrix-org/synapse/issues/9297)) Bugfixes -------- - Fix ratelimiting introduced in v1.27.0rc1 for invites to respect the `ratelimit` flag on application services. ([\#9302](https://github.com/matrix-org/synapse/issues/9302)) - Do not automatically calculate `public_baseurl` since it can be wrong in some situations. Reverts behaviour introduced in v1.26.0. ([\#9313](https://github.com/matrix-org/synapse/issues/9313)) Improved Documentation ---------------------- - Clarify the sample configuration for changes made to the template loading code. ([\#9310](https://github.com/matrix-org/synapse/issues/9310))
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
This breaks some people's configurations (if their Client-Server API is not accessed via port 443).
-
Erik Johnston authored
-
Patrick Cloke authored
This has the side-effect of being able to remove use of `inlineCallbacks` in the test-cases for cleaner tracebacks.
-
Patrick Cloke authored
-
- Feb 10, 2021
-
-
Eric Eastwood authored
Remove conflicting sqlite tables that throw sqlite3.OperationalError: object name reserved for internal use: event_search_content when running the twisted unit tests. Fix #8996
-
- Feb 09, 2021
-
-
Brendan Abolivier authored
Remove unneeded type constraints on 3rd party protocol lookup responses
-
Thomas Mortagne authored
-
Brendan Abolivier authored
-
- Feb 08, 2021
-
-
Patrick Cloke authored
* Adds type hints to the groups servlet and stringutils code. * Assert the maximum length of some input values for spec compliance.
-
Patrick Cloke authored
* Handle the case of lxml not finding a document tree. * Parse the document encoding from the XML tag.
-
David Teller authored
New API /_synapse/admin/rooms/{roomId}/context/{eventId}
-