Commit Graph

183 Commits (8c3fca8b282a45cb98123a34a46d80b0f55f2493)

Author SHA1 Message Date
Erik Johnston 8c3fca8b28 Correctly handle tags changing in paginated sync 2016-06-23 13:43:25 +01:00
Erik Johnston baab93b0dd Implement 'synced' flag 2016-06-22 11:40:06 +01:00
Erik Johnston 839088e2e7 Support streaming peek 2016-06-22 11:02:27 +01:00
Erik Johnston 6a101e512f Add tag handling 2016-06-22 10:59:24 +01:00
Erik Johnston 3b6027dbc1 Always include tags 2016-06-21 11:18:09 +01:00
Erik Johnston 6992fb9bc1 Implement error responses 2016-06-21 10:29:44 +01:00
Erik Johnston 3b52bd1cf6 Merge branch 'develop' of github.com:matrix-org/synapse into erikj/paginate_sync 2016-06-14 15:22:21 +01:00
Erik Johnston 6a0afa582a Load push rules in storage layer, so that they get cached 2016-06-03 11:10:00 +01:00
Mark Haines 661a540dd1 Deduplicate presence entries in sync (#818) 2016-06-02 15:20:28 +01:00
Erik Johnston e5b3034fc4 Indicate if /sync was limited or not 2016-05-25 17:00:59 +01:00
Erik Johnston 43cbde4653 Basic extra include pagination impl 2016-05-25 15:54:32 +01:00
Erik Johnston 26c7f08465 Implement basic pagination 2016-05-25 10:14:38 +01:00
Erik Johnston 4902770e32 Merge branch 'erikj/sync_refactor' of github.com:matrix-org/synapse into erikj/paginate_sync 2016-05-24 16:28:51 +01:00
Erik Johnston faad233ea6 Change short circuit path 2016-05-24 14:27:19 +01:00
Erik Johnston 6900303997 Don't send down all ephemeral events 2016-05-24 11:44:55 +01:00
Erik Johnston 1c5ed2a19b Only work out newly_joined_users for incremental sync 2016-05-24 11:21:34 +01:00
Erik Johnston b08ad0389e Only include non-offline presence in initial sync 2016-05-24 11:15:05 +01:00
Erik Johnston be2c677386 Spell builder correctly 2016-05-24 10:53:03 +01:00
Erik Johnston 79bea8ab9a Inline function. Make load_filtered_recents private 2016-05-24 10:22:24 +01:00
Erik Johnston 84f94e4cbb Add comments 2016-05-24 10:14:53 +01:00
Erik Johnston 137e6a4557 Shuffle things room 2016-05-24 09:50:55 +01:00
Erik Johnston c0c79ef444 Add back concurrently_execute 2016-05-23 18:21:27 +01:00
Erik Johnston b5605dfecc Refactor SyncHandler 2016-05-23 18:08:18 +01:00
Erik Johnston 99a7205093 Change name 2016-05-20 11:11:42 +01:00
Erik Johnston 5941346c5b Merge branch 'develop' of github.com:matrix-org/synapse into erikj/paginate_sync 2016-05-18 11:38:24 +01:00
Erik Johnston 573e51cc0b Correctly order recents 2016-05-18 11:33:26 +01:00
Erik Johnston 39182c3594 Typo 2016-05-18 11:30:01 +01:00
Erik Johnston b999adcaa2 Filter before ordering 2016-05-18 11:28:26 +01:00
Erik Johnston d1e9655f75 Call get_last_ts less 2016-05-17 15:37:48 +01:00
Erik Johnston 64df836067 Correctly figure out which rooms we've sent down 2016-05-17 14:23:13 +01:00
Mark Haines f68eea808a Move SyncHandler out of the Handlers object 2016-05-16 20:19:26 +01:00
Mark Haines 53e171f345 Merge branch 'markjh/liberate_presence_handler' into markjh/liberate_sync_handler 2016-05-16 20:08:32 +01:00
Mark Haines 80cb9becd8 Remove get_joined_rooms_for_user from RoomMemberHandler 2016-05-16 20:06:55 +01:00
Mark Haines 3b86ecfa79 Move the presence handler out of the Handlers object 2016-05-16 18:56:37 +01:00
Erik Johnston 32d476d4f1 Change token format 2016-05-16 16:59:18 +01:00
Erik Johnston a2decbdd66 Only load the last N joined room 2016-05-16 13:31:22 +01:00
Mark Haines 7e23476814 move filter_events_for_client out of base handler 2016-05-11 13:42:37 +01:00
Matthew Hodgson fe97b81c09 Merge pull request #759 from matrix-org/dbkr/email_notifs
Send email notifications for missed messages
2016-05-10 16:30:05 +02:00
Erik Johnston 1f0f5ffa1e Add bulk fetch storage API 2016-05-05 10:03:15 +01:00
Erik Johnston a438a6d2bc Implement basic ignore user 2016-05-04 10:16:46 +01:00
David Baker 424a7f48f8 Run filter_events_for_client
so we don't accidentally mail out events people shouldn't see
2016-04-27 17:50:49 +01:00
Mark Haines 89e6839a48 Merge pull request #686 from matrix-org/markjh/doc_strings
Use google style doc strings.
2016-04-01 16:20:09 +01:00
Mark Haines 2a37467fa1 Use google style doc strings.
pycharm supports them so there is no need to use the other format.

Might as well convert the existing strings to reduce the risk of
people accidentally cargo culting the wrong doc string format.
2016-04-01 16:12:07 +01:00
Erik Johnston 8d73cd502b Add concurrently_execute function 2016-04-01 14:06:00 +01:00
Erik Johnston 35bb465b86 Filter rooms list before chunking 2016-04-01 13:14:53 +01:00
Mark Haines 191c7bef6b Deduplicate identical /sync requests 2016-03-24 17:47:31 +00:00
Mark Haines b7a3be693b Merge pull request #618 from matrix-org/markjh/pushrule_stream
Add a stream for push rule updates
2016-03-04 16:35:08 +00:00
Erik Johnston 125f674eae Always include kicks and bans in full /sync 2016-03-04 15:27:55 +00:00
Mark Haines 1b4f4a936f Hook up the push rules stream to account_data in /sync 2016-03-04 14:44:01 +00:00
Patrik Oldsberg baf056bae8 handlers/sync: style fix, line too long
Signed-off-by: Patrik Oldsberg <patrik.oldsberg@ericsson.com>
2016-02-23 15:49:36 +01:00