- Jan 26, 2021
-
-
Patrick Cloke authored
With this change all handlers except the e2e_* ones have type hints enabled.
-
Patrick Cloke authored
The current configuration is handled for backwards compatibility, but is considered deprecated.
-
Erik Johnston authored
-
Patrick Cloke authored
Treat unknown encodings (according to lxml) as UTF-8 when generating a preview for HTML documents. This isn't fully accurate, but will hopefully give a reasonable title and summary.
-
Andrew Morgan authored
This new version no longer has the problem of adding/removing a blank line in `.pyi` files, which black disagrees with. This would cause `isort` to slightly modify `.pyi` files, before `black` would subsequently modify back directly afterwards. Relevant `isort` issue: https://github.com/pycqa/isort/issues/1284
-
Jason Robinson authored
Add forward extremities endpoint to rooms admin API
-
Erik Johnston authored
This is done by creating a custom `RedisFactory` subclass that periodically pings all connections in its pool. We also ensure that the `replyTimeout` param is non-null, so that we timeout waiting for the reply to those pings (and thus triggering a reconnect).
-
Jason Robinson authored
Signed-off-by:
Jason Robinson <jasonr@matrix.org>
-
Jason Robinson authored
# Conflicts: # synapse/rest/admin/__init__.py
-
Jason Robinson authored
Co-authored-by:
Erik Johnston <erik@matrix.org>
-
- Jan 25, 2021
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Patrick Cloke authored
This expands the current shadow-banning feature to be usable via the admin API and adds documentation for it. A shadow-banned users receives successful responses to their client-server API requests, but the events are not propagated into rooms. Shadow-banning a user should be used as a tool of last resort and may lead to confusing or broken behaviour for the client.
-
Patrick Cloke authored
Co-authored-by:
Dan Callahan <danc@element.io> pip 21.0 stopped supporting Python 3.5.
-
Jason Robinson authored
-
Patrick Cloke authored
Synapse 1.26.0rc2 (2021-01-25) ============================== Bugfixes -------- - Fix receipts and account data not being sent down sync. Introduced in v1.26.0rc1. ([\#9193](https://github.com/matrix-org/synapse/issues/9193), [\#9195](https://github.com/matrix-org/synapse/issues/9195)) - Fix chain cover update to handle events with duplicate auth events. Introduced in v1.26.0rc1. ([\#9210](https://github.com/matrix-org/synapse/issues/9210)) Internal Changes ---------------- - Add an `oidc-` prefix to any `idp_id`s which are given in the `oidc_providers` configuration. ([\#9189](https://github.com/matrix-org/synapse/issues/9189)) - Bump minimum `psycopg2` version to v2.8. ([\#9204](https://github.com/matrix-org/synapse/issues/9204))
-
Patrick Cloke authored
-
Patrick Cloke authored
Treat the content as untrusted and do not assume it is of the proper form.
-
- Jan 23, 2021
-
-
Jason Robinson authored
-
Jason Robinson authored
Also add a warning on the admin API documentation. Signed-off-by:
Jason Robinson <jasonr@matrix.org>
-
- Jan 22, 2021
-
-
Erik Johnston authored
-
Erik Johnston authored
As we use `execute_values` with the `fetch` parameter.
-
- Jan 21, 2021
-
-
Patrick Cloke authored
If no thumbnail of the requested type exists, return a 404 instead of erroring. This doesn't quite match the spec (which does not define what happens if no thumbnail can be found), but is consistent with what Synapse already does.
-
Andrew Morgan authored
The lists of source directories to lint between `tox.ini` and `lint.sh` became out of sync. This PR tightens them up and adds some comments reminding any future readers to keep the list in sync.
-
Erik Johnston authored
-
Erik Johnston authored
We have seen a failure mode here where if there are many in flight unfinished IDs then marking an ID as finished takes a lot of CPU (as calling deque.remove iterates over the list)
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
Introduced in #9104 This wasn't picked up by the tests as this is all fine the first time you run Synapse (after upgrading), but then when you restart the wrong value is pulled from `stream_positions`.
-
Erik Johnston authored
* Use execute_batch in more places * Newsfile
-
Dirk Klimpel authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
... to avoid clashes with other SSO mechanisms
-
Erik Johnston authored
`execute_batch` does fewer round trips in postgres than `executemany`, but does not give a correct `txn.rowcount` result after.
-
- Jan 20, 2021
-
-
Patrick Cloke authored
This avoids a warning when uploading packages to PyPI via twine.
-
Patrick Cloke authored
-
Patrick Cloke authored
-