Marius
973a4fe066
s3store: Fix bug when completing empty upload
2020-02-23 20:26:00 +01:00
Iñigo
8ef7648713
cli: add gRPC hooks ( #316 )
...
* add grpc hook
* add retry/backoff params
make streaming RPC call
* Update cmd/tusd/cli/flags.go
Co-Authored-By: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com>
* move one time grpc configuration to `Setup`
* remove stream grpc
Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com>
2020-02-06 17:35:37 +01:00
Adam Jensen
9c0e0c8f11
s3store: Add optional key prefix for metadata objects ( #347 )
...
* Add MetadataObjectPrefix field to S3Store
* Add metadataKeyWithPrefix helper function
* Use metadataKeyWithPrefix for .info and .part operations
* Add s3store tests for metadata object prefixes
* Clarify ObjectPrefix docs
2020-02-01 17:33:02 +01:00
Marius
790d6ea849
handler: Allow method overriding in CORS requests
2019-11-15 21:06:29 +01:00
oliverpool
e138fc3e9e
filestore: Remove useless defer ( #318 )
...
Since the `file` is not used after the creation, its closing can be done without defer (and the err can be checked).
2019-10-23 18:51:36 +02:00
Ankit Pokhrel
898f3fe72a
gcsstore: Remove unnecessary typecasts and unused mocks ( #313 )
2019-10-09 14:44:13 +02:00
Ankit Pokhrel
321acd1821
core, gcsstore: Update deprecated methods ( #312 )
2019-10-08 10:30:19 +02:00
Marius
a045b8c4fc
core: Allow numbers in mime types
...
See https://community.transloadit.com/t/tus-server-not-returning-the-correct-content-type-for-video-or-audio-file/15076
2019-10-07 11:28:13 +02:00
Marius
57be489b8b
fixup! core: Allow writing data to storage after request is cancelled
2019-09-29 20:12:50 +02:00
Marius
65d2f1c2ef
core: Allow writing data to storage after request is cancelled
2019-09-29 20:03:18 +02:00
Marius
b73d634b47
core: Pass Upload interfaces to ConcatUploads
2019-09-19 12:14:25 +02:00
Marius
6b21772107
core: Provide HTTP request details to hooks
...
Closes https://github.com/tus/tusd/issues/185
2019-09-19 11:15:48 +02:00
Marius
5a31f3230e
s3store: Cache FileInfo between function calls
...
This lead to an 15% increase in upload speed for our tests.
2019-09-16 12:13:39 +02:00
Marius
cbfde4e4b0
s3store: Pass context to AWS SDK
2019-09-15 14:33:02 +02:00
Marius
485c21d72e
core: Add context to DataStores
...
Closes https://github.com/tus/tusd/issues/288
2019-09-15 13:43:59 +02:00
Marius
db18dbb70f
etcd3locker: Move to separate repository
2019-09-12 21:42:54 +02:00
Marius
7d639b930d
core: Replace old LockerDataStore with new Locker
2019-09-12 12:37:43 +02:00
Marius
92826b171d
etc3dlocker: Implement new Locker interface
2019-09-11 12:03:39 +02:00
Marius
65072acb79
memorylocker: Implement new locker interface
2019-09-11 10:28:38 +02:00
Marius
8e1dce1dcb
filelocker: Add tests
2019-09-10 16:19:49 +02:00
Marius
241c458184
cli: Print out available tus extensions
2019-09-10 15:27:47 +02:00
Marius
d01d878e29
gcsstore: Adjust to new DataStore interfaces
2019-09-10 11:09:07 +02:00
Marius
d36b0ea3a9
s3store: Move to new DataStore interfaces
2019-09-10 10:05:45 +02:00
Marius
12114b1ae8
Merge branch 'master' of github.com:tus/tusd into v1
2019-09-09 13:37:53 +02:00
Marius
1389d86547
core: Add back composer_test
2019-08-26 20:41:00 +02:00
Marius
2e688d5d38
filestore: Implement new interfaces
2019-08-26 11:41:52 +02:00
Marius
5004d3ca4d
core: Refactor DataStore
2019-08-25 22:10:55 +02:00
Marius
5acc586800
WIP on DataStore refactor
2019-08-24 15:14:51 +02:00
Marius
aa0280d004
core: Remove deprecated DataStore option
2019-08-20 16:16:05 +02:00
Marius
647c65a125
filestore: Drop the .bin suffix
...
Closes https://github.com/tus/tusd/issues/210
2019-08-19 13:03:42 +02:00
Marius
f290aa36d7
gcsstore: Add storage details
2019-08-19 11:08:24 +02:00
Marius
a323c91a6e
s3store: Add storage details
2019-08-19 10:38:08 +02:00
Marius
c0c3a4d1d0
filestore: Add information about saved upload
2019-08-19 09:29:56 +02:00
Marius
e8fb3a431b
Merge branch 'master' of github.com:tus/tusd into v1
2019-08-18 14:34:37 +02:00
Marius
226638bcc4
etcd3locker: Update import path for etcd3
2019-06-16 17:06:17 +02:00
Marius
0f70b98b0f
memorylocker: Remove deprecated constructor for MemoryLocker
2019-06-11 18:32:00 +02:00
Marius
42bfe35457
core: Move packages into pkg/ and internal/ folders
2019-06-11 18:23:20 +02:00