Commit Graph

1033 Commits

Author SHA1 Message Date
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
Acconut c49f7bbf91 uppercase ID and URL to match golint 2015-03-23 17:58:13 +01:00
Acconut 39f919c8aa return Metadata in HEAD reponse and allow it in CORS 2015-03-08 01:06:39 +01:00
Acconut 9a5dc53c8d no metadata flag for TUS-Extension exists 2015-03-08 00:10:22 +01:00
Acconut 5772ec458f close io.Reader in tests 2015-02-28 16:12:33 +01:00
Acconut 9cd3b0e300 add badge for appveyor in README 2015-02-28 16:10:11 +01:00
Acconut c48f502051 setup golang directories on appveyor 2015-02-28 15:38:03 +01:00
Acconut 7a221f97a2 test on Windows using Appveyor 2015-02-28 15:06:38 +01:00
Acconut 9b3d56bf07 move os.IsNotExist call to sendError 2015-02-28 14:53:01 +01:00
Acconut 1659517825 test inferface implentation for FileStore 2015-02-28 14:49:52 +01:00
Acconut 9f94d0591b add support for Termination extension 2015-02-28 14:47:39 +01:00
Acconut 09056611d6 add flags and output to tusd cli 2015-02-17 20:07:49 +01:00
Acconut 2b66ccfd56 refactor tests using httpTest 2015-02-17 15:44:12 +01:00
Acconut 93eb701e14 add concatenation extension 2015-02-17 14:19:56 +01:00
Acconut 0c16aedc29 use tusd.FileInfo in DataStore.NewUpload 2015-02-16 17:53:50 +01:00
Acconut 0f79383af2 add test for filestore 2015-02-12 16:06:15 +01:00
Acconut 23513879c9 rename test for getting file 2015-02-12 16:05:54 +01:00
Acconut 38794a4cf9 split handler test into multiple files 2015-02-09 19:37:06 +01:00
Acconut e951dc39d3 change default file permission to 0775 2015-02-06 22:07:53 +01:00
Acconut 29100e3b5b add GET route for downloading uploads 2015-02-06 22:05:33 +01:00
Acconut 04d559dd47 do not check size if MaxSize == 0 2015-02-05 18:25:38 +01:00
Acconut 74a9a408e6 add metadata extension 2015-02-03 19:01:35 +01:00
Acconut 99ca34e1ce format FileStore 2015-02-03 19:01:22 +01:00
Acconut f513d02938 add documentation 2015-02-01 16:17:56 +01:00
Acconut f628342b82 update readme to include badge and new requirements 2015-02-01 15:45:27 +01:00
Acconut d1db159552 ensure filestore's directory exists 2015-02-01 15:44:48 +01:00
Acconut 711809e564 exlude go 1.1 2015-02-01 15:30:20 +01:00
Acconut c6933fa33f do not test on go 1.0 and install cover before testing 2015-02-01 15:11:00 +01:00
Acconut c08de4de83 run tests on travis-ci 2015-02-01 15:02:52 +01:00
Acconut a70bd4cfa3 rewrite tusd
* expose tusd.DataStore and extracted FileStore
* use pat for routing
* allow absolute BasePaths
* requires StripPrefix
* add support for 1.0 core
* update date in license
2015-02-01 14:57:57 +01:00
Felix Geisendörfer 3db2976bd5 Merge pull request #19 from vayam/master
Replace 500 with 404 and Don't return body for HEAD request
2014-01-23 23:18:30 -08:00
Naren Venkataraman 28d0e25dbf Replace 500 with 404 and Don't return body for HEAD request 2014-01-24 01:00:50 -05:00
Felix Geisendörfer 35811f77b4 Merge pull request #18 from doggy/master
fix bug: a broken http connection will cause io.Copy() stuck and file’s ...
2013-12-12 21:02:42 -08:00
laizhenkun e468893748 fix bug: a broken http connection will cause io.Copy() stuck and file’s offset will not be updated 2013-12-12 17:15:08 +08:00
Naren Venkataraman 6c98fad211 Merge pull request #17 from tsenart/master
Use encoding/hex pkg for generating UID strings
2013-10-11 13:06:40 -07:00
Tomás Senart aa49b3700c Use encoding/hex for generating UID strings
BenchmarkFmtString   5000000         711 ns/op
BenchmarkHexString  10000000         171 ns/op
2013-10-11 13:57:07 +02:00
Felix Geisendörfer 37c4d72ff7 0.2.1 is supported 2013-05-21 10:30:05 +02:00
tim-kos 7e230ca693 add how to run the testsuite to the readme 2013-05-10 16:46:58 +02:00
tim-kos 4cf005572c implementing GET file 2013-05-10 16:35:58 +02:00
Felix Geisendörfer 6be4b9690e Add comments for CORS stuff 2013-05-10 13:58:28 +02:00
tim-kos 6a1ca6a8ce expose the offset header in the response 2013-05-10 13:56:17 +02:00
Kevin van Zonneveld bed4d16c32 Allow CORS Offset header 2013-05-08 16:11:20 +02:00
Kevin van Zonneveld 965521f51b Allow CORS PATCH method 2013-05-08 16:11:20 +02:00
Kevin van Zonneveld 4344ba8b5d Content-Range is deprecated as of 0.2 2013-05-08 16:11:20 +02:00
Felix Geisendörfer 9f29ced4ec Remove old tusd code 2013-05-08 16:03:59 +02:00
Felix Geisendörfer 4c10bea894 Test overlapping resume 2013-05-08 16:02:42 +02:00
Felix Geisendörfer faf8cc6f44 Stop exporting DataStore
API is not good / stable yet.
2013-05-08 16:02:42 +02:00