7e6fa29cb5 
								
							
								 
							
						 
						
							
							
								
								Remove preserve_context_over_{fn, deferred}  
							
							... 
							
							
							
							Both of these functions ae known to leak logcontexts. Replace the remaining
calls to them and kill them off. 
							
						 
						
							2017-11-14 11:22:42 +00:00  
				
					
						
							
							
								 
						
							
							
								d46386d57e 
								
							
								 
							
						 
						
							
							
								
								Remove useless assignment in notify_interested_services  
							
							
							
						 
						
							2017-11-07 22:23:22 +03:00  
				
					
						
							
							
								 
						
							
							
								45fbe4ff67 
								
							
								 
							
						 
						
							
							
								
								Fix appservices being backlogged and not receiving new events due to a bug in notify_interested_services  
							
							
							
						 
						
							2017-11-02 22:49:43 +03:00  
				
					
						
							
							
								 
						
							
							
								9bfc617791 
								
							
								 
							
						 
						
							
							
								
								storage/appservice: make appservice methods only relying on the cache synchronous  
							
							
							
						 
						
							2016-10-06 15:24:59 +02:00  
				
					
						
							
							
								 
						
							
							
								ed44c475d8 
								
							
								 
							
						 
						
							
							
								
								Reject malformed 3PE query metadata results earlier in AS API handling code  
							
							
							
						 
						
							2016-09-09 15:07:04 +01:00  
				
					
						
							
							
								 
						
							
							
								f25d74f69c 
								
							
								 
							
						 
						
							
							
								
								Minor fixes from PR comments  
							
							
							
						 
						
							2016-09-09 14:54:16 +01:00  
				
					
						
							
							
								 
						
							
							
								25eb769b26 
								
							
								 
							
						 
						
							
							
								
								Efficiency fix for lookups of a single protocol  
							
							
							
						 
						
							2016-09-09 13:25:02 +01:00  
				
					
						
							
							
								 
						
							
							
								033d43e419 
								
							
								 
							
						 
						
							
							
								
								Don't corrupt shared cache on subsequent protocol requests  
							
							
							
						 
						
							2016-09-09 13:10:36 +01:00  
				
					
						
							
							
								 
						
							
							
								2f267ee160 
								
							
								 
							
						 
						
							
							
								
								Collect up all the "instances" lists of individual AS protocol results into one combined answer to the client  
							
							
							
						 
						
							2016-09-08 17:43:53 +01:00  
				
					
						
							
							
								 
						
							
							
								d9dcb2ba3a 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1041  from matrix-org/paul/third-party-lookup  
							
							... 
							
							
							
							Extend 3PE lookup APIs for metadata query 
							
						 
						
							2016-08-25 17:06:53 +01:00  
				
					
						
							
							
								 
						
							
							
								c435bfee9c 
								
							
								 
							
						 
						
							
							
								
								Don't need toplevel cache on 3PE lookup metadata any more  
							
							
							
						 
						
							2016-08-25 15:57:07 +01:00  
				
					
						
							
							
								 
						
							
							
								5474824975 
								
							
								 
							
						 
						
							
							
								
								Actually query over AS API for 3PE lookup metadata  
							
							
							
						 
						
							2016-08-25 15:29:36 +01:00  
				
					
						
							
							
								 
						
							
							
								8e1ed09dff 
								
							
								 
							
						 
						
							
							
								
								Move static knowledge of protocol metadata into AS handler; cache the result  
							
							
							
						 
						
							2016-08-24 13:01:53 +01:00  
				
					
						
							
							
								 
						
							
							
								9899824b85 
								
							
								 
							
						 
						
							
							
								
								Initial hack at the 3PN protocols metadata lookup API  
							
							
							
						 
						
							2016-08-24 12:33:01 +01:00  
				
					
						
							
							
								 
						
							
							
								9219139351 
								
							
								 
							
						 
						
							
							
								
								Preserve some logcontexts  
							
							
							
						 
						
							2016-08-24 11:58:40 +01:00  
				
					
						
							
							
								 
						
							
							
								5674ea3e6c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1026  from matrix-org/paul/thirdpartylookup  
							
							... 
							
							
							
							3rd party entity lookup 
							
						 
						
							2016-08-18 20:52:50 +01:00  
				
					
						
							
							
								 
						
							
							
								65201631a4 
								
							
								 
							
						 
						
							
							
								
								Move validation logic for AS 3PE query response into ApplicationServiceApi class, to keep the handler logic neater  
							
							
							
						 
						
							2016-08-18 17:33:56 +01:00  
				
					
						
							
							
								 
						
							
							
								697872cf08 
								
							
								 
							
						 
						
							
							
								
								More warnings about invalid results from AS 3PE query  
							
							
							
						 
						
							2016-08-18 17:24:39 +01:00  
				
					
						
							
							
								 
						
							
							
								b515f844ee 
								
							
								 
							
						 
						
							
							
								
								Avoid so much copypasta between 3PU and 3PL query by unifying around a ThirdPartyEntityKind enumeration  
							
							
							
						 
						
							2016-08-18 17:19:55 +01:00  
				
					
						
							
							
								 
						
							
							
								2a91799fcc 
								
							
								 
							
						 
						
							
							
								
								Minor syntax neatenings  
							
							
							
						 
						
							2016-08-18 16:58:25 +01:00  
				
					
						
							
							
								 
						
							
							
								fcf1dec809 
								
							
								 
							
						 
						
							
							
								
								Appease pep8  
							
							
							
						 
						
							2016-08-18 16:26:19 +01:00  
				
					
						
							
							
								 
						
							
							
								06964c4a0a 
								
							
								 
							
						 
						
							
							
								
								Copypasta the 3PU support code to also do 3PL  
							
							
							
						 
						
							2016-08-18 16:09:50 +01:00  
				
					
						
							
							
								 
						
							
							
								d7b42afc74 
								
							
								 
							
						 
						
							
							
								
								Log a warning if an AS yields an invalid 3PU lookup result  
							
							
							
						 
						
							2016-08-18 15:49:55 +01:00  
				
					
						
							
							
								 
						
							
							
								80f4740c8f 
								
							
								 
							
						 
						
							
							
								
								Scattergather the call out to ASes; validate received results  
							
							
							
						 
						
							2016-08-18 15:40:41 +01:00  
				
					
						
							
							
								 
						
							
							
								07229bbdae 
								
							
								 
							
						 
						
							
							
								
								Add appservice worker  
							
							
							
						 
						
							2016-08-18 14:59:55 +01:00  
				
					
						
							
							
								 
						
							
							
								434bbf2cb5 
								
							
								 
							
						 
						
							
							
								
								Filter 3PU lookups by only ASes that declare knowledge of that protocol  
							
							
							
						 
						
							2016-08-18 14:56:02 +01:00  
				
					
						
							
							
								 
						
							
							
								d5bf7a4a99 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/develop' into paul/thirdpartylookup  
							
							
							
						 
						
							2016-08-18 14:21:01 +01:00  
				
					
						
							
							
								 
						
							
							
								f0c73a1e7a 
								
							
								 
							
						 
						
							
							
								
								Extend individual list results into the main return list, don't append  
							
							
							
						 
						
							2016-08-18 13:53:54 +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  
				
					
						
							
							
								 
						
							
							
								320dfe523c 
								
							
								 
							
						 
						
							
							
								
								Make notify_interested_services faster  
							
							
							
						 
						
							2016-08-17 17:20:50 +01:00  
				
					
						
							
							
								 
						
							
							
								fa87c981e1 
								
							
								 
							
						 
						
							
							
								
								Thread 3PU lookup through as far as the AS API object; which currently noöps it  
							
							
							
						 
						
							2016-08-17 16:17:28 +01:00  
				
					
						
							
							
								 
						
							
							
								62c5245c87 
								
							
								 
							
						 
						
							
							
								
								Measure notify_interested_services  
							
							
							
						 
						
							2016-08-17 11:12:29 +01:00  
				
					
						
							
							
								 
						
							
							
								c626fc576a 
								
							
								 
							
						 
						
							
							
								
								Move the AS handler out of the Handlers object.  
							
							... 
							
							
							
							Access it directly from the homeserver itself. It already wasn't
