Adam Kaplan
4f8dba9d9d
Adding LockFile and UnlockFile to server API (per comments on issue #22 )
...
* Added Locked member to tusd.FileInfo object
* Pushed locking mechanisms down to the JSON files themselves.
2015-10-21 14:28:22 -04:00
Adam Kaplan
4c1f2b99a2
Ran go formatter
2015-10-01 13:45:39 -04:00
Adam Kaplan
766dabc238
Refactoring file locking out of tusd.Handler
...
* Updated filestore.FileStore implementation to use simple locking scheme. Refactored to make interface use pointers. Removed locks from tusd.Handler
* Refactored sample code to use pointer implementation of FileStore.
* Moved ErrFileLocked variable to datastore.go
2015-10-01 13:40:56 -04: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
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