Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-05-15 | remove `builtins.buffer` code from storage code | Richard van der Hoff | 4 | -31/+5 | |
this is no longer needed on python 3 | |||||
2020-05-15 | remove redundant `__func__` | Richard van der Hoff | 2 | -13/+4 | |
this is a no-op under python 3 | |||||
2020-05-15 | remove to_ascii | Richard van der Hoff | 3 | -38/+12 | |
this is a no-op on python 3. | |||||
2020-05-15 | Remove `exception_to_unicode` | Richard van der Hoff | 2 | -48/+3 | |
this is a no-op on python 3. | |||||
2020-05-15 | Add Caddy 2 example (#7463) | Jeff Peeler | 2 | -1/+12 | |
The specific headers that are passed using this new configuration format are Host and X-Forwarded-For, which should be all that's required. Note that for production another matcher should be added in the first section to properly handle the base_url lookup: reverse_proxy /.well-known/matrix/* http://localhost:8008 Signed-off-by: Jeff Peeler <jpeeler@gmail.com> | |||||
2020-05-15 | Update the room member handler to use async/await. (#7507) | Patrick Cloke | 3 | -74/+59 | |
2020-05-15 | Implement room version 6 (MSC2240). (#7506) | Patrick Cloke | 5 | -41/+14 | |
2020-05-15 | Ignore incoming presence updates when presence is disabled (#7508) | Andrew Morgan | 2 | -2/+5 | |
2020-05-14 | Strictly enforce canonicaljson requirements in a new room version (#7381) | Patrick Cloke | 7 | -5/+137 | |
2020-05-14 | remove spurious changelog files | Richard van der Hoff | 2 | -2/+0 | |
These PRs have gone straight to `master` and aren't really relevant to the release, so it doesn't make sense to have changelog entries for them. | |||||
2020-05-14 | Notes on using git (#7496) | Richard van der Hoff | 5 | -58/+261 | |
* general updates to CONTRIBUTING.md * notes on updating your PR * Notes on squash-merging or otherwise * document git branching model | |||||
2020-05-14 | Enforce MSC2209: auth rules for notifications in power level event (#7502) | Patrick Cloke | 4 | -3/+65 | |
In a new room version, the "notifications" key of power level events are subject to restricted auth rules. | |||||
2020-05-14 | Workaround for failure to wrap reason in Failure (#7473) | Andrew Morgan | 2 | -0/+8 | |
2020-05-14 | Fix b'GET' in prometheus metrics (#7503) | Richard van der Hoff | 2 | -2/+5 | |
2020-05-14 | Allow expired accounts to logout (#7443) | Andrew Morgan | 5 | -22/+140 | |
2020-05-14 | Move EventStream handling into default ReplicationDataHandler (#7493) | Erik Johnston | 5 | -36/+40 | |
This is so that the logic can happen on both master and workers when we move event persistence out. | |||||
2020-05-14 | Add `instance_map` config and route replication calls (#7495) | Erik Johnston | 3 | -6/+33 | |
2020-05-14 | 1.13.0rc2 v1.13.0rc2 | Richard van der Hoff | 1 | -3/+2 | |
2020-05-14 | 1.13.0rc2 | Richard van der Hoff | 5 | -4/+17 | |
2020-05-14 | Stop `get_joined_users` corruption from custom statuses (#7376) | Richard van der Hoff | 3 | -2/+52 | |
Fix a bug where the `get_joined_users` cache could be corrupted by custom status events (or other state events with a state_key matching the user ID). The bug was introduced by #2229, but has largely gone unnoticed since then. Fixes #7099, #7373. | |||||
2020-05-13 | Do not validate that the client dict is stable during UI Auth. (#7483) | Patrick Cloke | 4 | -65/+29 | |
This backs out some of the validation for the client dictionary and logs if this changes during a user interactive authentication session instead. | |||||
2020-05-13 | Allow censoring of events to happen on workers. (#7492) | Erik Johnston | 4 | -8/+4 | |
This is safe as we can now write to cache invalidation stream on workers, and is required for when we move event persistence off master. | |||||
2020-05-13 | Fix copypasted comment (#7477) | Paul Tötterman | 2 | -1/+2 | |
Signed-off-by: Paul Tötterman <paul.totterman@iki.fi> | |||||
2020-05-13 | Clean up replication unit tests. (#7490) | Erik Johnston | 8 | -51/+16 | |
2020-05-13 | Spelling | Erik Johnston | 2 | -2/+2 | |
2020-05-13 | Shuffle persist event data store functions. (#7440) | Erik Johnston | 19 | -1235/+1376 | |
The aim here is to get to a stage where we have a `PersistEventStore` that holds all the write methods used during event persistence, so that we can take that class out of the `DataStore` mixin and instansiate it separately. This will allow us to instansiate it on processes other than master, while also ensuring it is only available on processes that are configured to write to events stream. This is a bit of an architectural change, where we end up with multiple classes per data store (rather than one per data store we have now). We end up having: 1. Storage classes that provide high level APIs that can talk to multiple data stores. 2. Data store modules that consist of classes that must point at the same database instance. 3. Classes in a data store that can be instantiated on processes depending on config. | |||||
2020-05-13 | Fix new flake8 errors (#7489) | Patrick Cloke | 7 | -12/+19 | |
This is a cherry-pick of 1a1da60ad2c9172fe487cd38a164b39df60f4cb5 (#7470) to the release-v1.13.0 branch. | |||||
2020-05-13 | Have all instances correctly respond to REPLICATE command. (#7475) | Erik Johnston | 4 | -48/+51 | |
Before all streams were only written to from master, so only master needed to respond to `REPLICATE` commands. Before all instances wrote to the cache invalidation stream, but didn't respond to `REPLICATE`. This was a bug, which could lead to missed rows from cache invalidation stream if an instance is restarted, however all the caches would be empty in that case so it wasn't a problem. | |||||
2020-05-13 | Fix Redis reconnection logic (#7482) | Erik Johnston | 3 | -2/+15 | |
Proactively send out `POSITION` commands (as if we had just received a `REPLICATE`) when we connect to Redis. This is important as other instances won't notice we've connected to issue a `REPLICATE` command (unlike for direct TCP connections). This is only currently an issue if master process reconnects without restarting (if it restarts then it won't have written anything and so other instances probably won't have missed anything). | |||||
2020-05-12 | Update documentation about SSO mapping providers (#7458) | Patrick Cloke | 3 | -77/+147 | |
2020-05-12 | Fix new flake8 errors (#7470) | Erik Johnston | 7 | -12/+19 | |
2020-05-11 | Convert federation handler to async/await. (#7459) | Patrick Cloke | 3 | -21/+17 | |
2020-05-11 | Convert search code to async/await. (#7460) | Patrick Cloke | 2 | -24/+21 | |
2020-05-11 | Allow configuration of Synapse's cache without using synctl or environment ↵ | Amber Brown | 32 | -146/+620 | |
variables (#6391) | |||||
2020-05-11 | Remove unused store method get_hosts_in_room (#7448) | Andrew Morgan | 2 | -10/+1 | |
2020-05-11 | Don't UPGRADE database rows v1.13.0rc1 | Andrew Morgan | 1 | -1/+1 | |
2020-05-11 | RST indenting | Andrew Morgan | 1 | -2/+2 | |
2020-05-11 | Put rollback instructions in upgrade notes | Andrew Morgan | 1 | -0/+19 | |
2020-05-11 | Fix changelog typo | Andrew Morgan | 1 | -1/+1 | |
2020-05-11 | Oh yeah, RST | Andrew Morgan | 1 | -2/+1 | |
2020-05-11 | Absolute URL it is then | Andrew Morgan | 1 | -1/+2 | |
2020-05-11 | Fix upgrade notes link | Andrew Morgan | 1 | -1/+1 | |
2020-05-11 | Provide summary of upgrade issues in changelog. Fix ) | Andrew Morgan | 2 | -12/+33 | |
2020-05-11 | Move next version notes from changelog to upgrade notes | Andrew Morgan | 2 | -14/+15 | |
2020-05-11 | Changelog fixes | Andrew Morgan | 1 | -3/+3 | |
2020-05-11 | 1.13.0rc1 | Andrew Morgan | 144 | -143/+139 | |
2020-05-11 | Documentation on setting up redis (#7446) | Neil Johnson | 2 | -60/+108 | |
2020-05-08 | Rework UI Auth session validation for registration (#7455) | Patrick Cloke | 6 | -102/+280 | |
Be less strict about validation of UI authentication sessions during registration to match client expecations. | |||||
2020-05-08 | Extend spam checker to allow for multiple modules (#7435) | Andrew Morgan | 6 | -60/+95 | |
2020-05-08 | Implement OpenID Connect-based login (#7256) | Quentin Gliech | 21 | -12/+2163 | |
2020-05-07 | Add room details admin endpoint (#7317) | Manuel Stahl | 7 | -1/+165 | |
2020-05-07 | Fix errors from malformed log line (#7454) | Richard van der Hoff | 2 | -1/+2 | |
2020-05-07 | Drop support for redis.dbid (#7450) | Richard van der Hoff | 3 | -4/+2 | |
Since we only use pubsub, the dbid is irrelevant. | |||||
2020-05-07 | Fixes typo (bellow -> below) (#7449) | Patrick Cloke | 3 | -2/+3 | |
2020-05-07 | Add more type hints to SAML handler. (#7445) | Patrick Cloke | 3 | -12/+18 | |
2020-05-07 | Support any process writing to cache invalidation stream. (#7436) | Erik Johnston | 26 | -231/+226 | |
2020-05-07 | Add a configuration setting for the dummy event threshold (#7422) | Brendan Abolivier | 4 | -1/+31 | |
Add dummy_events_threshold which allows configuring the number of forward extremities a room needs for Synapse to send forward extremities in it. | |||||
2020-05-06 | Improve per-block CPU and DB usage metrics (#7426) | Patrick Cloke | 2 | -12/+27 | |
2020-05-06 | Port group attestation renewal slow down from matrix-org-hotfixes (#7442) | Andrew Morgan | 2 | -4/+3 | |
2020-05-06 | Make redis go faster with hiredis (#7439) | Richard van der Hoff | 2 | -1/+4 | |
For the record, the reason we need this is as follows: each RDATA command comes down the redis pipe as a subscription message. txredisapi as written needs at least three reactor ticks to read each subscription message from the tcp buffer. Hence, once the process gets loaded, it starts getting behind, and eventually redis knifes the connection. it then takes ages for the master to work its way through the backlog, before it reconnects again, during which any commands from any workers are dropped. | |||||