Commit Graph

829 Commits

Author SHA1 Message Date
anirudt 1e0b37a9a8 Fixes typo in datastore.go
fixes two occurences of the word interpreted
in datastore.go
2015-11-19 19:48:26 +05:30
Marius e445d9c0ef Merge pull request #31 from vayam/master
Allow GET CORS requests, XSS protection and better content type
2015-11-16 21:33:52 +01:00
Naren Venkataraman d87b72e34d Add nosniff header by default 2015-11-15 17:21:57 -05:00
Naren Venkataraman 294b815afb Add OPTIONS back 2015-11-15 17:15:24 -05:00
Naren Venkataraman 04ff76f0ac Add GET,DELETE and remove redundant OPTIONS from Access-Control-Allow-Headers 2015-11-14 12:25:26 -05:00
Naren Venkataraman a48cf931ae Use reason variable 2015-11-14 12:17:52 -05:00
Marius f569ae3f5d Merge pull request #30 from gingermusketeer/fix_race_in_tests
Remove race in patch test
2015-11-11 15:11:52 +01:00
Max Brosnahan 98d8c939c2 Remove race in patch test 2015-11-10 22:16:01 -07:00
Marius 376b73ae4b Merge pull request #28 from gingermusketeer/allow_logger_to_be_configured
Allow logger to be configured
2015-11-09 21:53:10 +01:00
Marius b6b65c5dee Merge pull request #27 from vayam/master
Protocol Conformance + Bug fixes
2015-11-09 21:51:53 +01:00
Max Brosnahan e71b8fb0f3 Allow logger to be configured 2015-11-04 14:42:39 -07:00
Naren Venkataraman 7898128700 Fix tests 2015-11-04 04:56:32 -05:00
Naren Venkataraman db67b862ae s/ErrIllegalOffset/ErrMismatchOffset 2015-11-04 04:37:37 -05:00
Naren Venkataraman e451dc5f65 Make sure Upload-Offset in PATCH request is greater than 0 2015-11-04 04:33:32 -05:00
Naren Venkataraman 1f6aac2a49 Make sure PATCH request has application/offset+octet-stream 2015-11-04 04:23:09 -05:00
Naren Venkataraman 86dc420ebe Fix Content-Length/Body Len Mismatch 2015-11-04 04:16:41 -05:00
Marius b9ba10cca2 Merge branch 'master' of github.com:tus/tusd 2015-11-02 15:32:10 +01:00
Marius e13c87d966 Send empty response Body for HEAD requests
Fixes #26
2015-11-02 15:31:05 +01:00
Marius 4c59ae42b7 Merge pull request #25 from gingermusketeer/tweak_readme_links
Tweak README.md links
2015-10-18 20:18:36 +02:00
Max Brosnahan 549f6e6aad Change links to point to godoc.org
Also changes links to use https instead of http
2015-10-18 12:16:30 -06:00
Max Brosnahan 13315ad9c8 Tweak README.md links 2015-10-18 12:07:16 -06:00
Marius 52eb00b2f8 Use idle timeouts for read and write operations
Thanks to @LukaszMarchewka for making me indirectly aware of the incorret
patch and @jbardin for providing the proper timeout handling.

A connection now will be closed once no read operation success for 30ms
(default value, can be changed).

Fixes #24
2015-10-16 20:48:08 +02:00
Marius acd3a63213 Add options for read timeout to tusd command
Fixes #24
2015-10-16 20:02:08 +02:00
Acconut 7d25a9e65b Switch to X-HTTP-Method-Override 2015-10-06 18:27:40 +02:00
Acconut 3b4353578d Restrict toolchain builds tp required platforms 2015-08-19 18:24:20 +02:00
Acconut 5c81b40e70 Setup automatic releases with Travis 2015-08-19 18:08:15 +02:00
Kevin van Zonneveld a6d56b4444 Move Makefile to infra repo 2015-08-19 16:36:31 +02:00
Kevin van Zonneveld 186e192cb0 Move infra builder to own repo 2015-08-19 16:34:49 +02:00
Kevin van Zonneveld 942ec77216 Tusd installment placeholders /cc @Acconut 2015-08-19 16:16:43 +02:00
Kevin van Zonneveld 136b054d4c More efficient way of installing shortcuts 2015-08-18 16:30:43 +02:00
Kevin van Zonneveld 9e5bf0fbe7 Infra construction /cc @Acconut
All this needs now is a wget for the tus binary, and running it.
2015-08-18 16:11:53 +02:00
Acconut d36573d956 Use Travis badge for master branch 2015-07-31 12:36:58 +02:00
Acconut a284e89e28 Add Tus-Method-Override header 2015-07-31 12:35:21 +02:00
Acconut 75506bc129 Update README for new path to binary 2015-07-28 17:40:55 +02:00
Acconut c321ef8420 Move tusd binary in cmd subdirectory 2015-07-28 17:40:23 +02:00
Acconut f46e49697d Merge branch 'neXT' of github.com:tus/tusd into neXT 2015-07-28 14:59:08 +02:00
Acconut 2c78d31c27 Close io.Reader if possible 2015-07-28 14:58:52 +02:00
Marius 97dca3d325 Imporive README 2015-07-15 14:40:14 +02:00
Acconut 0c04ba220f prevent caching of HEAD responses 2015-05-26 16:17:35 +02:00
Acconut 30b913d544 rename uploads channel and add option 2015-04-26 00:46:53 +02:00
Acconut 152a8dad72 add uploads channel to handler 2015-04-18 20:56:24 +02:00
Acconut 21a6280ef8 add basepath flag to binary 2015-04-11 13:44:30 +02:00
Acconut e0fa7556b4 add limitedstore 2015-04-11 13:40:39 +02:00
Acconut efe70bb0f3 add test for returning offset after concatenation 2015-03-31 23:51:28 +02:00
Acconut 7456347c17 fix Tus-Extension test 2015-03-23 19:02:39 +01:00
Acconut 290fea5dac return new offset after successful PATCH request 2015-03-23 19:02:12 +01:00
Acconut e6f058eeca rename more TUS-* headers 2015-03-23 18:21:45 +01:00
Acconut dcc04b648e rename Creation element in Tus-Extension 2015-03-23 18:20:53 +01:00
Acconut 95d642a637 addd status text to failed tests 2015-03-23 18:17:21 +01:00
Acconut 46fabad314 update header names 2015-03-23 18:15:05 +01:00