Commit Graph

86 Commits (7317b0be82e31d7b41be64e2fea92aad428283d8)

Author SHA1 Message Date
Patrick Cloke 807efd26ae
Support rendering previews with data: URLs in them (#11767) 3 years ago
David Robertson d3cf0730f8
Optionally use an on-disk sqlite db in tests (#11702) 3 years ago
reivilibre e6897e7383
Refactor `tests.util.setup_test_homeserver` and `tests.server.setup_test_homeserver`. (#11503) 3 years ago
Olivier Wilkinson (reivilibre) 8cd68b8102 Revert accidental commits to develop. 3 years ago
Olivier Wilkinson (reivilibre) 7be88fbf48 Give `tests.server.setup_test_homeserver` (nominally!) the same behaviour 3 years ago
Olivier Wilkinson (reivilibre) b3fd99b74a Move `tests.utils.setup_test_homeserver` to `tests.server` 3 years ago
Olivier Wilkinson (reivilibre) f7ec6e7d9e Convert one of the `setup_test_homeserver`s to `make_test_homeserver_synchronous` 3 years ago
David Robertson 0dda1a7968
Misc typing fixes for tests, part 2 of N (#11330) 3 years ago
David Robertson 4c96ce396e
Misc typing fixes for `tests`, part 1 of N (#11323) 3 years ago
Patrick Cloke 1609ccf8fe
Fix-up some type hints in the relations tests. (#11076) 3 years ago
David Robertson 29364145b2
Pass str to twisted's IReactorTCP (#10895) 3 years ago
Erik Johnston 50022cff96
Add reactor to `SynapseRequest` and fix up types. (#10868) 3 years ago
Richard van der Hoff 8f98260552
Fix incompatibility with Twisted < 21. (#10713) 3 years ago
Jonathan de Jong 93729719b8
Use inline type hints in `tests/` (#10350) 3 years ago
Richard van der Hoff fcf3c7032b
Ensure that we do not cache empty sync responses after a timeout (#10158) 3 years ago
Richard van der Hoff 84936e2264
Kill off `_PushHTTPChannel`. (#9878) 4 years ago
Erik Johnston b5efcb577e
Make it possible to use dmypy (#9692) 4 years ago
Jonathan de Jong 4c3827f2c1
Enable addtional flake8-bugbear linting checks. (#9659) 4 years ago
Patrick Cloke d29b71aa50
Fix remaining mypy issues due to Twisted upgrade. (#9608) 4 years ago
Patrick Cloke 7fdc6cefb3
Fix additional type hints. (#9543) 4 years ago
Richard van der Hoff 15090de850
SSO: redirect to public URL before setting cookies (#9436) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Erik Johnston 4b73488e81
Ratelimit 3PID /requestToken API (#9238) 4 years ago
Richard van der Hoff 02070c69fa
Fix bugs in handling clientRedirectUrl, and improve OIDC tests (#9127, #9128) 4 years ago
Richard van der Hoff 233c8b9fce
Add a test for UI-Auth-via-SSO (#9082) 4 years ago
Richard van der Hoff 394516ad1b Remove spurious "SynapseRequest" result from `make_request" 4 years ago
Richard van der Hoff 0bac276890 UIA: offer only available auth flows 4 years ago
Richard van der Hoff 7ea85302f3 fix up various test cases 4 years ago
Richard van der Hoff be8fa65d0b Remove redundant calls to `render()` 4 years ago
Richard van der Hoff 129ae841e5 Make `make_request` actually render the request 4 years ago
Richard van der Hoff f125895475
Move `wait_until_result` into `FakeChannel` (#8758) 4 years ago
Richard van der Hoff ebc405446e
Add a `custom_headers` param to `make_request` (#8760) 4 years ago
Richard van der Hoff 70c0d47989 fix dict handling for make_request() 4 years ago
Richard van der Hoff 9debe657a3 pass a Site into make_request 4 years ago
Erik Johnston 46f4be94b4
Fix race for concurrent downloads of remote media. (#8682) 4 years ago
Patrick Cloke 00b24aa545
Support generating structured logs in addition to standard logs. (#8607) 4 years ago
Dan Callahan aff1eb7c67
Tell Black to format code for Python 3.5 (#8664) 4 years ago
Patrick Cloke d35a451399
Clean-up some broken/unused code in the test framework (#8514) 4 years ago
Richard van der Hoff 9789b1fba5
Fix threadsafety in ThreadedMemoryReactorClock (#8497) 4 years ago
Erik Johnston ec10bdd32b
Speed up unit tests when using PostgreSQL (#8450) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Andrew Morgan a3a90ee031
Show a confirmation page during user password reset (#8004) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Erik Johnston f13061d515
Fix client reader sharding tests (#7853) 4 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Richard van der Hoff b6b57ecb4e
Kill off redundant SynapseRequestFactory (#6619) 5 years ago
Erik Johnston 2284eb3a53
Add database config class (#6513) 5 years ago
Amber Brown 9eebd46048
Improve the performance of structured logging (#6322) 5 years ago
Richard van der Hoff 1cb84c6486
Support for routing outbound HTTP requests via a proxy (#6239) 5 years ago
Erik Johnston 97c60ccaa3 Add unit test for /purge_room API 5 years ago