13d37c3c56 
								
							
								 
							
						 
						
							
							
								
								Fixup add_pusher  
							
							
							
						 
						
							2016-05-13 11:25:02 +01:00  
				
					
						
							
							
								 
						
							
							
								acded821c4 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/develop' into dbkr/email_notifs  
							
							
							
						 
						
							2016-04-29 10:05:20 +01:00  
				
					
						
							
							
								 
						
							
							
								871357d539 
								
							
								 
							
						 
						
							
							
								
								Check that somethign has happend before running the selects  
							
							
							
						 
						
							2016-04-27 11:54:13 +01:00  
				
					
						
							
							
								 
						
							
							
								f63bd4ff47 
								
							
								 
							
						 
						
							
							
								
								Send a rather basic email notif  
							
							... 
							
							
							
							Also pep8 fixes 
							
						 
						
							2016-04-20 13:02:01 +01:00  
				
					
						
							
							
								 
						
							
							
								07d765209d 
								
							
								 
							
						 
						
							
							
								
								First bits of emailpusher  
							
							... 
							
							
							
							Mostly logic of when to send an email 
							
						 
						
							2016-04-19 14:24:36 +01:00  
				
					
						
							
							
								 
						
							
							
								d213d69fe3 
								
							
								 
							
						 
						
							
							
								
								Add desc arg  
							
							
							
						 
						
							2016-04-14 11:36:23 +01:00  
				
					
						
							
							
								 
						
							
							
								7984ffdc6a 
								
							
								 
							
						 
						
							
							
								
								Unneccessarywhitespaceisunnecessary  
							
							
							
						 
						
							2016-04-12 13:55:57 +01:00  
				
					
						
							
							
								 
						
							
							
								c1267d04c5 
								
							
								 
							
						 
						
							
							
								
								Oops, forgot the desc.  
							
							
							
						 
						
							2016-04-12 13:55:32 +01:00  
				
					
						
							
							
								 
						
							
							
								44891b4a0a 
								
							
								 
							
						 
						
							
							
								
								Tidy up get_pusher functions  
							
							... 
							
							
							
							Decodes pushers rows on the main thread rather than the db thread and uses _simple_select_list. Also do the same to the function I copied and factor out the duplication into a helper function. 
							
						 
						
							2016-04-12 13:47:17 +01:00  
				
					
						
							
							
								 
						
							
							
								7b39bcdaae 
								
							
								 
							
						 
						
							
							
								
								Mis-named function  
							
							
							
						 
						
							2016-04-12 13:35:08 +01:00  
				
					
						
							
							
								 
						
							
							
								8a76094965 
								
							
								 
							
						 
						
							
							
								
								Add get endpoint for pushers  
							
							... 
							
							
							
							As per https://github.com/matrix-org/matrix-doc/pull/308  
							
						 
						
							2016-04-11 18:00:03 +01:00  
				
					
						
							
							
								 
						
							
							
								ed3979df5f 
								
							
								 
							
						 
						
							
							
								
								Fix invite pushes  
							
							... 
							
							
							
							* If the event is an invite event, add the invitee to list of user we run push rules for (if they have a pusher etc)
 * Move invite_for_me to be higher prio than member events otherwise member events matches them
 * Spell override right 
							
						 
						
							2016-04-08 15:29:59 +01:00  
				
					
						
							
							
								 
						
							
							
								d9f38561c8 
								
							
								 
							
						 
						
							
							
								
								Literally a dictionary  
							
							
							
						 
						
							2016-04-07 17:45:01 +01:00  
				
					
						
							
							
								 
						
							
							
								4836864f56 
								
							
								 
							
						 
						
							
							
								
								generate id in the main thread  
							
							
							
						 
						
							2016-04-07 17:38:48 +01:00  
				
					
						
							
							
								 
						
							
							
								7e2c89a37f 
								
							
								 
							
						 
						
							
							
								
								Make pushers use the event_push_actions table instead of listening on an event stream & running the rules again. Sytest passes, but remaining to do:  
							
							... 
							
							
							
							* Make badges work again
 * Remove old, unused code 
							
						 
						
							2016-04-06 15:42:15 +01:00  
				
					
						
							
							
								 
						
							
							
								e36bfbab38 
								
							
								 
							
						 
						
							
							
								
								Use a stream id generator for backfilled ids  
							
							
							
						 
						
							2016-04-01 13:29:05 +01:00  
				
					
						
							
							
								 
						
							
							
								ee32d622ce 
								
							
								 
							
						 
						
							
							
								
								Fix a couple of errors when deleting pushers  
							
							
							
						 
						
							2016-03-15 17:47:36 +00:00  
				
					
						
							
							
								 
						
							
							
								b6e8420aee 
								
							
								 
							
						 
						
							
							
								
								Add replication stream for pushers  
							
							
							
						 
						
							2016-03-15 17:33:10 +00:00  
				
					
						
							
							
								 
						
							
							
								54172924c8 
								
							
								 
							
						 
						
							
							
								
								Load the current id in the IdGenerator constructor  
							
							... 
							
							
							
							Rather than loading them lazily. This allows us to remove all
