summary refs log tree commit diff
path: root/synapse/appservice/__init__.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Convert appservice to async. (#7973)Patrick Cloke2020-07-301-18/+13
|
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-3/+1
|
* Fix a couple of small typosAndrew Morgan2020-05-151-1/+1
|
* rstrip slashes from url on appservice (#6306)Will Hunt2019-10-311-1/+3
|
* Replace returnValue with return (#5736)Amber Brown2019-07-231-14/+14
|
* Run Black. (#5482)Amber Brown2019-06-201-18/+21
|
* run isortAmber Brown2018-07-091-6/+6
|
* add ip_range_whitelist parameter to limit where ASes can connect fromMatthew Hodgson2018-06-281-1/+3
|
* also redact __str__ of ApplicationService used for loggingMichael Telatynski2018-06-061-1/+5
|
* Replace some type checks with six type checksAdrian Tschira2018-04-071-1/+3
| | | | Signed-off-by: Adrian Tschira <nota@notafile.com>
* Extract group_id from the dict for multiple useLuke Barnard2017-11-161-4/+5
|
* Remove unused GROUP_ID_REGEXLuke Barnard2017-11-161-2/+0
|
* Document get_groups_for_userLuke Barnard2017-11-161-0/+6
|
* Flake8Luke Barnard2017-11-161-1/+1
|
* Use a generator instead of a listLuke Barnard2017-11-161-2/+2
|
* Check group_id belongs to this domainLuke Barnard2017-11-161-3/+11
|
* Add automagical AS Publicised Group(s)Luke Barnard2017-11-161-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 fasterErik Johnston2017-05-181-0/+10
|
* Add commentErik Johnston2017-03-291-1/+1
|
* Cache whether an AS is interested based on membersErik Johnston2017-03-281-1/+9
|
* Remove param and cast at call siteErik Johnston2017-03-281-8/+6
|
* Compile the regex's used in ASesErik Johnston2017-03-281-9/+5
|
* Add new API appservice specific public room listErik Johnston2016-12-061-0/+3
|
* Allow Configurable Rate Limiting Per ASLuke Barnard2016-10-181-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 APIPaul "LeoNerd" Evans2016-08-241-0/+2
|
* Filter 3PU lookups by only ASes that declare knowledge of that protocolPaul "LeoNerd" Evans2016-08-181-1/+8
|
* Make notify_interested_services fasterErik Johnston2016-08-171-39/+42
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Make the appservice use 'users_in_room' rather than get_room_members since ↵Mark Haines2015-05-221-3/+3
| | | | it is cached
* Fix more AS sender ID thinkos.Kegan Dougal2015-04-011-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-scriptKegan Dougal2015-04-011-1/+4
|\
| * Fix thinko whereby events *for the AS specifically* were not passed on.Kegan Dougal2015-03-311-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 Dougal2015-03-311-1/+1
|/
* Assign the AS ID from the database; replace old placeholder txn id.Kegan Dougal2015-03-061-2/+2
|
* Finish synapse.appservice.scheduler implementation.Kegan Dougal2015-03-061-0/+39
| | | | | With tests to assert behaviour. Not hooked up yet. Stub datastore methods not implemented yet.
* Flesh out more stub functions.Kegan Dougal2015-03-061-0/+5
|
* Add functions to return whether an AS has exclusively claimed a matching ↵Kegan Dougal2015-02-271-3/+20
| | | | namespace.
* Convert expected format for AS regex to include exclusivity.Kegan Dougal2015-02-271-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 Dougal2015-02-111-4/+13
| | | | part of.
* Register a user account for the AS when the AS registers. Add 'sender' ↵Kegan Dougal2015-02-091-1/+2
| | | | column to AS table.
* Fix user query checks. HS>AS pushing now works.Kegan Dougal2015-02-051-8/+13
|
* Glue AS work to general event notifications. Add more exception handling ↵Kegan Dougal2015-02-051-1/+1
| | | | when poking ASes.
* Add hs_token column and generate a different token f.e application service.Kegan Dougal2015-02-051-2/+4
|
* Begin to add unit tests for appservice glue and regex testing.Kegan Dougal2015-02-041-2/+12
|
* Add stub ApplicationServiceApi and glue it with the handler.Kegan Dougal2015-02-041-1/+2
|
* Add appservice package and move ApplicationService into it.Kegan Dougal2015-02-031-0/+119