summary refs log tree commit diff
path: root/synapse/appservice/api.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace returnValue with return (#5736)Amber Brown2019-07-231-19/+19
|
* Run Black. (#5482)Amber Brown2019-06-201-40/+26
|
* Port http/ to Python 3 (#3771)Amber Brown2018-09-061-6/+7
|
* run isortAmber Brown2018-07-091-7/+7
|
* Let's try labels instead of label, that might workWill Hunt2018-06-051-3/+3
|
* Add metrics to track appservice transactionsWill Hunt2018-06-051-0/+22
|
* Refactor ResponseCache usageRichard van der Hoff2018-04-121-7/+1
| | | | | | | | | | | | | | | Adds a `.wrap` method to ResponseCache which wraps up the boilerplate of a (get, set) pair, and then use it throughout the codebase. This will be largely non-functional, but does include the following functional changes: * federation_server.on_context_state_request: drops use of _server_linearizer which looked redundant and could cause incorrect cache misses by yielding between the get and the set. * RoomListHandler.get_remote_public_room_list(): fixes logcontext leaks * the wrap function includes some logging. I'm hoping this won't be too noisy on production.
* Add metrics for ResponseCacheRichard van der Hoff2018-04-101-1/+2
|
* Do logcontexts outside ResponseCacheErik Johnston2017-10-251-3/+7
|
* Rename network_id to instance_id on client sideErik Johnston2016-12-121-1/+1
|
* Don't include appservice idErik Johnston2016-12-061-1/+0
|
* Add new API appservice specific public room listErik Johnston2016-12-061-0/+9
|
* Log if rejecting 3PE query metadata result due to type checkPaul "LeoNerd" Evans2016-09-091-4/+11
|
* Reject malformed 3PE query metadata results earlier in AS API handling codePaul "LeoNerd" Evans2016-09-091-2/+10
|
* Use None instead of the empty stringKegan Dougal2016-08-301-5/+5
| | | | Change how we validate the 'url' field as a result.
* Flake8Kegan Dougal2016-08-301-0/+1
|
* Allow application services to have an optional 'url'Kegan Dougal2016-08-301-0/+11
| | | | | | If 'url' is not specified, they will not be pushed for events or queries. This is useful for bots who simply wish to reserve large chunks of user/alias namespace, and don't care about being pushed for events.
* Just sprintf the 'kind' argument into uri directlyPaul "LeoNerd" Evans2016-08-251-3/+1
|
* Move ThirdPartyEntityKind into api.constants so the expectation becomes that ↵Paul "LeoNerd" Evans2016-08-251-1/+1
| | | | the value is significant
* Root the 3PE lookup API within /_matrix/app/unstable instead of at toplevelPaul "LeoNerd" Evans2016-08-251-3/+16
|
* appease pep8Paul "LeoNerd" Evans2016-08-251-3/+2
|
* Implement a ResponseCache around 3PE lookup metadata lookupsPaul "LeoNerd" Evans2016-08-251-11/+21
|
* Kill PROTOCOL_META since I'm not using it any morePaul "LeoNerd" Evans2016-08-251-7/+0
|
* Actually query over AS API for 3PE lookup metadataPaul "LeoNerd" Evans2016-08-251-0/+20
|
* Move 3PU/3PL lookup APIs into /thirdparty containing entityPaul "LeoNerd" Evans2016-08-241-2/+2
|
* Move validation logic for AS 3PE query response into ApplicationServiceApi ↵Paul "LeoNerd" Evans2016-08-181-1/+42
| | | | class, to keep the handler logic neater
* Avoid so much copypasta between 3PU and 3PL query by unifying around a ↵Paul "LeoNerd" Evans2016-08-181-14/+11
| | | | ThirdPartyEntityKind enumeration
* Minor syntax neateningsPaul "LeoNerd" Evans2016-08-181-2/+2
|
* Copypasta the 3PU support code to also do 3PLPaul "LeoNerd" Evans2016-08-181-0/+11
|
* Since empty lookups now return 200/empty list not 404, we can safely log ↵Paul "LeoNerd" Evans2016-08-181-3/+2
| | | | failures as exceptions
* Don't catch the return-value-as-exception that @defer.inlineCallbacks will usePaul "LeoNerd" Evans2016-08-181-1/+1
|
* Actually make 3PU lookup calls out to ASesPaul "LeoNerd" Evans2016-08-181-1/+10
|
* Thread 3PU lookup through as far as the AS API object; which currently noöps itPaul "LeoNerd" Evans2016-08-171-0/+3
|
* Remove some unused functions (#711)Mark Haines2016-04-081-5/+0
| | | | | | | | * Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Fix remaining scheduler bugs. Add more informative logging.Kegan Dougal2015-03-101-5/+3
|
* Bug fixes whilst putting it all togetherKegan Dougal2015-03-091-0/+1
|
* Add txn_id kwarg to push methodsKegan Dougal2015-03-051-4/+9
|
* Minor tweaks based on PR feedback.Kegan Dougal2015-02-111-3/+3
|
* PEP8-ifyKegan Dougal2015-02-111-2/+0
|
* Fix bugs so lazy room joining works as intended.Kegan Dougal2015-02-091-3/+3
|
* Serialize events before sending to ASesKegan Dougal2015-02-051-0/+10
|
* Glue AS work to general event notifications. Add more exception handling ↵Kegan Dougal2015-02-051-1/+10
| | | | when poking ASes.
* Add hs_token column and generate a different token f.e application service.Kegan Dougal2015-02-051-4/+4
|
* Impl push_bulk functionKegan Dougal2015-02-051-1/+18
|
* Update user/alias query APIs to use new format of SimpleHttpClient.get_jsonKegan Dougal2015-02-041-8/+7
|
* Add query_user/alias APIs.Kegan Dougal2015-02-041-4/+43
|
* Add stub ApplicationServiceApi and glue it with the handler.Kegan Dougal2015-02-041-0/+21
|
* Add appservice package and move ApplicationService into it.Kegan Dougal2015-02-031-0/+15