38d82edf0e 
								
							
								 
							
						 
						
							
							
								
								Allow guest users to join and message rooms  
							
							
							
						 
						
							2015-11-10 16:57:13 +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  
				
					
						
							
							
								 
						
							
							
								987803781e 
								
							
								 
							
						 
						
							
							
								
								Fix some races in the synapse presence handler caused by not yielding on deferreds  
							
							
							
						 
						
							2015-10-09 19:59:50 +01:00  
				
					
						
							
							
								 
						
							
							
								0d4abf7777 
								
							
								 
							
						 
						
							
							
								
								Typo  
							
							
							
						 
						
							2015-08-18 11:19:08 +01:00  
				
					
						
							
							
								 
						
							
							
								e55291ce5e 
								
							
								 
							
						 
						
							
							
								
								None check  
							
							
							
						 
						
							2015-08-18 11:17:37 +01:00  
				
					
						
							
							
								 
						
							
							
								83eb627b5a 
								
							
								 
							
						 
						
							
							
								
								More helpful variable names  
							
							
							
						 
						
							2015-08-18 10:33:11 +01:00  
				
					
						
							
							
								 
						
							
							
								776ee6d92b 
								
							
								 
							
						 
						
							
							
								
								Doc strings  
							
							
							
						 
						
							2015-08-18 10:30:07 +01:00  
				
					
						
							
							
								 
						
							
							
								f72ed6c6a3 
								
							
								 
							
						 
						
							
							
								
								Remove debug try/catch  
							
							
							
						 
						
							2015-08-18 10:29:49 +01:00  
				
					
						
							
							
								 
						
							
							
								1a9510bb84 
								
							
								 
							
						 
						
							
							
								
								Implement a batched presence_handler.get_state and use it  
							
							
							
						 
						
							2015-08-17 10:40:23 +01:00  
				
					
						
							
							
								 
						
							
							
								bd1236c0ee 
								
							
								 
							
						 
						
							
							
								
								Consolidate duplicate code in notifier  
							
							
							
						 
						
							2015-07-02 11:46:05 +01:00  
				
					
						
							
							
								 
						
							
							
								0460406298 
								
							
								 
							
						 
						
							
							
								
								Don't do unecessary db ops in presence.get_state  
							
							
							
						 
						
							2015-06-16 16:59:38 +01:00  
				
					
						
							
							
								 
						
							
							
								1a9a9abcc7 
								
							
								 
							
						 
						
							
							
								
								Add a cache for getting the presence list for a user  
							
							
							
						 
						
							2015-05-22 16:11:17 +01:00  
				
					
						
							
							
								 
						
							
							
								106a3051b8 
								
							
								 
							
						 
						
							
							
								
								Remove spurious TODO comment  
							
							
							
						 
						
							2015-05-22 15:53:03 +01:00  
				
					
						
							
							
								 
						
							
							
								7ae8afb7ef 
								
							
								 
							
						 
						
							
							
								
								Removed unused 'is_visible' method  
							
							
							
						 
						
							2015-05-20 14:48:11 +01:00  
				
					
						
							
							
								 
						
							
							
								e01b825cc9 
								
							
								 
							
						 
						
							
							
								
								Clean up the presence_list checking logic a bit  
							
							
							
						 
						
							2015-05-20 13:21:59 +01:00  
				
					
						
							
							
								 
						
							
							
								e4c65b338d 
								
							
								 
							
						 
						
							
							
								
								Speed up the get_pagination_rows as well  
							
							
							
						 
						
							2015-05-18 18:21:06 +01:00  
				
					
						
							
							
								 
						
							
							
								591c4bf223 
								
							
								 
							
						 
						
							
							
								
								Cache the most recent serial for each room  
							
							
							
						 
						
							2015-05-18 16:21:51 +01:00  
				
					
						
							
							
								 
						
							
							
								e1150cac4b 
								
							
								 
							
						 
						
							
							
								
								Move updating the serial and state of the presence cache into a single function  
							
							
							
						 
						
							2015-05-18 15:46:37 +01:00  
				
					
						
							
							
								 
						
							
							
								880fb46de0 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'notifier_performance' into markjh/presence_performance  
							
							
							
						 
						
							2015-05-18 14:33:58 +01:00  
				
					
						
							
							
								 
						
							
							
								0b0033c40b 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into notifier_performance  
							
							
							
						 
						
							2015-05-18 13:50:01 +01:00  
				
					
						
							
							
								 
						
							
							
								755def8083 
								
							
								 
							
						 
						
							
							
								
								Add more doc string, reduce C+P boilerplate for getting room list  
							
							
							
						 
						
							2015-05-18 13:46:47 +01:00  
				
					
						
							
							
								 
						
							
							
								415b158ce2 
								
							
								 
							
						 
						
							
							
								
								More whitespace  
							
							
							
						 
						
							2015-05-15 11:09:47 +01:00  
				
					
						
							
							
								 
						
							
							
								0a4330cd5d 
								
							
								 
							
						 
						
							
							
								
								Add some missed argument types, cleanup the whitespace a bit  
							
							
							
						 
						
							2015-05-14 17:48:12 +01:00  
				
					
						
							
							
								 
						
							
							
								47ec693e29 
								
							
								 
							
						 
						
							
							
								
								More doc-strings  
							
							
							
						 
						
							2015-05-14 17:07:02 +01:00  
				
					
						
							
							
								 
						
							
							
								c5d1b4986b 
								
							
								 
							
						 
						
							
							
								
								Remove unused arguments and doc PresenceHandler.push_update_to_clients  
							
							
							
						 
						
							2015-05-14 14:59:31 +01:00  
				
					
						
							
							
								 
						
							
							
								899d4675dd 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'notifier_unify' into notifier_performance  
							
							
							
						 
						
							2015-05-14 11:36:44 +01:00  
				
					
						
							
							
								 
						
							
							
								63878c0379 
								
							
								 
							
						 
						
							
							
								
								Don't bother checking for updates if the stream token hasn't advanced for a user  
							
							
							
						 
						
							2015-05-13 13:42:21 +01:00  
				
					
						
							
							
								 
						
							
							
								d7b3ac46f8 
								
							
								 
							
						 
						
							
							
								
								Revert "Improvement to performance of presence event stream handling"  
							
							
							
						 
						
							2015-05-12 15:44:21 +01:00  
				
					
						
							
							
								 
						
							
							
								c167cbc9fd 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #147  from matrix-org/presence-performance  
							
							... 
							
							
							
							Improvement to performance of presence event stream handling 
							
						 
						
							2015-05-12 15:24:54 +01:00  
				
					
						
							
							
								 
						
							
							
								2236ef6c92 
								
							
								 
							
						 
						
							
							
								
								Fix up leak. Add warnings.  
							
							
							
						 
						
							2015-05-08 19:53:34 +01:00  
				
					
						
							
							
								 
						
							
							
								476899295f 
								
							
								 
							
						 
						
							
							
								
								Change the way we do logging contexts so that they survive divergences  
							
							
							
						 
						
							2015-05-08 16:32:18 +01:00  
				
					
						
							
							
								 
						
							
							
								45543028bb 
								
							
								 
							
						 
						
							
							
								
								Use the presence cachemap ordering to early-abort the iteration loop  
							
							
							
						 
						
							2015-05-07 22:40:10 +01:00  
				
					
						
							
							
								 
						
							
							
								f683b5de47 
								
							
								 
							
						 
						
							
							
								
								Store presence cachemap in an ordered dict, so that the newer serials will be at the end  
							
							
							
						 
						
							2015-05-07 21:27:53 +01:00  
				
					
						
							
							
								 
						
							
							
								a6e62cf6d0 
								
							
								 
							
						 
						
							
							
								
								Fix off by one in presence token handling  
							
							
							
						 
						
							2015-04-29 17:37:11 +01:00  
				
					
						
							
							
								 
						
							
							
								1783c7ca92 
								
							
								 
							
						 
						
							
							
								
								Ensure we never miss any presence updates  
							
							
							
						 
						
							2015-04-28 17:24:24 +01:00  
				
					
						
							
							
								 
						
							
							
								0126ef7f3c 
								
							
								 
							
						 
						
							
							
								
								Fix typo  
							
							
							
						 
						
							2015-04-28 17:23:53 +01:00  
				
					
						
							
							
								 
						
							
							
								d98edb548a 
								
							
								 
							
						 
						
							
							
								
								Ensure the serial returned by presence is always an integer  
							
							
							
						 
						
							2015-04-28 17:20:32 +01:00  
				
					
						
							
							
								 
						
							
							
								e1e5e53127 
								
							
								 
							
						 
						
							
							
								
								Remove users from the remote_offline_serials list (and clean up empty elements) when they go online again  
							
							
							
						 
						
							2015-04-23 19:01:37 +01:00  
				
					
						
							
							
								 
						
							
							
								b3bda8a75f 
								
							
								 
							
						 
						
							
							
								
								Don't let the remote offline serial list grow arbitrarily large  
							
							
							
						 
						
							2015-04-23 18:40:47 +01:00  
				
					
						
							
							
								 
						
							
							
								8a785c3006 
								
							
								 
							
						 
						
							
							
								
								Store a list of the presence serial number at which remote users went offline, so that when we delete them from the cachemap, we can still synthesize OFFLINE events for them (SYN-261)  
							
							
							
						 
						
							2015-04-23 18:40:19 +01:00  
				
					
						
							
							
								 
						
							
							
								191f7f09ce 
								
							
								 
							
						 
						
							
							
								
								Generate presence event-stream JSON structures directly  
							
							
							
						 
						
							2015-04-23 18:27:25 +01:00  
				
					
						
							
							
								 
						
							
							
								ed008e85a8 
								
							
								 
							
						 
						
							
							
								
								Reduce activity timer granularity to avoid too many quick updates (SYN-247)  
							
							
							
						 
						
							2015-03-23 17:25:50 +00:00  
				
					
						
							
							
								 
						
							
							
								128cf2daf7 
								
							
								 
							
						 
						
							
							
								
								Appease pep8  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								b0cf867319 
								
							
								 
							
						 
						
							
							
								
								Use _ instead of . as a metric namespacing separator, for Prometheus  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								59c448f074 
								
							
								 
							
						 
						
							
							
								
								Add a scalar gauge metric on the size of the presence user cachemap  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								8e28db5cc9 
								
							
								 
							
						 
						
							
							
								
								Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This uses the a storage api that is cached.  
							
							
							
						 
						
							2015-03-09 16:43:09 +00:00  
				
					
						
							
							
								 
						
							
							
								72a4de2ce6 
								
							
								 
							
						 
						
							
							
								
								Use consumeErrors=True on all DeferredLists.  
							
							... 
							
							
							
							This is so that the DeferredLists actually consume the error instead of
propogating down the non-existent errback chain. This should reduce the
number of unhandled errors we are seeing. 
							
						 
						
							2015-02-17 10:07:01 +00:00  
				
					
						
							
							
								 
						
							
							
								84a769cdb7 
								
							
								 
							
						 
						
							
							
								
								Fix code-style  
							
							
							
						 
						
							2015-02-10 17:58:36 +00:00  
				
					
						
							
							
								 
						
							
							
								b085fac735 
								
							
								 
							
						 
						
							
							
								
								Code-style fixes  
							
							
							
						 
						
							2015-02-10 16:30:48 +00:00  
				
					
						
							
							
								 
						
							
							
								c291a4d522 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into pushers  
							
							... 
							
							
							
							Conflicts:
	synapse/handlers/events.py
	synapse/server.py 
							
						 
						
							2015-01-28 12:51:05 +00:00