c061b47c57 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/develop' into store_event_actions  
							
							
							
						 
						
							2015-12-21 15:30:26 +00:00  
				
					
						
							
							
								 
						
							
							
								091c545c4f 
								
							
								 
							
						 
						
							
							
								
								pep8  
							
							
							
						 
						
							2015-12-21 10:14:57 +00:00  
				
					
						
							
							
								 
						
							
							
								413d0d6a24 
								
							
								 
							
						 
						
							
							
								
								Make unread notification count sending work: put the correct count in incremental syncs too, where necessary, and fix silly bugs like only select the event actions for that user...  
							
							
							
						 
						
							2015-12-18 17:47:00 +00:00  
				
					
						
							
							
								 
						
							
							
								42ad49f5b7 
								
							
								 
							
						 
						
							
							
								
								still very WIP, but now sends unread_notifications_count in the room object on sync (only actually corrrect in a full sync: hardcoded to 0 in incremental syncs).  
							
							
							
						 
						
							2015-12-16 18:42:09 +00:00  
				
					
						
							
							
								 
						
							
							
								1ee7280c4c 
								
							
								 
							
						 
						
							
							
								
								Do the /sync in parallel accross the rooms like /initialSync does  
							
							
							
						 
						
							2015-12-11 16:48:20 +00:00  
				
					
						
							
							
								 
						
							
							
								660dee94af 
								
							
								 
							
						 
						
							
							
								
								Only include the archived rooms if a include_leave flag in set in the filter  
							
							
							
						 
						
							2015-12-04 17:32:09 +00:00  
				
					
						
							
							
								 
						
							
							
								95f30ecd1f 
								
							
								 
							
						 
						
							
							
								
								Add API for setting account_data globaly or on a per room basis  
							
							
							
						 
						
							2015-12-01 18:41:32 +00:00  
				
					
						
							
							
								 
						
							
							
								1c960fbb80 
								
							
								 
							
						 
						
							
							
								
								s/private_user_data/account_data/  
							
							
							
						 
						
							2015-11-18 15:31:04 +00:00  
				
					
						
							
							
								 
						
							
							
								fddedd51d9 
								
							
								 
							
						 
						
							
							
								
								Fix a few race conditions in the state calculation  
							
							... 
							
							
							
							Be a bit more careful about how we calculate the state to be returned by
/sync. In a few places, it was possible for /sync to return slightly later
state than that represented by the next_batch token and the timeline. In
particular, the following cases were susceptible:
* On a full state sync, for an active room
* During a per-room incremental sync with a timeline gap
* When the user has just joined a room. (Refactor check_joined_room to make it
  less magical)
Also, use store.get_state_for_events() (and thus the existing stategroups) to
calculate the state corresponding to a particular sync position, rather than
state_handler.compute_event_context(), which recalculates from first principles
(and tends to miss some state).
Merged from PR https://github.com/matrix-org/synapse/pull/372  
							
						 
						
							2015-11-13 10:39:09 +00:00  
				
					
						
							
							
								 
						
							
							
								5ab4b0afe8 
								
							
								 
							
						 
						
							
							
								
								Make handlers.sync return a state dictionary, instead of an event list.  
							
							... 
							
							
							
							Basically this moves the process of flattening the existing dictionary into a
list up to rest.client.*, instead of doing it in handlers.sync. This simplifies
a bit of the code in handlers.sync, but it is also going to be somewhat
beneficial in the next stage of my hacking on SPEC-254.
Merged from PR #371  
							
						 
						
							2015-11-13 10:35:01 +00:00  
				
					
						
							
							
								 
						
							
							
								5dea4d37d1 
								
							
								 
							
						 
						
							
							
								
								Update some comments  
							
							... 
							
							
							
							Add a couple of type annotations, docstrings, and other comments, in the
interest of keeping track of what types I have.
Merged from pull request #370 . 
							
						 
						
							2015-11-13 10:31:15 +00:00  
				
					
						
							
							
								 
						
							
							
								c7db2068c8 
								
							
								 
							
						 
						
							
							
								
								Don't fiddle with results returned by event sources  
							
							... 
							
							
							
							Overwriting hashes returned by other methods is poor form.
