| Commit message (Expand) | Author | Age | Files | Lines |
* | Describe which rate limiter was hit in logs (#16135) | David Robertson | 2023-08-30 | 2 | -29/+53 |
* | Replace simple_async_mock with AsyncMock (#16180) | Patrick Cloke | 2023-08-25 | 1 | -48/+49 |
* | Add `Retry-After` to M_LIMIT_EXCEEDED error responses (#16136) | Will Hunt | 2023-08-24 | 1 | -0/+36 |
* | Implements admin API to lock an user (MSC3939) (#15870) | Mathieu Velten | 2023-08-10 | 1 | -0/+3 |
* | `N + 3`: Read from column `full_user_id` rather than `user_id` of tables `pro... | Shay | 2023-06-02 | 1 | -19/+6 |
* | Save the scopes in the requester | Quentin Gliech | 2023-05-30 | 1 | -0/+2 |
* | Make the api.auth.Auth a Protocol | Quentin Gliech | 2023-05-30 | 1 | -2/+2 |
* | Properly parse event_fields in filters (#15607) | Patrick Cloke | 2023-05-22 | 1 | -6/+0 |
* | Add column `full_user_id` to tables `profiles` and `user_filters`. (#15458) | Shay | 2023-04-26 | 1 | -7/+9 |
* | Use immutabledict instead of frozendict (#15113) | David Robertson | 2023-03-22 | 1 | -3/+3 |
* | Properly typecheck tests.api (#14983) | David Robertson | 2023-02-03 | 3 | -107/+132 |
* | Add type hints to `TestRatelimiter` (#14885) | Andrew Morgan | 2023-01-21 | 1 | -15/+51 |
* | Do not reject `/sync` requests with unrecognised filter fields (#14369) | Sean Quah | 2022-11-07 | 1 | -2/+19 |
* | Support filtering the /messages API by relation type (MSC3874). (#14148) | Patrick Cloke | 2022-10-17 | 1 | -1/+62 |
* | `synapse.api.auth.Auth` cleanup: make permission-related methods use `Request... | Quentin Gliech | 2022-08-22 | 1 | -1/+7 |
* | Allow rate limiters to passively record actions they cannot limit (#13253) | David Robertson | 2022-07-13 | 1 | -0/+74 |
* | Fix a long-standing bug which meant that rate limiting was not restrictive en... | reivilibre | 2022-06-15 | 1 | -11/+40 |
* | Move the "email unsubscribe" resource, refactor the macaroon generator & simp... | Quentin Gliech | 2022-06-14 | 1 | -10/+5 |
* | Decouple `synapse.api.auth_blocking.AuthBlocking` from `synapse.api.auth.Auth... | Quentin Gliech | 2022-06-14 | 1 | -15/+27 |
* | Remove remaining bits of groups code. (#12936) | Patrick Cloke | 2022-06-01 | 2 | -4/+0 |
* | Additional constants for EDU types. (#12884) | Patrick Cloke | 2022-05-27 | 1 | -3/+3 |
* | Use `getClientAddress` instead of `getClientIP`. (#12599) | Patrick Cloke | 2022-05-04 | 1 | -9/+9 |
* | Remove references to unstable identifiers from MSC3440. (#12382) | Patrick Cloke | 2022-04-12 | 1 | -3/+1 |
* | Fix `PushRuleEvaluator` and `Filter` to work on frozendicts (#12100) | Richard van der Hoff | 2022-02-28 | 1 | -0/+10 |
* | Replace assertEquals and friends with non-deprecated versions. (#12092) | Patrick Cloke | 2022-02-28 | 3 | -42/+42 |
* | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 2022-02-23 | 3 | -12/+16 |
* | Allow tracking puppeted users for MAU (#11561) | Jason Robinson | 2022-01-12 | 1 | -0/+33 |
* | Add experimental support for MSC3202: allowing application services to masque... | reivilibre | 2021-12-15 | 1 | -0/+64 |
* | Support filtering by relations per MSC3440 (#11236) | Patrick Cloke | 2021-11-09 | 1 | -32/+75 |
* | Use direct references for configuration variables (part 6). (#10916) | Patrick Cloke | 2021-09-29 | 1 | -7/+7 |
* | Fix AuthBlocking check when requester is appservice (#10881) | Jason Robinson | 2021-09-24 | 1 | -0/+62 |
* | Use direct references for configuration variables (part 4). (#10893) | Patrick Cloke | 2021-09-23 | 1 | -2/+2 |
* | MSC2918 Refresh tokens implementation (#9450) | Quentin Gliech | 2021-06-24 | 1 | -0/+1 |
* | Correctly ratelimit invites when creating a room (#9968) | Brendan Abolivier | 2021-05-12 | 1 | -0/+57 |
* | Change the format of access tokens away from macaroons (#5588) | Richard van der Hoff | 2021-05-12 | 1 | -63/+0 |
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 2 | -2/+0 |
* | Use mock from the stdlib. (#9772) | Patrick Cloke | 2021-04-09 | 1 | -1/+1 |
* | Make RateLimiter class check for ratelimit overrides (#9711) | Erik Johnston | 2021-03-30 | 1 | -60/+108 |
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 2 | -5/+22 |
* | Convert additional test-cases to homeserver test case. (#9396) | Patrick Cloke | 2021-02-16 | 2 | -156/+106 |
* | Remove redundant mocking | Richard van der Hoff | 2020-12-02 | 1 | -16/+2 |
* | Apply an IP range blacklist to push and key revocation requests. (#8821) | Patrick Cloke | 2020-12-02 | 1 | -1/+3 |
* | Add admin API for logging in as a user (#8617) | Erik Johnston | 2020-11-17 | 1 | -1/+5 |
* | Add ability for access tokens to belong to one user but grant access to anoth... | Erik Johnston | 2020-10-29 | 2 | -18/+15 |
* | Remove the deprecated Handlers object (#8494) | Patrick Cloke | 2020-10-09 | 2 | -13/+4 |
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
* | Do not yield on awaitables in tests. (#8193) | Patrick Cloke | 2020-08-27 | 1 | -12/+24 |
* | Do not apply ratelimiting on joins to appservices (#8139) | Will Hunt | 2020-08-21 | 1 | -0/+73 |
* | Convert synapse.api to async/await (#8031) | Patrick Cloke | 2020-08-06 | 2 | -39/+66 |
* | Performance improvements and refactor of Ratelimiter (#7595) | Andrew Morgan | 2020-06-05 | 1 | -19/+77 |
* | Stop Auth methods from polling the config on every req. (#7420) | Andrew Morgan | 2020-05-06 | 1 | -16/+20 |
* | Convert auth handler to async/await (#7261) | Patrick Cloke | 2020-04-15 | 1 | -24/+40 |
* | Add a `make_event_from_dict` method (#6858) | Richard van der Hoff | 2020-02-07 | 1 | -2/+2 |
* | Update copyrights | Brendan Abolivier | 2019-11-05 | 1 | -0/+3 |
* | Incorporate review | Brendan Abolivier | 2019-11-01 | 1 | -4/+4 |
* | Incorporate review | Brendan Abolivier | 2019-11-01 | 1 | -5/+5 |
* | Lint | Brendan Abolivier | 2019-10-30 | 1 | -12/+4 |
* | Add unit tests | Brendan Abolivier | 2019-10-30 | 1 | -0/+51 |
* | Ensure support users can be registered even if MAU limit is reached | Jason Robinson | 2019-09-11 | 1 | -0/+18 |
* | Implement access token expiry (#5660) | Richard van der Hoff | 2019-07-12 | 1 | -2/+4 |
* | Clean up exception handling for access_tokens (#5656) | Richard van der Hoff | 2019-07-11 | 1 | -7/+24 |
* | Inline issue_access_token (#5659) | Richard van der Hoff | 2019-07-11 | 1 | -1/+1 |
* | Remove access-token support from RegistrationStore.register (#5642) | Richard van der Hoff | 2019-07-10 | 1 | -1/+1 |
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -6/+6 |
* | Run Black on the tests again (#5170) | Amber Brown | 2019-05-10 | 2 | -4/+3 |
* | Enforce hs_disabled_message correctly | Richard van der Hoff | 2019-03-19 | 1 | -0/+17 |
* | Add rate-limiting on registration (#4735) | Brendan Abolivier | 2019-03-05 | 1 | -10/+10 |
* | Merge branch rav/macaroon_key_fix_0.34 into rav/macaroon_key_fix_0.34.1 | Richard van der Hoff | 2019-01-10 | 1 | -154/+1 |
|\ |
|
| * | Merge branch 'rav/macaroon_key_fix' into rav/macaroon_key_fix_0.34 | Richard van der Hoff | 2019-01-10 | 1 | -154/+1 |
| |\ |
|
| | * | Skip macaroon check for access tokens in the db | Richard van der Hoff | 2019-01-10 | 1 | -148/+1 |
* | | | create support user (#4141) | Neil Johnson | 2018-12-14 | 1 | -0/+2 |
|/ / |
|
* | | Allow backslashes in event field filters | Richard van der Hoff | 2018-10-24 | 1 | -1/+11 |
* | | Port tests/ to Python 3 (#3808) | Amber Brown | 2018-09-07 | 1 | -0/+1 |
* | | fix bug where preserved threepid user comes to sign up and server is mau blocked | Neil Johnson | 2018-08-31 | 1 | -0/+17 |
* | | Change admin_uri to admin_contact in config and errors | Erik Johnston | 2018-08-24 | 1 | -2/+2 |
* | | rename error code | Neil Johnson | 2018-08-18 | 1 | -2/+2 |
* | | special case server_notices_mxid | Neil Johnson | 2018-08-18 | 1 | -0/+8 |
* | | add new error type ResourceLimit | Neil Johnson | 2018-08-16 | 1 | -3/+3 |
* | | update error codes for resource limiting | Neil Johnson | 2018-08-15 | 1 | -2/+2 |
* | | replace admin_email with admin_uri for greater flexibility | Neil Johnson | 2018-08-15 | 1 | -2/+2 |
* | | support admin_email config and pass through into blocking errors, return Auth... | Neil Johnson | 2018-08-13 | 1 | -1/+5 |
* | | Revert "support admin_email config and pass through into blocking errors, ret... | Neil Johnson | 2018-08-13 | 1 | -5/+1 |
* | | support admin_email config and pass through into blocking errors, return Auth... | Neil Johnson | 2018-08-13 | 1 | -1/+5 |
* | | Run tests under PostgreSQL (#3423) | Amber Brown | 2018-08-13 | 2 | -2/+5 |
* | | Run black. | black | 2018-08-10 | 3 | -305/+139 |
* | | disable HS from config | Neil Johnson | 2018-08-04 | 1 | -1/+10 |
* | | remove unused import | Neil Johnson | 2018-08-03 | 1 | -1/+1 |
* | | bug fixes | Neil Johnson | 2018-08-03 | 1 | -7/+3 |
* | | do mau checks based on monthly_active_users table | Neil Johnson | 2018-08-02 | 1 | -1/+30 |
|/ |
|
* | Python 3: Convert some unicode/bytes uses (#3569) | Amber Brown | 2018-08-02 | 1 | -16/+19 |
* | run isort | Amber Brown | 2018-07-09 | 2 | -10/+12 |
* | add test | Matthew Hodgson | 2018-06-28 | 1 | -0/+33 |
* | fix tests | Matthew Hodgson | 2018-06-28 | 1 | -3/+15 |
* | use jsonschema.FormatChecker for RoomID and UserID strings | pik | 2017-03-23 | 1 | -4/+11 |
* | Add valid filter tests, flake8, fix typo | pik | 2017-03-23 | 1 | -5/+49 |
* | check_valid_filter using JSONSchema | pik | 2017-03-23 | 1 | -1/+17 |
* | Optimise state resolution | Erik Johnston | 2017-01-17 | 1 | -1/+4 |
* | Prevent user tokens being used as guest tokens (#1675) | Richard van der Hoff | 2016-12-06 | 1 | -15/+78 |
* | Fix unit tests | Mark Haines | 2016-09-12 | 1 | -9/+9 |
* | Record device_id in client_ips | Richard van der Hoff | 2016-07-20 | 1 | -1/+9 |
* | Bug fix: expire invalid access tokens | Negar Fazeli | 2016-07-13 | 1 | -1/+30 |
* | Create user with expiry | Negi Fazeli | 2016-05-13 | 1 | -6/+6 |
* | Test Filter.filter_rooms | Mark Haines | 2016-02-19 | 1 | -0/+18 |
* | Fix flake8 warnings for tests | Mark Haines | 2016-02-19 | 3 | -10/+7 |
* | Fix test | Erik Johnston | 2016-01-28 | 1 | -3/+4 |
* | Fix tests | Erik Johnston | 2016-01-25 | 1 | -6/+4 |
* | Fix tests | Erik Johnston | 2016-01-22 | 1 | -1/+1 |
* | Introduce a Requester object | Daniel Wagner-Hall | 2016-01-11 | 1 | -6/+6 |
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
* | Allow guests to upgrade their accounts | Daniel Wagner-Hall | 2016-01-05 | 1 | -9/+9 |
* | Allow guests to register and call /events?room_id= | Daniel Wagner-Hall | 2015-11-04 | 1 | -3/+22 |
* | Refactor api.filtering to have a Filter API | Erik Johnston | 2015-10-20 | 1 | -26/+31 |
* | update filtering tests | Mark Haines | 2015-10-13 | 1 | -6/+6 |
* | s/user_id/user/g for consistency | Daniel Wagner-Hall | 2015-09-01 | 1 | -4/+4 |
* | Turn TODO into thing which actually will fail | Daniel Wagner-Hall | 2015-08-26 | 1 | -6/+9 |
* | Attempt to validate macaroons | Daniel Wagner-Hall | 2015-08-26 | 1 | -2/+140 |
* | Stop looking up "admin", which we never read | Daniel Wagner-Hall | 2015-08-25 | 1 | -2/+0 |
* | Remove completely unused concepts from codebase | Daniel Wagner-Hall | 2015-08-25 | 1 | -5/+3 |
* | s/by_token/by_access_token/g | Daniel Wagner-Hall | 2015-08-20 | 1 | -8/+8 |
* | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-11 | 1 | -12/+2 |
|\ |
|
| * | Factor out some of the common homeserver setup code into a | Mark Haines | 2015-02-11 | 1 | -12/+2 |
* | | Remove unused imports. | Kegan Dougal | 2015-02-09 | 1 | -2/+2 |
* | | Modify auth.get_user_by_req for authing appservices directly. | Kegan Dougal | 2015-02-09 | 1 | -0/+139 |
|/ |
|
* | Create a separate filter object to do the actual filtering, so that we can | Mark Haines | 2015-01-29 | 1 | -51/+57 |
* | Add filter_room_state unit tests. | Kegan Dougal | 2015-01-29 | 1 | -0/+56 |
* | Add basic filtering public API unit tests. Use defers in the right places. | Kegan Dougal | 2015-01-29 | 1 | -1/+53 |
* | Add more unit tests for the filter algorithm. | Kegan Dougal | 2015-01-29 | 1 | -5/+259 |
* | Implement filter algorithm. Add basic event type unit tests to assert it works. | Kegan Dougal | 2015-01-29 | 1 | -1/+44 |
* | Add filter JSON sanity checks. | Kegan Dougal | 2015-01-28 | 1 | -4/+20 |
* | Initial stab at real SQL storage implementation of user filter definitions | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -1/+18 |
* | Have the Filtering API return Deferreds, so we can do the Datastore implement... | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -2/+3 |
* | Initial trivial unittest of Filtering object | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -0/+67 |
* | Have all unit tests import from our own subclass of trial's unittest TestCase... | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -1/+1 |
* | Test ratelimiter | Mark Haines | 2014-09-02 | 2 | -0/+39 |