Commit Graph

1123 Commits

Author SHA1 Message Date
Abdelhadi Khiati d8cbc9ce6b Update tusd to use gcs 2018-07-10 23:21:57 +01:00
Abdelhadi Khiati 4c5a99ffed Upgrade to cert-manager 2018-07-07 18:07:57 +01:00
Abdelhadi Khiati fd2687779f Support scaling based on memory usage also @kvz 2018-07-07 18:07:57 +01:00
Marius f17a39352c
Merge pull request #195 from egalpin/update-upload-length-logic
Updates uploadLength logic in PatchFile
2018-06-22 19:50:50 +02:00
egalpin c42ba74f10 Updates uploadLength logic in PatchFile 2018-06-22 11:35:57 -04:00
Acconut 4a26d90584 A note about shared config file to README 2018-06-21 22:36:30 +02:00
Mark Armendariz d416990829 Allow AWS-SDK to handle gathering credentials.
This change enables ec2 instance assumed roles, environment variables, and shared configs as is standard for the aws-sdk.
2018-06-14 13:58:57 -05:00
Marius 23177d4a49
Merge pull request #191 from acj/acj/upload-defer-length-followup
Add CORS support for Upload-Defer-Length header
2018-06-14 18:58:01 +02:00
Adam Jensen 7f11b92fab Refactor Upload-Length handling to use early returns 2018-06-13 20:21:49 -04:00
Adam Jensen 7fd0139355 Add Upload-Defer-Length to access-control-{allow,expose}-headers 2018-06-11 17:58:08 -04:00
Abdelhadi Khiati ca36347384 Change cluster name 2018-06-11 21:31:00 +01:00
Abdelhadi Khiati 2a20201dba Fixed deletion script @Acconut 2018-06-11 21:25:10 +01:00
Abdelhadi Khiati 3e054562ea Added job for file deletion everyday @kvz 2018-06-11 01:18:11 +01:00
Marius d9d0f7c4e7
Merge pull request #182 from acj/acj/add-upload-defer-length-support
Implement Upload-Defer-Length Extension
2018-06-04 20:24:15 +02:00
Adam Jensen c605926ff8 If a partial upload has a deferred size, then it's not finished 2018-06-03 16:03:28 -04:00
Adam Jensen 750d4d5eb6 Specify MaxSize in PATCH tests that refer to it 2018-06-03 16:03:28 -04:00
Adam Jensen a74c46816d Remove creation-defer-length declaration from tests that don't use it 2018-06-03 16:03:28 -04:00
Adam Jensen 8c3ceebcfc If size is deferred, then constrain how much of the request body to read 2018-06-03 16:03:27 -04:00
Adam Jensen a366b00e3e Return appropriate errors if upload-length is misused in PATCH requests 2018-06-03 12:57:40 -04:00
Adam Jensen 22fdd3935b Return upload length error if it's too small or too large 2018-06-03 12:57:40 -04:00
Adam Jensen d545b6518b Conditionally include creation-defer-length if the composer supports it 2018-06-03 12:57:40 -04:00
Adam Jensen 0976863947 Add DeclareLength tests for PATCH requests 2018-06-03 12:57:40 -04:00
Adam Jensen 7bd1cd6f9d Integrate DeclareLength into handler's PatchFile 2018-06-03 12:57:40 -04:00
Adam Jensen c6d5ad08c0 When it's requested, verify length deferrer support in the datastore 2018-06-03 12:57:40 -04:00
Adam Jensen 326986cc65 Regenerate handler mock 2018-06-03 12:57:39 -04:00
Adam Jensen cb96d06350 Add length deferrer support to FullDataStore 2018-06-03 12:57:39 -04:00
Adam Jensen 5bf2133b3c Add length deferrer support to FileStore 2018-06-03 12:57:39 -04:00
Adam Jensen d40c50f80a Add length deferrer support to composer 2018-06-03 12:57:39 -04:00
Adam Jensen 55f99cb34a Add LengthDeferrerDataStore interface 2018-06-03 12:57:39 -04:00
Adam Jensen 77a8455a67 Add HEAD tests 2018-06-03 12:57:39 -04:00
Adam Jensen acaaa10ff7 Add POST tests 2018-06-03 12:57:39 -04:00
Adam Jensen 5252c98cd7 Avoid incorrectly returning errors when upload length is deferred 2018-06-03 12:57:39 -04:00
Adam Jensen 64c02a9de1 Update the upload length in FileInfo when it's sent 2018-06-03 12:57:39 -04:00
Adam Jensen c94e0cd0b6 Add creation-defer-length to supported extensions 2018-06-03 12:57:39 -04:00
Adam Jensen 1ab5231643 Add basic Upload-Defer-Length header handling 2018-06-03 12:57:39 -04:00
Adam Jensen 1affbbdbe4 Add error constants for deferred upload length 2018-06-03 12:56:02 -04:00
Adam Jensen 82bc04cb36 Add SizeIsDeferred to FileInfo 2018-06-03 12:56:02 -04:00
Marius 3a4f216d5c
Merge pull request #190 from vially/fix-gcs-info-not-found
Handle GCS object not found error
2018-05-25 12:29:54 +02:00
Valentin Hăloiu 368a3672f9
Handle GCS object-not-found error 2018-05-25 12:14:16 +02:00
Valentin Hăloiu b1b51b8688
Fix typo in GCS ReadObject comment 2018-05-25 12:11:58 +02:00
Marius 760de8f66a
Merge pull request #189 from vith/expose-metadata-header-parsing-funcs
Expose ParseMetadataHeader and SerializeMetadataHeader functions
2018-05-23 21:25:47 +02:00
Jason Papakostas 8acbc4cfdb Expose ParseMetadataHeader and SerializeMetadataHeader functions
closes #186
2018-05-22 11:52:22 -05:00
Marius 5b37614190
Exclude consullocker packge from tests on Go 1.8 2018-05-13 14:33:05 +02:00
Marius 58ecb9f4e4
Add Go 1.10 to testing setup 2018-05-13 14:31:50 +02:00
Marius dfaa279342
Add dependency installation to README
See https://github.com/tus/tusd/issues/187
2018-05-13 13:58:24 +02:00
Abdelhadi Khiati f36708c35a
Go back to standard instead of ssd 2018-05-04 19:00:00 +01:00
Marius 9c58ecdbc0
Merge pull request #181 from acj/acj/clean-up-s3store-docs
Improve comments in s3store
2018-04-26 14:51:25 +02:00
kiloreux a99e321f9a
No more nfs 2018-04-25 15:01:49 +01:00
kiloreux c2db0f9af5
Use ssd instead of nfs server 2018-04-25 15:00:23 +01:00
Adam Jensen 450a606334 Fix a couple of typos 2018-04-24 11:53:36 -04:00