| Commit message (Expand) | Author | Age | Files | Lines |
* | Always notify replication when a stream advances (#14877) | Erik Johnston | 2023-01-20 | 1 | -5/+26 |
* | Batch up notifications after event persistence (#14033) | Shay | 2022-10-05 | 1 | -34/+41 |
* | Notifier: accept callbacks to fire on room joins (#13254) | David Robertson | 2022-07-13 | 1 | -0/+18 |
* | Reduce the amount of state we pull from the DB (#12811) | Erik Johnston | 2022-06-06 | 1 | -1/+1 |
* | Rename storage classes (#12913) | Erik Johnston | 2022-05-31 | 1 | -2/+2 |
* | Additional constants for EDU types. (#12884) | Patrick Cloke | 2022-05-27 | 1 | -2/+2 |
* | Add `StreamKeyType` class and replace string literals with constants (#12567) | Andrew Morgan | 2022-05-16 | 1 | -2/+3 |
* | Immediately retry any requests that have backed off when a server comes back ... | Erik Johnston | 2022-05-10 | 1 | -3/+5 |
* | Remove `HomeServer.get_datastore()` (#12031) | Richard van der Hoff | 2022-02-23 | 1 | -1/+1 |
* | Add some tests for propagation of device list changes between local users (#1... | Andrew Morgan | 2022-02-15 | 1 | -2/+2 |
* | Adds misc missing type hints (#11953) | Patrick Cloke | 2022-02-11 | 1 | -19/+24 |
* | Send to-device messages to application services (#11215) | Andrew Morgan | 2022-02-01 | 1 | -1/+3 |
* | Remove `log_function` and its uses (#11761) | Richard van der Hoff | 2022-01-18 | 1 | -3/+0 |
* | Use auto_attribs/native type hints for attrs classes. (#11692) | Patrick Cloke | 2022-01-13 | 1 | -7/+7 |
* | Convert EventStreamResult to attrs. (#11574) | Patrick Cloke | 2021-12-15 | 1 | -6/+19 |
* | Fix providing a `RoomStreamToken` instance to `_notify_app_services_ephemeral... | Andrew Morgan | 2021-11-02 | 1 | -29/+9 |
* | Implement an `on_new_event` callback (#11126) | Brendan Abolivier | 2021-10-26 | 1 | -4/+13 |
* | Improve docstrings for methods related to sending EDUs to application service... | Andrew Morgan | 2021-10-21 | 1 | -2/+16 |
* | Add type hints for event streams. (#10856) | Patrick Cloke | 2021-09-21 | 1 | -1/+1 |
* | Generics for `ObservableDeferred` (#10491) | Richard van der Hoff | 2021-07-28 | 1 | -2/+3 |
* | Use inline type hints in various other places (in `synapse/`) (#10380) | Jonathan de Jong | 2021-07-15 | 1 | -9/+9 |
* | Improve opentracing annotations for Notifier (#10111) | Richard van der Hoff | 2021-06-03 | 1 | -33/+33 |
* | Add debug logging for issue #9533 (#9959) | Richard van der Hoff | 2021-05-11 | 1 | -0/+8 |
* | Remove `synapse.types.Collection` (#9856) | Richard van der Hoff | 2021-04-22 | 1 | -7/+2 |
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
* | Bugbear: Add Mutable Parameter fixes (#9682) | Jonathan de Jong | 2021-04-08 | 1 | -8/+11 |
* | Update mypy configuration: `no_implicit_optional = True` (#9742) | Jonathan de Jong | 2021-04-05 | 1 | -1/+1 |
* | Improve tracing for to device messages (#9686) | Erik Johnston | 2021-04-01 | 1 | -2/+43 |
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -12/+18 |
* | Fix "Starting metrics collection from sentinel context" errors (#9053) | Erik Johnston | 2021-01-08 | 1 | -20/+19 |
* | Do not assume that the contents dictionary includes history_visibility. (#8945) | Patrick Cloke | 2020-12-16 | 1 | -2/+4 |
* | Don't pull event from DB when handling replication traffic. (#8669) | Erik Johnston | 2020-10-28 | 1 | -13/+55 |
* | Start fewer opentracing spans (#8640) | Erik Johnston | 2020-10-26 | 1 | -23/+11 |
* | Fix typos and spelling errors. (#8639) | Patrick Cloke | 2020-10-23 | 1 | -1/+1 |
* | Send some ephemeral events to appservices (#8437) | Will Hunt | 2020-10-15 | 1 | -0/+25 |
* | Fix not sending events over federation when using sharded event persisters (#... | Erik Johnston | 2020-10-14 | 1 | -3/+3 |
* | Add type hints to some handlers (#8505) | Patrick Cloke | 2020-10-09 | 1 | -1/+1 |
* | Various clean ups to room stream tokens. (#8423) | Erik Johnston | 2020-09-29 | 1 | -2/+2 |
* | Add EventStreamPosition type (#8388) | Erik Johnston | 2020-09-24 | 1 | -26/+29 |
* | Use slots in attrs classes where possible (#8296) | Patrick Cloke | 2020-09-14 | 1 | -3/+1 |
* | Make `StreamToken.room_key` be a `RoomStreamToken` instance. (#8281) | Erik Johnston | 2020-09-11 | 1 | -4/+12 |
* | Clean up `Notifier.on_new_room_event` code path (#8288) | Erik Johnston | 2020-09-10 | 1 | -23/+39 |
* | Clean up types for PaginationConfig (#8250) | Erik Johnston | 2020-09-08 | 1 | -2/+3 |
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -3/+3 |
* | Fix typing for notifier (#8064) | Erik Johnston | 2020-08-12 | 1 | -4/+8 |
* | Add typing info to Notifier (#8058) | Erik Johnston | 2020-08-11 | 1 | -48/+83 |
* | Convert streams to async. (#8014) | Patrick Cloke | 2020-08-04 | 1 | -2/+2 |
* | Fix some spelling mistakes / typos. (#7811) | Patrick Cloke | 2020-07-09 | 1 | -1/+1 |
* | Fix new flake8 errors (#7470) | Erik Johnston | 2020-05-12 | 1 | -4/+6 |
* | Convert the synapse.notifier module to async/await. (#7395) | Patrick Cloke | 2020-05-01 | 1 | -10/+7 |
* | Don't relay REMOTE_SERVER_UP cmds to same conn. (#7352) | Erik Johnston | 2020-04-29 | 1 | -9/+0 |
* | Wake up transaction queue when remote server comes back online (#6706) | Erik Johnston | 2020-01-17 | 1 | -3/+28 |
* | Port SyncHandler to async/await | Erik Johnston | 2019-12-05 | 1 | -16/+13 |
* | Port to use state storage | Erik Johnston | 2019-10-30 | 1 | -1/+5 |
* | Remove unnecessary parentheses around return statements (#5931) | Andrew Morgan | 2019-08-30 | 1 | -3/+3 |
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -9/+9 |
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -2/+2 |
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -34/+36 |
* | Remove redundant PreserveLoggingContext | Richard van der Hoff | 2019-03-04 | 1 | -10/+5 |
* | Remove unused `wait_for_replication` method | Richard van der Hoff | 2019-03-04 | 1 | -50/+0 |
* | Make the metrics less racy (#4061) | Amber Brown | 2018-10-19 | 1 | -3/+3 |
* | Run notify_app_services as a bg process | Richard van der Hoff | 2018-09-26 | 1 | -2/+6 |
* | Fixup | Erik Johnston | 2018-09-19 | 1 | -4/+1 |
* | Replace custom DeferredTimeoutError with defer.TimeoutError | Erik Johnston | 2018-09-19 | 1 | -3/+2 |
* | Update to use new timeout function everywhere. | Erik Johnston | 2018-09-19 | 1 | -6/+7 |
* | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) | Amber Brown | 2018-08-10 | 1 | -1/+1 |
* | WIP to announce deleted devices over federation | Matthew Hodgson | 2018-07-12 | 1 | -1/+1 |
* | run isort | Amber Brown | 2018-07-09 | 1 | -11/+10 |
* | Pass around the reactor explicitly (#3385) | Amber Brown | 2018-06-22 | 1 | -0/+3 |
* | cleanup pep8 errors | Amber Brown | 2018-05-22 | 1 | -1/+2 |
* | fixes | Amber Brown | 2018-05-22 | 1 | -3/+3 |
* | replacing portions | Amber Brown | 2018-05-21 | 1 | -13/+10 |
* | Merge remote-tracking branch 'origin/develop' into rav/deferred_timeout | Richard van der Hoff | 2018-04-27 | 1 | -4/+9 |
|\ |
|
| * | Improve exception handling for background processes | Richard van der Hoff | 2018-04-27 | 1 | -4/+9 |
* | | Backport deferred.addTimeout | Richard van der Hoff | 2018-04-27 | 1 | -8/+14 |
* | | Use deferred.addTimeout instead of time_bound_deferred | Richard van der Hoff | 2018-04-23 | 1 | -12/+11 |
|/ |
|
* | add __bool__ alias to __nonzero__ methods | Adrian Tschira | 2018-04-15 | 1 | -0/+1 |
* | Clear logcontext before starting fed txn queue runner | Richard van der Hoff | 2017-11-28 | 1 | -7/+10 |
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -1/+1 |
* | Don't start user_directory handling on workers | Erik Johnston | 2017-06-07 | 1 | -3/+0 |
* | Add user_directory to database | Erik Johnston | 2017-05-31 | 1 | -1/+5 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/repl_tcp_s... | Erik Johnston | 2017-04-04 | 1 | -13/+10 |
|\ |
|
| * | Remove spurious PreserveLoggingContext | Richard van der Hoff | 2017-04-03 | 1 | -6/+5 |
| * | preserve_fn some deferred-returning things | Richard van der Hoff | 2017-04-03 | 1 | -2/+5 |
| * | Remove spurious @preserve_fn decorators | Richard van der Hoff | 2017-04-03 | 1 | -5/+0 |
* | | Use callbacks to notify tcp replication rather than deferreds | Erik Johnston | 2017-03-31 | 1 | -6/+11 |
* | | Add a simple hook to wait for replication traffic | Erik Johnston | 2017-03-30 | 1 | -0/+6 |
|/ |
|
* | Don't recreate so many sets | Erik Johnston | 2017-03-16 | 1 | -4/+2 |
* | Format presence events on the edges instead of reformatting them multiple times | Erik Johnston | 2017-03-15 | 1 | -0/+10 |
* | Add some metrics on notifier | Erik Johnston | 2017-03-15 | 1 | -0/+6 |
* | Reduce spurious calls to generate sync | Erik Johnston | 2017-03-14 | 1 | -13/+31 |
* | Make presence.get_new_events a bit faster | Erik Johnston | 2017-02-02 | 1 | -0/+1 |
* | Correctly handle timeout errors | Erik Johnston | 2016-12-09 | 1 | -6/+14 |
* | Fix rare notifier bug where listeners dont timeout | Erik Johnston | 2016-12-09 | 1 | -11/+9 |
* | Ensure only main or federation_sender process can send federation traffic | Erik Johnston | 2016-11-23 | 1 | -2/+9 |
* | Handle sending events and device messages over federation | Erik Johnston | 2016-11-17 | 1 | -0/+2 |
* | Explicitly specify state_key for history_visibility fetching | Erik Johnston | 2016-09-02 | 1 | -1/+2 |
* | Preserve some logcontexts | Erik Johnston | 2016-08-24 | 1 | -1/+6 |
* | defer.returnValue must not be called within Measure | Erik Johnston | 2016-08-19 | 1 | -2/+1 |
* | Add measure blocks to notifier | Erik Johnston | 2016-08-19 | 1 | -15/+18 |
* | Make AppserviceHandler stream events from database | Erik Johnston | 2016-08-18 | 1 | -1/+1 |
* | Remove dead appservice code | Erik Johnston | 2016-08-17 | 1 | -39/+2 |
* | Notify users for events in rooms they join. | Mark Haines | 2016-06-07 | 1 | -8/+6 |
* | Move the AS handler out of the Handlers object. | Mark Haines | 2016-05-31 | 1 | -6/+4 |
* | move filter_events_for_client out of base handler | Mark Haines | 2016-05-11 | 1 | -2/+3 |
* | Run filter_events_for_client | David Baker | 2016-04-27 | 1 | -1/+1 |
* | Use google style doc strings. | Mark Haines | 2016-04-01 | 1 | -7/+8 |
* | Hook up adding a pusher to the notifier for replication. | Mark Haines | 2016-03-15 | 1 | -0/+6 |
* | Hook up the push rules to the notifier | Mark Haines | 2016-03-03 | 1 | -1/+1 |
* | Add a /replication API for extracting the updates that happened on | Mark Haines | 2016-03-01 | 1 | -0/+48 |
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 1 | -29/+29 |
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -1/+1 |
* | Don't use before_token. Its wrong. Use actual limit. | Erik Johnston | 2016-01-31 | 1 | -6/+3 |
* | Deal with None limit | Erik Johnston | 2016-01-29 | 1 | -1/+5 |
* | Make /events always return a newer token, if one exists | Erik Johnston | 2016-01-29 | 1 | -9/+10 |
* | Only fetch events for rooms and receipts | Erik Johnston | 2016-01-21 | 1 | -3/+3 |
* | SYN-606: Peeking does not wake up /events | Erik Johnston | 2016-01-21 | 1 | -1/+3 |
* | Allow non-guests to peek on rooms using /events | Daniel Wagner-Hall | 2016-01-20 | 1 | -23/+48 |
* | Skip, rather than erroring, invalid guest requests | Daniel Wagner-Hall | 2016-01-05 | 1 | -2/+1 |
* | Missing yield on guest access auth check | Mark Haines | 2015-12-23 | 1 | -1/+1 |
* | Return non-room events from guest /events calls | Daniel Wagner-Hall | 2015-11-12 | 1 | -3/+17 |
* | Open up /events to anonymous users for room events only | Daniel Wagner-Hall | 2015-11-05 | 1 | -8/+34 |
* | Merge branch 'develop' into daniel/removesomelies | Mark Haines | 2015-11-04 | 1 | -1/+1 |
|\ |
|
| * | Inform the client of new room tags using v1 /events | Mark Haines | 2015-10-29 | 1 | -1/+1 |
* | | Remove unused arguments and code | Daniel Wagner-Hall | 2015-11-02 | 1 | -3/+3 |
|/ |
|
* | Don't make pushers handle presence/typing events | Erik Johnston | 2015-08-24 | 1 | -1/+6 |
* | Improve naming | Daniel Wagner-Hall | 2015-07-20 | 1 | -2/+2 |
* | Consolidate duplicate code in notifier | Erik Johnston | 2015-07-02 | 1 | -24/+11 |
* | Add receipts_key to StreamToken | Erik Johnston | 2015-07-02 | 1 | -1/+1 |
* | Fix typo | Erik Johnston | 2015-06-19 | 1 | -1/+1 |
* | PEP8 | Erik Johnston | 2015-06-18 | 1 | -2/+3 |
* | Documentation | Erik Johnston | 2015-06-18 | 1 | -4/+11 |
* | Don't bother proxying lookups on _NotificationListener to underlying deferred | Erik Johnston | 2015-06-18 | 1 | -10/+2 |
* | Refactor the notifier.wait_for_events code to be clearer. Add _NotifierUserSt... | Erik Johnston | 2015-06-18 | 1 | -66/+56 |
* | Fix notifier leak | Erik Johnston | 2015-06-18 | 1 | -21/+20 |
* | Iterate over the user_streams not the user_ids | Mark Haines | 2015-05-26 | 1 | -1/+1 |
* | Oops, get_rooms_for_user returns a namedtuple, not a room_id | Mark Haines | 2015-05-21 | 1 | -0/+1 |
* | Don't bother sorting by the room_stream_ids, it shouldn't matter which order ... | Mark Haines | 2015-05-18 | 1 | -1/+1 |
* | Make sure the notifier stream token goes forward when it is updated. Sort the... | Mark Haines | 2015-05-18 | 1 | -4/+4 |
* | Add some doc-strings to notifier | Mark Haines | 2015-05-14 | 1 | -19/+33 |
* | Use the current token when timing out a notifier, make sure the user_id is a ... | Mark Haines | 2015-05-14 | 1 | -2/+2 |
* | Fix v2 sync, update the last_notified_ms only if there was an active listener | Mark Haines | 2015-05-14 | 1 | -5/+6 |
* | Fix metric counter | Mark Haines | 2015-05-13 | 1 | -2/+2 |
* | Discard unused NotifierUserStreams | Mark Haines | 2015-05-13 | 1 | -16/+34 |
* | Don't set a timer if there's already a result to return | Mark Haines | 2015-05-13 | 1 | -3/+10 |
* | Don't bother checking for new events from a source if the stream token hasn't... | Mark Haines | 2015-05-13 | 1 | -2/+6 |
* | Don't bother checking for updates if the stream token hasn't advanced for a user | Mark Haines | 2015-05-13 | 1 | -24/+51 |
* | Merge branch 'notifier_unify' into notifier_performance | Mark Haines | 2015-05-12 | 1 | -13/+10 |
|\ |
|
| * | Merge branch 'develop' into notifier_unify | Mark Haines | 2015-05-12 | 1 | -13/+10 |
| |\ |
|
| | * | PEP8 | Erik Johnston | 2015-05-08 | 1 | -3/+2 |
| | * | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 1 | -9/+7 |
* | | | Merge branch 'notifier_unify' into notifier_performance | Mark Haines | 2015-05-12 | 1 | -1/+1 |
|\| | |
|
| * | | Update the end_token correctly, otherwise the token doesn't advance and the c... | Mark Haines | 2015-05-12 | 1 | -1/+1 |
* | | | Add a NotifierUserStream to hold all the notification listeners for a user | Mark Haines | 2015-05-12 | 1 | -114/+116 |
|/ / |
|
* | | Don't bother passing the events to the notifier since it isn't using them | Mark Haines | 2015-05-11 | 1 | -95/+18 |
* | | Use wait_for_events to implement 'get_events' | Mark Haines | 2015-05-11 | 1 | -79/+30 |
|/ |
|
* | Remove some run_on_reactors | Erik Johnston | 2015-05-01 | 1 | -5/+0 |
* | Change from exception to warn | Erik Johnston | 2015-04-15 | 1 | -1/+1 |
* | Add comment | Mark Haines | 2015-04-09 | 1 | -0/+1 |
* | Unset the timer in the timeout callback so that we don't try to cancel it if ... | Mark Haines | 2015-04-09 | 1 | -0/+1 |
* | SYN-339: Cancel the notifier timeout when the notifier fires | Mark Haines | 2015-04-09 | 1 | -4/+26 |
* | Move comment into docstring | Erik Johnston | 2015-04-08 | 1 | -5/+2 |
* | Factor out loops into '_discard_if_notified' | Erik Johnston | 2015-04-08 | 1 | -15/+14 |
* | Also perform paranoia checks in 'on_new_user_event' | Erik Johnston | 2015-04-08 | 1 | -2/+16 |
* | Add paranoia checks to make sure that we evict stale NotificationListeners wh... | Erik Johnston | 2015-04-08 | 1 | -5/+31 |
* | Fix bug where we didn't inform the NotificataionListeners about new rooms the... | Erik Johnston | 2015-04-08 | 1 | -0/+3 |
* | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -6/+9 |
* | Add a counter to track total number of events served by the notifier | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -0/+3 |
* | Use _ instead of . as a metric namespacing separator, for Prometheus | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -1/+1 |
* | Put some gauge metrics on the number of notifier listeners, and notified-on o... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -0/+39 |
* | Rename rooms_to_listeners to room_to_listeners, for consistency with user_ an... | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -8/+8 |
* | Notify appservices of invites mid-poll. | Kegan Dougal | 2015-02-27 | 1 | -1/+29 |
* | Merge branch 'consumeErrors' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-02-17 | 1 | -2/+4 |
|\ |
|
| * | Use consumeErrors=True on all DeferredLists. | Erik Johnston | 2015-02-17 | 1 | -2/+4 |
* | | Glue AS work to general event notifications. Add more exception handling when... | Kegan Dougal | 2015-02-05 | 1 | -0/+6 |
|/ |
|
* | Fix Formatting | Mark Haines | 2015-01-27 | 1 | -2/+2 |
* | Wait for events if the incremental sync is empty and a timeout is given | Mark Haines | 2015-01-27 | 1 | -0/+48 |
* | Only start the notifier timeout once we've had a chance to check for updates.... | Mark Haines | 2015-01-19 | 1 | -2/+2 |
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
* | Remember to hook up the typing event stream to the notifier as well | Paul "LeoNerd" Evans | 2014-12-15 | 1 | -7/+25 |
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -0/+1 |
* | Add a few missing yields, Move deferred lists inside PreserveLoggingContext b... | Mark Haines | 2014-11-20 | 1 | -0/+3 |
* | remove unused import | Mark Haines | 2014-11-19 | 1 | -1/+1 |
* | Preserve logging context in a few more places, drop the logging context after... | Mark Haines | 2014-11-19 | 1 | -18/+22 |
* | Fix pep8 warnings | Mark Haines | 2014-10-30 | 1 | -1/+2 |
* | Use floating-point rather than integer division to handle timeouts so that no... | Paul "LeoNerd" Evans | 2014-10-29 | 1 | -1/+1 |
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has... | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
* | Make sure to print exceptions properly from notifier failures | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -1/+6 |
* | Merge branch 'master' of github.com:matrix-org/synapse into release-v0.2.0 | Erik Johnston | 2014-09-02 | 1 | -2/+19 |
|\ |
|
| * | When notifying listeners, don't do so in a serial fashion | Erik Johnston | 2014-08-29 | 1 | -2/+19 |
* | | Have EventSource's get_new_events_for_user() API work only on keys within tha... | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -10/+20 |
|/ |
|
* | Turn of trace_function logging | Erik Johnston | 2014-08-28 | 1 | -2/+2 |
* | And more logging. | Erik Johnston | 2014-08-28 | 1 | -1/+2 |
* | If timeout=0, return immediately | Erik Johnston | 2014-08-27 | 1 | -1/+5 |
* | Comments! | Erik Johnston | 2014-08-27 | 1 | -0/+35 |
* | Index sources in a nicer fashion. | Erik Johnston | 2014-08-27 | 1 | -3/+3 |
* | Implement presence event source. Change the way the notifier indexes listeners | Erik Johnston | 2014-08-27 | 1 | -43/+42 |
* | Enable presence again. Fix up api to match old api. | Erik Johnston | 2014-08-26 | 1 | -1/+19 |
* | WIP: Completely change how event streaming and pagination work. This reflects... | Erik Johnston | 2014-08-26 | 1 | -0/+184 |