summary refs log tree commit diff
path: root/synapse/handlers/federation_event.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Instrument the federation/backfill part of `/messages` (#13489)Eric Eastwood2022-08-161-14/+98
* Instrument `/messages` for understandable traces in Jaeger (#13368)Eric Eastwood2022-08-031-0/+5
* Fix missing import in `federation_event` handler. (#13431)Patrick Cloke2022-08-011-0/+1
* Refactor `_resolve_state_at_missing_prevs` to return an `EventContext` (#13404)Sean Quah2022-08-011-82/+44
* Faster joins: fix rejected events becoming un-rejected during resync (#13413)Richard van der Hoff2022-08-011-3/+26
* Fix infinite loop in partial-state resync (#13353)Richard van der Hoff2022-07-261-7/+7
* Faster room joins: avoid blocking when pulling events with missing prevs (#13...Sean Quah2022-07-261-24/+92
* Backfill remote event fetched by MSC3030 so we can paginate from it later (...Eric Eastwood2022-07-221-1/+48
* Skip soft fail checks for rooms with partial state (#13354)Sean Quah2022-07-221-0/+10
* Update `get_pdu` to return the original, pristine `EventBase` (#13320)Eric Eastwood2022-07-201-4/+18
* Fix spurious warning when fetching state after a missing prev event (#13258)Sean Quah2022-07-191-0/+3
* Rate limit joins per-room (#13276)David Robertson2022-07-191-0/+4
* Rip out auth-event reconciliation code (#12943)Richard van der Hoff2022-07-141-195/+82
* Handle race between persisting an event and un-partial stating a room (#13100)Sean Quah2022-07-051-10/+41
* `_process_received_pdu`: Improve exception handling (#13145)Richard van der Hoff2022-07-011-7/+6
* Fix logging context misuse when we fail to persist a federation event (#13089)Sean Quah2022-06-171-4/+2
* Move some event auth checks out to a different method (#13065)Richard van der Hoff2022-06-151-10/+17
* Merge branch 'rav/simplify_event_auth_interface' into developRichard van der Hoff2022-06-131-14/+6
|\
| * Remove `room_version` param from `check_auth_rules_for_event`Richard van der Hoff2022-06-121-12/+4
| * Remove `room_version` param from `validate_event_for_room_version`Richard van der Hoff2022-06-121-2/+2
* | Faster joins: add issue links to the TODOs (#13004)Richard van der Hoff2022-06-091-0/+2
|/
* Reduce the amount of state we pull from the DB (#12811)Erik Johnston2022-06-061-6/+12
* Faster room joins: Try other destinations when resyncing the state of a parti...Sean Quah2022-05-311-0/+11
* Rename storage classes (#12913)Erik Johnston2022-05-311-10/+17
* Pull out less state when handling gaps mk2 (#12852)Erik Johnston2022-05-261-94/+84
* Fix up `state_store` naming (#12871)Erik Johnston2022-05-251-5/+5
* Marker events as state - MSC2716 (#12718)Eric Eastwood2022-05-231-1/+25
* Update EventContext `get_current_event_ids` and `get_prev_event_ids` to accep...Shay2022-05-201-1/+7
* Remove unneeded `ActionGenerator` class. (#12691)Patrick Cloke2022-05-111-2/+2
* Refactor `EventContext` (#12689)Erik Johnston2022-05-101-3/+3
* remove constantly lib use and switch to enums. (#12624)andrew do2022-05-041-1/+1
* Await un-partial-stating after a partial-state join (#12399)Richard van der Hoff2022-04-211-0/+1
* Resync state after partial-state join (#12394)Richard van der Hoff2022-04-121-0/+39
* Refactor and convert `Linearizer` to async (#12357)Sean Quah2022-04-051-1/+1
* Optimise `_get_state_after_missing_prev_event`: use `/state` (#12040)Richard van der Hoff2022-04-011-4/+39
* Disable proactive sends for remote joins (#12330)Richard van der Hoff2022-03-301-0/+6
* Faster joins: persist to database (#12012)Richard van der Hoff2022-03-011-2/+11
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
* `send_join` response: get create event from `state`, not `auth_chain` (#12005)Richard van der Hoff2022-02-171-1/+1
* `_auth_and_persist_outliers`: drop events we have already seen (#11994)Richard van der Hoff2022-02-151-24/+20
* Fix historical messages backfilling in random order on remote homeservers (MS...Eric Eastwood2022-02-071-5/+29
* Remove `log_function` and its uses (#11761)Richard van der Hoff2022-01-181-3/+0
* Refactor the way we set `outlier` (#11634)Richard van der Hoff2022-01-051-7/+8
* `FederationClient.backfill`: stop flagging events as outliers (#11632)Richard van der Hoff2022-01-041-1/+3
* Remove redundant `get_current_events_token` (#11643)Richard van der Hoff2022-01-041-1/+1
* Remove redundant parameters on `_check_event_auth` (#11292)Richard van der Hoff2021-11-101-10/+0
* Add remaining type hints to `synapse.events`. (#11098)Patrick Cloke2021-11-021-1/+1
* Annotate `log_function` decorator (#10943)reivilibre2021-10-271-1/+1
* Implement an `on_new_event` callback (#11126)Brendan Abolivier2021-10-261-1/+1
* Ensure that we correctly auth events returned by `send_join` (#11012)Richard van der Hoff2021-10-251-86/+60
* Clean up `_update_auth_events_and_context_for_auth` (#11122)Richard van der Hoff2021-10-201-114/+37
* Move _persist_auth_tree into FederationEventHandler (#11115)Richard van der Hoff2021-10-191-1/+115
* Rename `_auth_and_persist_fetched_events` (#11116)Richard van der Hoff2021-10-191-14/+9
* Check auth on received events' auth_events (#11001)Richard van der Hoff2021-10-181-2/+97
* Check *all* auth events for room id and rejection (#11009)Richard van der Hoff2021-10-181-8/+8
* `_run_push_actions_and_persist_event`: handle no min_depth (#11014)Richard van der Hoff2021-10-181-10/+18
* Fix 500 error on `/messages` when we accumulate more than 5 backward extremit...Eric Eastwood2021-10-141-1/+1
* Improve the logging in _auth_and_persist_outliers (#11010)Richard van der Hoff2021-10-071-1/+4
* Add a comment in _process_received_pdu (#11011)Richard van der Hoff2021-10-071-0/+3
* Fix logic flaw preventing tracking of MSC2716 events in existing room version...Eric Eastwood2021-10-051-3/+2
* Host `cache_joined_hosts_for_event` to caller (#10986)Richard van der Hoff2021-10-051-10/+8
* `_update_auth_events_and_context_for_auth`: add some comments (#10987)Richard van der Hoff2021-10-051-0/+26
* `_check_event_auth`: move event validation earlier (#10988)Richard van der Hoff2021-10-051-4/+9
* Split `event_auth.check` into two parts (#10940)Richard van der Hoff2021-09-291-5/+13
* Inline `_check_event_auth` for outliers (#10926)Richard van der Hoff2021-09-281-57/+36
* Stop trying to auth/persist events whose auth events we do not have. (#10907)Richard van der Hoff2021-09-241-8/+16
* Factor out common code for persisting fetched auth events (#10896)Richard van der Hoff2021-09-241-55/+48
* Simplify `_auth_and_persist_fetched_events` (#10901)Richard van der Hoff2021-09-241-69/+22
* Factor out `_get_remote_auth_chain_for_event` from `_update_auth_events_and_c...Richard van der Hoff2021-09-231-52/+72
* Factor out a separate `EventContext.for_outlier` (#10883)Richard van der Hoff2021-09-221-5/+2
* Require type hints in the handlers module. (#10831)Patrick Cloke2021-09-201-4/+4
* Use direct references for some configuration variables (#10798)Patrick Cloke2021-09-131-2/+2
* Get rid of `_auth_and_persist_event` (#10781)Richard van der Hoff2021-09-081-60/+30
* Add some assertions about outliers (#10773)Richard van der Hoff2021-09-081-71/+77
* Persist auth events before the events that rely on them (#10771)Richard van der Hoff2021-09-081-36/+65
* Underscore-prefix private fields in `FederationEventHandler` (#10746)Richard van der Hoff2021-09-071-71/+73
* Stop using BaseHandler in `FederationEventHandler` (#10745)Richard van der Hoff2021-09-061-9/+10
* Move `maybe_kick_guest_users` out of `BaseHandler` (#10744)Richard van der Hoff2021-09-061-3/+14
* Allow room creator to send MSC2716 related events in existing room versions (...Eric Eastwood2021-09-041-2/+8
* Split `FederationHandler` in half (#10692)Richard van der Hoff2021-08-261-0/+1825