6cfee09be9 
								
							
								 
							
						 
						
							
							
								
								Make __init__ consitstent across Store heirarchy  
							
							... 
							
							
							
							Add db_conn parameters to the `__init__` methods of the *Store classes, so that
they are all consistent, which makes the multiple inheritance work correctly
(and so that we can later extract mixins which can be used in the slavedstores) 
							
						 
						
							2017-11-13 10:46:07 +00:00  
				
					
						
							
							
								 
						
							
							
								dae9a00a28 
								
							
								 
							
						 
						
							
							
								
								Initialise exclusive_user_regex  
							
							
							
						 
						
							2017-06-21 14:19:33 +01:00  
				
					
						
							
							
								 
						
							
							
								760625acba 
								
							
								 
							
						 
						
							
							
								
								Make get_if_app_services_interested_in_user faster  
							
							
							
						 
						
							2017-05-18 16:34:44 +01:00  
				
					
						
							
							
								 
						
							
							
								328378f9cb 
								
							
								 
							
						 
						
							
							
								
								Fix users claimed non-exclusively by an app service don't get notifications  #2211  
							
							
							
						 
						
							2017-05-11 11:42:08 +03:00  
				
					
						
							
							
								 
						
							
							
								0163466d72 
								
							
								 
							
						 
						
							
							
								
								Ignore AS users when fetching push rules  
							
							... 
							
							
							
							By ignoring AS users early on when fetching push rules for a room we can
avoid needlessly hitting the DB and filling up the caches. 
							
						 
						
							2016-11-23 11:01:01 +00:00  
				
					
						
							
							
								 
						
							
							
								9bfc617791 
								
							
								 
							
						 
						
							
							
								
								storage/appservice: make appservice methods only relying on the cache synchronous  
							
							
							
						 
						
							2016-10-06 15:24:59 +02:00  
				
					
						
							
							
								 
						
							
							
								b770435389 
								
							
								 
							
						 
						
							
							
								
								Make get_new_events_for_appservice use indices  
							
							
							
						 
						
							2016-08-19 10:28:42 +01:00  
				
					
						
							
							
								 
						
							
							
								07229bbdae 
								
							
								 
							
						 
						
							
							
								
								Add appservice worker  
							
							
							
						 
						
							2016-08-18 14:59:55 +01:00  
				
					
						
							
							
								 
						
							
							
								9da84a9a1e 
								
							
								 
							
						 
						
							
							
								
								Make AppserviceHandler stream events from database  
							
							... 
							
							
							
							This is for two reasons:
1. Suppresses duplicates correctly, as the notifier doesn't do any
   duplicate suppression.
2. Makes it easier to connect the AppserviceHandler to the replication
   stream. 
							
						 
						
							2016-08-18 11:54:41 +01:00  
				
					
						
							
							
								 
						
							
							
								84379062f9 
								
							
								 
							
						 
						
							
							
								
								Fix AS retries, but with correct ordering  
							
							
							
						 
						
							2016-06-07 10:24:50 +01:00  
				
					
						
							
							
								 
						
							
							
								310197bab5 
								
							
								 
							
						 
						
							
							
								
								Fix AS retries  
							
							
							
						 
						
							2016-06-07 09:34:50 +01:00  
				
					
						
							
							
								 
						
							
							
								05e01f21d7 
								
							
								 
							
						 
						
							
							
								
								Remove event fetching from DB threads  
							
							
							
						 
						
							2016-06-03 17:22:13 +01:00  
				
					
						
							
							
								 
						
							
							
								6a30a0bfd3 
								
							
								 
							
						 
						
							
							
								
								Move the functions for parsing app service config  
							
							
							
						 
						
							2016-05-17 11:28:58 +01:00  
				
					
						
							
							
								 
						
							
							
								763360594d 
								
							
								 
							
						 
						
							
							
								
								Mark AS users with their AS's ID  
							
							
							
						 
						
							2016-02-11 17:26:42 +00:00  
				
					
						
							
							
								 
						
							
							
								b84d59c5f0 
								
							
								 
							
						 
						
							
							
								
								Add descriptions  
							
							
							
						 
						
							2016-02-03 16:22:35 +00:00  
				
					
						
							
							
								 
						
							
							
								2680043bc6 
								
							
								 
							
						 
						
							
							
								
								Require ID and as_token be unique for ASs  
							
							... 
							
							
							
							Defaults ID to as_token if not specified. This will change
