Commit Graph

354 Commits

Author SHA1 Message Date
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
Felix Geisendörfer 56668dc701 Implement offset exceeded handling 2013-05-08 16:02:42 +02:00
Kevin van Zonneveld ad47388d80 Allow CORS Final-Length header 2013-05-08 15:51:17 +02:00
Kevin van Zonneveld 022ad36077 Compatibility note 2013-05-08 15:45:25 +02:00
Felix Geisendörfer fdecaffd0f Add CORS support again 2013-05-08 15:19:31 +02:00
Felix Geisendörfer 9380bdfb3e Fix run instructions 2013-05-08 14:10:13 +02:00
Felix Geisendörfer 2b29af4547 Delete .info files 2013-05-08 13:57:33 +02:00
Felix Geisendörfer ba05749dbd Use .info extension 2013-05-08 13:53:31 +02:00
Felix Geisendörfer 575d0000e4 Refactor data store and implement HEAD Offset 2013-05-08 13:52:09 +02:00
Felix Geisendörfer 9deaf0fa5a Delete some stuff 2013-05-08 11:30:26 +02:00
Felix Geisendörfer af14655d94 Initial PATCH implementation 2013-05-08 11:22:31 +02:00
Felix Geisendörfer 96e431cfda Start with core protocol tests 2013-05-07 18:50:44 +02:00
Felix Geisendörfer 11343caaae Implement test setup and teardown
Will be reused for the core tests
2013-05-07 11:05:20 +02:00
Felix Geisendörfer 6adf639d37 Write some functional handler tests
Also found / fixes a few issues thanks to this!
2013-05-07 10:52:03 +02:00
Felix Geisendörfer d490f50d45 Comments and fixed status code 2013-05-06 15:08:34 +02:00
Felix Geisendörfer 8b1a251f6f Final-Length header 2013-05-03 13:02:24 +02:00
Felix Geisendörfer 18cffb2b03 Return url for new file resources 2013-05-03 12:52:25 +02:00
Felix Geisendörfer 3abd71b6c0 error handling, url matching 2013-05-03 11:42:46 +02:00
Felix Geisendörfer 0e87800ddc Initial refactoring, WIP 2013-05-02 18:29:42 +02:00
Felix Geisendörfer be8535b206 Explain dev.sh 2013-05-02 15:28:22 +02:00
Felix Geisendörfer f25c3c71ae New skeleton 2013-05-02 15:25:02 +02:00
Felix Geisendörfer 36cda94bb6 gofmt 2013-05-02 14:52:25 +02:00
Felix Geisendörfer 02d0491249 Update readme info for tusd 2013-05-02 14:48:25 +02:00
Felix Geisendörfer 50dae8f4f6 Add reply logging 2013-05-02 14:48:24 +02:00
Kevin van Zonneveld b449132ba4 Point to MIT License 2013-04-16 13:26:29 +03:00
Kevin van Zonneveld 2d8cd0345b Add MIT License 2013-04-16 13:25:45 +03:00
Felix Geisendörfer 66d28e97bb Full urls for Location header 2013-04-07 17:20:38 +02:00
Felix Geisendörfer 0af9ef3827 Consistent Case 2013-04-07 10:18:07 +02:00
Kevin van Zonneveld 5945dc06d9 Disable the partial get as it wasn't supported by the protocol
it used to be, but not intentionally. now results in a
CopyN of size %!s(int64=26) failed with: EOF
(it tries to copy the full range),
so disabling
2013-03-29 22:57:48 +01:00
Kevin van Zonneveld c94edc0092 Implement more of the planned 404s 2013-03-29 22:55:07 +01:00