Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Correctly mention previous copyright (#16820) | Erik Johnston | 2024-01-23 | 1 | -0/+1 |
| | | | | | During the migration the automated script to update the copyright headers accidentally got rid of some of the existing copyright lines. Reinstate them. | ||||
* | Update license headers | Patrick Cloke | 2023-11-21 | 1 | -10/+16 |
| | |||||
* | Asynchronous Uploads (#15503) | Sumner Evans | 2023-11-15 | 1 | -0/+7 |
| | | | Support asynchronous uploads as defined in MSC2246. | ||||
* | Describe which rate limiter was hit in logs (#16135) | David Robertson | 2023-08-30 | 1 | -44/+88 |
| | |||||
* | Bump black from 22.12.0 to 23.1.0 (#15103) | dependabot[bot] | 2023-02-22 | 1 | -1/+0 |
| | |||||
* | Tighten the default rate limit of creating new devices. (#15135) | Patrick Cloke | 2023-02-22 | 1 | -2/+11 |
| | |||||
* | Reduce default third party invite rate limit to 216 invites per day (#14487) | Sean Quah | 2022-11-18 | 1 | -4/+1 |
| | | | | | | The previous default was the same as the `rc_message` rate limit, which defaults to 17,280 per day. Signed-off-by: Sean Quah <seanq@matrix.org> | ||||
* | Rename `RateLimitConfig` to `RatelimitSettings` (#13442) | Dirk Klimpel | 2022-08-03 | 1 | -21/+21 |
| | |||||
* | Rate limit joins per-room (#13276) | David Robertson | 2022-07-19 | 1 | -0/+7 |
| | |||||
* | Rate limiting invites per issuer (#13125) | David Teller | 2022-06-30 | 1 | -0/+5 |
| | | | Co-authored-by: reivilibre <oliverw@matrix.org> | ||||
* | Remove code generating comments in configuration file (#12941) | Shay | 2022-06-14 | 1 | -122/+0 |
| | |||||
* | Add missing type hints to config classes. (#12402) | Patrick Cloke | 2022-04-11 | 1 | -3/+5 |
| | |||||
* | Add a ratelimiter for 3pid invite (#11892) | Brendan Abolivier | 2022-02-03 | 1 | -0/+15 |
| | |||||
* | Add types to synapse.util. (#10601) | reivilibre | 2021-09-10 | 1 | -16/+17 |
| | |||||
* | Implement MSC3231: Token authenticated registration (#10142) | Callum Brown | 2021-08-21 | 1 | -0/+11 |
| | | | | | Signed-off-by: Callum Brown <callum@calcuode.com> This is part of my GSoC project implementing [MSC3231](https://github.com/matrix-org/matrix-doc/pull/3231). | ||||
* | Bugbear: Add Mutable Parameter fixes (#9682) | Jonathan de Jong | 2021-04-08 | 1 | -2/+4 |
| | | | | | | | Part of #9366 Adds in fixes for B006 and B008, both relating to mutable parameter lint errors. Signed-off-by: Jonathan de Jong <jonathan@automatia.nl> | ||||
* | Increase default join burst ratelimiting (#9674) | Erik Johnston | 2021-03-23 | 1 | -4/+4 |
| | | | It's legitimate behaviour to try and join a bunch of rooms at once. | ||||
* | Ratelimit cross-user key sharing requests. (#8957) | Patrick Cloke | 2021-02-19 | 1 | -0/+10 |
| | |||||
* | Ratelimit invites by room and target user (#9258) | Erik Johnston | 2021-01-29 | 1 | -0/+19 |
| | |||||
* | Ratelimit 3PID /requestToken API (#9238) | Erik Johnston | 2021-01-28 | 1 | -2/+11 |
| | |||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -2/+2 |
| | |||||
* | Add ratelimiting on joins | Erik Johnston | 2020-07-31 | 1 | -0/+21 |
| | |||||
* | Performance improvements and refactor of Ratelimiter (#7595) | Andrew Morgan | 2020-06-05 | 1 | -1/+7 |
| | | | | | | | | | | While working on https://github.com/matrix-org/synapse/issues/5665 I found myself digging into the `Ratelimiter` class and seeing that it was both: * Rather undocumented, and * causing a *lot* of config checks This PR attempts to refactor and comment the `Ratelimiter` class, as well as encourage config file accesses to only be done at instantiation. Best to be reviewed commit-by-commit. | ||||
* | Bump version of mypy | Erik Johnston | 2019-12-12 | 1 | -2/+1 |
| | |||||
* | Refactor HomeserverConfig so it can be typechecked (#6137) | Amber Brown | 2019-10-10 | 1 | -0/+2 |
| | |||||
* | Fix comments | Erik Johnston | 2019-09-11 | 1 | -1/+1 |
| | | | Co-Authored-By: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | ||||
* | Allow use of different ratelimits for admin redactions. | Erik Johnston | 2019-09-11 | 1 | -0/+13 |
| | | | | | This is useful to allow room admins to quickly deal with a large number of abusive messages. | ||||
* | Fixes to the federation rate limiter (#5621) | Richard van der Hoff | 2019-07-05 | 1 | -2/+2 |
| | | | | | | | - Put the default window_size back to 1000ms (broken by #5181) - Make the `rc_federation` config actually do something - fix an off-by-one error in the 'concurrent' limit - Avoid creating an unused `_PerHostRatelimiter` object for every single incoming request | ||||
* | Don't load the generated config as the default. | Richard van der Hoff | 2019-06-24 | 1 | -1/+1 |
| | | | | It's too confusing. | ||||
* | Pass config_dir_path and data_dir_path into Config.read_config. (#5522) | Richard van der Hoff | 2019-06-24 | 1 | -1/+1 |
| | | | | | | * Pull config_dir_path and data_dir_path calculation out of read_config_files * Pass config_dir_path and data_dir_path into read_config | ||||
* | Make all the rate limiting options more consistent (#5181) | Amber Brown | 2019-05-15 | 1 | -42/+73 |
| | |||||
* | Batch up outgoing read-receipts to reduce federation traffic. (#4890) | Richard van der Hoff | 2019-03-20 | 1 | -0/+12 |
| | | | | Rate-limit outgoing read-receipts as per #4730. | ||||
* | Comment out most options in the generated config. (#4863) | Richard van der Hoff | 2019-03-19 | 1 | -14/+14 |
| | | | | | | | | | | | | | | | | | | | | Make it so that most options in the config are optional, and commented out in the generated config. The reasons this is a good thing are as follows: * If we decide that we should change the default for an option, we can do so, and only those admins that have deliberately chosen to override that option will be stuck on the old setting. * It moves us towards a point where we can get rid of the super-surprising feature of synapse where the default settings for the config come from the generated yaml. * It makes setting up a test config for unit testing an order of magnitude easier (see forthcoming PR). * It makes the generated config more consistent, and hopefully easier for users to understand. | ||||
* | Add ratelimiting on failed login attempts (#4865) | Brendan Abolivier | 2019-03-18 | 1 | -0/+9 |
| | |||||
* | Add ratelimiting on login (#4821) | Brendan Abolivier | 2019-03-15 | 1 | -18/+40 |
| | | | Add two ratelimiters on login (per-IP address and per-userID). | ||||
* | Move settings from registration to ratelimiting in config file | Brendan Abolivier | 2019-03-05 | 1 | -0/+18 |
| | |||||
* | Attempt to make default config more consistent | Richard van der Hoff | 2019-02-19 | 1 | -0/+7 |
| | | | | | | The general idea here is that config examples should just have a hash and no extraneous whitespace, both to make it easier for people who don't understand yaml, and to make the examples stand out from the comments. | ||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 1 | -1/+1 |
| | | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set. | ||||
* | Manually generate the default config yaml, remove most of the commandline ↵ | Mark Haines | 2015-04-30 | 1 | -46/+32 |
| | | | | arguments for synapse anticipating that people will use the yaml instead. Simpify implementing config options by not requiring the classes to hit the super class | ||||
* | Make the federation server ratelimiting configurable. | Erik Johnston | 2015-03-02 | 1 | -0/+36 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Fix pep8 warnings | Mark Haines | 2014-10-30 | 1 | -0/+1 |
| | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Add copyright notices and fix pyflakes errors | Mark Haines | 2014-09-03 | 1 | -0/+14 |
| | |||||
* | rate limiting for message sending | Mark Haines | 2014-09-02 | 1 | -2/+2 |
| | |||||
* | Add ratelimiting config | Mark Haines | 2014-09-02 | 1 | -0/+21 |