6c28ac260c 
								
							
								 
							
						 
						
							
							
								
								copyrights  
							
							
							
						 
						
							2016-01-07 04:26:29 +00:00  
				
					
						
							
							
								 
						
							
							
								b8dd5b1a2d 
								
							
								 
							
						 
						
							
							
								
								Verify third party ID server certificates  
							
							
							
						 
						
							2015-10-16 14:54:54 +01:00  
				
					
						
							
							
								 
						
							
							
								a80ef851f7 
								
							
								 
							
						 
						
							
							
								
								Fix previous merge to s/version_string/user_agent/  
							
							
							
						 
						
							2015-10-10 12:35:39 +01:00  
				
					
						
							
							
								 
						
							
							
								625e13bfde 
								
							
								 
							
						 
						
							
							
								
								Add get_raw method to SimpleHttpClient, use this in CAS auth rather than requests  
							
							
							
						 
						
							2015-10-10 10:54:19 +01:00  
				
					
						
							
							
								 
						
							
							
								492beb62a8 
								
							
								 
							
						 
						
							
							
								
								Use space not dash as delimiter  
							
							
							
						 
						
							2015-10-06 09:53:33 -05:00  
				
					
						
							
							
								 
						
							
							
								e0b466bcfd 
								
							
								 
							
						 
						
							
							
								
								Use space not dash as delimiter  
							
							
							
						 
						
							2015-10-06 09:32:26 -05:00  
				
					
						
							
							
								 
						
							
							
								b28c7da0a4 
								
							
								 
							
						 
						
							
							
								
								Preserve version string in user agent  
							
							
							
						 
						
							2015-10-05 20:49:39 -05:00  
				
					
						
							
							
								 
						
							
							
								8fc52bc56a 
								
							
								 
							
						 
						
							
							
								
								Allow synapse's useragent to be customized  
							
							... 
							
							
							
							This will allow me to write tests which verify which server made HTTP
requests in a federation context. 
							
						 
						
							2015-10-02 17:13:51 -05:00  
				
					
						
							
							
								 
						
							
							
								3bcbabc9fb 
								
							
								 
							
						 
						
							
							
								
								Rename context factory  
							
							... 
							
							
							
							Mjark is officially no fun. 
							
						 
						
							2015-09-15 15:46:22 +01:00  
				
					
						
							
							
								 
						
							
							
								6485f03d91 
								
							
								 
							
						 
						
							
							
								
								Fix random formatting  
							
							
							
						 
						
							2015-09-09 13:05:00 +01:00  
				
					
						
							
							
								 
						
							
							
								81a93ddcc8 
								
							
								 
							
						 
						
							
							
								
								Allow configuration to ignore invalid SSL certs  
							
							... 
							
							
							
							This will be useful for sytest, and sytest only, hence the aggressive
