Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Type hints for tests.appservice (#14990) | David Robertson | 2023-02-06 | 1 | -17/+38 |
| | | | | | | | | | | | | | | | | | | | | * Accept a Sequence of events in synapse.appservice This avoids some casts/ignores in the tests I'm about to fixup. It seems that `List[Mock]` is not a subtype of `List[EventBase]`, but `Sequence[Mock]` is a subtype of `Sequence[EventBase]`. So presumably `Mock` is considered a subtype of anything, much like `Any`. * make tests.appservice.test_scheduler pass mypy * Extra hints in tests.appservice.test_scheduler * Extra hints in tests.appservice.test_api * Extra hints in tests.appservice.test_appservice * Disallow untyped defs * Changelog | ||||
* | Check appservice user interest against the local users instead of all users ↵ | Eric Eastwood | 2022-10-27 | 1 | -5/+5 |
| | | | | (`get_users_in_room` mis-use) (#13958) | ||||
* | Remove remaining bits of groups code. (#12936) | Patrick Cloke | 2022-06-01 | 1 | -1/+0 |
| | | | | | | * Update worker docs to remove group endpoints. * Removes an unused parameter to `ApplicationService`. * Break dependency between media repo and groups. * Avoid copying `m.room.related_groups` state events during room upgrades. | ||||
* | Remove backing code for groups/communities (#12558) | Patrick Cloke | 2022-05-26 | 1 | -1/+1 |
| | | | | Including handlers, configuration code, appservice support, and the GroupID construct. | ||||
* | Rename various ApplicationServices interested methods (#11915) | Andrew Morgan | 2022-03-03 | 1 | -11/+34 |
| | |||||
* | 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 |
| | |||||
* | Add missing type hints to `synapse.appservice` (#11360) | Patrick Cloke | 2021-12-14 | 1 | -8/+3 |
| | |||||
* | 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>` | ||||
* | Use mock from the stdlib. (#9772) | Patrick Cloke | 2021-04-09 | 1 | -2/+1 |
| | |||||
* | 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. | ||||
* | Convert appservice to async. (#7973) | Patrick Cloke | 2020-07-30 | 1 | -28/+61 |
| | |||||
* | Run black. | black | 2018-08-10 | 1 | -60/+26 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -4/+5 |
| | |||||
* | 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 |
| | |||||
* | Fix flake8 warnings for tests | Mark Haines | 2016-02-19 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | 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 | 1 | -0/+58 |