the yield statements and spurious arguments for the get_next
methods.
It also allows us to replace all instances of get_next_txn with
get_next since get_next no longer needs to access the db. 
							
						 
						
							2016-03-01 14:32:56 +00:00  
				
					
						
							
							
								 
						
							
							
								b9977ea667 
								
							
								 
							
						 
						
							
							
								
								Remove dead code for setting device specific rules.  
							
							... 
							
							
							
							It wasn't possible to hit the code from the API because of a typo
in parsing the request path. Since no-one was using the feature
we might as well remove the dead code. 
							
						 
						
							2016-02-18 16:05:13 +00:00  
				
					
						
							
							
								 
						
							
							
								9c1f853d58 
								
							
								 
							
						 
						
							
							
								
								Rename 'user_name' to 'user_id' in push to make it consistent with the rest of the code  
							
							
							
						 
						
							2016-01-13 13:32:59 +00:00  
				
					
						
							
							
								 
						
							
							
								a8e9e0b916 
								
							
								 
							
						 
						
							
							
								
								Remove the PushersTable and EventPushActionsTable objects  
							
							
							
						 
						
							2016-01-12 14:41:26 +00:00  
				
					
						
							
							
								 
						
							
							
								6c28ac260c 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								527d95dea0 
								
							
								 
							
						 
						
							
							
								
								synapse/storage/_base.py:Table was unused  
							
							
							
						 
						
							2015-09-22 18:14:15 +01:00  
				
					
						
							
							
								 
						
							
							
								78323ccdb3 
								
							
								 
							
						 
						
							
							
								
								Remove syutil dependency in favour of smaller single-purpose libraries  
							
							
							
						 
						
							2015-08-24 16:17:38 +01:00  
				
					
						
							
							
								 
						
							
							
								b1ca784aca 
								
							
								 
							
						 
						
							
							
								
								Correctly decode, for sqlite and postgres, rows from pushers table  
							
							
							
						 
						
							2015-04-29 19:41:14 +01:00  
				
					
						
							
							
								 
						
							
							
								4a9dc5b2f5 
								
							
								 
							
						 
						
							
							
								
								pushkey' are also bytes.  
							
							
							
						 
						
							2015-04-29 19:27:02 +01:00  
				
					
						
							
							
								 
						
							
							
								3864b3a8e6 
								
							
								 
							
						 
						
							
							
								
								Actually return rows  
							
							
							
						 
						
							2015-04-29 18:07:36 +01:00  
				
					
						
							
							
								 
						
							
							
								0618978238 
								
							
								 
							
						 
						
							
							
								
								Typo, args wrong way round  
							
							
							
						 
						
							2015-04-29 18:04:35 +01:00  
				
					
						
							
							
								 
						
							
							
								09177f4f2e 
								
							
								 
							
						 
						
							
							
								
								Decode buffers in same thread  
							
							
							
						 
						
							2015-04-29 18:03:42 +01:00  
				
					
						
							
							
								 
						
							
							
								472be88674 
								
							
								 
							
						 
						
							
							
								
								We store pusher data as bytes  
							
							
							
						 
						
							2015-04-29 17:43:46 +01:00  
				
					
						
							
							
								 
						
							
							
								12d381bd5d 
								
							
								 
							
						 
						
							
							
								
								Decode the data json in the storage layer (was moved but this part was missed)  
							
							
							
						 
						
							2015-04-29 17:13:51 +01:00  
				
					
						
							
							
								 
						
							
							
								327ca883ec 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:matrix-org/synapse into postgres  
							
							
							
						 
						
							2015-04-28 13:39:42 +01:00  
				
					
						
							
							
								 
						
							
							
								e1c0970c11 
								
							
								 
							
						 
						
							
							
								
								PEP8  
							
							
							
						 
						
							2015-04-16 11:18:45 +01:00  
				
					
						
							
							
								 
						
							
							
								bc9e69e160 
								
							
								 
							
						 
						
							
							
								
								Move encoding and decoding of JSON into storage layer  
							
							
							
						 
						
							2015-04-16 11:01:09 +01:00  
				
					
						
							
							
								 
						
							
							
								6e91f14d09 
								
							
								 
							
						 
						
							
							
								
								Add missing yield  
							
							
							
						 
						
							2015-04-15 16:25:07 +01:00  
				
					
						
							
							
								 
						
							
							
								ed26e4012b 
								
							
								 
							
						 
						
							
							
								
								pushers table requires a unique id.  
							
							
							
						 
						
							2015-04-15 16:24:14 +01:00  
				
					
						
							
							
								 
						
							
							
								a32e876ef4 
								
							
								 
							
						 
						
							
							
								
								Delete pushers when changing password  
							
							
							
						 
						
							2015-03-26 13:40:16 +00:00  
				
					
						
							
							
								 
						
							
							
								c1a256cc4c 
								
							
								 
							
						 
						
							
							
								
								Allow multiple pushers for a single app ID & pushkey, honouring the 'append' flag in the API.  
							
							
							
						 
						
							2015-03-25 19:06:22 +00:00  
				
					
						
							
							
								 
						
							
							
								c7023f2155 
								
							
								 
							
						 
						
							
							
								
								1) Pushers are now associated with an access token  
							
							... 
							
							
							
							2) Change places where we mean unauthenticated to 401, not 403, in C/S v2: hack so it stays as 403 in v1 because web client relies on it. 
							
						 
						
							2015-03-24 17:24:15 +00:00  
				
					
						
							
							
								 
						
							
							
								dc0c989ef4 
								
							
								 
							
						 
						
							
							
								
								Give sensible names for '_simple_...' transactions  
							
							
							
						 
						
							2015-03-20 15:59:18 +00:00  
				
					
						
							
							
								 
						
							
							
								59a5f012cc 
								
							
								 
							
						 
						
							
							
								
								Also give _execute() a description  
							
							
							
						 
						
							2015-03-11 17:19:17 +00:00  
				
					
						
							
							
								 
						
							
							
								8d5cce62ab 
								
							
								 
							
						 
						
							
							
								
								Update pushers by app id and pushkey, not user id and pushkey  
							
							
							
						 
						
							2015-02-13 16:16:16 +00:00  
				
					
						
							
							
								 
						
							
							
								dc7bb70f22 
								
							
								 
							
						 
						
							
							
								
								s/instance_handle/profile_tag/  
							
							
							
						 
						
							2015-02-03 16:51:07 +00:00  
				
					
						
							
							
								 
						
							
							
								acb68a39e0 
								
							
								 
							
						 
						
							
							
								
								Code style fixes.  
							
							
							
						 
						
							2015-01-29 16:12:40 +00:00  
				
					
						
							
							
								 
						
							
							
								afb714f7be 
								
							
								 
							
						 
						
							
							
								
								add instance_handles to pushers so we have a way to refer to them even if the push token changes.  
							
							
							
						 
						
							2015-01-20 11:49:48 +00:00  
				
					
						
							
							
								 
						
							
							
								2d2953cf5f 
								
							
								 
							
						 
						
							
							
								
								Require device language when adding a pusher.  
							
							... 
							
							
							
							Because this seems like it might be useful to do sooner rather
than later. 
							
						 
						
							2015-01-16 11:24:10 +00:00  
				
					
						
							
							
								 
						
							
							
								2cb30767fa 
								
							
								 
							
						 
						
							
							
								
								Honour the 'rejected' return from push gateways  
							
							... 
							
							
							
							Add a timestamp to push tokens so we know the last time they we
got them from the device. Send it to the push gateways so it can
determine whether its failure is more recent than the token.
Stop and remove pushers that have been rejected. 
							
						 
						
							2015-01-13 19:48:37 +00:00  
				
					
						
							
							
								 
						
							
							
								4c7ad50f6e 
								
							
								 
							
						 
						
							
							
								
								Thank you, pyflakes  
							
							
							
						 
						
							2014-12-18 14:55:04 +00:00  
				
					
						
							
							
								 
						
							
							
								9728c305a3 
								
							
								 
							
						 
						
							
							
								
								after a few rethinks, a working implementation of pushers.  
							
							
							
						 
						
							2014-12-18 14:49:22 +00:00