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
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
a284e89e28
Add Tus-Method-Override header
2015-07-31 12:35:21 +02:00
Acconut
2c78d31c27
Close io.Reader if possible
2015-07-28 14:58:52 +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
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
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
9b3d56bf07
move os.IsNotExist call to sendError
2015-02-28 14:53:01 +01:00
Acconut
9f94d0591b
add support for Termination extension
2015-02-28 14:47:39 +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
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
f513d02938
add documentation
2015-02-01 16:17:56 +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