inheriting from BaseHandler storing it on the Handlers object was
already somewhat dubious. 
							
						 
						
							2016-05-31 13:53:48 +01:00  
				
					
						
							
							
								 
						
							
							
								6c28ac260c 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								d88e20cdb9 
								
							
								 
							
						 
						
							
							
								
								Fix bug where synapse was sending AS user queries incorrectly.  
							
							... 
							
							
							
							Bug introduced in 92b20713d7 
							
						 
						
							2015-06-17 17:26:03 +01:00  
				
					
						
							
							
								 
						
							
							
								c8135f808b 
								
							
								 
							
						 
						
							
							
								
								Remove unused import  
							
							
							
						 
						
							2015-05-22 14:45:46 +01:00  
				
					
						
							
							
								 
						
							
							
								f43544eecc 
								
							
								 
							
						 
						
							
							
								
								Make the appservice use 'users_in_room' rather than get_room_members since it is cached  
							
							
							
						 
						
							2015-05-22 11:01:28 +01:00  
				
					
						
							
							
								 
						
							
							
								92b20713d7 
								
							
								 
							
						 
						
							
							
								
								More missed get_user_by_id API changes  
							
							
							
						 
						
							2015-05-01 13:45:54 +01:00  
				
					
						
							
							
								 
						
							
							
								813e54bd5b 
								
							
								 
							
						 
						
							
							
								
								Fix more AS sender ID thinkos.  
							
							... 
							
							
							
							Specifically, the ASes own user ID wasn't being treated as 'exclusive' so
