43 Commits (develop)

Author SHA1 Message Date
  Patrick Cloke aa483cb4c9
Update ruff config (#16283) 8 months ago
  Patrick Cloke ad3f43be9a
Run pyupgrade for python 3.7 & 3.8. (#16110) 9 months ago
  David Robertson 4bb26c95a9
Refactor `filter_events_for_server` (#15240) 1 year ago
  Patrick Cloke 42aea0d8af
Add final type hint to tests.unittest. (#15072) 1 year ago
  Shay 03bccd542b
Add a class UnpersistedEventContext to allow for the batching up of storing state groups (#14675) 1 year ago
  Patrick Cloke 30509a1010
Add more missing type hints to tests. (#15028) 1 year ago
  Mathieu Velten 1526ff389f
Faster joins: filter out non local events when a room doesn't have its full state (#14404) 1 year ago
  David Robertson 52a0c8f2f7
Rename test case method to `add_hashes_and_signatures_from_other_server` (#13255) 1 year ago
  Erik Johnston 1e453053cb
Rename storage classes (#12913) 2 years ago
  Erik Johnston c72d26c1e1
Refactor `EventContext` (#12689) 2 years ago
  Richard van der Hoff 33ebee47e4
Remove redundant `get_success` calls in test code (#12346) 2 years ago
  Richard van der Hoff 6927d87254
Handle outliers in `/federation/v1/event` (#12332) 2 years ago
  Richard van der Hoff 87c230c27c
Update client-visibility filtering for outlier events (#12155) 2 years ago
  Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 2 years ago
  Olivier Wilkinson (reivilibre) 4dd9ea8f4f Revert "Revert accidental fast-forward merge from v1.49.0rc1" 2 years ago
  Sean Quah 158d73ebdd Revert accidental fast-forward merge from v1.49.0rc1 2 years ago
  reivilibre 8a4c296987
Clean up `tests.test_visibility` to remove legacy code. (#11495) 2 years ago
  Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 3 years ago
  Patrick Cloke 0b3112123d
Use mock from the stdlib. (#9772) 3 years ago
  Jonathan de Jong 2ca4e349e9
Bugbear: Add Mutable Parameter fixes (#9682) 3 years ago
  Patrick Cloke c619253db8
Stop sub-classing object (#8249) 3 years ago
  Patrick Cloke e00816ad98
Do not yield on awaitables in tests. (#8193) 3 years ago
  Patrick Cloke 3345c166a4
Convert storage layer to async/await. (#7963) 3 years ago
  Patrick Cloke 5f65e62681
Convert groups and visibility code to async / await. (#7951) 3 years ago
  Patrick Cloke cc9bb3dc3f
Convert the message handler to async/await. (#7884) 3 years ago
  Erik Johnston 69f0054ce6 Port to use state storage 4 years ago
  Erik Johnston 3ca4c7c516 Use new EventPersistenceStore 4 years ago
  Erik Johnston 7777d353bf Remove test debugs 4 years ago
  Amber Brown 4806651744
Replace returnValue with return (#5736) 4 years ago
  Amber Brown 32e7c9e7f2
Run Black. (#5482) 4 years ago
  Amber Brown b36c82576e
Run Black on the tests again (#5170) 5 years ago
  Richard van der Hoff 54a87a7b08
Collect room-version variations into one place (#4969) 5 years ago
  Erik Johnston aee39f7de8 Fix test to use valid event format 5 years ago
  Erik Johnston 9770ed91c2 Fix tests 5 years ago
  Erik Johnston be6a7e47fa
Revert "Require event format version to parse or create events" 5 years ago
  Erik Johnston e79ba9eb34 Fix tests 5 years ago
  Amber Brown 77055dba92
Fix tests on postgresql (#3740) 5 years ago
  Amber Brown 99dd975dae
Run tests under PostgreSQL (#3423) 5 years ago
  black 8b3d9b6b19 Run black. 5 years ago
  Erik Johnston 3e19beb941 Fix tests 5 years ago
  Richard van der Hoff d897be6a98 Fix visibility of events from erased users over federation 5 years ago
  Richard van der Hoff 94440ae994 fix imports 5 years ago
  Richard van der Hoff 15b13b537f Add a test which profiles filter_events_for_server in a large room 5 years ago
  Richard van der Hoff ea69d35651 Move filter_events_for_server out of FederationHandler 5 years ago