Commit Graph

124 Commits (4953cd71dfbb1925dc4a477efd2ed48c2dfd70d6)

Author SHA1 Message Date
David Robertson 6e6edea6c1
Properly typecheck tests.api (#14983) 3 years ago
Andrew Morgan 8d90e5f200
Add type hints to `TestRatelimiter` (#14885) 3 years ago
Sean Quah e980982b59
Do not reject `/sync` requests with unrecognised filter fields (#14369) 4 years ago
Patrick Cloke 4283bd1cf9
Support filtering the /messages API by relation type (MSC3874). (#14148) 4 years ago
Quentin Gliech 3dd175b628
`synapse.api.auth.Auth` cleanup: make permission-related methods use `Requester` instead of the `UserID` (#13024) 4 years ago
David Robertson 599c403d99
Allow rate limiters to passively record actions they cannot limit (#13253) 4 years ago
reivilibre 0dbdc39940
Fix a long-standing bug which meant that rate limiting was not restrictive enough in some cases. (#13018) 4 years ago
Quentin Gliech fe1daad672
Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 4 years ago
Quentin Gliech 92103cb2c8
Decouple `synapse.api.auth_blocking.AuthBlocking` from `synapse.api.auth.Auth`. (#13021) 4 years ago
Patrick Cloke 7bc08f3201
Remove remaining bits of groups code. (#12936) 4 years ago
Patrick Cloke c52abc1cfd
Additional constants for EDU types. (#12884) 4 years ago
Patrick Cloke 7fbf42499d
Use `getClientAddress` instead of `getClientIP`. (#12599) 4 years ago
Patrick Cloke 86cf6a3a17
Remove references to unstable identifiers from MSC3440. (#12382) 4 years ago
Richard van der Hoff 6c0b44a3d7
Fix `PushRuleEvaluator` and `Filter` to work on frozendicts (#12100) 4 years ago
Patrick Cloke 02d708568b
Replace assertEquals and friends with non-deprecated versions. (#12092) 4 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 4 years ago
Jason Robinson 2560b1b6b2
Allow tracking puppeted users for MAU (#11561) 4 years ago
reivilibre 17886d2603
Add experimental support for MSC3202: allowing application services to masquerade as specific devices. (#11538) 5 years ago
Patrick Cloke a19d01c3d9
Support filtering by relations per MSC3440 (#11236) 5 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 5 years ago
Jason Robinson fa74536384
Fix AuthBlocking check when requester is appservice (#10881) 5 years ago
Patrick Cloke 47854c71e9
Use direct references for configuration variables (part 4). (#10893) 5 years ago
Quentin Gliech bd4919fb72
MSC2918 Refresh tokens implementation (#9450) 5 years ago
Brendan Abolivier a683028d81
Correctly ratelimit invites when creating a room (#9968) 5 years ago
Richard van der Hoff 7562d887e1
Change the format of access tokens away from macaroons (#5588) 5 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 5 years ago
Patrick Cloke 0b3112123d
Use mock from the stdlib. (#9772) 5 years ago
Erik Johnston 963f4309fe
Make RateLimiter class check for ratelimit overrides (#9711) 5 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 5 years ago
Patrick Cloke 74af356baf
Convert additional test-cases to homeserver test case. (#9396) 5 years ago
Richard van der Hoff 90cf1eec44 Remove redundant mocking 6 years ago
Patrick Cloke 30fba62108
Apply an IP range blacklist to push and key revocation requests. (#8821) 6 years ago
Erik Johnston f737368a26
Add admin API for logging in as a user (#8617) 6 years ago
Erik Johnston f21e24ffc2
Add ability for access tokens to belong to one user but grant access to another user. (#8616) 6 years ago
Patrick Cloke c9c0ad5e20
Remove the deprecated Handlers object (#8494) 6 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 6 years ago
Patrick Cloke e00816ad98
Do not yield on awaitables in tests. (#8193) 6 years ago
Will Hunt 2df82ae451
Do not apply ratelimiting on joins to appservices (#8139) 6 years ago
Will Hunt cbbf9126cb
Do not apply ratelimiting on joins to appservices (#8139) 6 years ago
Patrick Cloke d4a7829b12
Convert synapse.api to async/await (#8031) 6 years ago
Andrew Morgan f4e6495b5d
Performance improvements and refactor of Ratelimiter (#7595) 6 years ago
Andrew Morgan aee9130a83
Stop Auth methods from polling the config on every req. (#7420) 6 years ago
Patrick Cloke eed7c5b89e
Convert auth handler to async/await (#7261) 6 years ago
Richard van der Hoff 799001f2c0
Add a `make_event_from_dict` method (#6858) 6 years ago
Brendan Abolivier 8822b33111
Update copyrights 7 years ago
Brendan Abolivier 988d8d6507
Incorporate review 7 years ago
Brendan Abolivier c6dbca2422
Incorporate review 7 years ago
Brendan Abolivier dcc069a2e2
Lint 7 years ago
Brendan Abolivier e7943f660a
Add unit tests 7 years ago
Jason Robinson 6d847d8ce6 Ensure support users can be registered even if MAU limit is reached 7 years ago