config key name. 
							
						 
						
							2015-09-09 12:02:07 +01:00  
				
					
						
							
							
								 
						
							
							
								78323ccdb3 
								
							
								 
							
						 
						
							
							
								
								Remove syutil dependency in favour of smaller single-purpose libraries  
							
							
							
						 
						
							2015-08-24 16:17:38 +01:00  
				
					
						
							
							
								 
						
							
							
								653533a3da 
								
							
								 
							
						 
						
							
							
								
								Fix log context when sending requests  
							
							
							
						 
						
							2015-06-19 11:46:49 +01:00  
				
					
						
							
							
								 
						
							
							
								83f119a84a 
								
							
								 
							
						 
						
							
							
								
								Log requests and responses sent via http.client  
							
							
							
						 
						
							2015-06-15 13:14:12 +01:00  
				
					
						
							
							
								 
						
							
							
								79e37a7ecb 
								
							
								 
							
						 
						
							
							
								
								Correctly pass connection pool parameter  
							
							
							
						 
						
							2015-05-28 16:48:53 +01:00  
				
					
						
							
							
								 
						
							
							
								11f51e6ded 
								
							
								 
							
						 
						
							
							
								
								Up maxPersistentPerHost count  
							
							
							
						 
						
							2015-05-28 15:45:46 +01:00  
				
					
						
							
							
								 
						
							
							
								086df80790 
								
							
								 
							
						 
						
							
							
								
								Add connection pooling to SimpleHttpClient  
							
							
							
						 
						
							2015-05-28 15:43:21 +01:00  
				
					
						
							
							
								 
						
							
							
								476899295f 
								
							
								 
							
						 
						
							
							
								
								Change the way we do logging contexts so that they survive divergences  
							
							
							
						 
						
							2015-05-08 16:32:18 +01:00  
				
					
						
							
							
								 
						
							
							
								59bf16eddc 
								
							
								 
							
						 
						
							
							
								
								New registration for C/S API v2. Only ReCAPTCHA working currently.  
							
							
							
						 
						
							2015-03-30 18:13:10 +01: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  
				
					
						
							
							
								 
						
							
							
								f9478e475b 
								
							
								 
							
						 
						
							
							
								
								Rename Metrics' "keys" to "labels"  
							
							
							
						 
						
							2015-03-12 16:24:51 +00:00  
				
					
						
							
							
								 
						
							
							
								7d72e44eb9 
								
							
								 
							
						 
						
							
							
								
								Add vector counters to HTTP clients and servers; count the requests by method and responses by method and response code  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								c53ec53d80 
								
							
								 
							
						 
						
							
							
								
								Pull out all uses of the underlying HTTP user agent .request() method into a single wrapper function, to make adding metrics easier  
							
							
							
						 
						
							2015-03-12 16:24:50 +00:00  
				
					
						
							
							
								 
						
							
							
								2de5b14fe0 
								
							
								 
							
						 
						
							
							
								
								Fix bug which prevented the HS pushing events to the AS due to FrozenEvents  
							
							
							
						 
						
							2015-03-02 15:36:37 +00:00  
				
					
						
							
							
								 
						
							
							
								5358966a87 
								
							
								 
							
						 
						
							
							
								
								Use git aware version string in User-Agent and Server headers  
							
							
							
						 
						
							2015-02-18 16:52:04 +00:00  
				
					
						
							
							
								 
						
							
							
								0d872f5aa6 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #50  from matrix-org/application-services  
							
							... 
							
							
							
							Application Services 
							
						 
						
							2015-02-13 15:06:14 +00:00  
				
					
						
							
							
								 
						
							
							
								2bf0e85f3d 
								
							
								 
							
						 
						
							
							
								
								Use encode_canonical_json for http client  
							
							
							
						 
						
							2015-02-11 17:34:23 +00:00  
				
					
						
							
							
								 
						
							
							
								f518324426 
								
							
								 
							
						 
						
							
							
								
								Minor tweaks based on PR feedback.  
							
							
							
						 
						
							2015-02-11 16:41:16 +00:00  
				
					
						
							
							
								 
						
							
							
								4ebbaf0d43 
								
							
								 
							
						 
						
							
							
								
								Blunty replace json with simplejson  
							
							
							
						 
						
							2015-02-11 14:23:10 +00:00  
				
					
						
							
							
								 
						
							
							
								543e84fe70 
								
							
								 
							
						 
						
							
							
								
								Add SimpleHttpClient.put_json with the same semantics as get_json.  
							
							
							
						 
						
							2015-02-04 17:39:51 +00:00  
				
					
						
							
							
								 
						
							
							
								6d3e4f4d0a 
								
							
								 
							
						 
						
							
							
								
								Update user/alias query APIs to use new format of SimpleHttpClient.get_json  
							
							
							
						 
						
							2015-02-04 17:32:44 +00:00  
				
					
						
							
							
								 
						
							
							
								96d4bf9012 
								
							
								 
							
						 
						
							
							
								
								Modify API for SimpleHttpClient.get_json and update usages.  
							
							... 
							
							
							
							Previously, this would only return the HTTP body as JSON, and discard other
