summary refs log tree commit diff
path: root/synapse/http (follow)
Commit message (Expand)AuthorAgeFilesLines
* Use git aware version string in User-Agent and Server headersErik Johnston2015-02-184-34/+25
* Add .__name__ after type(e)Erik Johnston2015-02-181-2/+2
* Fix up ResponseNeverReceived to strErik Johnston2015-02-181-9/+11
* strings.join() expects iterable of stringsErik Johnston2015-02-181-1/+1
* Remove unused importErik Johnston2015-02-171-1/+0
* Merge branch 'develop' of github.com:matrix-org/synapse into failuresErik Johnston2015-02-171-10/+57
|\
| * Merge pull request #50 from matrix-org/application-servicesMark Haines2015-02-131-10/+57
| |\
| | * Merge branch 'develop' into application-servicesKegan Dougal2015-02-111-2/+1
| | |\
| | * | Minor tweaks based on PR feedback.Kegan Dougal2015-02-111-1/+2
| | * | Merge branch 'develop' into application-servicesKegan Dougal2015-02-092-3/+23
| | |\ \
| | * \ \ Merge branch 'develop' into application-servicesKegan Dougal2015-02-051-6/+36
| | |\ \ \
| | * | | | Add SimpleHttpClient.put_json with the same semantics as get_json.Kegan Dougal2015-02-041-2/+46
| | * | | | Update user/alias query APIs to use new format of SimpleHttpClient.get_jsonKegan Dougal2015-02-041-0/+3
| | * | | | Modify API for SimpleHttpClient.get_json and update usages.Kegan Dougal2015-02-041-10/+9
* | | | | | Make matrixfederationclient log more nicelyErik Johnston2015-02-171-11/+12
|/ / / / /
* | | | | Use encode_canonical_json for http clientErik Johnston2015-02-111-1/+3
* | | | | Merge pull request #61 from matrix-org/timeout-federation-requestsErik Johnston2015-02-111-1/+7
|\ \ \ \ \
| * \ \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into timeout-federati...Erik Johnston2015-02-111-2/+1
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into timeout-federati...Erik Johnston2015-02-114-13/+228
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | PEP8Erik Johnston2015-02-111-1/+0
| * | | | | Move time_bound_deferred into ClockErik Johnston2015-02-111-3/+2
| * | | | | Time out HTTP federation requestsErik Johnston2015-02-101-2/+9
* | | | | | Blunty replace json with simplejsonErik Johnston2015-02-112-2/+2
| |_|/ / / |/| | | |
* | | | | Fix bug where variable was not always definedErik Johnston2015-02-111-2/+1
| |/ / / |/| | |
* | | | Log when we receive a request, when we send a response and how long it took t...Erik Johnston2015-02-091-2/+21
* | | | Return body of response in HttpResponseExceptionErik Johnston2015-02-061-1/+2
| |_|/ |/| |
* | | Apply sanity to the transport client interface. Convert 'make_join' and 'send...Erik Johnston2015-02-041-6/+36
| |/ |/|
* | Merge branch 'develop' of github.com:matrix-org/synapse into rejectionsErik Johnston2015-01-303-6/+78
|\ \
| * \ Merge branch 'develop' into pushersDavid Baker2015-01-281-0/+113
| |\ \
| | * | Add client v2_alpha resource to synapse server resource treeMark Haines2015-01-231-0/+57
| * | | Merge branch 'develop' into pushersDavid Baker2015-01-221-1/+0
| |\ \ \
| * | | | Oops: second part of commit dc938606David Baker2015-01-221-6/+2
| * | | | Merge branch 'develop' into pushersDavid Baker2015-01-137-12/+42
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Merge branch 'develop' into pushersDavid Baker2014-12-183-235/+129
| |\ \ \ \
| * \ \ \ \ Merge branch 'develop' into pushersDavid Baker2014-12-021-2/+2
| |\ \ \ \ \
| * | | | | | More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP p...David Baker2014-11-211-0/+19
* | | | | | | Make post_json(...) actually send data.Erik Johnston2015-01-291-1/+1
* | | | | | | Add post_json(...) method to federation clientErik Johnston2015-01-291-0/+37
| |_|_|_|_|/ |/| | | | |
* | | | | | Add RestServlet base class in synapse/http/servlet.pyMark Haines2015-01-231-0/+56
| |_|_|_|/ |/| | | |
* | | | | Finish renaming "context" to "room_id" in federation codebaseMark Haines2015-01-161-1/+0
| |_|_|/ |/| | |
* | | | SYN-231: User agent header brokenMark Haines2015-01-081-3/+3
* | | | Update copyright noticesMark Haines2015-01-067-8/+8
* | | | Set a content-length for JSON responsesMark Haines2015-01-061-0/+1
* | | | Include version in User-Agent and Server headersMark Haines2014-12-224-6/+35
| |_|/ |/| |
* | | Fix tests and remove debug loggingErik Johnston2014-12-121-4/+0
* | | Consistently url decode and decode as utf 8 the URL partsErik Johnston2014-12-121-1/+11
* | | Limit the size of images that are thumbnailed serverside. Limit the size of f...Mark Haines2014-12-111-6/+19
* | | Merge branch 'develop' into media_repositoryMark Haines2014-12-101-9/+26
|\ \ \
| * | | turn back on per-request transaction retries, so that every time we try to hi...Matthew Hodgson2014-12-101-4/+3
| * | | Code style.Erik Johnston2014-12-101-8/+21
| * | | add errbacks to enqueue_pdu deferreds; change logging for failed federation s...Matthew Hodgson2014-12-101-2/+2
| * | | squidge to 79 columns as per pep8Matthew Hodgson2014-12-101-3/+4
| * | | track replication destination health, and perform exponential back-off when s...Matthew Hodgson2014-12-071-6/+10
| | |/ | |/|
* | | Implement download support for media_repositoryMark Haines2014-12-041-5/+68
* | | Get uploads working with new media repoMark Haines2014-12-021-2/+2
* | | Write the upload portion of version 1 of the media repositoryMark Haines2014-12-022-219/+14
|/ /
* / typosMatthew Hodgson2014-11-241-2/+2
|/
* Fix pep8 and pyflakes warningsMark Haines2014-11-203-7/+8
* Merge branch 'develop' into http_client_refactorDavid Baker2014-11-202-8/+9
|\
| * Fix pep8 codestyle warningsMark Haines2014-11-202-8/+9
| * Use module loggers rather than the root logger. Exceptions caused by bad clie...Mark Haines2014-11-201-1/+1
* | Separate out the matrix http client completely because just about all of its ...David Baker2014-11-203-323/+338
* | Refactor the HTTP clients a little.David Baker2014-11-201-79/+75
* | CaptchaServerHttpClient should extend the base, not matrix http client.David Baker2014-11-201-1/+1
|/
* SYN-141: Encode query params as UTF-8.Mark Haines2014-11-181-1/+7
* Merge branch 'develop' into request_loggingMark Haines2014-11-141-0/+8
|\
| * apply some cache headers to try to make the content repo less nutsoMatthew Hodgson2014-11-111-0/+8
* | Merge branch 'develop' into request_loggingMark Haines2014-10-303-11/+7
|\|
| * Fix pep8 warningsMark Haines2014-10-303-12/+10
* | Add a request-id to each log lineMark Haines2014-10-302-12/+27
|/
* Add get_json method to 3pid http client. Better logging for errors in 3pid re...Mark Haines2014-10-201-1/+39
* remove debugging logging for signing requestsMark Haines2014-10-141-4/+0
* Verify signatures for server2server requestsMark Haines2014-10-131-3/+7
* SYN-75 sign at the request level rather than the transaction levelMark Haines2014-10-131-7/+45
* Merge branch 'develop' into server2server_signingMark Haines2014-10-131-11/+35
|\
| * Replace on_send_callback with something a bit clearer so that we can sign mes...Mark Haines2014-10-131-11/+35
* | Merge branch develop into server2server_signingMark Haines2014-10-131-154/+136
|\|
| * Fix pyflakes errorsMark Haines2014-10-021-8/+2
| * Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ...Mark Haines2014-10-021-8/+1
| * Split PlainHttpClient into separate clients for talking to Identity servers a...Mark Haines2014-10-021-144/+146
| * remove "red", "blue" and "green" server_name mappingsMark Haines2014-10-011-7/+0
* | Fix a few pyflakes errors in the server_key_resourceMark Haines2014-09-231-5/+1
* | Add a _matrix/key/v1 resource with the verification keys of the local serverMark Haines2014-09-231-0/+93
|/
* Fix 'age' key to update on retriesErik Johnston2014-09-151-3/+10
* Captchas now work on registration. Missing x-forwarded-for config arg support...Kegan Dougal2014-09-051-1/+27
* Merge branch 'develop' of github.com:matrix-org/synapse into developDavid Baker2014-09-035-169/+232
|\
| * fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-035-5/+5
| * Limit the size of uploadsMark Haines2014-09-031-0/+14
| * Make retrying requests on DNS failures configurable, and turn off retrying on...Kegan Dougal2014-09-031-6/+19
| * hs: Updated synapse.http.client to handle DNSLookupErrors and bail immediately.Kegan Dougal2014-09-031-1/+6
| * Merge branch 'develop' of github.com:matrix-org/synapse into developErik Johnston2014-09-032-163/+193
| |\
| | * move contentrepo class to it's own fileMark Haines2014-09-032-162/+192
| * | Add option to change content repo locationErik Johnston2014-09-031-3/+4
| |/
* / Add support for registering with a threepid to the HS (get credentials from t...David Baker2014-09-031-5/+35
|/
* Merge branch 'master' into developErik Johnston2014-09-031-2/+2
|\
| * Update default endpoint port to match the default ports in the configErik Johnston2014-09-021-2/+2
* | Set status message for ratelimit error responsesMark Haines2014-09-031-5/+9
|/
* given everything's apparently gone https:// by default for c-s, change this h...Matthew Hodgson2014-09-011-1/+5
* Fix SSL for federation http clientMark Haines2014-09-012-2/+2
* Enable SSL for s2s http clientMark Haines2014-09-011-2/+6
* missed a s#/matrix#/_matrix/gMatthew Hodgson2014-08-311-1/+1
* For the content repo, don't just use homeserver.hostname as that might not in...Erik Johnston2014-08-241-1/+3
* Make the content repo work with in daemon mode. Return the full url on upload...Erik Johnston2014-08-221-6/+20
* Reduce the amount of incredibly spammy stack traces. Expected errors (e.g. Sy...Kegan Dougal2014-08-191-1/+13
* Small amounts of cleanup and bonus round comments.Kegan Dougal2014-08-181-4/+8
* Implemented GETs for the ContentRepoResource. It all actually appears to be w...Kegan Dougal2014-08-181-11/+60
* hs: Make the uploads directory if it doesn't exist. Namespace uploads by the ...Kegan Dougal2014-08-181-5/+46
* Auth content uploads. Added a mapping function from request > filename. Added...Kegan Dougal2014-08-181-12/+32
* Added /matrix/content path, HS resource_for_content_repo attribute and FileUp...Kegan Dougal2014-08-181-0/+28
* If the web client is enabled, automatically redirect root '/' to the web clie...Kegan Dougal2014-08-141-0/+17
* Removed http_server from HomeServer. Updated unit tests to use either resourc...Kegan Dougal2014-08-141-9/+3
* Start phasing out HttpServer: we should be using Resources instead. Added res...Kegan Dougal2014-08-141-0/+5
* fix http client GET parameters; somehow missing named param. how could this h...Matthew Hodgson2014-08-141-2/+2
* Update get_json()'s documentation to match the actual observed behaviourPaul "LeoNerd" Evans2014-08-131-4/+3
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-134-0/+4
* Just say yes to OPTIONS requests, since we want to turn on CORS headers for a...Erik Johnston2014-08-121-0/+5
* Reference Matrix Home Servermatrix.org2014-08-124-0/+612