Fixes: SYN-516 
							
						 
						
							2015-11-09 18:09:46 +00:00  
				
					
						
							
							
								 
						
							
							
								c4135d85e1 
								
							
								 
							
						 
						
							
							
								
								SYN-513: Include updates for rooms that have had all their tags deleted  
							
							
							
						 
						
							2015-11-09 14:53:08 +00:00  
				
					
						
							
							
								 
						
							
							
								ca2f90742d 
								
							
								 
							
						 
						
							
							
								
								Open up /events to anonymous users for room events only  
							
							... 
							
							
							
							Squash-merge of PR #345  from daniel/anonymousevents 
							
						 
						
							2015-11-05 14:32:26 +00:00  
				
					
						
							
							
								 
						
							
							
								33b3e04049 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into daniel/removesomelies  
							
							... 
							
							
							
							Conflicts:
	synapse/notifier.py 
							
						 
						
							2015-11-04 16:01:00 +00:00  
				
					
						
							
							
								 
						
							
							
								a3bfef35fd 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into markjh/v2_sync_receipts  
							
							... 
							
							
							
							Conflicts:
	synapse/handlers/sync.py 
							
						 
						
							2015-11-03 17:31:17 +00:00  
				
					
						
							
							
								 
						
							
							
								2657140c58 
								
							
								 
							
						 
						
							
							
								
								Include read receipts in v2 sync  
							
							
							
						 
						
							2015-11-02 17:54:04 +00:00  
				
					
						
							
							
								 
						
							
							
								57be722c46 
								
							
								 
							
						 
						
							
							
								
								Include room tags in v2 /sync  
							
							
							
						 
						
							2015-11-02 16:23:15 +00:00  
				
					
						
							
							
								 
						
							
							
								771ca56c88 
								
							
								 
							
						 
						
							
							
								
								Remove more unused parameters  
							
							
							
						 
						
							2015-11-02 15:31:57 +00:00  
				
					
						
							
							
								 
						
							
							
								192241cf2a 
								
							
								 
							
						 
						
							
							
								
								Remove unused arguments and code  
							
							
							
						 
						
							2015-11-02 15:10:59 +00:00  
				
					
						
							
							
								 
						
							
							
								d58edd98e9 
								
							
								 
							
						 
						
							
							
								
								Update the other place check_joined_room is called  
							
							
							
						 
						
							2015-10-30 11:15:37 +00:00  
				
					
						
							
							
								 
						
							
							
								5cf22f0596 
								
							
								 
							
						 
						
							
							
								
								Don't mark newly joined room timelines as limited in an incremental sync  
							
							
							
						 
						
							2015-10-29 19:58:51 +00:00  
				
					
						
							
							
								 
						
							
							
								c79c4f9b14 
								
							
								 
							
						 
						
							
							
								
								Implement full_state incremental sync  
							
							... 
							
							
							
							A hopefully-complete implementation of the full_state incremental sync, as
specced at https://github.com/matrix-org/matrix-doc/pull/133 .
This actually turns out to be a relatively simple modification to the initial
sync implementation. 
							
						 
						
							2015-10-26 18:47:18 +00:00  
				
					
						
							
							
								 
						
							
							
								5201c66108 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into markjh/v2_sync_typing  
							
							... 
							
							
							
							Conflicts:
	synapse/handlers/sync.py 
							
						 
						
							2015-10-21 15:48:34 +01:00  
				
					
						
							
							
								 
						
							
							
								d63a0ca34b 
								
							
								 
							
						 
						
							
							
								
								Doc string for the SyncHandler.typing_by_room method  
							
							
							
						 
						
							2015-10-21 15:45:37 +01:00  
				
					
						
							
							
								 
						
							
							
								e3d75f564a 
								
							
								 
							
						 
						
							
							
								
								Include banned rooms in the archived section of v2 sync  
							
							
							
						 
						
							2015-10-21 11:15:48 +01:00  
				
					
						
							
							
								 
						
							
							
								7be06680ed 
								
							
								 
							
						 
						
							
							
								
								Include typing events in initial v2 sync  
							
							
							
						 
						
							2015-10-20 16:36:20 +01:00  
				
					
						
							
							
								 
						
							
							
								51d03e65b2 
								
							
								 
							
						 
						
							
							
								
								Fix pep8  
							
							
							
						 
						
							2015-10-19 17:48:58 +01:00  
				
					
						
							
							
								 
						
							
							
								68b7fc3e2b 
								
							
								 
							
						 
						
							
							
								
								Add rooms that the user has left under archived in v2 sync.  
							
							
							
						 
						
							2015-10-19 17:26:18 +01:00  
				
					
						
							
							
								 
						
							
							
								366af6b73a 
								
							
								 
							
						 
						
							
							
								
								Amalgamate _filter_events_for_client  
							
							
							
						 
						
							2015-10-16 14:52:48 +01:00  
				
					
						
							
							
								 
						
							
							
								a059760954 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #305  from matrix-org/markjh/v2_sync_api  
							
							... 
							
							
							
							Update the v2 sync API to work as specified in the current spec. 
							
						 
						
							2015-10-14 13:56:23 +01:00  
				
					
						
							
							
								 
						
							
							
								c185c1c413 
								
							
								 
							
						 
						
							
							
								
								Fix v2 sync polling  
							
							
							
						 
						
							2015-10-14 13:16:53 +01:00  
				
					
						
							
							
								 
						
							
							
								858634e1d0 
								
							
								 
							
						 
						
							
							
								
								Remove unused room_id arg  
							
							
							
						 
						
							2015-10-14 09:31:20 +01:00  
				
					
						
							
							
								 
						
							
							
								cacf0688c6 
								
							
								 
							
						 
						
							
							
								
								Add a get_invites_for_user method to the storage to find out the rooms a user is invited to  
							
							
							
						 
						
							2015-10-13 14:08:38 +01:00  
				
					
						
							
							
								 
						
							
							
								54414221e4 
								
							
								 
							
						 
						
							
							
								
								Include invites in incremental sync  
							
							
							
						 
						
							2015-10-13 11:43:12 +01:00  
				
					
						
							
							
								 
						
							
							
								ab9cf73258 
								
							
								 
							
						 
						
							
							
								
								Include invited rooms in the initial sync  
							
							
							
						 
						
							2015-10-13 11:03:48 +01:00  
				
					
						
							
							
								 
						
							
							
								956509dfec 
								
							
								 
							
						 
						
							
							
								
								Start spliting out the rooms into joined and invited in v2 sync  
							
							
							
						 
						
							2015-10-13 10:24:51 +01:00  
				
					
						
							
							
								 
						
							
							
								586beb8318 
								
							
								 
							
						 
						
							
							
								
								Update the filters to match the latest spec.  
							
							... 
							
							
							
							Apply the filter the 'timeline' and 'ephemeral' keys of rooms.
