summary refs log tree commit diff
path: root/tests/test_federation.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-19Add detail to `cache_autotuning` config option documentation (#12776)Shay2-4/+11
2022-05-19Update configuration manual to document size-related suffixes (#12777)Shay2-0/+10
2022-05-19Properly close providers.json file stream. (#12794)Petr Vaněk2-3/+4
2022-05-19Add a unique index to `state_group_edges` to prevent duplicates being ↵reivilibre5-0/+139
accidentally introduced and the consequential impact to performance. (#12687)
2022-05-19hash_password: raise an error if no config file is specified (#12789)Jae Lo Presti2-5/+6
2022-05-19Simplify untyped-defs config in mypy.ini (#12790)David Robertson2-156/+18
2022-05-19Implement MSC3818: copy room type on upgrade (#12786)Aminda Suomalainen2-8/+9
Resolves: #11896 Signed-off-by: Aminda Suomalainen <suomalainen+git@mikaela.info>
2022-05-19Add missing user directory search endpoint to the generic worker ↵Sami Olmari2-0/+11
documentation (#12773) Signed-off-by: Sami Olmari <sami@olmari.fi>
2022-05-19openid.md: fix some linksRichard van der Hoff1-9/+9
docbook doesn't auto-linkify links
2022-05-18Downgrade some OIDC exceptions to warnings (#12723)David Robertson2-2/+3
2022-05-18Fix federation in demo scripts. (#12783)Patrick Cloke3-6/+11
2022-05-18Skip waiting for full state if a StateFilter does not require it (#12498)Richard van der Hoff2-4/+60
If `StateFilter` specifies a state set which we will have regardless of state-syncing, then we may as well return it immediately.
2022-05-18Fix YAML parsing error in `url_preview_accept_language` (#12785)Andrew Morgan2-6/+7
2022-05-18Refactor `resolve_state_groups_for_events` to not pull out full state when ↵Shay5-23/+40
no state resolution happens. (#12775)
2022-05-18Add documentation for cancellation of request processing (#12761)Sean Quah3-0/+394
Signed-off-by: Sean Quah <seanq@matrix.org>
2022-05-18Add some type hints to `event_federation` datastore (#12753)Dirk Klimpel5-65/+127
Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
2022-05-18Do not keep going if there are 5 back-to-back background update failures. ↵reivilibre2-0/+9
(#12781)
2022-05-18Give a meaningful error message when a client tries to create a room with an ↵reivilibre3-0/+19
invalid alias localpart. (#12779)
2022-05-18Switch the 'Configuration' link in the docs homepage to the config manual ↵Andrew Morgan2-3/+4
(#12748)
2022-05-18Add some documentation around the `rc_invites` option to the config docs ↵Andrew Morgan2-0/+15
(#12759)
2022-05-18Fixup changelog v1.59.1Brendan Abolivier1-2/+4
2022-05-181.59.1Brendan Abolivier4-2/+16
2022-05-18Discard null-containing strings before updating the user directory (#12762)David Robertson6-11/+45
2022-05-18Discard null-containing strings before updating the user directory (#12762)David Robertson6-11/+45
2022-05-18Make handling of federation Authorization header (more) compliant with ↵Hubert Chathi4-5/+35
RFC7230 (#12774) The main differences are: - values with delimiters (such as colons) should be quoted, so always quote the origin, since it could contain a colon followed by a port number - should allow more than one space after "X-Matrix" - quoted values with backslash-escaped characters should be unescaped - names should be case insensitive
2022-05-18Move methods that call add_push_rule to PushRuleStore (#12772)Adam2-51/+52
Signed-off-by: Adam Roddick <ajroddick@tuta.io>
2022-05-17Suggest using docker when testing against postgres (#12765)David Robertson2-3/+29
Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
2022-05-17Delete events from federation_inbound_events_staging table on purge (#12770)Mathieu Velten3-0/+3
2022-05-17allow `on_invalidate=None` in `@cached` methods (#12769)David Robertson3-10/+19
2022-05-17Add some type hints to datastore (#12717)Dirk Klimpel10-161/+254
2022-05-17Add a new room version for MSC3787's knock+restricted join rule (#12623)Travis Ralston6-7/+68
2022-05-17Remove code which updates `application_services_state.last_txn` (#12680)Richard van der Hoff5-55/+35
This column is unused as of #12209, so let's stop writing to it.
2022-05-17Fix push for m.read events (#12721)SpiritCroc2-1/+2
badge_count_last_call was always zero when the response for push notifications included a "rejected" key which mapped to an empty list.
2022-05-17Add index to cache invalidations (#12747)Erik Johnston3-0/+27
For workers that rarely write to the cache the `get_all_updated_caches` query can become expensive if the worker falls behind when reading the cache.
2022-05-17Track in memory events using weakrefs (#10533)Erik Johnston4-2/+60
2022-05-17version tweak in changelog v1.59.0David Robertson1-1/+1
2022-05-171.59.0David Robertson4-4/+21
2022-05-17Tidy up and type-hint the database engine modules (#12734)David Robertson7-94/