Commit Graph

97 Commits (f44b7c022f6bc8b30cb8c446e0922b26b8b8eb5a)

Author SHA1 Message Date
Luke Barnard 7fb0e98b03 Extract group_id from the dict for multiple use 7 years ago
Luke Barnard d8391f0541 Remove unused GROUP_ID_REGEX 7 years ago
Luke Barnard 4e8374856d Document get_groups_for_user 7 years ago
Luke Barnard 270f9cd23a Flake8 7 years ago
Luke Barnard 9d83d52027 Use a generator instead of a list 7 years ago
Luke Barnard b1edf26051 Check group_id belongs to this domain 7 years ago
Luke Barnard 97bd18af4e Add automagical AS Publicised Group(s) 7 years ago
Erik Johnston 2a7e9faeec Do logcontexts outside ResponseCache 7 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
Erik Johnston 760625acba Make get_if_app_services_interested_in_user faster 8 years ago
Erik Johnston 69efd77749 Add comment 8 years ago
Erik Johnston 51b156d48a Cache whether an AS is interested based on members 8 years ago
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