response information (e.g. the HTTP response code). This has now been changed
to throw a CodeMessageException on a non-2xx response, with the response code
and body, which can then be parsed as JSON.
Affected modules include:
 - Registration/Login (when using an email for IS auth) 
							
						 
						
							2015-02-04 17:07:31 +00:00  
				
					
						
							
							
								 
						
							
							
								c06a9063e1 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into pushers  
							
							
							
						 
						
							2015-01-13 13:15:51 +00:00  
				
					
						
							
							
								 
						
							
							
								c9d2cecac9 
								
							
								 
							
						 
						
							
							
								
								SYN-231: User agent header broken  
							
							
							
						 
						
							2015-01-08 09:41:11 +00:00  
				
					
						
							
							
								 
						
							
							
								adb04b1e57 
								
							
								 
							
						 
						
							
							
								
								Update copyright notices  
							
							
							
						 
						
							2015-01-06 13:21:39 +00:00  
				
					
						
							
							
								 
						
							
							
								24b5d01853 
								
							
								 
							
						 
						
							
							
								
								Include version in User-Agent and Server headers  
							
							
							
						 
						
							2014-12-22 10:16:02 +00:00  
				
					
						
							
							
								 
						
							
							
								eb6aedf92c 
								
							
								 
							
						 
						
							
							
								
								More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP pokes work or not yet but the retry semantics are pretty good.  
							
							
							
						 
						
							2014-11-21 12:21:00 +00:00  
				
					
						
							
							
								 
						
							
							
								610c2ea131 
								
							
								 
							
						 
						
							
							
								
								Fix pep8 and pyflakes warnings  
							
							
							
						 
						
							2014-11-20 18:00:10 +00:00  
				
					
						
							
							
								 
						
							
							
								e377d33652 
								
							
								 
							
						 
						
							
							
								
								Separate out the matrix http client completely because just about all of its code it now separate from the simple case we need for standard HTTP(S)  
							
							
							
						 
						
							2014-11-20 17:41:56 +00:00  
				
					
						
							
							
								 
						
							
							
								dc60eee50e 
								
							
								 
							
						 
						
							
							
								
								Refactor the HTTP clients a little.  
							
							
							
						 
						
							2014-11-20 13:53:34 +00:00  
				
					
						
							
							
								 
						
							
							
								cf66532ac1 
								
							
								 
							
						 
						
							
							
								
								CaptchaServerHttpClient should extend the base, not matrix http client.  
							
							
							
						 
						
							2014-11-20 12:48:21 +00:00  
				
					
						
							
							
								 
						
							
							
								3e54d70ae2 
								
							
								 
							
						 
						
							
							
								
								SYN-141: Encode query params as UTF-8.  
							
							
							
						 
						
							2014-11-18 19:43:08 +00:00  
				
					
						
							
							
								 
						
							
							
								7c06399512 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' into request_logging  
							
							... 
							
							
							
							Conflicts:
	synapse/config/logger.py 
							
						 
						
							2014-10-30 11:13:58 +00:00  
				
					
						
							
							
								 
						
							
							
								7d709542ca 
								
							
								 
							
						 
						
							
							
								
								Fix pep8 warnings  
							
							
							
						 
						
							2014-10-30 11:10:17 +00:00  
				
					
						
							
							
								 
						
							
							
								b29517bd01 
								
							
								 
							
						 
						
							
							
								
								Add a request-id to each log line  
							
							
							
						 
						
							2014-10-30 01:21:33 +00:00  
				
					
						
							
							
								 
						
							
							
								4be99c2989 
								
							
								 
							
						 
						
							
							
								
								Add get_json method to 3pid http client. Better logging for errors in 3pid requests  
							
							
							
						 
						
							2014-10-20 14:10:08 +01:00  
				
					
						
							
							
								 
						
							
							
								f74e850b5c 
								
							
								 
							
						 
						
							
							
								
								remove debugging logging for signing requests  
							
							
							
						 
						
							2014-10-14 11:46:13 +01:00  
				
					
						
							
							
								 
						
							
							
								6684855767 
								
							
								 
							
						 
						
							
							
								
								Verify signatures for server2server requests  
							
							
							
						 
						
							2014-10-13 14:37:46 +01:00  
				
					
						
							
							
								 
						
							
							
								10ef8e6e4b 
								
							
								 
							
						 
						
							
							
								
								SYN-75 sign at the request level rather than the transaction level  
							
							
							
						 
						
							2014-10-13 11:49:55 +01:00