when IDs are fully supported. 
							
						 
						
							2016-01-14 14:34:01 +00:00  
				
					
						
							
							
								 
						
							
							
								27927463a1 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #494  from matrix-org/daniel/2  
							
							... 
							
							
							
							Don't start server if ASes are invalidly configured 
							
						 
						
							2016-01-14 11:06:19 +00:00  
				
					
						
							
							
								 
						
							
							
								f6fcff3602 
								
							
								 
							
						 
						
							
							
								
								Don't start server if ASes are invalidly configured  
							
							
							
						 
						
							2016-01-13 17:09:24 +00:00  
				
					
						
							
							
								 
						
							
							
								244b356a37 
								
							
								 
							
						 
						
							
							
								
								Delete unused code  
							
							
							
						 
						
							2016-01-13 17:03:58 +00:00  
				
					
						
							
							
								 
						
							
							
								6c28ac260c 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								0337eaf321 
								
							
								 
							
						 
						
							
							
								
								txn.execute doesn't return cursors  
							
							
							
						 
						
							2015-04-29 16:43:39 +01:00  
				
					
						
							
							
								 
						
							
							
								884fb88e28 
								
							
								 
							
						 
						
							
							
								
								txn.execute doesn't return cursors  
							
							
							
						 
						
							2015-04-29 16:35:20 +01:00  
				
					
						
							
							
								 
						
							
							
								d76c058eea 
								
							
								 
							
						 
						
							
							
								
								Fix invalid SQL to work in postgres land  
							
							
							
						 
						
							2015-04-29 16:30:25 +01:00  
				
					
						
							
							
								 
						
							
							
								b8092fbc82 
								
							
								 
							
						 
						
							
							
								
								Go back to storing JSON in TEXT  
							
							
							
						 
						
							2015-04-16 11:17:52 +01:00  
				
					
						
							
							
								 
						
							
							
								4fe95094d1 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into mysql  
							
							
							
						 
						
							2015-04-07 18:05:39 +01:00  
				
					
						
							
							
								 
						
							
							
								5e88a09a42 
								
							
								 
							
						 
						
							
							
								
								Add same user_id char checks as registration.  
							
							
							
						 
						
							2015-03-31 14:00:25 +01:00  
				
					
						
							
							
								 
						
							
							
								cf1fa59f4b 
								
							
								 
							
						 
						
							
							
								
								Use a sender localpart instead of a user ID.  
							
							... 
							
							
							
							Form the user ID at runtime instead, This gives less room for error in AS
