Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stabilize support for MSC3970: updated transaction semantics (scope to ↵ | Patrick Cloke | 2023-08-04 | 1 | -6/+6 |
| | | | | | | | `device_id`) (#15629) For now this maintains compatible with old Synapses by falling back to using transaction semantics on a per-access token. A future version of Synapse will drop support for this. | ||||
* | Experimental support for MSC3970: per-device transaction IDs (#15318) | Quentin Gliech | 2023-04-25 | 1 | -0/+13 |
| | |||||
* | Pass the Requester down to the HttpTransactionCache. (#15200) | Quentin Gliech | 2023-03-07 | 1 | -30/+25 |
| | |||||
* | Add missing type hints in tests (#14879) | Patrick Cloke | 2023-01-26 | 1 | -1/+2 |
| | | | | * FIx-up type hints in tests.logging. * Add missing type hints to test_transactions. | ||||
* | Use `ParamSpec` in a few places (#12667) | David Robertson | 2022-05-09 | 1 | -7/+12 |
| | |||||
* | Additional type hints for client REST servlets (part 5) (#10736) | Patrick Cloke | 2021-09-03 | 1 | -16/+36 |
| | | | | Additionally this enforce type hints on all function signatures inside of the synapse.rest.client package. | ||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
| | | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>` | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -2/+1 |
| | |||||
* | Port over enough to get some sytests running on Python 3 (#3668) | Amber Brown | 2018-08-20 | 1 | -1/+1 |
| | |||||
* | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) | Amber Brown | 2018-08-10 | 1 | -1/+1 |
| | |||||
* | Make auth & transactions more testable (#3499) | Amber Brown | 2018-07-14 | 1 | -23/+22 |
| | |||||
* | Consistently use six's iteritems and wrap lazy keys/values in list() if ↵ | Amber Brown | 2018-05-31 | 1 | -1/+1 |
| | | | | they're not meant to be lazy (#3307) | ||||
* | Fix logcontext leak in HttpTransactionCache | Richard van der Hoff | 2018-05-21 | 1 | -25/+21 |
| | | | | ONE DAY I WILL PURGE THE WORLD OF THIS EVIL | ||||
* | Stop the transaction cache caching failures | Richard van der Hoff | 2018-05-21 | 1 | -9/+13 |
| | | | | | | The transaction cache has some code which tries to stop it caching failures, but if the callback function failed straight away, then things would happen backwards and we'd end up with the failure stuck in the cache. | ||||
* | Ordering is important on errbacks so add the cleanup func before creating an ↵ | Kegan Dougal | 2017-02-13 | 1 | -7/+7 |
| | | | | ObservableDeferred | ||||
* | Pop the txn from the map in case it has already been deleted somehow | Kegan Dougal | 2017-02-13 | 1 | -1/+1 |
| | |||||
* | Don't cache errors at all | Kegan Dougal | 2017-02-13 | 1 | -10/+9 |
| | |||||
* | http txns: Do not cache error responses | Kegan Dougal | 2017-02-13 | 1 | -1/+10 |
| | | | | | Previously we did. This meant that, amongst other errors, rate-limiting errors would be cached and prevent messages with that txn ID being sent. | ||||
* | Fix spurious Unhandled Error log lines | Erik Johnston | 2017-01-12 | 1 | -1/+5 |
| | |||||
* | Clean transactions based on time. Add HttpTransactionCache tests. | Kegan Dougal | 2016-11-14 | 1 | -5/+19 |
| | |||||
* | Move .observe() up to the cache to make things neater | Kegan Dougal | 2016-11-14 | 1 | -5/+4 |
| | |||||
* | Review comments | Kegan Dougal | 2016-11-11 | 1 | -0/+85 |