Commit Graph

134 Commits (00f51493f5726210bf649889ed3c03b56fddbe1d)

Author SHA1 Message Date
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
Daniel Wagner-Hall b4022cc487 Pass whole requester to ratelimiting 9 years ago
Richard van der Hoff 863d3f26b3 fix pyflakes quibble 9 years ago
Richard van der Hoff 9ff940a0ef Address review comments 9 years ago
Richard van der Hoff 05ea111c47 Fix pyflakes warning 9 years ago
Richard van der Hoff 8a1d3b86af Handle rejections of invites from local users locally 9 years ago
David Baker 0f0b011440 Send the invier's member event in room invite state so the invitee has their display name and avatar. 9 years ago
Patrik Oldsberg 210b7d8e00 handlers/_base: don't allow room create event to be changed 9 years ago
Richard van der Hoff 5be3944730 address review comments 9 years ago
Richard van der Hoff 6c5b147a39 Interpret unknown visibilities the same as shared 9 years ago
Richard van der Hoff b71ca2b014 Allow guest users access to messages in rooms they have joined 9 years ago
Daniel Wagner-Hall f8d21e1431 Review comments 9 years ago
Daniel Wagner-Hall a4e278bfe7 Respond to federated invite with non-empty context 9 years ago
Daniel Wagner-Hall 1bbb67c452 Use update_membership to kick guests 9 years ago
Daniel Wagner-Hall e71095801f Merge implementation of /join by alias or ID 9 years ago
Erik Johnston 7b0d846407 Atomically persit push actions when we persist the event 9 years ago
Erik Johnston f28cc45183 Pass in current state to push action handler 9 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago
Daniel Wagner-Hall d83d004ccd Fix flake8 warnings for new flake8 9 years ago
Daniel Wagner-Hall da417aa56d Allow non-guests to peek on rooms using /events 9 years ago
Erik Johnston 892ee473d9 Don't use form of get_state_for_events with None state_key 9 years ago
Erik Johnston 5a7d1ecffc Add regex cache. Only caculate push actions for users that have sent read receipts, and are on that server 9 years ago
Erik Johnston cc66a9a5e3 Allow filtering events for multiple users at once 9 years ago
Daniel Wagner-Hall b5ce4f0427 Remove unused parameters 9 years ago
Daniel Wagner-Hall 93afb40cd4 Skip, rather than erroring, invalid guest requests 9 years ago
David Baker c79f221192 Add is_guest flag to users db to track whether a user is a guest user or not. Use this so we can run _filter_events_for_client when calculating event_push_actions. 9 years ago
Daniel Wagner-Hall 2ef6de928d Skip, rather than erroring, invalid guest requests 9 years ago
David Baker 3051c9d002 Address minor PR issues 9 years ago
David Baker f73f154ec2 Only run pushers for users on this hs! 9 years ago
David Baker 21f135ba76 Very first cut of calculating actions for events as they come in. Doesn't store them yet. Not very efficient. 9 years ago
Daniel Wagner-Hall 9da4c5340d Simplify code 9 years ago
Daniel Wagner-Hall bed7889703 Apply forgetting properly to historical events 9 years ago