config files since they cannot specify the domain of another HS. 
							
						 
						
							2015-03-31 13:48:03 +01:00  
				
					
						
							
							
								 
						
							
							
								c217504949 
								
							
								 
							
						 
						
							
							
								
								Edit SQL schema to use string IDs not ints. Use token as ID. Update tests.  
							
							
							
						 
						
							2015-03-31 12:07:56 +01:00  
				
					
						
							
							
								 
						
							
							
								b59aa74556 
								
							
								 
							
						 
						
							
							
								
								Fix tests and missing returns on deferreds.  
							
							
							
						 
						
							2015-03-31 11:35:45 +01:00  
				
					
						
							
							
								 
						
							
							
								d33ae65efc 
								
							
								 
							
						 
						
							
							
								
								Remove more reg/unreg methods. Read config not database for cache.  
							
							
							
						 
						
							2015-03-31 11:00:00 +01:00  
				
					
						
							
							
								 
						
							
							
								32206dde3f 
								
							
								 
							
						 
						
							
							
								
								Fixes from PR comments  
							
							
							
						 
						
							2015-03-26 10:11:52 +00:00  
				
					
						
							
							
								 
						
							
							
								d7a0496f3e 
								
							
								 
							
						 
						
							
							
								
								Convert storage layer to be mysql compatible  
							
							
							
						 
						
							2015-03-19 15:59:48 +00:00  
				
					
						
							
							
								 
						
							
							
								f0d6f724a2 
								
							
								 
							
						 
						
							
							
								
								Set the service ID as soon as it is known.  
							
							
							
						 
						
							2015-03-16 15:24:32 +00:00  
				
					
						
							
							
								 
						
							
							
								835e01fc70 
								
							
								 
							
						 
						
							
							
								
								Minor PR comment tweaks.  
							
							
							
						 
						
							2015-03-16 10:16:59 +00:00  
				
					
						
							
							
								 
						
							
							
								f9232c7917 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into application-services-txn-reliability  
							
							... 
							
							
							
							Conflicts:
	synapse/storage/appservice.py 
							
						 
						
							2015-03-16 10:09:15 +00:00  
				
					
						
							
							
								 
						
							
							
								099e4b88d8 
								
							
								 
							
						 
						
							
							
								
								Add a description to storage layer's _execute_and_decode()  
							
							
							
						 
						
							2015-03-11 17:08:57 +00:00  
				
					
						
							
							
								 
						
							
							
								db1fbc6c6f 
								
							
								 
							
						 
						
							
							
								
								Fix remaining scheduler bugs. Add more informative logging.  
							
							
							
						 
						
							2015-03-10 10:04:20 +00:00  
				
					
						
							
							
								 
						
							
							
								7e0bba555c 
								
							
								 
							
						 
						
							
							
								
								Remove unused import  
							
							
							
						 
						
							2015-03-09 17:48:37 +00:00  
				
					
						
							
							
								 
						
							
							
								04c9751f24 
								
							
								 
							
						 
						
							
							
								
								Bug fixes whilst putting it all together  
							
							
							
						 
						
							2015-03-09 17:45:41 +00:00  
				
					
						
							
							
								 
						
							
							
								b98cd03193 
								
							
								 
							
						 
						
							
							
								
								Use event IDs instead of dumping event content in the txns table.  
							
							
							
						 
						
							2015-03-09 17:25:20 +00:00  
				
					
						
							
							
								 
						
							
							
								0a60bbf4fa 
								
							
								 
							
						 
						
							
							
								
								Finish appservice txn storage impl and tests.  
							
							
							
						 
						
							2015-03-09 15:53:03 +00:00  
				
					
						
							
							
								 
						
							
							
								1ead1caa18 
								
							
								 
							
						 
						
							
							
								
								Implement create_appservice_txn with tests.  
							
							
							
						 
						
							2015-03-09 13:54:20 +00:00  
				
					
						
							
							
								 
						
							
							
								1c2dcf762a 
								
							
								 
							
						 
						
							
							
								
								Partially implement txn store methods with tests.  
							
							
							
						 
						
							2015-03-09 13:10:31 +00:00  
				
					
						
							
							
								 
						
							
							
								406d32f8b5 
								
							
								 
							
						 
						
							
							
								
								Start implementing ApplicationServiceTransactionStore  
							
							
							
						 
						
							2015-03-06 17:35:14 +00:00  
				
					
						
							
							
								 
						
							
							
								4a6afa6abf 
								
							
								 
							
						 
						
							
							
								
								Assign the AS ID from the database; replace old placeholder txn id.  
							
							
							
						 
						
							2015-03-06 17:27:55 +00:00  
				
					
						
							
							
								 
						
							
							
								01c099d9ef 
								
							
								 
							
						 
						
							
							
								
								Add appservice txns sql schema  
							
							
							
						 
						
							2015-03-06 17:16:47 +00:00  
				
					
						
							
							
								 
						
							
							
								2602ddc379 
								
							
								 
							
						 
						
							
							
								
								Apply clarity and docstrings  
							
							
							
						 
						
							2015-03-06 16:16:14 +00:00  
				
					
						
							
							
								 
						
							
							
								0354659f9d 
								
							
								 
							
						 
						
							
							
								
								Finish synapse.appservice.scheduler implementation.  
							
							... 
							
							
							
							With tests to assert behaviour. Not hooked up yet. Stub datastore methods
not implemented yet. 
							
						 
						
							2015-03-06 16:09:05 +00:00  
				
					
						
							
							
								 
						
							
							
								f260cb72cd 
								
							
								 
							
						 
						
							
							
								
								Flesh out more stub functions.  
							
							
							
						 
						
							2015-03-06 15:12:24 +00:00  
				
					
						
							
							
								 
						
							
							
								141ec04d19 
								
							
								 
							
						 
						
							
							
								
								Add stub ApplicationServiceTransactionStore. Bootstrap Recoverers. Fill in stub Transaction functions.  
							
							
							
						 
						
							2015-03-06 14:53:35 +00:00