Commit Graph

394 Commits (d0aee697ac0587c005bc1048f5036979331f1101)

Author SHA1 Message Date
Amber Brown 49af402019 run isort 6 years ago
Amber Brown 6350bf925e
Attempt to be more performant on PyPy (#3462) 7 years ago
Matthew Hodgson 0269367f18 allow non-consented users to still part rooms (to let us autopart them) 7 years ago
Amber Brown 07cad26d65
Remove all global reactor imports & pass it around explicitly (#3424) 7 years ago
Amber Brown 77ac14b960
Pass around the reactor explicitly (#3385) 7 years ago
Amber Brown a61738b316
Remove run_on_reactor (#3395) 7 years ago
Richard van der Hoff 4a9cbdbc15 Exempt AS-registered users from doing gdpr 7 years ago
Adrian Tschira 17a70cf6e9 Misc. py3 fixes 7 years ago
Richard van der Hoff 3ff6f50eac Use the localpart in the consent uri 7 years ago
Richard van der Hoff 82191b08f6 Support for putting %(consent_uri)s in messages 7 years ago
Richard van der Hoff a5e2941aad Reject attempts to send event before privacy consent is given 7 years ago
Erik Johnston 5f27ed75ad Make purge_history operate on tokens 7 years ago
Richard van der Hoff 33f469ba19 Apply some limits to depth to counter abuse 7 years ago
Richard van der Hoff 453adf00b6 pep8; remove spurious import 7 years ago
Richard van der Hoff 2a13af23bc Use run_in_background in preference to preserve_fn 7 years ago
Richard van der Hoff 6493b22b42 reraise exceptions more carefully 7 years ago
Richard van der Hoff 9255a6cb17 Improve exception handling for background processes 7 years ago
Richard van der Hoff 639480e14a Avoid creating events with huge numbers of prev_events 7 years ago
Erik Johnston f8e8ec013b Note why we're limiting concurrent event sends 7 years ago
Erik Johnston e5082494eb Limit concurrent event sends for a room 7 years ago
Richard van der Hoff 05630758f2 Use static JSONEncoders 7 years ago
Erik Johnston 926ba76e23 Replace ujson with simplejson 7 years ago
Erik Johnston d0fcc48f9d extra_users is actually a list of UserIDs 7 years ago
Richard van der Hoff e48c7aac4d Add transactional API to history purge 7 years ago
Richard van der Hoff 1708412f56 Return an error when doing two purges on a room 7 years ago
Richard van der Hoff f8bfcd7e0d Provide a means to pass a timestamp to purge_history 7 years ago
Erik Johnston f381d63813 Check event auth on the worker 7 years ago
Erik Johnston 6b8604239f Correctly send ratelimit and extra_users params 7 years ago
Erik Johnston f756f961ea Fixup comments 7 years ago
Erik Johnston 28e973ac11 Calculate push actions on worker 7 years ago
Erik Johnston b96278d6fe Ensure that we delete staging push actions on errors 7 years ago
Richard van der Hoff 74fcbf741b delete_local_events for purge_history 7 years ago
Richard van der Hoff 671540dccf rename delete_old_state -> purge_history 7 years ago
Erik Johnston 50fe92cd26 Move presence handling into handle_new_client_event 7 years ago
Erik Johnston 24dd73028a Add replication http endpoint for event sending 7 years ago
Erik Johnston e3624fad5f Remove pointless ratelimit check 7 years ago
Erik Johnston 3e1e69ccaf Update copyright 7 years ago
Erik Johnston 770b2252ca s/_create_new_client_event/create_new_client_event/ 7 years ago
Erik Johnston 5ff3d23564 Split event creation into a separate handler 7 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
David Baker b78bae2d51 fix isinstance 7 years ago
David Baker c3b7a45e84 Allow error strings from spam checker 7 years ago
Jeremy Cline cafb8de132
Unfreeze event before serializing with ujson 7 years ago
Erik Johnston 8090fd4664 Fix /joined_members to work with AS users 7 years ago
Erik Johnston adec03395d Fix bug where /joined_members didn't check user was in room 7 years ago
David Baker 6cd5fcd536 Make the spam checker a module 7 years ago
Richard van der Hoff 5ed109d59f PoC for filtering spammy events (#2456) 7 years ago
Erik Johnston bf81f3cf2c Split out profile handler to fix tests 7 years ago
Erik Johnston 5a7f561a9b Fix bug where pusherpool didn't start and broke some rooms 7 years ago
Erik Johnston 1bce3e6b35 Remove unused variables 8 years ago