- Jan 06, 2022
-
- Jan 05, 2022
-
-
Travis Ralston authored
Fixes minor discrepancies between the /hierarchy endpoint described in MSC2946 and the implementation. Note that the changes impact the stable and unstable /hierarchy and unstable /spaces endpoints for both client and federation APIs.
-
Dirk Klimpel authored
-
Shay authored
* newsfragment * fix newsfragment number * update changelog * remove extra space
-
David Robertson authored
If we've never made a request to a remote homeserver, we should cache the response---even if the response is "this user has no devices".
-
Richard van der Hoff authored
* `_auth_and_persist_outliers`: mark persisted events as outliers Mark any events that get persisted via `_auth_and_persist_outliers` as, well, outliers. Currently this will be a no-op as everything will already be flagged as an outlier, but I'm going to change that. * `process_remote_join`: stop flagging as outlier The events are now flagged as outliers later on, by `_auth_and_persist_outliers`. * `send_join`: remove `outlier=True` The events created here are returned in the result of `send_join` to `FederationHandler.do_invite_join`. From there they are passed into `FederationEventHandler.process_remote_join`, which passes them to `_auth_and_persist_outliers`... which sets the `outlier` flag. * `get_event_auth`: remove `outlier=True` stop flagging the events returned by `get_event_auth` as outliers. This method is only called by `_get_remote_auth_chain_for_event`, which passes the results into `_auth_and_persist_outliers`, which will flag them as outliers. * `_get_remote_auth_chain_for_event`: remove `outlier=True` we pass all the events into `_auth_and_persist_outliers`, which will now flag the events as outliers. * `_check_sigs_and_hash_and_fetch`: remove unused `outlier` parameter This param is now never set to True, so we can remove it. * `_check_sigs_and_hash_and_fetch_one`: remove unused `outlier` param This is no longer set anywhere, so we can remove it. * `get_pdu`: remove unused `outlier` parameter ... and chase it down into `get_pdu_from_destination_raw`. * `event_from_pdu_json`: remove redundant `outlier` param This is never set to `True`, so can be removed. * changelog * update docstring
-
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
-