Commit Graph

185 Commits (watcha-develop)

Author SHA1 Message Date
Erik Johnston 30f5ffdca2 Remove param and cast at call site 8 years ago
Erik Johnston 650f0e69f2 Compile the regex's used in ASes 8 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
Luke Barnard 5b54d51d1e Allow Configurable Rate Limiting Per AS 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 9899824b85 Initial hack at the 3PN protocols metadata lookup API 8 years ago
Erik Johnston 9219139351 Preserve some logcontexts 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 434bbf2cb5 Filter 3PU lookups by only ASes that declare knowledge of that protocol 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
Erik Johnston 320dfe523c Make notify_interested_services faster 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
Matrix f743471380 Change name of metric 8 years ago
Erik Johnston b9e888858c Move Measure block inside loop 8 years ago
Erik Johnston 7321f45457 Clean up _ServiceQueuer 8 years ago
Mark Haines c626fc576a Move the AS handler out of the Handlers object. 9 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 4dec901c76 Cap the time to retry txns to appservices to 8.5 minutes 9 years ago
Mark Haines f43544eecc Make the appservice use 'users_in_room' rather than get_room_members since it is cached 10 years ago
Kegan Dougal 813e54bd5b Fix more AS sender ID thinkos. 10 years ago
Kegan Dougal 09cbff174a Fix thinko whereby events *for the AS specifically* were not passed on. 10 years ago
Kegan Dougal b59aa74556 Fix tests and missing returns on deferreds. 10 years ago
Kegan Dougal 32206dde3f Fixes from PR comments 10 years ago
Kegan Dougal d04fa1f712 Implement ServiceQueuer with tests. 10 years ago
Kegan Dougal 6279285b2a Replace EventGrouper for ServiceQueuer to move to push-based txns. Fix tests and add stub tests for ServiceQueuer. 10 years ago
Kegan Dougal c9c444f562 Wrap polling/retry blocks in try/excepts to avoid sending to other ASes breaking permanently should an error occur. 10 years ago
Kegan Dougal 835e01fc70 Minor PR comment tweaks. 10 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