summary refs log tree commit diff
path: root/tests/appservice/test_scheduler.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Send device list updates to application services (MSC3202) - part 1 (#11881)Andrew Morgan2022-03-301-15/+39
| | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-281-31/+31
|
* Add support for MSC3202: sending one-time key counts and fallback key usage ↵reivilibre2022-02-241-16/+39
| | | | | states to Application Services. (#11617) Co-authored-by: Erik Johnston <erik@matrix.org>
* Send to-device messages to application services (#11215)Andrew Morgan2022-02-011-48/+61
| | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Fix errors in Synapse logs from unit tests. (#10939)Patrick Cloke2021-09-301-21/+19
| | | | | Fix some harmless errors from background processes (mostly due to awaiting Mock objects) that occurred in the Synapse logs during unit tests.
* 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>`
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-1/+1
|
* Limit AS transactions to 100 events (#8606)Will Hunt2020-10-211-0/+41
| | | | | | | | | | | | | * 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>
* Send some ephemeral events to appservices (#8437)Will Hunt2020-10-151-19/+58
| | | Optionally sends typing, presence, and read receipt information to appservices.
* Convert appservice to async. (#7973)Patrick Cloke2020-07-301-8/+11
|
* Refactor the Appservice scheduler codeRichard van der Hoff2019-08-201-4/+2
| | | | | | | | Get rid of the labyrinthine `recoverer_fn` code, and clean up the startup code (it seemed to be previously inexplicably split between `ApplicationServiceScheduler.start` and `_Recoverer.start`). Add some docstrings too.
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
|
* Run black.black2018-08-101-17/+11
|
* run isortAmber Brown2018-07-091-5/+10
|
* Fix a couple of logcontext leaks in unit testsRichard van der Hoff2018-05-021-2/+9
| | | | | | ... which were making other, innocent, tests, fail. Plus remove a spurious unittest.DEBUG which was making the output noisy.
* Clean up _ServiceQueuerErik Johnston2016-08-171-1/+1
|
* Fix flake8 warnings for testsMark Haines2016-02-191-2/+2
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Implement ServiceQueuer with tests.Kegan Dougal2015-03-161-7/+47
|
* Replace EventGrouper for ServiceQueuer to move to push-based txns. Fix tests ↵Kegan Dougal2015-03-161-73/+27
| | | | and add stub tests for ServiceQueuer.
* Minor PR comment tweaks.Kegan Dougal2015-03-161-5/+5
|
* Use seconds; start gluing in the AS scheduler into the AS handler.Kegan Dougal2015-03-091-5/+5
|
* Update UTsKegan Dougal2015-03-061-5/+5
|
* Apply clarity and docstringsKegan Dougal2015-03-061-1/+1
|
* Finish synapse.appservice.scheduler implementation.Kegan Dougal2015-03-061-2/+113
| | | | | With tests to assert behaviour. Not hooked up yet. Stub datastore methods not implemented yet.
* Flesh out more stub functions.Kegan Dougal2015-03-061-2/+3
|
* Add more tests; fix bugs.Kegan Dougal2015-03-061-7/+47
|
* Start adding some testsKegan Dougal2015-03-061-0/+106