cb97ea3ec2 
								
							
								 
							
						 
						
							
							
								
								PEP8  
							
							
							
						 
						
							2015-03-02 11:23:46 +00:00  
				
					
						
							
							
								 
						
							
							
								377ae369c1 
								
							
								 
							
						 
						
							
							
								
								Wrap all of get_app_service_rooms in a txn.  
							
							
							
						 
						
							2015-03-02 11:20:51 +00:00  
				
					
						
							
							
								 
						
							
							
								357fba2c24 
								
							
								 
							
						 
						
							
							
								
								RoomMemberStore no longer needs a _user_rooms_cache member  
							
							
							
						 
						
							2015-02-23 15:57:41 +00:00  
				
					
						
							
							
								 
						
							
							
								ebc3db295b 
								
							
								 
							
						 
						
							
							
								
								Take named arguments to @cached() decorator, add a 'max_entries' limit  
							
							
							
						 
						
							2015-02-19 18:36:02 +00:00  
				
					
						
							
							
								 
						
							
							
								077d200342 
								
							
								 
							
						 
						
							
							
								
								Move @cached decorator out into synapse.storage._base; add minimal docs  
							
							
							
						 
						
							2015-02-19 17:29:39 +00:00  
				
					
						
							
							
								 
						
							
							
								61959928bb 
								
							
								 
							
						 
						
							
							
								
								Pull out the 'get_rooms_for_user' cache logic into a reüsable @cached decorator  
							
							
							
						 
						
							2015-02-19 14:58:07 +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  
				
					
						
							
							
								 
						
							
							
								7f47ba7383 
								
							
								 
							
						 
						
							
							
								
								Added another TODO note  
							
							
							
						 
						
							2015-02-11 16:18:21 +00:00  
				
					
						
							
							
								 
						
							
							
								45b56609ae 
								
							
								 
							
						 
						
							
							
								
								Cache the result of a get_rooms_for_user query, to make user_rooms_intersect() much lighter in the read-common case  
							
							
							
						 
						
							2015-02-11 16:04:08 +00:00  
				
					
						
							
							
								 
						
							
							
								7be0f6594e 
								
							
								 
							
						 
						
							
							
								
								First step of making user_rooms_intersect() faster - implement in intersection logic in Python code terms of a DB query that is cacheable per user  
							
							
							
						 
						
							2015-02-11 15:53:56 +00:00  
				
					
						
							
							
								 
						
							
							
								5759bec43c 
								
							
								 
							
						 
						
							
							
								
								Replace hs.parse_userid with UserID.from_string  
							
							
							
						 
						
							2015-01-23 11:47:15 +00:00  
				
					
						
							
							
								 
						
							
							
								8a12df8cf3 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'erikj-perf' of github.com:matrix-org/synapse into develop  
							
							
							
						 
						
							2015-01-06 14:45:57 +00:00  
				
					
						
							
							
								 
						
							
							
								96707ed718 
								
							
								 
							
						 
						
							
							
								
								Name 'user_rooms_intersect' transaction  
							
							
							
						 
						
							2015-01-06 14:44:27 +00:00  
				
					
						
							
							
								 
						
							
							
								76ec154e95 
								
							
								 
							
						 
						
							
							
								
								We don't need the full events for get_rooms_for_user_where_membership_is  
							
							
							
						 
						
							2015-01-06 14:37:00 +00:00  
				
					
						
							
							
								 
						
							
							
								5e23a19204 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #28  from matrix-org/erikj-perf  
							
							... 
							
							
							
							Database performance improvements. 
							
						 
						
							2015-01-06 13:33:40 +00:00  
				
					
						
							
							
								 
						
							
							
								adb04b1e57 
								
							
								 
							
						 
						
							
							
								
								Update copyright notices  
							
							
							
						 
						
							2015-01-06 13:21:39 +00:00  
				
					
						
							
							
								 
						
							
							
								f0128f9600 
								
							
								 
							
						 
						
							
							
								
								Add RoomMemberStore.get_users_in_room, so that we can get the list of joined users without having to retrieve the full events  
							
							
							
						 
						
							2015-01-06 10:55:43 +00:00  
				
					
						
							
							
								 
						
							
							
								f3788e3c78 
								
							
								 
							
						 
						
							
							
								
								Test some ideas that might help performance a bit  
							
							
							
						 
						
							2014-12-17 23:37:08 +00:00  
				
					
						
							
							
								 
						
							
							
								10eb8f070c 
								
							
								 
							
						 
						
							
							
								
								Workaround for non-uniqueness of room member events in the database confusing HAVING COUNT() test of room membership intersection (with thanks to Tom Molesworth)  
							
							
							
						 
						
							2014-12-02 21:36:53 +00:00  
				
					
						
							
							
								 
						
							
							
								32090aee16 
								
							
								 
							
						 
						
							
							
								
								Add a few missing yields, Move deferred lists inside PreserveLoggingContext because they don't interact well with the logging contexts  
							
							
							
						 
						
							2014-11-20 16:24:00 +00:00  
				
					
						
							
							
								 
						
							
							
								7d709542ca 
								
							
								 
							
						 
						
							
							
								
								Fix pep8 warnings  
							
							
							
						 
						
							2014-10-30 11:10:17 +00:00  
				
					
						
							
							
								 
						
							
							
								fbf6320614 
								
							
								 
							
						 
						
							
							
								
								pyflakes cleanup  
							
							
							
						 
						
							2014-09-30 12:38:38 +01:00  
				
					
						
							
							
								 
						
							
							
								c818aa13eb 
								
							
								 
							
						 
						
							
							
								
								Add LIMIT to scalar subquery  
							
							
							
						 
						
							2014-09-25 15:51:21 +01:00  
				
					
						
							
							
								 
						
							
							
								70899d3ab2 
								
							
								 
							
						 
						
							
							
								
								Rename deletions to redactions  
							
							
							
						 
						
							2014-09-24 15:27:59 +01:00  
				
					
						
							
							
								 
						
							
							
								78af6bbb98 
								
							
								 
							
						 
						
							
							
								
								Add m.room.deletion. If an event is deleted it will be returned to clients 'pruned', i.e. all client specified keys will be removed.  
							
							
							
						 
						
							2014-09-23 15:28:32 +01:00  
				
					
						
							
							
								 
						
							
							
								b0406b9ead 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/develop' into test-sqlite-memory  
							
							
							
						 
						
							2014-09-15 14:15:10 +01:00  
				
					
						
							
							
								 
						
							
							
								14975ce5bc 
								
							
								 
							
						 
						
							
							
								
								Fix bug where we relied on the current_state_events being updated when we are handling type specific persistence  
							
							
							
						 
						
							2014-09-12 17:57:02 +01:00  
				
					
						
							
							
								 
						
							
							
								1c51c8ab7d 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/develop' into test-sqlite-memory  
							
							... 
							
							
							
							Conflicts:
	synapse/storage/pdu.py 
							
						 
						
							2014-09-12 17:20:06 +01:00  
				
					
						
							
							
								 
						
							
							
								b42fe05c51 
								
							
								 
							
						 
						
							
							
								
								Fix bug where we incorrectly removed a remote host from the list of hosts in a room when any user from that host left that room even if they weren't the last user from that host in that room  
							
							
							
						 
						
							2014-09-12 17:11:09 +01:00  
				
					
						
							
							
								 
						
							
							
								aa525e4a63 
								
							
								 
							
						 
						
							
							
								
								More accurate docs / clearer paramter names in RoomMemberStore  
							
							
							
						 
						
							2014-09-12 16:43:49 +01:00  
				
					
						
							
							
								 
						
							
							
								a87eac4308 
								
							
								 
							
						 
						
							
							
								
								Revert recent changes to RoomMemberStore  
							
							
							
						 
						
							2014-09-12 15:51:51 +01:00  
				
					
						
							
							
								 
						
							
							
								e53d77b501 
								
							
								 
							
						 
						
							
							
								
								Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_pool  
							
							
							
						 
						
							2014-09-12 14:28:07 +01:00  
				
					
						
							
							
								 
						
							
							
								249e8f2277 
								
							
								 
							
						 
						
							
							
								
								Add a better _store_room_member_txn() method that takes separated fields instead of an event object; also add FIXME comment about a big bug in the logic  
							
							
							
						 
						
							2014-09-11 18:52:35 +01:00  
				
					
						
							
							
								 
						
							
							
								aaf9ab68c6 
								
							
								 
							
						 
						
							
							
								
								Rename _store_room_member_txn to _store_room_member_from_event_txn so we can create another, more sensible function of that name  
							
							
							
						 
						
							2014-09-11 18:44:04 +01:00  
				
					
						
							
							
								 
						
							
							
								781ff713ba 
								
							
								 
							
						 
						
							
							
								
								When getting a state event also include the previous content  
							
							
							
						 
						
							2014-09-06 02:23:36 +01:00  
				
					
						
							
							
								 
						
							
							
								8a7c1d6a00 
								
							
								 
							
						 
						
							
							
								
								fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch.  
							
							
							
						 
						
							2014-09-03 17:31:57 +01:00  
				
					
						
							
							
								 
						
							
							
								da3e04df8b 
								
							
								 
							
						 
						
							
							
								
								Rename the 'do_users_share_a_room' to something slightly less verb-sounding  
							
							
							
						 
						
							2014-09-03 10:40:48 +01:00  
				
					
						
							
							
								 
						
							
							
								b30358f439 
								
							
								 
							
						 
						
							
							
								
								add _get_room_member, fix datastore methods  
							
							
							
						 
						
							2014-08-27 16:51:54 +01:00  
				
					
						
							
							
								 
						
							
							
								4b63b06cad 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into storage_transactions  
							
							... 
							
							
							
							Conflicts:
	synapse/api/auth.py
	synapse/handlers/room.py
	synapse/storage/__init__.py 
							
						 
						
							2014-08-26 16:07:05 +01:00  
				
					
						
							
							
								 
						
							
							
								ac21dfff6d 
								
							
								 
							
						 
						
							
							
								
								Fix pyflakes errors  
							
							
							
						 
						
							2014-08-26 16:02:59 +01:00  
				
					
						
							
							
								 
						
							
							
								4b2ad549d5 
								
							
								 
							
						 
						
							
							
								
								Move the event storage into a single transaction  
							
							
							
						 
						
							2014-08-26 14:36:03 +01:00  
				
					
						
							
							
								 
						
							
							
								a664ec20e0 
								
							
								 
							
						 
						
							
							
								
								Add a do_users_share_a_room method and use that in the presence handler.  
							
							
							
						 
						
							2014-08-26 13:38:26 +01:00  
				
					
						
							
							
								 
						
							
							
								47c3a089c5 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into client_server_url_rename  
							
							
							
						 
						
							2014-08-26 09:26:33 +01:00  
				
					
						
							
							
								 
						
							
							
								cab3095803 
								
							
								 
							
						 
						
							
							
								
								Removed member list servlet: now using generic state paths.  
							
							
							
						 
						
							2014-08-26 09:26:07 +01:00  
				
					
						
							
							
								 
						
							
							
								537ecd4e99 
								
							
								 
							
						 
						
							
							
								
								Turn off spammy logging  
							
							
							
						 
						
							2014-08-22 18:12:38 +01:00  
				
					
						
							
							
								 
						
							
							
								d260a42ca2 
								
							
								 
							
						 
						
							
							
								
								PEP8 cleanups  
							
							
							
						 
						
							2014-08-15 16:17:36 +01:00  
				
					
						
							
							
								 
						
							
							
								114984a236 
								
							
								 
							
						 
						
							
							
								
								Start chagning the events stream to work with the new DB schema  
							
							
							
						 
						
							2014-08-15 13:58:28 +01:00  
				
					
						
							
							
								 
						
							
							
								2c46bb6208 
								
							
								 
							
						 
						
							
							
								
								Fix up typos and correct sql queries  
							
							
							
						 
						
							2014-08-14 18:40:50 +01:00  
				
					
						
							
							
								 
						
							
							
								661c711765 
								
							
								 
							
						 
						
							
							
								
								Start fixing places that use the data store.  
							
							
							
						 
						
							2014-08-14 17:34:37 +01:00  
				
					
						
							
							
								 
						
							
							
								2529f2bc01 
								
							
								 
							
						 
						
							
							
								
								Rename _execute_query  
							
							
							
						 
						
							2014-08-14 16:58:51 +01:00