Apply the filter to the 'presence' key of a sync response. 
							
						 
						
							2015-10-12 16:54:58 +01:00  
				
					
						
							
							
								 
						
							
							
								dfef2b41aa 
								
							
								 
							
						 
						
							
							
								
								Update the v2 room sync format to match the current v2 spec  
							
							
							
						 
						
							2015-10-08 15:17:43 +01:00  
				
					
						
							
							
								 
						
							
							
								471555b3a8 
								
							
								 
							
						 
						
							
							
								
								Move the rooms out into a room_map mapping from room_id to room.  
							
							
							
						 
						
							2015-10-05 16:39:36 +01:00  
				
					
						
							
							
								 
						
							
							
								f31014b18f 
								
							
								 
							
						 
						
							
							
								
								Start updating the sync API to match the specification  
							
							
							
						 
						
							2015-10-01 17:53:07 +01:00  
				
					
						
							
							
								 
						
							
							
								825f0875bc 
								
							
								 
							
						 
						
							
							
								
								Fix up one more reference  
							
							
							
						 
						
							2015-08-25 16:37:37 +01:00  
				
					
						
							
							
								 
						
							
							
								daa01842f8 
								
							
								 
							
						 
						
							
							
								
								Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_users  
							
							
							
						 
						
							2015-08-19 13:46:03 +01:00  
				
					
						
							
							
								 
						
							
							
								7b0e797080 
								
							
								 
							
						 
						
							
							
								
								Fix _filter_events_for_client  
							
							
							
						 
						
							2015-08-12 17:05:24 +01:00  
				
					
						
							
							
								 
						
							
							
								f7e2f981ea 
								
							
								 
							
						 
						
							
							
								
								Use list comprehension instead of filter  
							
							
							
						 
						
							2015-08-12 16:01:10 +01:00  
				
					
						
							
							
								 
						
							
							
								dc8399ee00 
								
							
								 
							
						 
						
							
							
								
								Remove debug loggers  
							
							
							
						 
						
							2015-08-11 11:30:59 +01:00  
				
					
						
							
							
								 
						
							
							
								1b994a97dd 
								
							
								 
							
						 
						
							
							
								
								Fix application of ACLs  
							
							
							
						 
						
							2015-08-11 10:41:40 +01:00  
				
					
						
							
							
								 
						
							
							
								4d6cb8814e 
								
							
								 
							
						 
						
							
							
								
								Speed up event filtering (for ACL) logic  
							
							
							
						 
						
							2015-08-04 09:32:23 +01:00  
				
					
						
							
							
								 
						
							
							
								fb47c3cfbe 
								
							
								 
							
						 
						
							
							
								
								Rename key and values for m.room.history_visibility. Support 'invited' value  
							
							
							
						 
						
							2015-07-06 13:05:52 +01:00  
				
					
						
							
							
								 
						
							
							
								400894616d 
								
							
								 
							
						 
						
							
							
								
								Respect m.room.history_visibility in v2_alpha sync API  
							
							
							
						 
						
							2015-07-03 14:51:01 +01:00