- Jan 05, 2022
-
-
Philipp Matthias Schäfer authored
Co-authored-by:
reivilibre <olivier@librepush.net> Co-authored-by:
reivilibre <oliverw@matrix.org>
-
Fr3shTea authored
Co-authored-by:
reivilibre <olivier@librepush.net>
-
Dirk Klimpel authored
Co-authored-by:
reivilibre <olivier@librepush.net>
-
reivilibre authored
Co-authored-by:
Sean Quah <seanq@element.io>
-
reivilibre authored
Clarify SSO mapping provider documentation by writing `def` or `async def` before the names of methods, as appropriate. (#11681)
-
Callum Macdonald authored
-
Donny Johnson authored
Co-authored-by:
reivilibre <olivier@librepush.net>
-
- Jan 04, 2022
-
-
Richard van der Hoff authored
this should not be a case-insensitive match.
-
Richard van der Hoff authored
* Fix AssertionErrors after purging events If you purged a bunch of events from your database, and then restarted synapse without receiving more events, then you would get a bunch of AssertionErrors on restart. This fixes the situation by rewinding the stream processors. * `check-newsfragment`: ignore deleted newsfiles
-
Richard van der Hoff authored
Events returned by `backfill` should not be flagged as outliers. Fixes: ``` AssertionError: null File "synapse/handlers/federation.py", line 313, in try_backfill dom, room_id, limit=100, extremities=extremities File "synapse/handlers/federation_event.py", line 517, in backfill await self._process_pulled_events(dest, events, backfilled=True) File "synapse/handlers/federation_event.py", line 642, in _process_pulled_events await self._process_pulled_event(origin, ev, backfilled=backfilled) File "synapse/handlers/federation_event.py", line 669, in _process_pulled_event assert not event.internal_metadata.is_outlier() ``` See https://sentry.matrix.org/sentry/synapse-matrixorg/issues/231992 Fixes #8894.
-
Richard van der Hoff authored
* Push `get_room_{min,max_stream_ordering}` into StreamStore Both implementations of this are identical, so we may as well push it down and get rid of the abstract base class nonsense. * Remove redundant `StreamStore` class This is empty now * Remove redundant `get_current_events_token` This was an exact duplicate of `get_room_max_stream_ordering`, so let's get rid of it. * newsfile
-
Richard van der Hoff authored
"Unknown room" can mean a multitude of things here. To help with debugging, add some more words to the exception text.
-
Patrick Cloke authored
Invites and knocks will now include the topic in the stripped state send to clients before joining the room.
-
- Jan 03, 2022
-
-
Shay authored
* update Trove classifiers to remove py36 * stop building bionic * update dh-virtualenv * newsfragment * fix newsfragment * update version refs * another try at correct tag * Update changelog
-
- Dec 30, 2021
-
-
Patrick Cloke authored
To improve type hints throughout the code.
-
Dirk Klimpel authored
-
- Dec 29, 2021
-
-
reivilibre authored
Fix a type annotation in `test_account_data.py` and remove it from the Mypy exclusion list. (#11657) Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Dirk Klimpel authored
By using cast and making ignores more specific.
-
Patrick Cloke authored
Both of those APIs return state events, which will not have bundled aggregations added anyway.
-
Dirk Klimpel authored
-
- Dec 24, 2021
-
-
Shay authored
* update black version * run updated version of black on code * newsfragment * enumerate python versions
-
- Dec 23, 2021
-
-
Patrick Cloke authored
-
AndrewFerr authored
Signed-off-by:
Andrew Ferrazzutti <fair@miscworks.net>
-
- Dec 21, 2021
-
-
Shay authored
* remove python 3.6 and postgres 9.6 from github workflow * remove python 3.6 env from tox * newsfragment * correct postgres version * add py310 to tox env list
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
postgres 10 _+_
-
Richard van der Hoff authored
-
Richard van der Hoff authored
... to work around breakage on buster (https://github.com/Marco-Sulla/python-frozendict/issues/41)
-
reivilibre authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
* Wrap `auth.get_user_by_req` in an opentracing span give `get_user_by_req` its own opentracing span, since it can result in a non-trivial number of sub-spans which it is useful to group together. This requires a bit of reorganisation because it also sets some tags (and may force tracing) on the servlet span. * Emit opentracing span for encoding json responses This can be a significant time sink. * Rename all sync spans with a prefix * Write an opentracing span for encoding sync response * opentracing span to group generate_room_entries * opentracing spans within sync.encode_response * changelog * Use the `trace` decorator instead of context managers
-
Richard van der Hoff authored
-
- Dec 20, 2021
-
-
Patrick Cloke authored
And make bundling aggregations opt-in, instead of opt-out to avoid having APIs to include extraneous data (and being much heavier than necessary).
-
Richard van der Hoff authored
This adds some opentracing annotations to ResponseCache, to make it easier to see what's going on; in particular, it adds a link back to the initial trace which is actually doing the work of generating the response.
-
Richard van der Hoff authored
* remove `start_active_span_from_request` Instead, pull out a separate function, `span_context_from_request`, to extract the parent span, which we can then pass into `start_active_span` as normal. This seems to be clearer all round. * Remove redundant tags from `incoming-federation-request` These are all wrapped up inside a parent span generated in AsyncResource, so there's no point duplicating all the tags that are set there. * Leave request spans open until the request completes It may take some time for the response to be encoded into JSON, and that JSON to be streamed back to the client, and really we want that inside the top-level span, so let's hand responsibility for closure to the SynapseRequest. * opentracing logs for HTTP request events * changelog
-
Richard van der Hoff authored
-