Commit Graph

44 Commits (08462620bfe9bb1ac0b62d8d207fa2db595622b1)

Author SHA1 Message Date
Richard van der Hoff b78395b7fe Refactor ResponseCache usage 7 years ago
Richard van der Hoff b3384232a0 Add metrics for ResponseCache 7 years ago
Erik Johnston 2a7e9faeec Do logcontexts outside ResponseCache 7 years ago
Erik Johnston 2bf5a47b3e Rename network_id to instance_id on client side 8 years ago
Erik Johnston 3727d66a0e Don't include appservice id 8 years ago
Erik Johnston f32fb65552 Add new API appservice specific public room list 8 years ago
Paul "LeoNerd" Evans 776594f99d Log if rejecting 3PE query metadata result due to type check 8 years ago
Paul "LeoNerd" Evans ed44c475d8 Reject malformed 3PE query metadata results earlier in AS API handling code 8 years ago
Kegan Dougal 572acde483 Use None instead of the empty string 8 years ago
Kegan Dougal 16b652f0a3 Flake8 8 years ago
Kegan Dougal e82247f990 Allow application services to have an optional 'url' 8 years ago
Paul "LeoNerd" Evans 9459137f1e Just sprintf the 'kind' argument into uri directly 8 years ago
Paul "LeoNerd" Evans 1294d4a329 Move ThirdPartyEntityKind into api.constants so the expectation becomes that the value is significant 8 years ago
Paul "LeoNerd" Evans e7af8be5ae Root the 3PE lookup API within /_matrix/app/unstable instead of at toplevel 8 years ago
Paul "LeoNerd" Evans adf53f04ce appease pep8 8 years ago
Paul "LeoNerd" Evans db7283cc6b Implement a ResponseCache around 3PE lookup metadata lookups 8 years ago
Paul "LeoNerd" Evans d0b8d49f71 Kill PROTOCOL_META since I'm not using it any more 8 years ago
Paul "LeoNerd" Evans 5474824975 Actually query over AS API for 3PE lookup metadata 8 years ago
Paul "LeoNerd" Evans 63c19e1df9 Move 3PU/3PL lookup APIs into /thirdparty containing entity 8 years ago
Paul "LeoNerd" Evans 65201631a4 Move validation logic for AS 3PE query response into ApplicationServiceApi class, to keep the handler logic neater 8 years ago
Paul "LeoNerd" Evans b515f844ee Avoid so much copypasta between 3PU and 3PL query by unifying around a ThirdPartyEntityKind enumeration 8 years ago
Paul "LeoNerd" Evans 2a91799fcc Minor syntax neatenings 8 years ago
Paul "LeoNerd" Evans 06964c4a0a Copypasta the 3PU support code to also do 3PL 8 years ago
Paul "LeoNerd" Evans 718ffcf8bb Since empty lookups now return 200/empty list not 404, we can safely log failures as exceptions 8 years ago
Paul "LeoNerd" Evans b3511adb92 Don't catch the return-value-as-exception that @defer.inlineCallbacks will use 8 years ago
Paul "LeoNerd" Evans 3ec10dffd6 Actually make 3PU lookup calls out to ASes 8 years ago
Paul "LeoNerd" Evans fa87c981e1 Thread 3PU lookup through as far as the AS API object; which currently noöps it 8 years ago
Mark Haines 7e2f971c08 Remove some unused functions (#711) 9 years ago
Daniel Wagner-Hall d83d004ccd Fix flake8 warnings for new flake8 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Kegan Dougal db1fbc6c6f Fix remaining scheduler bugs. Add more informative logging. 10 years ago
Kegan Dougal 04c9751f24 Bug fixes whilst putting it all together 10 years ago
Kegan Dougal be09c23ff0 Add txn_id kwarg to push methods 10 years ago
Kegan Dougal f518324426 Minor tweaks based on PR feedback. 10 years ago
Kegan Dougal fd40d992ad PEP8-ify 10 years ago
Kegan Dougal f7cac2f7b6 Fix bugs so lazy room joining works as intended. 10 years ago
Kegan Dougal 0613666d9c Serialize events before sending to ASes 10 years ago
Kegan Dougal 51d63ac329 Glue AS work to general event notifications. Add more exception handling when poking ASes. 10 years ago
Kegan Dougal 27091f146a Add hs_token column and generate a different token f.e application service. 10 years ago
Kegan Dougal a1a4960baf Impl push_bulk function 10 years ago
Kegan Dougal 6d3e4f4d0a Update user/alias query APIs to use new format of SimpleHttpClient.get_json 10 years ago
Kegan Dougal aa8cce58bf Add query_user/alias APIs. 10 years ago
Kegan Dougal 17753f0c20 Add stub ApplicationServiceApi and glue it with the handler. 10 years ago
Kegan Dougal 94a5db9f4d Add appservice package and move ApplicationService into it. 10 years ago
Mark Haines acb68a39e0 Code style fixes. 10 years ago
David Baker ede491b4e0 Oops: second part of commit dc938606 10 years ago
Mark Haines 97c68c508d Move rest APIs back under the rest directory 10 years ago
Mark Haines 1d2016b4a8 Move client v1 api rest servlets into a "client/v1" directory 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Matthew Hodgson 3e35a9f96e add in copyrights to everything, not just the synapse subdir, and add a copyrighter.pl whilst we're at it 10 years ago