summary refs log tree commit diff
path: root/tests/appservice/test_api.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Send the opentracing span information to appservices (#16227)Marcel2023-09-061-6/+12
|
* Bump mypy-zope & mypy. (#16188)Patrick Cloke2023-08-291-3/+3
|
* Move support for application service query parameter authorization behind a ↵Shay2023-08-031-4/+81
| | | | configuration option (#16017)
* Remove support for legacy application service paths (#15964)Shay2023-07-261-53/+0
|
* Add support for claiming multiple OTKs at once. (#15468)Patrick Cloke2023-04-271-6/+5
| | | | | | | MSC3983 provides a way to request multiple OTKs at once from appservices, this extends this concept to the Client-Server API. Note that this will likely be spit out into a separate MSC, but is currently part of MSC3983.
* Call appservices on modern paths, falling back to legacy paths. (#15317)Patrick Cloke2023-04-031-2/+55
| | | | | This uses the specced /_matrix/app/v1/... paths instead of the "legacy" paths. If the homeserver receives an error it will retry using the legacy path.
* Implement MSC3983 to proxy /keys/claim queries to appservices. (#15314)Patrick Cloke2023-03-281-0/+59
| | | | | | Experimental support for MSC3983 is behind a configuration flag. If enabled, for users which are exclusively owned by an application service then the appservice will be queried for one-time keys *if* there are none uploaded to Synapse.
* Type hints for tests.appservice (#14990)David Robertson2023-02-061-2/+2
| | | | | | | | | | | | | | | | | | | | * 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
* Fix incorrectly sending authentication tokens to application service as ↵David Robertson2022-10-261-3/+5
| | | | headers (#14301)
* Send the appservice access token as a header. (#13996)Patrick Cloke2022-10-041-2/+6
| | | | | | | | | Implements MSC2832 by sending application service access tokens in the Authorization header. The access token is also still sent as a query parameter until the application service ecosystem has fully migrated to using headers. In the future this could be made opt-in, or removed completely.
* Remove remaining bits of groups code. (#12936)Patrick Cloke2022-06-011-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.
* Add authentication to thirdparty bridge APIs (#12746)Will Hunt2022-05-241-0/+102
Co-authored-by: Brendan Abolivier <babolivier@matrix.org>