summary refs log tree commit diff
path: root/synapse/handlers/federation_event.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove legacy code of single user device resync api (#15418)Alok Kumar Singh2023-04-211-5/+9
* Implement MSC2175: remove the creator field from create events. (#15394)Patrick Cloke2023-04-061-1/+4
* Fix spinloop during partial state sync when a prev event is in backoff (#15351)Sean Quah2023-03-301-7/+17
* Fix joining rooms you have been unbanned from (#15323)DeepBlueV7.X2023-03-291-1/+1
* Faster joins: don't stall when a user joins during a fast join (#14606)Mathieu Velten2023-02-101-6/+53
* Add a class UnpersistedEventContext to allow for the batching up of storing s...Shay2023-02-091-2/+4
* Use StrCollection in place of Collection[str] in (most) handlers code. (#14922)Patrick Cloke2023-01-261-2/+3
* Wait for streams to catch up when processing HTTP replication. (#14820)Erik Johnston2023-01-181-0/+4
* Batch up replication requests to request the resyncing of remote users's devi...reivilibre2023-01-101-1/+1
* Faster remote room joins: stream the un-partial-stating of events over replic...reivilibre2022-12-141-0/+2
* Improve validation of field size limits in events. (#14664)reivilibre2022-12-131-0/+20
* Move `StateFilter` to `synapse.types` (#14668)David Robertson2022-12-121-1/+1
* Quieter logging for stateres failure at missing prev events (#14346)David Robertson2022-11-101-3/+2
* Refactor MSC3030 `/timestamp_to_event` to move away from our snowflake pull f...Eric Eastwood2022-10-261-17/+14
* Add initial power level event to batch of bulk persisted events when creating...Shay2022-10-211-2/+2
* Avoid checking the event cache when backfilling events (#14164)Andrew Morgan2022-10-181-13/+34
* Stop getting missing `prev_events` after we already know their signature is i...Eric Eastwood2022-10-151-0/+31
* Fix a bug where the joined hosts for a given event were not being properly ca...Shay2022-10-121-1/+3
* Batch up notifications after event persistence (#14033)Shay2022-10-051-2/+2
* Revert the general exception recording introduced in #13814 (#13969)Eric Eastwood2022-10-031-10/+0
* fix: Push notifications for invite over federation (#13719)Kateřina Churanová2022-09-281-0/+1
* Faster Remote Room Joins: tell remote homeservers that we are unable to autho...reivilibre2022-09-231-1/+1
* Record any exception when processing a pulled event (#13814)Eric Eastwood2022-09-151-0/+10
* Keep track when we try and fail to process a pulled event (#13589)Eric Eastwood2022-09-141-0/+7
* Comment about a better future where we can get the state diff between two eve...Eric Eastwood2022-08-241-0/+8
* Fix Prometheus metrics being negative (mixed up start/end) (#13584)Eric Eastwood2022-08-231-0/+10
* MSC2716v4 room version - remove namespace from MSC2716 event content fields (...Eric Eastwood2022-08-191-1/+1
* Time how long it takes us to do backfill processing (#13535)Eric Eastwood2022-08-171-14/+35
* 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