Commit Graph

229 Commits (66d7aa783a8ad1b3eb6d17ba086e2dda8a912ab6)

Author SHA1 Message Date
Olivier Wilkinson (reivilibre) 4dd9ea8f4f Revert "Revert accidental fast-forward merge from v1.49.0rc1" 3 years ago
Sean Quah 158d73ebdd Revert accidental fast-forward merge from v1.49.0rc1 3 years ago
Patrick Cloke d2279f471b
Add most of the missing type hints to `synapse.federation`. (#11483) 3 years ago
Eric Eastwood a6f1a3abec
Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445) 3 years ago
Patrick Cloke a4521ce0a8
Support the stable /hierarchy endpoint from MSC2946 (#11329) 3 years ago
Eric Eastwood f1d5c2f269
Split out federated PDU retrieval into a non-cached version (#11242) 3 years ago
reivilibre 75ca0a6168
Annotate `log_function` decorator (#10943) 3 years ago
Patrick Cloke 32072dcdac Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 3 years ago
Patrick Cloke d1bf5f7c9d
Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 3 years ago
Richard van der Hoff 85551b7a85
Factor out common code for persisting fetched auth events (#10896) 3 years ago
Patrick Cloke 5548fe0978
Cache the result of fetching the room hierarchy over federation. (#10647) 3 years ago
Patrick Cloke 31dac7ffee
Do not include stack traces for known exceptions when trying multiple federation destinations. (#10662) 3 years ago
Patrick Cloke c4cf0c0473
Attempt to pull from the legacy spaces summary API over federation. (#10583) 3 years ago
Patrick Cloke 7de445161f
Support federation in the new spaces summary API (MSC2946). (#10569) 3 years ago
Erik Johnston 60f0534b6e
Fix exceptions in logs when failing to get remote room list (#10541) 3 years ago
Patrick Cloke 3b354faad0
Refactoring before implementing the updated spaces summary. (#10527) 3 years ago
Patrick Cloke 3a541a7daa
Improve failover logic for MSC3083 restricted rooms. (#10447) 3 years ago
Patrick Cloke 228decfce1
Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 3 years ago
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 3 years ago
Patrick Cloke 9e5ab6dd58
Remove the experimental flag for knocking and use stable prefixes / endpoints. (#10167) 3 years ago
Sorunome d936371b69
Implement knock feature (#6739) 4 years ago
Erik Johnston c842c581ed
When joining a remote room limit the number of events we concurrently check signatures/hashes for (#10117) 4 years ago
Erik Johnston 64887f06fc
Use ijson to parse the response to `/send_join`, reducing memory usage. (#9958) 4 years ago
Patrick Cloke 1350b053da
Pass errors back to the client when trying multiple federation destinations. (#9868) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 44bb881096
Add type hints to expiring cache. (#9730) 4 years ago
Richard van der Hoff c73cc2c2ad
Spaces summary: call out to other servers (#9653) 4 years ago
Patrick Cloke b7748d3c00
Import HomeServer from the proper module. (#9665) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Erik Johnston f2c1560eca
Ratelimit invites by room and target user (#9258) 4 years ago
Patrick Cloke 620ecf13b0
Various improvements to the federation client. (#9129) 4 years ago
Richard van der Hoff 2649d545a5
Mypy fixes for `synapse.handlers.federation` (#8422) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Andrew Morgan 27c1abc7b8
Use _check_sigs_and_hash_and_fetch to validate backfill requests (#8350) 4 years ago
Erik Johnston c570f24acc Don't assume that an event has an origin field 4 years ago
Patrick Cloke c978f6c451
Convert federation client to async/await. (#7975) 4 years ago
Patrick Cloke 00e57b755c
Convert synapse.app to async/await. (#7868) 4 years ago
Patrick Cloke 38e1fac886
Fix some spelling mistakes / typos. (#7811) 4 years ago
Richard van der Hoff 67593b1728
Add `HomeServer.signing_key` property (#7805) 4 years ago
Andrew Morgan 6b22921b19
async/await is_server_admin (#7363) 5 years ago
Andrew Morgan 2e8955f4a6
Further improvements to requesting the public rooms list on a homeserver which has it set to private (#7368) 5 years ago
Patrick Cloke c2db6599c8
Fix a bug in the federation API which could cause occasional "Failed to get PDU" errors (#7089). 5 years ago
Patrick Cloke 7581d30e9f
Remove unused federation endpoint (`query_auth`) (#7026) 5 years ago
Patrick Cloke 12d4259000
Add some type annotations to the federation base & client classes (#6995) 5 years ago
Richard van der Hoff 928edef979 Pass room_version into `event_from_pdu_json` 5 years ago
Richard van der Hoff b0c8bdd49d
pass room version into FederationClient.send_join (#6854) 5 years ago
Richard van der Hoff ee0525b2b2 Simplify `room_version` handling in `FederationClient.send_invite` 5 years ago
Richard van der Hoff f84700fba8 Pass room version object into `FederationClient.get_pdu` 5 years ago
Richard van der Hoff 6bbd890f05 make FederationClient._do_send_invite async 5 years ago
Richard van der Hoff 146fec0820
Apply suggestions from code review 5 years ago