Commit Graph

163 Commits (7adcb20fc02d614b4a2b03b128b279f25633e2bd)

Author SHA1 Message Date
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Erik Johnston 963f4309fe
Make RateLimiter class check for ratelimit overrides (#9711) 4 years ago
Patrick Cloke b7748d3c00
Import HomeServer from the proper module. (#9665) 4 years ago
Richard van der Hoff 36ba73f53d
Simplify the flow for SSO UIA (#8881) 4 years ago
Erik Johnston f737368a26
Add admin API for logging in as a user (#8617) 4 years ago
Patrick Cloke de5cafe980
Add type hints to profile and base handlers. (#8609) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Patrick Cloke 6fca1b3506
Convert _base, profile, and _receipts handlers to async/await (#7860) 4 years ago
Richard van der Hoff a973bcb8a4
Add some tiny type annotations (#7870) 4 years ago
Andrew Morgan f4e6495b5d
Performance improvements and refactor of Ratelimiter (#7595) 5 years ago
Andrew Morgan 6b22921b19
async/await is_server_admin (#7363) 5 years ago
Erik Johnston fa780e9721
Change EventContext to use the Storage class (#6564) 5 years ago
Erik Johnston 57dd41a45b
Fix comments 5 years ago
Erik Johnston 54ce81c86d Allow use of different ratelimits for admin redactions. 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Amber Brown f1e5b41388
Make all the rate limiting options more consistent (#5181) 6 years ago
Erik Johnston aa959a6c07 Use flags 6 years ago
Brendan Abolivier f4195f4118 Revert "Split ratelimiters in two (one for events, one for registration)" 6 years ago
Brendan Abolivier d7dbad3526 Split ratelimiters in two (one for events, one for registration) 6 years ago
Brendan Abolivier a4c3a361b7
Add rate-limiting on registration (#4735) 6 years ago
Erik Johnston 32e54b472a Fix kicking guest users in worker mode 6 years ago
Erik Johnston e42510ba63 Use new getters 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Amber Brown c936a52a9e
Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy (#3307) 7 years ago
Erik Johnston 784f036306 Move RoomMemberHandler out of Handlers 7 years ago
Erik Johnston b990b2fce5 Add per user ratelimiting overrides 8 years ago
Erik Johnston a55fa2047f Insert delta of current_state_events to be more efficient 8 years ago
Luke Barnard f09db236b1 as_user->app_service, less redundant comments, better positioned comments 8 years ago
Luke Barnard 1b17d1a106 Use real AS object by passing it through the requester 8 years ago
Luke Barnard 5b54d51d1e Allow Configurable Rate Limiting Per AS 8 years ago
Patrik Oldsberg 2ff2d36b80 handers: do not ratelimit app service senders 8 years ago
Erik Johnston a3dc1e9cbe Replace context.current_state with context.current_state_ids 8 years ago
Richard van der Hoff eb359eced4 Add `create_requester` function 8 years ago
Richard van der Hoff 3413f1e284 Type annotations 8 years ago
Richard van der Hoff 6344db659f Fix a doc-comment 8 years ago
Mark Haines 7e23476814 move filter_events_for_client out of base handler 9 years ago
Mark Haines 30057b1e15 Move _create_new_client_event and handle_new_client_event out of base handler 9 years ago
Erik Johnston 08dfa8eee2 Add and use get_domian_from_id 9 years ago
Erik Johnston 1f0f5ffa1e Add bulk fetch storage API 9 years ago
Erik Johnston a438a6d2bc Implement basic ignore user 9 years ago
David Baker 424a7f48f8 Run filter_events_for_client 9 years ago
Erik Johnston c53f9d561e Don't auto log failed auth checks 9 years ago
David Baker 7e2c89a37f Make pushers use the event_push_actions table instead of listening on an event stream & running the rules again. Sytest passes, but remaining to do: 9 years ago
Richard van der Hoff 1e05637e37 Let users see their own leave events 9 years ago
Erik Johnston d76d89323c Use computed prev event ids 9 years ago
Erik Johnston aa82cb38e9 Remove state hack from _create_new_client_event 9 years ago
Mark Haines 2a37467fa1 Use google style doc strings. 9 years ago
Mark Haines dc4c1579d4 Remove outlier parameter from compute_event_context 9 years ago
Erik Johnston 2ab0bf4b97 Send history visibility on boundary changes 9 years ago
Patrik Oldsberg 5fc59f009c config,handlers/_base: added homeserver config for what state is included in a room invite 9 years ago