- Nov 04, 2021
-
-
Sean Quah authored
When an event fetcher aborts due to an exception, `_event_fetch_ongoing` must be decremented, otherwise the event fetcher would never be replaced. If enough event fetchers were to fail, no more events would be fetched and requests would get stuck waiting for events.
-
- Nov 03, 2021
-
-
Nick Barrett authored
Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
Nick Barrett authored
This makes the typing stream writer config match the other stream writers that only currently support a single worker.
-
Patrick Cloke authored
-
Erik Johnston authored
We don't pin them as we execute them as commands, rather than use them as libs.
-
Andrew Morgan authored
-
Eric Eastwood authored
As brought up by @tulir, https://matrix.to/#/!SBYNQlpqkwJzFIdzxI:nevarro.space/$Gwnb2ZvXHc3poYXuBhho0cmoYq4KJ11Jh3m5s8kjNOM?via=nevarro.space&via=beeper.com&via=matrix.org This use case only works if the user is already joined in the current room state at the given `?prev_event_id`
-
- Nov 02, 2021
-
-
Erik Johnston authored
This should speed up startup times and generally increase performance of groups.
-
Erik Johnston authored
-
Patrick Cloke authored
-
Erik Johnston authored
-
Dirk Klimpel authored
-
Andrew Morgan authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
Dirk Klimpel authored
Fixes: #10874 Signed-off-by:
Dirk Klimpel <dirk@klimpel.org>
-
Richard van der Hoff authored
-
- Nov 01, 2021
-
-
Dirk Klimpel authored
-
Shay authored
* add code to handle missing content-type header and a test to verify that it works * add handling for missing content-type in the /upload endpoint as well * slightly refactor test code to put private method in approriate place * handle possible null value for content-type when pulling from the local db * add changelog * refactor test and add code to handle missing content-type in cached remote media * requested changes * Update changelog.d/11200.bugfix Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com> Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
Shay authored
* add use_float=true to ijson calls * lints * add changelog * Update changelog.d/11217.bugfix Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com> Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
Dirk Klimpel authored
-
reivilibre authored
Make `check_event_allowed` module API callback not fail open (accept events) when an exception is raised (#11033)
-
Dirk Klimpel authored
Remove deprecated delete room admin API, `POST /_synapse/admin/v1/rooms/<room_id>/delete`
-
Brett Bethke authored
-
Richard van der Hoff authored
* Docker image: avoid changing user during `generate` The intention was always that the config files get written as the initial user (normally root) - only the data directory needs to be writable by Synapse. This got changed in https://github.com/matrix-org/synapse/pull/5970, but that seems to have been a mistake. * Avoid changing user if no explicit UID is given * changelog
-
Aaron authored
Fixes #11064 Signed-off-by:
Aaron Raimist <aaron@raim.ist>
-
Sumner Evans authored
* Labeled a lot more code blocks with the appropriate type * Fixed a couple of minor typos (missing/extraneous commas) Signed-off-by:
Sumner Evans <me@sumnerevans.com>
-
Erik Johnston authored
-
Sean Quah authored
-
JohannesKleine authored
Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
Brendan Abolivier authored
-
- Oct 29, 2021
-
-
Dirk Klimpel authored
#10969 was merged after 1.46.0rc1 was cut and will be included in v1.47.0rc1 instead.
-
Brendan Abolivier authored
-
Sean Quah authored
-
- Oct 28, 2021
-
-
Patrick Cloke authored
-
Rafael Gonçalves authored
Signed-off-by:
Rafael Goncalves <rafaelgoncalves@riseup.net>
-
Shay authored
Fetch verify key locally rather than trying to do so over federation if origin and host are the same. (#11129) * add tests for fetching key locally * add logic to check if origin server is same as host and fetch verify key locally rather than over federation * add changelog * slight refactor, add docstring, change changelog entry * Make changelog entry one line * remove verify_json_locally and push locality check to process_request, add function process_request_locally * remove leftover code reference * refactor to add common call to 'verify_json and associated handling code * add type hint to process_json * add some docstrings + very slight refactor
-
Brendan Abolivier authored
Co-authored-by:
reivilibre <oliverw@matrix.org>
-
David Robertson authored
* Teach MyPy that the sentinel context is False This means that if `ctx: LoggingContextOrSentinel` then `bool(ctx)` narrows us to `ctx:LoggingContext`, which is a really neat find! * Annotate RequestMetrics - Raise errors for sentry if we use the sentinel context - Ensure we don't raise an error and carry on, but not recording stats - Include stack trace in the error case to lower Sean's blood pressure * Make mypy pass for synapse.http.request_metrics * Make synapse.http.connectproxyclient pass mypy Co-authored-by:
reivilibre <oliverw@matrix.org>
-
Skyler Mäntysaari authored
-