summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/sendtodevice.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-171-67/+0
|
* Use inline type hints in `handlers/` and `rest/`. (#10382)Jonathan de Jong2021-07-161-1/+1
|
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-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 Cloke2021-02-191-3/+1
|
* Validate input parameters for the sendToDevice API. (#8975)Patrick Cloke2020-12-291-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 Cloke2020-09-181-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 Johnston2020-01-201-1/+2
|
* Port rest.client.v2Erik Johnston2019-12-051-6/+3
|
* Opentrace device lists (#5853)Jorik Schellekens2019-09-031-0/+4
| | | Trace device list changes.
* Replace returnValue with return (#5736)Amber Brown2019-07-231-1/+1
|
* Run Black. (#5482)Amber Brown2019-06-201-1/+1
|
* Unify v1 and v2 REST client APIs (#5226)Amber Brown2019-06-031-2/+2
|
* Drop support for v2_alpha API prefix (#5190)Richard van der Hoff2019-05-151-1/+0
|
* Make auth & transactions more testable (#3499)Amber Brown2018-07-141-1/+1
|
* register some /unstable endpoints in /r0 as wellKrombel2017-10-261-1/+1
|
* Allow guest access to endpoints for E2ERichard van der Hoff2016-11-251-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 Dougal2016-11-141-1/+1
|
* Move .observe() up to the cache to make things neaterKegan Dougal2016-11-141-4/+1
|
* Review commentsKegan Dougal2016-11-111-12/+5
|
* Use observable deferreds because they are saneKegan Dougal2016-11-111-3/+4
|
* Flake8Kegan Dougal2016-11-101-1/+1
|
* Store Promise<Response> instead of Response for HTTP API transactionsKegan Dougal2016-11-101-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 federationMark Haines2016-09-061-26/+7
|
* Fix up the calls to the notifier for device messagesMark Haines2016-09-011-1/+1
|
* Add a replication stream for direct to device messagesMark Haines2016-08-311-2/+8
|
* Add some TODOsMark Haines2016-08-251-0/+4
|
* Fix the deduplication of incoming direct-to-device messagesMark Haines2016-08-251-1/+12
|
* Add store-and-forward direct-to-device messagingMark Haines2016-08-251-0/+69