Commit Graph

185 Commits (watcha-develop)

Author SHA1 Message Date
Brendan Abolivier 29ae04af3b
Remove unneeded type constraints on 3rd party protocol lookup responses 4 years ago
Will Hunt b37aa1643b Tie together matches_user_in_member_list and get_users_in_room caches (#8676) 4 years ago
Will Hunt 70269fbd18
Tie together matches_user_in_member_list and get_users_in_room caches (#8676) 4 years ago
Erik Johnston f21e24ffc2
Add ability for access tokens to belong to one user but grant access to another user. (#8616) 4 years ago
Will Hunt 70259d8c8c
Limit AS transactions to 100 events (#8606) 4 years ago
Will Hunt c276bd9969
Send some ephemeral events to appservices (#8437) 4 years ago
Patrick Cloke 1781bbe319
Add type hints to response cache. (#8507) 4 years ago
Richard van der Hoff 11c9e17738
Add type annotations to SimpleHttpClient (#8372) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Patrick Cloke 7d103a594e
Convert appservice code to async/await. (#8207) 4 years ago
Patrick Cloke 5c03134d0f
Convert additional database code to async/await. (#8195) 4 years ago
Patrick Cloke 88a3ff12f0
Convert the SimpleHttpClient to async. (#8016) 4 years ago
Patrick Cloke 4cce8ef74e
Convert appservice to async. (#7973) 4 years ago
Sorunome 1bca21e1da
Include room states on invite events sent to ASes (#6455) 4 years ago
Patrick Cloke 6d687ebba1
Convert the appservice handler to async/await. (#7775) 4 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Andrew Morgan 34a43f0084 Fix a couple of small typos 5 years ago
Andrew Morgan 3916e1b97a
Clean up newline quote marks around the codebase (#6362) 5 years ago
Will Hunt 42e707c663 rstrip slashes from url on appservice (#6306) 5 years ago
Andrew Morgan 2a44782666
Remove double return statements (#5962) 5 years ago
Richard van der Hoff baa3f4a80d
Avoid deep recursion in appservice recovery (#5885) 5 years ago
Richard van der Hoff 5019945828 Refactor the Appservice scheduler code 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff 52e87fbfbe
Run the AS senders as background processes (#4189) 6 years ago
Amber Brown 2d2828dcbc
Port http/ to Python 3 (#3771) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Matthew Hodgson f4f1cda928 add ip_range_whitelist parameter to limit where ASes can connect from 7 years ago
Michael Telatynski 592c162516
also redact __str__ of ApplicationService used for logging 7 years ago
Will Hunt d6e3c2c79b Let's try labels instead of label, that might work 7 years ago
Will Hunt 604cff1a06 Add metrics to track appservice transactions 7 years ago
Richard van der Hoff 2a13af23bc Use run_in_background in preference to preserve_fn 7 years ago
Richard van der Hoff 9255a6cb17 Improve exception handling for background processes 7 years ago
Richard van der Hoff b78395b7fe Refactor ResponseCache usage 7 years ago
Richard van der Hoff b3384232a0 Add metrics for ResponseCache 7 years ago
Adrian Tschira e54c202b81 Replace some type checks with six type checks 7 years ago
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