Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename various ApplicationServices interested methods (#11915) | Andrew Morgan | 2022-03-03 | 1 | -11/+34 |
| | |||||
* | Replace assertEquals and friends with non-deprecated versions. (#12092) | Patrick Cloke | 2022-02-28 | 1 | -31/+31 |
| | |||||
* | Add support for MSC3202: sending one-time key counts and fallback key usage ↵ | reivilibre | 2022-02-24 | 1 | -16/+39 |
| | | | | | states to Application Services. (#11617) Co-authored-by: Erik Johnston <erik@matrix.org> | ||||
* | Remove optional state of `ApplicationService.is_interested`'s `store` ↵ | Andrew Morgan | 2022-02-07 | 1 | -6/+32 |
| | | | | parameter (#11911) | ||||
* | Convert `ApplicationServiceTestCase` to use `simple_async_mock` (#11880) | Andrew Morgan | 2022-02-01 | 1 | -10/+9 |
| | |||||
* | Send to-device messages to application services (#11215) | Andrew Morgan | 2022-02-01 | 1 | -48/+61 |
| | | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | Add missing type hints to `synapse.appservice` (#11360) | Patrick Cloke | 2021-12-14 | 1 | -8/+3 |
| | |||||
* | Fix errors in Synapse logs from unit tests. (#10939) | Patrick Cloke | 2021-09-30 | 1 | -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 Jong | 2021-04-14 | 3 | -3/+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 Cloke | 2021-04-09 | 2 | -3/+2 |
| | |||||
* | Add ability for access tokens to belong to one user but grant access to ↵ | Erik Johnston | 2020-10-29 | 1 | -0/+1 |
| | | | | | | | | | | another user. (#8616) We do it this way round so that only the "owner" can delete the access token (i.e. `/logout/all` by the "owner" also deletes that token, but `/logout/all` by the "target user" doesn't). A future PR will add an API for creating such a token. When the target user and authenticated entity are different the `Processed request` log line will be logged with a: `{@admin:server as @bob:server} ...`. I'm not convinced by that format (especially since it adds spaces in there, making it harder to use `cut -d ' '` to chop off the start of log lines). Suggestions welcome. | ||||
* | Limit AS transactions to 100 events (#8606) | Will Hunt | 2020-10-21 | 1 | -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 Hunt | 2020-10-15 | 1 | -19/+58 |
| | | | Optionally sends typing, presence, and read receipt information to appservices. | ||||
* | Convert appservice to async. (#7973) | Patrick Cloke | 2020-07-30 | 2 | -36/+72 |
| | |||||
* | Refactor the Appservice scheduler code | Richard van der Hoff | 2019-08-20 | 1 | -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 Brown | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | Run black. | black | 2018-08-10 | 2 | -77/+37 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 2 | -9/+15 |
| | |||||
* | Fix a couple of logcontext leaks in unit tests | Richard van der Hoff | 2018-05-02 | 1 | -2/+9 |
| | | | | | | ... which were making other, innocent, tests, fail. Plus remove a spurious unittest.DEBUG which was making the output noisy. | ||||
* | Add extra space before inline comment | Luke Barnard | 2017-11-16 | 1 | -1/+1 |
| | |||||
* | Fix tests | Luke Barnard | 2017-11-16 | 1 | -0/+1 |
| | |||||
* | Compile the regex's used in ASes | Erik Johnston | 2017-03-28 | 1 | -1/+3 |
| | |||||
* | Make notify_interested_services faster | Erik Johnston | 2016-08-17 | 1 | -65/+44 |
| | |||||
* | Clean up _ServiceQueuer | Erik Johnston | 2016-08-17 | 1 | -1/+1 |
| | |||||
* | Fix flake8 warnings for tests | Mark Haines | 2016-02-19 | 2 | -3/+3 |
| | |||||
* | Require ID and as_token be unique for ASs | Daniel Wagner-Hall | 2016-01-14 | 1 | -0/+1 |
| | | | | | Defaults ID to as_token if not specified. This will change when IDs are fully supported. | ||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 3 | -3/+3 |
| | |||||
* | Make the appservice use 'users_in_room' rather than get_room_members since ↵ | Mark Haines | 2015-05-22 | 1 | -12/+3 |
| | | | | it is cached | ||||
* | Fix thinko whereby events *for the AS specifically* were not passed on. | Kegan Dougal | 2015-03-31 | 1 | -0/+13 |
| | | | | | This was caused by not explicitly checking the service.sender field. This has now been fixed and a regression test has been added. | ||||
* | Implement ServiceQueuer with tests. | Kegan Dougal | 2015-03-16 | 1 | -7/+47 |
| | |||||
* | Replace EventGrouper for ServiceQueuer to move to push-based txns. Fix tests ↵ | Kegan Dougal | 2015-03-16 | 1 | -73/+27 |
| | | | | and add stub tests for ServiceQueuer. | ||||
* | Minor PR comment tweaks. | Kegan Dougal | 2015-03-16 | 1 | -5/+5 |
| | |||||
* | Use seconds; start gluing in the AS scheduler into the AS handler. | Kegan Dougal | 2015-03-09 | 1 | -5/+5 |
| | |||||
* | Update UTs | Kegan Dougal | 2015-03-06 | 1 | -5/+5 |
| | |||||
* | Apply clarity and docstrings | Kegan Dougal | 2015-03-06 | 1 | -1/+1 |
| | |||||
* | Finish synapse.appservice.scheduler implementation. | Kegan Dougal | 2015-03-06 | 1 | -2/+113 |
| | | | | | With tests to assert behaviour. Not hooked up yet. Stub datastore methods not implemented yet. | ||||
* | Flesh out more stub functions. | Kegan Dougal | 2015-03-06 | 1 | -2/+3 |
| | |||||
* | Add more tests; fix bugs. | Kegan Dougal | 2015-03-06 | 1 | -7/+47 |
| | |||||
* | Start adding some tests | Kegan Dougal | 2015-03-06 | 1 | -0/+106 |
| | |||||
* | Add more unit tests for exclusive namespaces. | Kegan Dougal | 2015-02-27 | 1 | -1/+49 |
| | |||||
* | Update unit tests to use new format. | Kegan Dougal | 2015-02-27 | 1 | -16/+23 |
| | |||||
* | Notify ASes for events sent by other users in a room which an AS user is a ↵ | Kegan Dougal | 2015-02-11 | 1 | -0/+25 |
| | | | | part of. | ||||
* | Fix bug in store defer. Add more unit tests. | Kegan Dougal | 2015-02-04 | 1 | -0/+87 |
| | |||||
* | Begin to add unit tests for appservice glue and regex testing. | Kegan Dougal | 2015-02-04 | 2 | -0/+72 |