Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-10-26 | Start fewer opentracing spans (#8640) | Erik Johnston | 8 | -53/+96 | |
#8567 started a span for every background process. This is good as it means all Synapse code that gets run should be in a span (unless in the sentinel logging context), but it means we generate about 15x the number of spans as we did previously. This PR attempts to reduce that number by a) not starting one for send commands to Redis, and b) deferring starting background processes until after we're sure they're necessary. I don't really know how much this will help. | |||||
2020-10-23 | Fix typos and spelling errors. (#8639) | Patrick Cloke | 41 | -60/+63 | |
2020-10-23 | Fix handling of User-Agent headers with bad utf-8. (#8632) | Erik Johnston | 8 | -28/+33 | |
2020-10-23 | Fix email notifications for invites without local state. (#8627) | Erik Johnston | 3 | -13/+58 | |
This can happen if e.g. the room invited into is no longer on the server (or if all users left the room). | |||||
2020-10-22 | Remove unused OPTIONS handlers. (#8621) | Patrick Cloke | 14 | -64/+2 | |
The handling of OPTIONS requests was consolidated in #7534, but the endpoint specific handlers were not removed. | |||||
2020-10-22 | Fixup changelog even more v1.22.0rc1 | Erik Johnston | 1 | -2/+1 | |
2020-10-22 | Fixup changelog some more | Erik Johnston | 1 | -7/+3 | |
2020-10-22 | Don't 500 for invalid group IDs (#8628) | Erik Johnston | 2 | -1/+5 | |
2020-10-22 | Fixup changelog | Erik Johnston | 1 | -4/+4 | |
2020-10-22 | 1.22.0rc1 | Erik Johnston | 89 | -88/+106 | |
2020-10-22 | Type hints for RegistrationStore (#8615) | Erik Johnston | 4 | -74/+85 | |
2020-10-22 | Don't instansiate Requester directly (#8614) | Erik Johnston | 6 | -11/+12 | |
2020-10-21 | Optimise CacheDescriptor (#8594) github/release-v1.21.3 release-v1.21.3 | Richard van der Hoff | 2 | -5/+8 | |
don't bother constricting a CacheContext unless we need one. | |||||
2020-10-21 | fix failure case | Richard van der Hoff | 1 | -1/+4 | |
2020-10-21 | optimise DeferredCache.set | Richard van der Hoff | 2 | -3/+13 | |
2020-10-21 | Add some more tests | Richard van der Hoff | 2 | -0/+147 | |
2020-10-21 | Push some deferred wrangling down into DeferredCache | Richard van der Hoff | 5 | -46/+67 | |
2020-10-21 | Combine the two sets of tests for CacheDescriptor | Richard van der Hoff | 2 | -228/+230 | |
2020-10-21 | Limit AS transactions to 100 events (#8606) | Will Hunt | 3 | -2/+58 | |
* Limit AS transactions to 100 events * Update changelog.d/8606.feature Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> * Add tests * Update synapse/appservice/scheduler.py Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | |||||
2020-10-21 | Separate the TCP and terse JSON formatting code. (#8587) | Patrick Cloke | 4 | -187/+240 | |
This should (theoretically) allow for using the TCP code with a different output type and make it easier to use the JSON code with files / console. | |||||
2020-10-21 | Pin mypy-zope for compatibility with mypy. (#8600) | Patrick Cloke | 2 | -1/+2 | |
2020-10-21 | Add type hints to profile and base handlers. (#8609) | Patrick Cloke | 6 | -41/+72 | |
2020-10-20 | Consistently use wrap_as_background_task in more places (#8599) | Patrick Cloke | 5 | -30/+20 | |
2020-10-20 | Update mypy to 0.790, and move dependencies to extras (#8583) | Jonathan de Jong | 3 | -3/+4 | |
2020-10-20 | Remove some extraneous @unittest.INFOs on unit tests (#8592) | Andrew Morgan | 3 | -2/+1 | |
2020-10-20 | Cast errors generated during synapse_port_db to str (#8585) | Andrew Morgan | 2 | -2/+4 | |
I noticed in https://github.com/matrix-org/synapse/issues/8575 that the `end_error` variable in `synapse_port_db` is set to an `Exception`, even though later we expect it to be a `str`. This PR simply casts an exception raised to a string. I'm doing this instead of having `end_error` be of type exception as we explicitly set `end_error` to a str here: https://github.com/matrix-org/synapse/blob/d25eb8f3709965d0face01a041d5292490bf0139/scripts/synapse_port_db#L542-L547 This whole file could probably use some heavy refactoring, but until then at least this fix will prevent exception contents from being hidden from us and users. | |||||
2020-10-20 | Move schema file for as_device_stream (#8590) | Will Hunt | 2 | -3/+3 | |
* Move schema file * Add a . * Add matching changelog entry * Fix sqlite | |||||
2020-10-19 | Fix 'LruCache' object has no attribute '_on_resize' (#8591) | Richard van der Hoff | 3 | -2/+17 | |
We need to make sure we are readu for the `set_cache_factor` callback. | |||||
2020-10-19 | Drop unused `device_max_stream_id` table (#8589) | Vasilis Gerakaris | 2 | -0/+2 | |
Signed-off-by: Vasilis Gerakaris <vasilis.gerakaris@navarino.gr> | |||||
2020-10-19 | Fix mypy error: auth handler "checkpw" internal function type mismatch (#8569) | Jonathan de Jong | 3 | -4/+6 | |
2020-10-19 | Expose the experimental appservice login flow to clients. (#8504) | Patrick Cloke | 2 | -0/+3 | |
2020-10-19 | Add `DeferredCache.get_immediate` method (#8568) | Richard van der Hoff | 7 | -27/+53 | |
* Add `DeferredCache.get_immediate` method A bunch of things that are currently calling `DeferredCache.get` are only really interested in the result if it's completed. We can optimise and simplify this case. * Remove unused 'default' parameter to DeferredCache.get() * another get_immediate instance | |||||
2020-10-19 | Include a simple message in email notifications that include encrypted ↵ | Patrick Cloke | 9 | -75/+107 | |
content (#8545) | |||||
2020-10-19 | Support running synmark on macOS. (#8578) | Patrick Cloke | 2 | -2/+6 | |
By using the "poll" reactor since macOS doesn't support epoll. | |||||
2020-10-19 | Start an opentracing span for background processes. (#8567) | Erik Johnston | 2 | -5/+7 | |
This should reduce the number of `There was no active span` errors we see. Fixes #8510. | |||||
2020-10-19 | Replace DeferredCache with LruCache where possible (#8563) | Richard van der Hoff | 8 | -27/+30 | |
Most of these uses don't need a full-blown DeferredCache; LruCache is lighter and more appropriate. | |||||
2020-10-17 | Pre-em |