summary refs log tree commit diff
path: root/synapse/handlers/sync.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Refactor ResponseCache usageRichard van der Hoff2018-04-121-10/+6
* Add metrics for ResponseCacheRichard van der Hoff2018-04-101-1/+1
* Fix up log messageErik Johnston2018-03-071-1/+1
* Fix typoErik Johnston2018-03-071-2/+2
* Fix race in sync when joining roomErik Johnston2018-03-071-28/+75
* Remove ability for AS users to call /events and /syncErik Johnston2018-03-051-4/+6
* Do logcontexts outside ResponseCacheErik Johnston2017-10-251-3/+3
* Merge branch 'develop' into erikj/groups_mergedDavid Baker2017-10-021-7/+32
|\
| * Refactor to speed up incremental syncsErik Johnston2017-09-251-5/+18
| * Fix device list when rejoining room (#2461)Erik Johnston2017-09-221-2/+14
* | Ensure that creator of group sees group down /syncErik Johnston2017-09-191-0/+1
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/groups_mergedErik Johnston2017-09-191-21/+105
|\|
| * Don't filter out current state events from timelineErik Johnston2017-09-181-0/+7
| * Actually hook leave notifs upErik Johnston2017-09-141-2/+3
| * Get left roomsErik Johnston2017-09-131-3/+32
| * In sync handle device lists for newly joined/left roomsErik Johnston2017-09-121-2/+10
| * Add left section to /keys/changesErik Johnston2017-09-081-1/+1
| * Send down device list change notif when member leaves/rejoins roomErik Johnston2017-09-071-12/+52
| * Use less DB for device list handling in syncErik Johnston2017-07-121-8/+7
* | Correctly add joins to correct segmentErik Johnston2017-07-241-1/+1
* | Remember to cast to boolErik Johnston2017-07-201-1/+1
* | Add groups to sync streamErik Johnston2017-07-201-1/+63
|/
* Add count of one time keys to sync streamErik Johnston2017-05-191-0/+11
* CommentsErik Johnston2017-03-161-2/+2
* CommentErik Johnston2017-03-161-3/+8
* Don't recreate so many setsErik Johnston2017-03-161-11/+7
* Implement no op for room stream in syncErik Johnston2017-03-161-4/+47
* Format presence events on the edges instead of reformatting them multiple timesErik Johnston2017-03-151-7/+7
* Noop repated delete device inbox calls from /syncErik Johnston2017-03-101-3/+3
* Measure new device list stuffErik Johnston2017-02-021-1/+2
* Wake sync up for device changesErik Johnston2017-02-011-1/+2
* Hook device list updates to replicationErik Johnston2017-01-271-10/+25
* Add basic implementation of local device list changesErik Johnston2017-01-251-0/+13
* Add some logging for syncing to_device eventsRichard van der Hoff2016-12-151-4/+8
* Fix rare notifier bug where listeners dont timeoutErik Johnston2016-12-091-0/+1
* Return early on /sync code paths if a '*' filter is usedKegan Dougal2016-11-221-9/+22
* storage/appservice: make appservice methods only relying on the cache synchro...Patrik Oldsberg2016-10-061-1/+1
* Only return new device messages in /syncMark Haines2016-09-021-1/+1
* Comment about message deletionErik Johnston2016-08-301-0/+3
* Fix checkErik Johnston2016-08-301-2/+1
* Noop get_new_messages_for_device if token hasn't changedErik Johnston2016-08-301-9/+12
* Merge pull request #1049 from matrix-org/erikj/presence_users_in_roomErik Johnston2016-08-301-1/+2
|\
| * Use state handler instead of get_users_in_room/get_joined_hostsErik Johnston2016-08-261-1/+2
* | Merge remote-tracking branch 'origin/develop' into markjh/direct_to_deviceMark Haines2016-08-261-34/+41
|\|
| * Make sync not pull out full stateErik Johnston2016-08-251-34/+41
* | Add store-and-forward direct-to-device messagingMark Haines2016-08-251-1/+42
|/
* defer.returnValue must not be called within MeasureErik Johnston2016-08-191-7/+7
* Cache federation state responsesErik Johnston2016-07-211-1/+1
* Load push rules in storage layer, so that they get cachedErik Johnston2016-06-031-3/+2
* Deduplicate presence entries in sync (#818)Mark Haines2016-06-021-0/+3
* Change short circuit pathErik Johnston2016-05-241-16/+26
* Don't send down all ephemeral eventsErik Johnston2016-05-241-1/+3
* Only work out newly_joined_users for incremental syncErik Johnston2016-05-241-6/+9
* Only include non-offline presence in initial syncErik Johnston2016-05-241-0/+3
* Spell builder correctlyErik Johnston2016-05-241-63/+63
* Inline function. Make load_filtered_recents privateErik Johnston2016-05-241-17/+7
* Add commentsErik Johnston2016-05-241-7/+105
* Shuffle things roomErik Johnston2016-05-241-37/+33
* Add back concurrently_executeErik Johnston2016-05-231-25/+9
* Refactor SyncHandlerErik Johnston2016-05-231-497/+481
* Move SyncHandler out of the Handlers objectMark Haines2016-05-161-5/+5
* Merge branch 'markjh/liberate_presence_handler' into markjh/liberate_sync_han...Mark Haines2016-05-161-1/+1
|\
| * Move the presence handler out of the Handlers objectMark Haines2016-05-161-1/+1
* | Remove get_joined_rooms_for_user from RoomMemberHandlerMark Haines2016-05-161-3/+3
|/
* move filter_events_for_client out of base handlerMark Haines2016-05-111-2/+5
* Merge pull request #759 from matrix-org/dbkr/email_notifsMatthew Hodgson2016-05-101-2/+2
|\
| * Run filter_events_for_clientDavid Baker2016-04-271-2/+2
* | Add bulk fetch storage APIErik Johnston2016-05-051-1/+1
* | Implement basic ignore userErik Johnston2016-05-041-3/+19
|/
* Merge pull request #686 from matrix-org/markjh/doc_stringsMark Haines2016-04-011-18/+31
|\
| * Use google style doc strings.Mark Haines2016-04-011-18/+31
* | Add concurrently_execute functionErik Johnston2016-04-011-56/+42
* | Filter rooms list before chunkingErik Johnston2016-04-011-6/+12
|/
* Deduplicate identical /sync requestsMark Haines2016-03-241-1/+15
* Merge pull request #618 from matrix-org/markjh/pushrule_streamMark Haines2016-03-041-0/+22
|\
| * Hook up the push rules stream to account_data in /syncMark Haines2016-03-041-0/+22
* | Always include kicks and bans in full /syncErik Johnston2016-03-041-3/+9
|/
* handlers/sync: style fix, line too longPatrik Oldsberg2016-02-231-1/+5
* handlers/sync: fix SyncResult not counting account_data change when convertin...Patrik Oldsberg2016-02-231-1/+1
* Merge pull request #587 from matrix-org/rav/guest_access_after_room_joinRichard van der Hoff2016-02-221-2/+0
|\
| * Merge branch 'develop' into rav/guest_access_after_room_joinRichard van der Hoff2016-02-191-5/+34
| |\
| * | Allow guest users access to messages in rooms they have joinedRichard van der Hoff2016-02-191-2/+0
* | | Remove superfluous call to get_state_at when we already have an event for tha...Erik Johnston2016-02-221-4/+12
| |/ |/|
* | Merge pull request #582 from matrix-org/erikj/presenceErik Johnston2016-02-191-0/+22
|\ \
| * | Initial cutErik Johnston2016-02-171-0/+22
| |/
* / Mitigate against incorrect old state in /sync.Erik Johnston2016-02-121-5/+12
|/
* Use _simple_select_many for _get_state_group_for_eventsErik Johnston2016-02-101-1/+1
* Only calculate initial sync for 10 rooms at a timeErik Johnston2016-02-101-24/+29
* Remove dead codeErik Johnston2016-02-091-12/+0
* Don't load all ephemeral state for a room on every syncErik Johnston2016-02-091-14/+6
* Fix unit testsErik Johnston2016-02-091-1/+4
* Measure some /sync related thingsErik Johnston2016-02-091-140/+149
* Fix up logcontextsErik Johnston2016-02-081-19/+21
* Merge pull request #555 from matrix-org/erikj/logcontextErik Johnston2016-02-031-0/+10
|\
| * Allowing tagging log contextsErik Johnston2016-02-031-0/+10
* | Change event_push_actions_rm_tokens schemaErik Johnston2016-02-031-4/+2
|/
* s/get_room_changes_for_user/get_membership_changes_for_user/Erik Johnston2016-02-021-1/+1
* CommentsErik Johnston2016-02-011-5/+6
* Move state calculations from rest to handlerErik Johnston2016-02-011-66/+98
* Don't work out unread_notifs_for_room_id unless neededErik Johnston2016-01-291-11/+12
* Change load limit paramsErik Johnston2016-01-281-2/+2
* Amalgamate incremental and full sync for userErik Johnston2016-01-281-40/+16
* Use the same path for incremental with gap or without gapErik Johnston2016-01-271-208/+144
* Add cache to room streamErik Johnston2016-01-271-12/+30
* PEP8Erik Johnston2016-01-251-1/+0
* Remove weird stuffErik Johnston2016-01-251-6/+0
* Move logic from rest/ to handlers/Erik Johnston2016-01-251-41/+148
* Allow non-guests to peek on rooms using /eventsDaniel Wagner-Hall2016-01-201-2/+2
* Only compute unread notifications for rooms we send down streamErik Johnston2016-01-191-28/+22
* Use all_ephemeral_by_room in incremental_sync_with_gap_for_roomErik Johnston2016-01-191-3/+5
* Return highlight_count in /syncErik Johnston2016-01-191-6/+36
* Re-enable urnead notificationsErik Johnston2016-01-181-3/+0
* Use logger not loggingErik Johnston2016-01-141-2/+2
* Don't change signature. Return empty listErik Johnston2016-01-131-2/+2
* Temporarily disable notification branchErik Johnston2016-01-131-1/+4
* Don't include old left roomsErik Johnston2016-01-121-1/+5
* Merge pull request #456 from matrix-org/store_event_actionsDavid Baker2016-01-081-0/+63
|\
| * Merge remote-tracking branch 'origin/develop' into store_event_actionsDavid Baker2016-01-061-107/+47
| |\
| * \ Merge remote-tracking branch 'origin/develop' into store_event_actionsDavid Baker2016-01-051-3/+2
| |\ \
| * | | commaDavid Baker2016-01-041-1/+1
| * | | Add unread_notif_count in incremental_sync_with_gapDavid Baker2016-01-041-0/+8
| * | | Rename event-actions to event_push_actions as per PR requestDavid Baker2016-01-041-1/+1
| * | | Fix merge fail with anon access stuffDavid Baker2015-12-221-2/+2
| * | | Merge remote-tracking branch 'origin/develop' into store_event_actionsDavid Baker2015-12-221-45/+107
| |\ \ \
| * | | | Add some comments to areas that could be optimised.David Baker2015-12-221-0/+3
| * | | | Merge remote-tracking branch 'origin/develop' into store_event_actionsDavid Baker2015-12-211-4/+12
| |\ \ \ \
| * | | | | pep8David Baker2015-12-211-3/+3
| * | | | | Make unread notification count sending work: put the correct count in increme...David Baker2015-12-181-11/+37
| * | | | | still very WIP, but now sends unread_notifications_count in the room object o...David Baker2015-12-161-0/+26
* | | | | | Use logger not loggingErik Johnston2016-01-071-2/+2
| |_|_|_|/ |/| | | |
* | | | | Pass whether the user was a guest to some of the event streamsMark Haines2016-01-061-5/+3
* | | | | Guest users must be joined to a room to see it in /syncMark Haines2016-01-061-103/+49
| |_|_|/ |/| | |
* | | | Skip, rather than erroring, invalid guest requestsDaniel Wagner-Hall2016-01-051-1/+0
* | | | Allow guests to upgrade their accountsDaniel Wagner-Hall2016-01-051-1/+1
* | | | Return /sync when something under the 'leave' key has changedErik Johnston2016-01-051-1/+1
| |_|/ |/| |
* | | Include the list of bad room ids in the errorMark Haines2015-12-221-2/+8
* | | Use a list comprehensionMark Haines2015-12-221-3/+4
* | | Hook up read receipts and typing notifications for guest accessMark Haines2015-12-221-13/+11
* | | Allow guest access to /syncMark Haines2015-12-221-46/+98
* | | Allow guest access if the user provides a list of rooms in the filterMark Haines2015-12-221-0/+1
| |/ |/|
* | Do the /sync in parallel accross the rooms like /initialSync doesMark Haines2015-12-111-4/+12
|/
* Only include the archived rooms if a include_leave flag in set in the filterMark Haines2015-12-041-6/+6
* Add API for setting account_data globaly or on a per room basisMark Haines2015-12-011-15/+57
* s/private_user_data/account_data/Mark Haines2015-11-181-14/+14
* Fix a few race conditions in the state calculationRichard van der Hoff2015-11-131-60/+63
* Make handlers.sync return a state dictionary, instead of an event list.Richard van der Hoff2015-11-131-31/+39
* Update some commentsRichard van der Hoff2015-11-131-10/+24
* Don't fiddle with results returned by event sourcesRichard van der Hoff2015-11-091-4/+12
* SYN-513: Include updates for rooms that have had all their tags deletedMark Haines2015-11-091-1/+1
* Open up /events to anonymous users for room events onlyDaniel Wagner-Hall2015-11-051-3/+17
* Merge branch 'develop' into daniel/removesomeliesMark Haines2015-11-041-20/+82
|\
| * Merge branch 'develop' into markjh/v2_sync_receiptsMark Haines2015-11-031-10/+57
| |\
| | * Include room tags in v2 /syncMark Haines2015-11-021-11/+58
| * | Include read receipts in v2 syncMark Haines2015-11-021-15/+30
| |/
* | Remove more unused parametersDaniel Wagner-Hall2015-11-021-1/+0
* | Remove unused arguments and codeDaniel Wagner-Hall2015-11-021-14/+1
|/
* Update the other place check_joined_room is calledMark Haines2015-10-301-1/+1
* Don't mark newly joined room timelines as limited in an incremental syncMark Haines2015-10-291-3/+5
* Implement full_state incremental syncRichard van der Hoff2015-10-261-17/+34
* Merge branch 'develop' into markjh/v2_sync_typingMark Haines2015-10-211-3/+127
|\
| * Include banned rooms in the archived section of v2 syncMark Haines2015-10-211-6/+9
| * Fix pep8Mark Haines2015-10-191-1/+0
| * Add rooms that the user has left under archived in v2 sync.Mark Haines2015-10-191-3/+125
* | Doc string for the SyncHandler.typing_by_room methodMark Haines2015-10-211-0/+12
* | Include typing events in initial v2 syncMark Haines2015-10-201-14/+29
|/
* Amalgamate _filter_events_for_clientErik Johnston2015-10-161-47/+1
* Merge pull request #305 from matrix-org/markjh/v2_sync_apiMark Haines2015-10-141-92/+105
|\
| * Fix v2 sync pollingMark Haines2015-10-141-3/+3
| * Add a get_invites_for_user method to the storage to find out the rooms a user...Mark Haines2015-10-131-6/+2
| * Include invites in incremental syncMark Haines2015-10-131-6/+25
| * Include invited rooms in the initial syncMark Haines2015-10-131-10/+6
| * Start spliting out the rooms into joined and invited in v2 syncMark Haines2015-10-131-18/+40
| * Update the filters to match the latest spec.Mark Haines2015-10-121-3/+3
| * Update the v2 room sync format to match the current v2 specMark Haines2015-10-081-14/+11
| * Move the rooms out into a room_map mapping from room_id to room.Mark Haines2015-10-051-18/+9
| * Start updating the sync API to match the specificationMark Haines2015-10-011-36/+28
* | Remove unused room_id argErik Johnston2015-10-141-1/+1
|/
* Fix up one more referenceDaniel Wagner-Hall2015-08-251-1/+0
* Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_usersErik Johnston2015-08-191-3/+21
* Fix _filter_events_for_clientErik Johnston2015-08-121-3/+1
* Use list comprehension instead of filterErik Johnston2015-08-121-10/+3
* Remove debug loggersErik Johnston2015-08-111-3/+0
* Fix application of ACLsErik Johnston2015-08-111-4/+13
* Speed up event filtering (for ACL) logicErik Johnston2015-08-041-1/+5
* Rename key and values for m.room.history_visibility. Support 'invited' valueErik Johnston2015-07-061-5/+20
* Respect m.room.history_visibility in v2_alpha sync APIErik Johnston2015-07-031-0/+33
* Fix v2 sync, update the last_notified_ms only if there was an active listenerMark Haines2015-05-141-1/+1
* Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This us...Erik Johnston2015-03-091-2/+4
* Fix code-styleMark Haines2015-02-101-1/+1
* During room intial sync, only calculate current state once.Erik Johnston2015-02-091-3/+6
* SYN-258: get_recent_events_for_room only accepts stream tokens, convert the t...Mark Haines2015-02-061-1/+3
* Return empty list rather than None when there are no emphemeral events for a ...Mark Haines2015-01-301-1/+1
* Add doc string for __nonzero__ overrides for sync results, raise not implemen...Mark Haines2015-01-301-1/+8
* Check if the user has joined the room between incremental syncsMark Haines2015-01-301-4/+27
* Pass client info to the sync_configMark Haines2015-01-301-2/+3
* Fix token formattingMark Haines2015-01-301-3/+3
* Filter the recent events before applying the limit when doing an initial syncMark Haines2015-01-301-11/+10
* Filter the recent events before applying the limit when doing an incremental ...Mark Haines2015-01-301-15/+38
* Update todo for the filtering on syncMark Haines2015-01-291-1/+2
* Fix indentMark Haines2015-01-291-1/+1
* Move typing notifs to an "emphermal" event list on the room objectMark Haines2015-01-291-5/+7
* Fix check for empty room updateMark Haines2015-01-291-1/+1
* Fix v2 initial syncMark Haines2015-01-291-1/+2
* Use get_room_events_stream to get changes to the rooms if the number of chang...Mark Haines2015-01-291-11/+45
* Remove typing TODOMark Haines2015-01-291-1/+0
* Add typing notifications to syncMark Haines2015-01-291-9/+21
* Fix FormattingMark Haines2015-01-271-8/+5
* Wait for events if the incremental sync is empty and a timeout is givenMark Haines2015-01-271-7/+12
* Start implementing incremental initial syncMark Haines2015-01-271-25/+208
* Start implementing the non-incremental sync portion of the v2 /sync APIMark Haines2015-01-261-25/+62
* Add handler for /sync APIMark Haines2015-01-261-0/+110