Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Flatten the synapse.rest.client package (#10600) | reivilibre | 2021-08-17 | 1 | -67/+0 |
| | |||||
* | Use inline type hints in `handlers/` and `rest/`. (#10382) | Jonathan de Jong | 2021-07-16 | 1 | -1/+1 |
| | |||||
* | 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>` | ||||
* | Ratelimit cross-user key sharing requests. (#8957) | Patrick Cloke | 2021-02-19 | 1 | -3/+1 |
| | |||||
* | Validate input parameters for the sendToDevice API. (#8975) | Patrick Cloke | 2020-12-29 | 1 | -1/+2 |
| | | | | This makes the "messages" key in the content required. This is currently optional in the spec, but that seems to be an error. | ||||
* | Simplify super() calls to Python 3 syntax. (#8344) | Patrick Cloke | 2020-09-18 | 1 | -1/+1 |
| | | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py | ||||
* | Fixup synapse.rest to pass mypy (#6732) | Erik Johnston | 2020-01-20 | 1 | -1/+2 |
| | |||||
* | Port rest.client.v2 | Erik Johnston | 2019-12-05 | 1 | -6/+3 |
| | |||||
* | Opentrace device lists (#5853) | Jorik Schellekens | 2019-09-03 | 1 | -0/+4 |
| | | | Trace device list changes. | ||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -1/+1 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -1/+1 |
| | |||||
* | Unify v1 and v2 REST client APIs (#5226) | Amber Brown | 2019-06-03 | 1 | -2/+2 |
| | |||||
* | Drop support for v2_alpha API prefix (#5190) | Richard van der Hoff | 2019-05-15 | 1 | -1/+0 |
| | |||||
* | Make auth & transactions more testable (#3499) | Amber Brown | 2018-07-14 | 1 | -1/+1 |
| | |||||
* | register some /unstable endpoints in /r0 as well | Krombel | 2017-10-26 | 1 | -1/+1 |
| | |||||
* | Allow guest access to endpoints for E2E | Richard van der Hoff | 2016-11-25 | 1 | -1/+1 |
| | | | | | Expose /devices, /keys, and /sendToDevice to guest users, so that they can use E2E. | ||||
* | Clean transactions based on time. Add HttpTransactionCache tests. | Kegan Dougal | 2016-11-14 | 1 | -1/+1 |
| | |||||
* | Move .observe() up to the cache to make things neater | Kegan Dougal | 2016-11-14 | 1 | -4/+1 |
| | |||||
* | Review comments | Kegan Dougal | 2016-11-11 | 1 | -12/+5 |
| | |||||
* | Use observable deferreds because they are sane | Kegan Dougal | 2016-11-11 | 1 | -3/+4 |
| | |||||
* | Flake8 | Kegan Dougal | 2016-11-10 | 1 | -1/+1 |
| | |||||
* | Store Promise<Response> instead of Response for HTTP API transactions | Kegan Dougal | 2016-11-10 | 1 | -6/+12 |
| | | | | | | | | | | | | | | | | | | This fixes a race whereby: - User hits an endpoint. - No cached transaction so executes main code. - User hits same endpoint. - No cache transaction so executes main code. - Main code finishes executing and caches response and returns. - Main code finishes executing and caches response and returns. This race is common in the wild when Synapse is struggling under load. This commit fixes the race by: - User hits an endpoint. - Caches the promise to execute the main code and executes main code. - User hits same endpoint. - Yields on the same promise as the first request. - Main code finishes executing and returns, unblocking both requests. | ||||
* | Send device messages over federation | Mark Haines | 2016-09-06 | 1 | -26/+7 |
| | |||||
* | Fix up the calls to the notifier for device messages | Mark Haines | 2016-09-01 | 1 | -1/+1 |
| | |||||
* | Add a replication stream for direct to device messages | Mark Haines | 2016-08-31 | 1 | -2/+8 |
| | |||||
* | Add some TODOs | Mark Haines | 2016-08-25 | 1 | -0/+4 |
| | |||||
* | Fix the deduplication of incoming direct-to-device messages | Mark Haines | 2016-08-25 | 1 | -1/+12 |
| | |||||
* | Add store-and-forward direct-to-device messaging | Mark Haines | 2016-08-25 | 1 | -0/+69 |