Commit Graph

69 Commits (d1c7c2a98a133bdae7747601699a6b9ae0f90c8b)

Author SHA1 Message Date
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Erik Johnston 2ebeda48b2 Add test 6 years ago
Erik Johnston 5bec8d660d Make starting pushers faster during start up 6 years ago
Erik Johnston b82c9cf462 Add missing return 6 years ago
Erik Johnston f2891d2487 Correctly handle PusherConfigException 6 years ago
Richard van der Hoff 0abb094f1a
bail out early in on_new_receipts if no pushers (#4706) 6 years ago
Richard van der Hoff c573794b22 Fix start_pushers vs _start_pushers confusion 6 years ago
Richard van der Hoff 026cd91ac8 Run PusherPool.start as a background process 6 years ago
Richard van der Hoff f749607c91 Make on_started synchronous too 6 years ago
Richard van der Hoff e7a16c6210 Remove redundant run_as_background_process() from pusherpool 6 years ago
Richard van der Hoff 5110f4e425 move get_all_pushers call down 6 years ago
Richard van der Hoff 04277d0ed8 Factor PusherPool._start_pusher out of _start_pushers 6 years ago
Richard van der Hoff 3e8b02c939 Rename _refresh_pusher 6 years ago
Richard van der Hoff 66f7dc8c87 Fix logcontexts for running pushers 6 years ago
Amber Brown a61738b316
Remove run_on_reactor (#3395) 7 years ago
Richard van der Hoff 2a13af23bc Use run_in_background in preference to preserve_fn 7 years ago
Richard van der Hoff 605defb9e4 Add missing consumeErrors 7 years ago
Richard van der Hoff 2c6d63922a Remove pushers when deleting access tokens 7 years ago
Richard van der Hoff 7e6fa29cb5 Remove preserve_context_over_{fn, deferred} 7 years ago
Richard van der Hoff eaaabc6c4f replace 'except:' with 'except Exception:' 7 years ago
Erik Johnston 11c2a3655f Only load jinja2 templates once 8 years ago
Erik Johnston 9219139351 Preserve some logcontexts 8 years ago
Erik Johnston dc3a00f24f Refactor user_delete_access_tokens. Invalidate get_user_by_access_token to slaves. 8 years ago
David Baker e6bffa4475 Unused import 9 years ago
David Baker 92f0f3d21d Catch all exceptions when creating a pusher 9 years ago
David Baker b2c04da8dc Add an email pusher for new users 9 years ago
Mark Haines a3ac837599 Optionally split out the pushers into a separate process 9 years ago
David Baker 65141161f6 Unused member variable 9 years ago
David Baker 6ec02e9ecf indenting 9 years ago
David Baker 25cd5bb697 defer.gatherResults rather than doing all the pokes in series 9 years ago
David Baker 92e3071623 Send badge count pushes. 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
David Baker af59826a2f Make select more sensible when dseleting access tokens, rename pusher deletion to match access token deletion and make exception arg optional. 9 years ago
David Baker aa11db5f11 Fix cache invalidation so deleting access tokens (which we did when changing password) actually takes effect without HS restart. Reinstate the code to avoid logging out the session that changed the password, removed in 415c2f0549 9 years ago
Mark Haines 7076082ae6 Fix relative imports so they work in both py3 and py27 9 years ago
Mark Haines b9977ea667 Remove dead code for setting device specific rules. 9 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago
David Baker 12623c99b6 Use the unread notification count to send accurate badge counts in push notifications. 9 years ago
Mark Haines 9c1f853d58 Rename 'user_name' to 'user_id' in push to make it consistent with the rest of the code 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Daniel Wagner-Hall 415c2f0549 Simplify LoginHander and AuthHandler 9 years ago
Erik Johnston 3e71d13acf Also log when we've started pushers 10 years ago
Erik Johnston c27d6ad6b5 Only start pushers when synapse has fully started 10 years ago
Erik Johnston 46daf2d200 Start pushers on reactor thread 10 years ago
David Baker 12d381bd5d Decode the data json in the storage layer (was moved but this part was missed) 10 years ago
Erik Johnston bc9e69e160 Move encoding and decoding of JSON into storage layer 10 years ago
David Baker 6f4f7e4e22 pep8 10 years ago
David Baker a32e876ef4 Delete pushers when changing password 10 years ago
David Baker df4c12c762 pep8 blank lines 10 years ago
David Baker c1a256cc4c Allow multiple pushers for a single app ID & pushkey, honouring the 'append' flag in the API. 10 years ago