edc6a1e4f9 
								
							
								 
							
						 
						
							
							
								
								Add some logging for syncing to_device events  
							
							... 
							
							
							
							Attempt to track down the loss of to_device events
(https://github.com/vector-im/riot-web/issues/2711  etc). 
							
						 
						
							2016-12-15 18:16:10 +00:00  
				
					
						
							
							
								 
						
							
							
								be14c24cea 
								
							
								 
							
						 
						
							
							
								
								Fix rare notifier bug where listeners dont timeout  
							
							... 
							
							
							
							There was a race condition that caused the notifier to 'miss' the
timeout notification, since there were no other checks for the timeout
this caused listeners to get stuck in a loop until something happened. 
							
						 
						
							2016-12-09 15:43:18 +00:00  
				
					
						
							
							
								 
						
							
							
								83bcdcee61 
								
							
								 
							
						 
						
							
							
								
								Return early on /sync code paths if a '*' filter is used  
							
							... 
							
							
							
							This is currently very conservative in that it only does this if there is no
`since` token. This limits the risk to clients likely to be doing one-off
syncs (like bridges), but does mean that normal human clients won't benefit
from the time savings here. If the savings are large enough, I would consider
generalising this to just check the filter. 
							
						 
						
							2016-11-22 16:38:35 +00:00  
				
					
						
							
							
								 
						
							
							
								9bfc617791 
								
							
								 
							
						 
						
							
							
								
								storage/appservice: make appservice methods only relying on the cache synchronous  
							
							
							
						 
						
							2016-10-06 15:24:59 +02:00  
				
					
						
							
							
								 
						
							
							
								65fa37ac5e 
								
							
								 
							
						 
						
							
							
								
								Only return new device messages in /sync  
							
							
							
						 
						
							2016-09-02 15:50:37 +01:00  
				
					
						
							
							
								 
						
							
							
								c8cd87b21b 
								
							
								 
							
						 
						
							
							
								
								Comment about message deletion  
							
							
							
						 
						
							2016-08-30 11:23:26 +01:00  
				
					
						
							
							
								 
						
							
							
								1ee6285905 
								
							
								 
							
						 
						
							
							
								
								Fix check  
							
							
							
						 
						
							2016-08-30 11:17:46 +01:00  
				
					
						
							
							
								 
						
							
							
								68e1a872fd 
								
							
								 
							
						 
						
							
							
								
								Noop get_new_messages_for_device if token hasn't changed  
							
							
							
						 
						
							2016-08-30 10:58:46 +01:00  
				
					
						
							
							
								 
						
							
							
								55fc17cf4b 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1049  from matrix-org/erikj/presence_users_in_room  
							
							... 
							
							
							
							Use state handler instead of get_users_in_room/get_joined_hosts 
							
						 
						
							2016-08-30 10:50:37 +01:00  
				
					
						
							
							
								 
						
							
							
								bed10f9880 
								
							
								 
							
						 
						
							
							
								
								Use state handler instead of get_users_in_room/get_joined_hosts  
							
							
							
						 
						
							2016-08-26 14:54:30 +01:00  
				
					
						
							
							
								 
						
							
							
								4bbef62124 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/develop' into markjh/direct_to_device  
							
							
							
						 
						
							2016-08-26 14:35:31 +01:00  
				
					
						
							
							
								 
						
							
							
								778fa85f47 
								
							
								 
							
						 
						
							
							
								
								Make sync not pull out full state  
							
							
							
						 
						
							2016-08-25 18:59:44 +01:00  
				
					
						
							
							
								 
						
							
							
								e993925279 
								
							
								 
							
						 
						
							
							
								
								Add store-and-forward direct-to-device messaging  
							
							
							
						 
						
							2016-08-25 17:35:37 +01:00  
				
					
						
							
							
								 
						
							
							
								afbf6b33fc 
								
							
								 
							
						 
						
							
							
								
								defer.returnValue must not be called within Measure  
							
							
							
						 
						
							2016-08-19 18:23:44 +01:00  
				
					
						
							
							
								 
						
							
							
								248e6770ca 
								
							
								 
							
						 
						
							
							
								
								Cache federation state responses  
							
							
							
						 
						
							2016-07-21 10:30:12 +01:00  
				
					
						
							
							
								 
						
							
							
								6a0afa582a 
								
							
								 
							
						 
						
							
							
								
								Load push rules in storage layer, so that they get cached  
							
							
							
						 
						
							2016-06-03 11:10:00 +01:00  
				
					
						
							
							
								 
						
							
							
								661a540dd1 
								
							
								 
							
						 
						
							
							
								
								Deduplicate presence entries in sync ( #818 )  
							
							
							
						 
						
							2016-06-02 15:20:28 +01:00  
				
					
						
							
							
								 
						
							
							
								faad233ea6 
								
							
								 
							
						 
						
							
							
								
								Change short circuit path  
							
							
							
						 
						
							2016-05-24 14:27:19 +01:00  
				
					
						
							
							
								 
						
							
							
								6900303997 
								
							
								 
							
						 
						
							
							
								
								Don't send down all ephemeral events  
							
							
							
						 
						
							2016-05-24 11:44:55 +01:00  
				
					
						
							
							
								 
						
							
							
								1c5ed2a19b 
								
							
								 
							
						 
						
							
							
								
								Only work out newly_joined_users for incremental sync  
							
							
							
						 
						
							2016-05-24 11:21:34 +01:00  
				
					
						
							
							
								 
						
							
							
								b08ad0389e 
								
							
								 
							
						 
						
							
							
								
								Only include non-offline presence in initial sync  
							
							
							
						 
						
							2016-05-24 11:15:05 +01:00  
				
					
						
							
							
								 
						
							
							
								be2c677386 
								
							
								 
							
						 
						
							
							
								
								Spell builder correctly  
							
							
							
						 
						
							2016-05-24 10:53:03 +01:00  
				
					
						
							
							
								 
						
							
							
								79bea8ab9a 
								
							
								 
							
						 
						
							
							
								
								Inline function. Make load_filtered_recents private  
							
							
							
						 
						
							2016-05-24 10:22:24 +01:00  
				
					
						
							
							
								 
						
							
							
								84f94e4cbb 
								
							
								 
							
						 
						
							
							
								
								Add comments  
							
							
							
						 
						
							2016-05-24 10:14:53 +01:00  
				
					
						
							
							
								 
						
							
							
								137e6a4557 
								
							
								 
							
						 
						
							
							
								
								Shuffle things room  
							
							
							
						 
						
							2016-05-24 09:50:55 +01:00  
				
					
						
							
							
								 
						
							
							
								c0c79ef444 
								
							
								 
							
						 
						
							
							
								
								Add back concurrently_execute  
							
							
							
						 
						
							2016-05-23 18:21:27 +01:00  
				
					
						
							
							
								 
						
							
							
								b5605dfecc 
								
							
								 
							
						 
						
							
							
								
								Refactor SyncHandler  
							
							
							
						 
						
							2016-05-23 18:08:18 +01:00  
				
					
						
							
							
								 
						
							
							
								f68eea808a 
								
							
								 
							
						 
						
							
							
								
								Move SyncHandler out of the Handlers object  
							
							
							
						 
						
							2016-05-16 20:19:26 +01:00  
				
					
						
							
							
								 
						
							
							
								53e171f345 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'markjh/liberate_presence_handler' into markjh/liberate_sync_handler  
							
							
							
						 
						
							2016-05-16 20:08:32 +01:00  
				
					
						
							
							
								 
						
							
							
								80cb9becd8 
								
							
								 
							
						 
						
							
							
								
								Remove get_joined_rooms_for_user from RoomMemberHandler  
							
							
							
						 
						
							2016-05-16 20:06:55 +01:00  
				
					
						
							
							
								 
						
							
							
								3b86ecfa79 
								
							
								 
							
						 
						
							
							
								
								Move the presence handler out of the Handlers object  
							
							
							
						 
						
							2016-05-16 18:56:37 +01:00  
				
					
						
							
							
								 
						
							
							
								7e23476814 
								
							
								 
							
						 
						
							
							
								
								move filter_events_for_client out of base handler  
							
							
							
						 
						
							2016-05-11 13:42:37 +01:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								1f0f5ffa1e 
								
							
								 
							
						 
						
							
							
								
								Add bulk fetch storage API  
							
							
							
						 
						
							2016-05-05 10:03:15 +01:00  
				
					
						
							
							
								 
						
							
							
								a438a6d2bc 
								
							
								 
							
						 
						
							
							
								
								Implement basic ignore user  
							
							
							
						 
						
							2016-05-04 10:16:46 +01:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								89e6839a48 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #686  from matrix-org/markjh/doc_strings  
							
							... 
							
							
							
							Use google style doc strings. 
							
						 
						
							2016-04-01 16:20:09 +01:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								8d73cd502b 
								
							
								 
							
						 
						
							
							
								
								Add concurrently_execute function  
							
							
							
						 
						
							2016-04-01 14:06:00 +01:00  
				
					
						
							
							
								 
						
							
							
								35bb465b86 
								
							
								 
							
						 
						
							
							
								
								Filter rooms list before chunking  
							
							
							
						 
						
							2016-04-01 13:14:53 +01:00  
				
					
						
							
							
								 
						
							
							
								191c7bef6b 
								
							
								 
							
						 
						
							
							
								
								Deduplicate identical /sync requests  
							
							
							
						 
						
							2016-03-24 17:47:31 +00:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								125f674eae 
								
							
								 
							
						 
						
							
							
								
								Always include kicks and bans in full /sync  
							
							
							
						 
						
							2016-03-04 15:27:55 +00:00  
				
					
						
							
							
								 
						
							
							
								1b4f4a936f 
								
							
								 
							
						 
						
							
							
								
								Hook up the push rules stream to account_data in /sync  
							
							
							
						 
						
							2016-03-04 14:44:01 +00:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								1dcfb201c4 
								
							
								 
							
						 
						
							
							
								
								handlers/sync: fix SyncResult not counting account_data change when converting to bool  
							
							... 
							
							
							
							This fixes account_data events not triggering an immediate /sync response
Signed-off-by: Patrik Oldsberg <patrik.oldsberg@ericsson.com> 
							
						 
						
							2016-02-23 00:21:59 +01:00  
				
					
						
							
							
								 
						
							
							
								f7e3de02ef 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #587  from matrix-org/rav/guest_access_after_room_join  
							
							... 
							
							
							
							Allow guest users access to messages in rooms they have joined 
							
						 
						
							2016-02-22 16:36:06 +00:00  
				
					
						
							
							
								 
						
							
							
								9e696bd6a3 
								
							
								 
							
						 
						
							
							
								
								Remove superfluous call to get_state_at when we already have an event for that stream position  
							
							
							
						 
						
							2016-02-22 13:54:46 +00:00  
				
					
						
							
							
								 
						
							
							
								05aee12652 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into rav/guest_access_after_room_join  
							
							
							
						 
						
							2016-02-19 12:00:16 +00:00  
				
					
						
							
							
								 
						
							
							
								b71ca2b014 
								
							
								 
							
						 
						
							
							
								
								Allow guest users access to messages in rooms they have joined  
							
							... 
							
							
							
							There should be no difference between guest users and non-guest users in terms
of access to messages. Define the semantics of the is_peeking argument to
filter_events_for_clients (slightly) better; interpret it appropriately, and
set it correctly from /sync. 
							
						 
						
							2016-02-19 11:41:02 +00:00