a human could nab it. Also, the HS would needlessly send user queries to the
AS for its own user ID. 
							
						 
						
							2015-04-01 14:05:24 +01:00  
				
					
						
							
							
								 
						
							
							
								d33ae65efc 
								
							
								 
							
						 
						
							
							
								
								Remove more reg/unreg methods. Read config not database for cache.  
							
							
							
						 
						
							2015-03-31 11:00:00 +01: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  
				
					
						
							
							
								 
						
							
							
								21fd84dcb8 
								
							
								 
							
						 
						
							
							
								
								Use seconds; start gluing in the AS scheduler into the AS handler.  
							
							
							
						 
						
							2015-03-09 17:01:19 +00:00  
				
					
						
							
							
								 
						
							
							
								c7783d6fee 
								
							
								 
							
						 
						
							
							
								
								Notify ASes for events sent by other users in a room which an AS user is a part of.  
							
							
							
						 
						
							2015-02-11 10:36:08 +00:00  
				
					
						
							
							
								 
						
							
							
								f7cac2f7b6 
								
							
								 
							
						 
						
							
							
								
								Fix bugs so lazy room joining works as intended.  
							
							
							
						 
						
							2015-02-09 15:01:28 +00:00  
				
					
						
							
							
								 
						
							
							
								ac3183caaa 
								
							
								 
							
						 
						
							
							
								
								Register a user account for the AS when the AS registers. Add 'sender' column to AS table.  
							
							
							
						 
						
							2015-02-09 12:03:37 +00:00  
				
					
						
							
							
								 
						
							
							
								11e6b3d18b 
								
							
								 
							
						 
						
							
							
								
								Dependency inject ApplicationServiceApi when creating ApplicationServicesHandler.  
							
							
							
						 
						
							2015-02-05 17:04:59 +00:00  
				
					
						
							
							
								 
						
							
							
								c71456117d 
								
							
								 
							
						 
						
							
							
								
								Fix user query checks. HS>AS pushing now works.  
							
							
							
						 
						
							2015-02-05 14:17:08 +00:00  
				
					
						
							
							
								 
						
							
							
								51d63ac329 
								
							
								 
							
						 
						
							
							
								
								Glue AS work to general event notifications. Add more exception handling when poking ASes.  
							
							
							
						 
						
							2015-02-05 13:19:46 +00:00  
				
					
						
							
							
								 
						
							
							
								b932600653 
								
							
								 
							
						 
						
							
							
								
								Add unknown room alias check. Call it from directory_handler.get_association  
							
							
							
						 
						
							2015-02-05 11:47:11 +00:00