Commit Graph

139 Commits (117f35ac4ac4f8d344ae1efbc629a3f8bc25f459)

Author SHA1 Message Date
Mark Haines 3cbc286d06 Move server key api into rest/key/v1 10 years ago
David Baker c5bf0343e8 Explain how I justified to myself making JsonResource not always send JSON. 10 years ago
David Baker e9c908ebc0 Completely replace fallback auth for C/S V2: 10 years ago
David Baker f129ee1e18 Make docs a bit more true 10 years ago
David Baker d18e7779ca Grammar and deduplication 10 years ago
David Baker 59bf16eddc New registration for C/S API v2. Only ReCAPTCHA working currently. 10 years ago
Paul "LeoNerd" Evans 3f7a31d366 Add a DistributionMetric to HTTP request/response processing time in the server 10 years ago
Matthew Hodgson c8032aec17 actually uphold the bind_host parameter. in theory should make ipv6 binds work like bind_host: 'fe80::1%lo0' 10 years ago
Erik Johnston dea236e4fa Add missing commas 10 years ago
Paul "LeoNerd" Evans 128cf2daf7 Appease pep8 10 years ago
Paul "LeoNerd" Evans 1748605c5d Count incoming HTTP requests per servlet that responds 10 years ago
Paul "LeoNerd" Evans b0cf867319 Use _ instead of . as a metric namespacing separator, for Prometheus 10 years ago
Paul "LeoNerd" Evans f9478e475b Rename Metrics' "keys" to "labels" 10 years ago
Paul "LeoNerd" Evans 7d72e44eb9 Add vector counters to HTTP clients and servers; count the requests by method and responses by method and response code 10 years ago
Paul "LeoNerd" Evans c53ec53d80 Pull out all uses of the underlying HTTP user agent .request() method into a single wrapper function, to make adding metrics easier 10 years ago
Paul "LeoNerd" Evans 9d9d39536b Slightly reduce the insane amounts of indentation in main http server response path, by 'continue'ing around a non-match or falling through 10 years ago
Kegan Dougal 2de5b14fe0 Fix bug which prevented the HS pushing events to the AS due to FrozenEvents 10 years ago
Erik Johnston 3f1871021e Make /keys/ return correct Server version 10 years ago
Erik Johnston 5358966a87 Use git aware version string in User-Agent and Server headers 10 years ago
Erik Johnston 7e9d59f3b4 Don't convert DNSLookupError to a 4xx SynapseError 10 years ago
Erik Johnston 65ca713ff5 Add .__name__ after type(e) 10 years ago
Erik Johnston 5e24471469 Fix up ResponseNeverReceived to str 10 years ago
Erik Johnston 0db52d43fa strings.join() expects iterable of strings 10 years ago
Erik Johnston 0647e27a41 Remove unused import 10 years ago
Erik Johnston 4de93001bf Make matrixfederationclient log more nicely 10 years ago
Erik Johnston 2bf0e85f3d Use encode_canonical_json for http client 10 years ago
Kegan Dougal f518324426 Minor tweaks based on PR feedback. 10 years ago
Erik Johnston 4ebbaf0d43 Blunty replace json with simplejson 10 years ago
Erik Johnston 6370cffbbf Fix bug where variable was not always defined 10 years ago
Erik Johnston 05b961d7e3 PEP8 10 years ago
Erik Johnston dcf52469e8 Move time_bound_deferred into Clock 10 years ago
Erik Johnston 0e6b3e4e40 Time out HTTP federation requests 10 years ago
Erik Johnston 24cc6979fb Log when we receive a request, when we send a response and how long it took to process it. 10 years ago
Erik Johnston 9f2573eea1 Return body of response in HttpResponseException 10 years ago
Kegan Dougal 543e84fe70 Add SimpleHttpClient.put_json with the same semantics as get_json. 10 years ago
Kegan Dougal 6d3e4f4d0a Update user/alias query APIs to use new format of SimpleHttpClient.get_json 10 years ago
Kegan Dougal 96d4bf9012 Modify API for SimpleHttpClient.get_json and update usages. 10 years ago
Erik Johnston ae46f10fc5 Apply sanity to the transport client interface. Convert 'make_join' and 'send_join' to accept iterables of destinations 10 years ago
Erik Johnston 5a3a15f5c1 Make post_json(...) actually send data. 10 years ago
Erik Johnston c183cec8f6 Add post_json(...) method to federation client 10 years ago
Mark Haines 7b814d3f7f Add client v2_alpha resource to synapse server resource tree 10 years ago
Mark Haines e26340cee7 Start implementing the v2_alpha sync API 10 years ago
Mark Haines e0bf18addf Add RestServlet base class in synapse/http/servlet.py 10 years ago
David Baker ede491b4e0 Oops: second part of commit dc938606 10 years ago
Mark Haines 5fed042640 Finish renaming "context" to "room_id" in federation codebase 10 years ago
Mark Haines c9d2cecac9 SYN-231: User agent header broken 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Mark Haines 773de09774 Set a content-length for JSON responses 10 years ago
Mark Haines 24b5d01853 Include version in User-Agent and Server headers 10 years ago
Erik Johnston 1fc2a0e33e Fix tests and remove debug logging 10 years ago