Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check appservice user interest against the local users instead of all users ↵ | Eric Eastwood | 2022-10-27 | 1 | -2/+14 |
| | | | | (`get_users_in_room` mis-use) (#13958) | ||||
* | Remove remaining bits of groups code. (#12936) | Patrick Cloke | 2022-06-01 | 1 | -2/+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 | -41/+2 |
| | | | | Including handlers, configuration code, appservice support, and the GroupID construct. | ||||
* | MSC3202: Fix device_unused_fallback_keys -> device_unused_fallback_key_types ↵ | Will Hunt | 2022-04-22 | 1 | -1/+1 |
| | | | | | | | (#12520) * Fix device_unused_fallback_keys -> device_unused_fallback_key_types * changelog | ||||
* | Send device list updates to application services (MSC3202) - part 1 (#11881) | Andrew Morgan | 2022-03-30 | 1 | -1/+11 |
| | | | Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com> | ||||
* | Rename various ApplicationServices interested methods (#11915) | Andrew Morgan | 2022-03-03 | 1 | -42/+91 |
| | |||||
* | Add support for MSC3202: sending one-time key counts and fallback key usage ↵ | reivilibre | 2022-02-24 | 1 | -0/+16 |
| | | | | | 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 | -18/+5 |
| | | | | parameter (#11911) | ||||
* | Send to-device messages to application services (#11215) | Andrew Morgan | 2022-02-01 | 1 | -0/+3 |
| | | | 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 | -40/+61 |
| | |||||
* | Add type annotations to `tests.storage.test_appservice`. (#11488) | reivilibre | 2021-12-02 | 1 | -1/+2 |
| | |||||
* | 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>` | ||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -1/+4 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Tie together matches_user_in_member_list and get_users_in_room caches (#8676) | Will Hunt | 2020-10-29 | 1 | -4/+6 |
| | | | | | | | | | | | | | * Tie together matches_user_in_member_list and get_users_in_room * changelog * Remove type to fix mypy * Add `on_invalidate` to the function signature in the hopes that may make things work well * Remove **kwargs * Update 8676.bugfix | ||||
* | Add ability for access tokens to belong to one user but grant access to ↵ | Erik Johnston | 2020-10-29 | 1 | -2/+2 |
| | | | | | | | | | | 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. | ||||
* | Send some ephemeral events to appservices (#8437) | Will Hunt | 2020-10-15 | 1 | -62/+118 |
| | | | Optionally sends typing, presence, and read receipt information to appservices. | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -3/+3 |
| | |||||
* | Convert additional database code to async/await. (#8195) | Patrick Cloke | 2020-08-28 | 1 | -8/+11 |
| | |||||
* | Convert appservice to async. (#7973) | Patrick Cloke | 2020-07-30 | 1 | -18/+13 |
| | |||||
* | Replace all remaining six usage with native Python 3 equivalents (#7704) | Dagfinn Ilmari Mannsåker | 2020-06-16 | 1 | -3/+1 |
| | |||||
* | Fix a couple of small typos | Andrew Morgan | 2020-05-15 | 1 | -1/+1 |
| | |||||
* | rstrip slashes from url on appservice (#6306) | Will Hunt | 2019-10-31 | 1 | -1/+3 |
| | |||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -14/+14 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -18/+21 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -6/+6 |
| | |||||
* | add ip_range_whitelist parameter to limit where ASes can connect from | Matthew Hodgson | 2018-06-28 | 1 | -1/+3 |
| | |||||
* | also redact __str__ of ApplicationService used for logging | Michael Telatynski | 2018-06-06 | 1 | -1/+5 |
| | |||||
* | Replace some type checks with six type checks | Adrian Tschira | 2018-04-07 | 1 | -1/+3 |
| | | | | Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | Extract group_id from the dict for multiple use | Luke Barnard | 2017-11-16 | 1 | -4/+5 |
| | |||||
* | Remove unused GROUP_ID_REGEX | Luke Barnard | 2017-11-16 | 1 | -2/+0 |
| | |||||
* | Document get_groups_for_user | Luke Barnard | 2017-11-16 | 1 | -0/+6 |
| | |||||
* | Flake8 | Luke Barnard | 2017-11-16 | 1 | -1/+1 |
| | |||||
* | Use a generator instead of a list | Luke Barnard | 2017-11-16 | 1 | -2/+2 |
| | |||||
* | Check group_id belongs to this domain | Luke Barnard | 2017-11-16 | 1 | -3/+11 |
| | |||||
* | Add automagical AS Publicised Group(s) | Luke Barnard | 2017-11-16 | 1 | -0/+22 |
| | | | | | | | | | | | | | | | | via registration file "users" namespace: ```YAML ... namespaces: users: - exclusive: true regex: '.*luke.*' group_id: '+all_the_lukes:hsdomain' ... ``` This is part of giving App Services their own groups for matching users. With this, ghost users will be given the appeareance that they are in a group and that they have publicised the fact, but _only_ from the perspective of the `get_publicised_groups_for_user` API. | ||||
* | Make get_if_app_services_interested_in_user faster | Erik Johnston | 2017-05-18 | 1 | -0/+10 |
| | |||||
* | Add comment | Erik Johnston | 2017-03-29 | 1 | -1/+1 |
| | |||||
* | Cache whether an AS is interested based on members | Erik Johnston | 2017-03-28 | 1 | -1/+9 |
| | |||||
* | Remove param and cast at call site | Erik Johnston | 2017-03-28 | 1 | -8/+6 |
| | |||||
* | Compile the regex's used in ASes | Erik Johnston | 2017-03-28 | 1 | -9/+5 |
| | |||||
* | Add new API appservice specific public room list | Erik Johnston | 2016-12-06 | 1 | -0/+3 |
| | |||||
* | Allow Configurable Rate Limiting Per AS | Luke Barnard | 2016-10-18 | 1 | -1/+6 |
| | | | | This adds a flag loaded from the registration file of an AS that will determine whether or not its users are rate limited (by ratelimit in _base.py). Needed for IRC bridge reasons - see https://github.com/matrix-org/matrix-appservice-irc/issues/240. | ||||
* | Initial hack at the 3PN protocols metadata lookup API | Paul "LeoNerd" Evans | 2016-08-24 | 1 | -0/+2 |
| | |||||
* | Filter 3PU lookups by only ASes that declare knowledge of that protocol | Paul "LeoNerd" Evans | 2016-08-18 | 1 | -1/+8 |
| | |||||
* | Make notify_interested_services faster | Erik Johnston | 2016-08-17 | 1 | -39/+42 |
| | |||||
* | 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 | -3/+3 |
| | | | | it is cached | ||||
* | Fix more AS sender ID thinkos. | Kegan Dougal | 2015-04-01 | 1 | -1/+4 |
| | | | | | | Specifically, the ASes own user ID wasn't being treated as 'exclusive' so a human could nab it. Also, the HS would needlessly send user queries to the AS for its own user ID. | ||||
* | Merge branch 'develop' into application-services-registration-script | Kegan Dougal | 2015-04-01 | 1 | -1/+4 |
|\ | |||||
| * | Fix thinko whereby events *for the AS specifically* were not passed on. | Kegan Dougal | 2015-03-31 | 1 | -1/+4 |
| | | | | | | | | | | This was caused by not explicitly checking the service.sender field. This has now been fixed and a regression test has been added. | ||||
* | | Fix tests and missing returns on deferreds. | Kegan Dougal | 2015-03-31 | 1 | -1/+1 |
|/ | |||||
* | Assign the AS ID from the database; replace old placeholder txn id. | Kegan Dougal | 2015-03-06 | 1 | -2/+2 |
| | |||||
* | Finish synapse.appservice.scheduler implementation. | Kegan Dougal | 2015-03-06 | 1 | -0/+39 |
| | | | | | 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 | -0/+5 |
| | |||||
* | Add functions to return whether an AS has exclusively claimed a matching ↵ | Kegan Dougal | 2015-02-27 | 1 | -3/+20 |
| | | | | namespace. | ||||
* | Convert expected format for AS regex to include exclusivity. | Kegan Dougal | 2015-02-27 | 1 | -7/+19 |
| | | | | | Previously you just specified the regex as a string, now it expects a JSON object with a 'regex' key and an 'exclusive' boolean, as per spec. | ||||
* | Notify ASes for events sent by other users in a room which an AS user is a ↵ | Kegan Dougal | 2015-02-11 | 1 | -4/+13 |
| | | | | part of. | ||||
* | Register a user account for the AS when the AS registers. Add 'sender' ↵ | Kegan Dougal | 2015-02-09 | 1 | -1/+2 |
| | | | | column to AS table. | ||||
* | Fix user query checks. HS>AS pushing now works. | Kegan Dougal | 2015-02-05 | 1 | -8/+13 |
| | |||||
* | Glue AS work to general event notifications. Add more exception handling ↵ | Kegan Dougal | 2015-02-05 | 1 | -1/+1 |
| | | | | when poking ASes. | ||||
* | Add hs_token column and generate a different token f.e application service. | Kegan Dougal | 2015-02-05 | 1 | -2/+4 |
| | |||||
* | Begin to add unit tests for appservice glue and regex testing. | Kegan Dougal | 2015-02-04 | 1 | -2/+12 |
| | |||||
* | Add stub ApplicationServiceApi and glue it with the handler. | Kegan Dougal | 2015-02-04 | 1 | -1/+2 |
| | |||||
* | Add appservice package and move ApplicationService into it. | Kegan Dougal | 2015-02-03 | 1 | -0/+119 |