summary refs log tree commit diff
path: root/synapse/federation/federation_base.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-231-0/+2
* Update license headersPatrick Cloke2023-11-211-11/+16
* Bump ruff from 0.0.277 to 0.0.286 (#16198)dependabot[bot]2023-08-291-1/+1
* Support room version 11 (#15912)Patrick Cloke2023-07-181-1/+1
* Factor out an `is_mine_server_name` method (#15542)Sean Quah2023-05-051-1/+1
* Move Spam Checker callbacks to a dedicated file (#15453)Andrew Morgan2023-04-181-3/+3
* Reject boolean power levels (#14944)David Robertson2023-01-311-1/+1
* Track when the pulled event signature fails (#13815)Eric Eastwood2022-10-031-3/+22
* Rename the `EventFormatVersions` enum values so that they line up with room v...reivilibre2022-09-071-1/+1
* Instrument `_check_sigs_and_hash_and_fetch` to trace time spent in child conc...Eric Eastwood2022-08-231-0/+22
* Reduce the amount of state we pull from the DB (#12811)Erik Johnston2022-06-061-0/+1
* Improve logging when signature checks fail (#12925)Richard van der Hoff2022-05-311-47/+42
* Fix import in module_api module and docs on the new check_event_for_spam sign...Brendan Abolivier2022-05-311-2/+1
* Uniformize spam-checker API, part 2: check_event_for_spam (#12808)David Teller2022-05-231-2/+3
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
* Faster joins: Support for calling `/federation/v1/state` (#12013)Richard van der Hoff2022-02-221-1/+9
* Strip unauthorized fields from `unsigned` object in events received over fede...Shay2022-01-061-0/+25
* Refactor the way we set `outlier` (#11634)Richard van der Hoff2022-01-051-6/+1
* Convert all namedtuples to attrs. (#11665)Patrick Cloke2021-12-301-5/+0
* Add type hints for most `HomeServer` parameters (#11095)Sean Quah2021-10-221-1/+6
* Strip "join_authorised_via_users_server" from join events which do not need i...Patrick Cloke2021-09-301-3/+3
* Update the MSC3083 support to verify if joins are from an authorized server. ...Patrick Cloke2021-07-261-0/+28
* Soft-fail spammy events received over federation (#10263)Richard van der Hoff2021-06-291-6/+6
* When joining a remote room limit the number of events we concurrently check s...Erik Johnston2021-06-081-163/+80
* Add `Keyring.verify_events_for_server` and reduce memory usage (#10018)Erik Johnston2021-05-201-12/+5
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Allow spam-checker modules to be provide async methods. (#8890)David Teller2020-12-111-1/+6
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-3/+1
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-2/+2
* Strictly enforce canonicaljson requirements in a new room version (#7381)Patrick Cloke2020-05-141-1/+5
* Clean up some LoggingContext stuff (#7120)Richard van der Hoff2020-03-241-2/+2
* Fix a bug in the federation API which could cause occasional "Failed to get P...Patrick Cloke2020-03-191-15/+9
* Remove unused federation endpoint (`query_auth`) (#7026)Patrick Cloke2020-03-171-82/+0
* Add some type annotations to the federation base & client classes (#6995)Patrick Cloke2020-02-281-23/+37
* Cast a coroutine into a Deferred in the federation base (#6996)Patrick Cloke2020-02-261-6/+8
* Add a `make_event_from_dict` method (#6858)Richard van der Hoff2020-02-071-3/+2
* Pass room_version into `event_from_pdu_json`Richard van der Hoff2020-02-061-12/+16
* Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-3/+3
* Improve signature checking on some federation APIs (#6262)Richard van der Hoff2019-10-281-5/+2
* Replace returnValue with return (#5736)Amber Brown2019-07-231-3/+3
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-9/+15
* Fix logging error when a tampered event is detected. (#5500)Richard van der Hoff2019-06-211-1/+0
* Run Black. (#5482)Amber Brown2019-06-201-46/+32
* Associate a request_name with each verify request, for loggingRichard van der Hoff2019-06-051-0/+2
* Add a test room version where we enforce key validity (#5348)Richard van der Hoff2019-06-051-15/+24
* Enforce validity period on server_keys for fed requests. (#5321)Richard van der Hoff2019-06-031-2/+2
* more logging improvementsRichard van der Hoff2019-04-251-8/+11
* remove extraneous exception loggingRichard van der Hoff2019-04-251-2/+2
* Clarify logging when PDU signature checking failsRichard van der Hoff2019-04-251-0/+19
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-8/+8
* No vdh tests!Erik Johnston2019-01-291-2/+1
* Enable room version v3Erik Johnston2019-01-291-2/+9
* Update commentErik Johnston2019-01-291-3/+3
* Only check event ID domain for signatures for V1 eventsErik Johnston2019-01-291-27/+37
* Require event format version to parse or create eventsErik Johnston2019-01-251-4/+5
* Revert "Require event format version to parse or create events"Erik Johnston2019-01-251-5/+4
* Require event format version to parse or create eventsErik Johnston2019-01-231-4/+5
* Add room_version param to get_pduErik Johnston2019-01-231-3/+8
* Fix handling of redacted events from federationErik Johnston2018-09-131-1/+1
* clearer logging when things fail, tooRichard van der Hoff2018-09-061-7/+27
* Check that signatures on events are validRichard van der Hoff2018-09-051-16/+110
* rename assert_params_in_request to assert_params_in_dictKrombel2018-07-131-2/+2
* run isortAmber Brown2018-07-091-3/+4
* Apply some limits to depth to counter abuseRichard van der Hoff2018-05-011-3/+18
* Move property setting from ReplicationLayer to FederationBaseErik Johnston2018-03-131-0/+6
* Check missing fields in event_from_pdu_jsonRichard van der Hoff2017-12-301-0/+7
* Factor out `event_from_pdu_json`Richard van der Hoff2017-12-301-0/+20
* Make the spam checker a moduleDavid Baker2017-09-261-3/+2
* Fix logcontexts in _check_sigs_and_hashesRichard van der Hoff2017-09-201-56/+58
* Remove redundant `preserve_fn`Richard van der Hoff2017-09-201-2/+2
* PoC for filtering spammy events (#2456)Richard van der Hoff2017-09-191-16/+24
* Preserve some logcontextsErik Johnston2016-08-241-3/+4
* Linearize fetching of gaps on incoming eventsErik Johnston2016-06-151-0/+3
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Implement bulk verify_signed_json APIErik Johnston2015-06-261-50/+75
* Rephrase log lineErik Johnston2015-06-021-1/+1
* Don't about JSON when warning about content tamperingErik Johnston2015-06-021-7/+4
* Add a timeout param to get_eventErik Johnston2015-05-191-0/+1
* Unwrap defer.gatherResults failuresErik Johnston2015-05-121-1/+3
* Fix loggingErik Johnston2015-02-121-1/+4
* Parrellize fetching of eventsErik Johnston2015-02-121-3/+11
* Correctly handle all the places that can throw exceptionsErik Johnston2015-02-121-10/+14
* New lineErik Johnston2015-02-031-1/+1
* Actually, the old prune_event function was non-deterministic, so no point kee...Erik Johnston2015-02-031-12/+4
* Add new FederationBaseErik Johnston2015-02-031-0/+126