135 Commits (develop)

Author SHA1 Message Date
  Erik Johnston 954921736b
Refactor `get_user_by_id` (#16316) 8 months ago
  David Robertson 62a1a9be52
Describe which rate limiter was hit in logs (#16135) 8 months ago
  Patrick Cloke a8a46b1336
Replace simple_async_mock with AsyncMock (#16180) 8 months ago
  Will Hunt 0538e3e2db
Add `Retry-After` to M_LIMIT_EXCEEDED error responses (#16136) 9 months ago
  Mathieu Velten dac97642e4
Implements admin API to lock an user (MSC3939) (#15870) 9 months ago
  Shay d0c4257f14
`N + 3`: Read from column `full_user_id` rather than `user_id` of tables `profiles` and `user_filters` (#15649) 11 months ago
  Quentin Gliech c5cf1b421d Save the scopes in the requester 1 year ago
  Quentin Gliech e2c8458bba Make the api.auth.Auth a Protocol 1 year ago
  Patrick Cloke c5d1e6d414
Properly parse event_fields in filters (#15607) 1 year ago
  Shay 301b4156d5
Add column `full_user_id` to tables `profiles` and `user_filters`. (#15458) 1 year ago
  David Robertson 3b0083c92a
Use immutabledict instead of frozendict (#15113) 1 year ago
  David Robertson 6e6edea6c1
Properly typecheck tests.api (#14983) 1 year ago
  Andrew Morgan 8d90e5f200
Add type hints to `TestRatelimiter` (#14885) 1 year ago
  Sean Quah e980982b59
Do not reject `/sync` requests with unrecognised filter fields (#14369) 1 year ago
  Patrick Cloke 4283bd1cf9
Support filtering the /messages API by relation type (MSC3874). (#14148) 1 year ago
  Quentin Gliech 3dd175b628
`synapse.api.auth.Auth` cleanup: make permission-related methods use `Requester` instead of the `UserID` (#13024) 1 year ago
  David Robertson 599c403d99
Allow rate limiters to passively record actions they cannot limit (#13253) 1 year ago
  reivilibre 0dbdc39940
Fix a long-standing bug which meant that rate limiting was not restrictive enough in some cases. (#13018) 1 year ago
  Quentin Gliech fe1daad672
Move the "email unsubscribe" resource, refactor the macaroon generator & simplify the access token verification logic. (#12986) 1 year ago
  Quentin Gliech 92103cb2c8
Decouple `synapse.api.auth_blocking.AuthBlocking` from `synapse.api.auth.Auth`. (#13021) 1 year ago
  Patrick Cloke 7bc08f3201
Remove remaining bits of groups code. (#12936) 1 year ago
  Patrick Cloke c52abc1cfd
Additional constants for EDU types. (#12884) 2 years ago
  Patrick Cloke 7fbf42499d
Use `getClientAddress` instead of `getClientIP`. (#12599) 2 years ago
  Patrick Cloke 86cf6a3a17
Remove references to unstable identifiers from MSC3440. (#12382) 2 years ago
  Richard van der Hoff 6c0b44a3d7
Fix `PushRuleEvaluator` and `Filter` to work on frozendicts (#12100) 2 years ago
  Patrick Cloke 02d708568b
Replace assertEquals and friends with non-deprecated versions. (#12092) 2 years ago
  Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 2 years ago
  Jason Robinson 2560b1b6b2
Allow tracking puppeted users for MAU (#11561) 2 years ago
  reivilibre 17886d2603
Add experimental support for MSC3202: allowing application services to masquerade as specific devices. (#11538) 2 years ago
  Patrick Cloke a19d01c3d9
Support filtering by relations per MSC3440 (#11236) 2 years ago
  Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 2 years ago
  Jason Robinson fa74536384
Fix AuthBlocking check when requester is appservice (#10881) 2 years ago
  Patrick Cloke 47854c71e9
Use direct references for configuration variables (part 4). (#10893) 2 years ago
  Quentin Gliech bd4919fb72
MSC2918 Refresh tokens implementation (#9450) 2 years ago
  Brendan Abolivier a683028d81
Correctly ratelimit invites when creating a room (#9968) 3 years ago
  Richard van der Hoff 7562d887e1
Change the format of access tokens away from macaroons (#5588) 3 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
  Erik Johnston 963f4309fe
Make RateLimiter class check for ratelimit overrides (#9711) 3 years ago
  Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 3 years ago
  Patrick Cloke 74af356baf
Convert additional test-cases to homeserver test case. (#9396) 3 years ago
  Richard van der Hoff 90cf1eec44 Remove redundant mocking 3 years ago
  Patrick Cloke 30fba62108
Apply an IP range blacklist to push and key revocation requests. (#8821) 3 years ago
  Erik Johnston f737368a26
Add admin API for logging in as a user (#8617) 3 years ago
  Erik Johnston f21e24ffc2
Add ability for access tokens to belong to one user but grant access to another user. (#8616) 3 years ago
  Patrick Cloke c9c0ad5e20
Remove the deprecated Handlers object (#8494) 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
  Will Hunt 2df82ae451
Do not apply ratelimiting on joins to appservices (#8139) 3 years ago
  Will Hunt cbbf9126cb
Do not apply ratelimiting on joins to appservices (#8139) 3 years ago