Commit Graph

521 Commits

Author SHA1 Message Date
Kevin van Zonneveld 785248765d Add a >24h cleanup cronjob for tus uploads /cc @Acconut @arturi 2016-09-28 09:48:46 +02:00
Kevin van Zonneveld 19a6611a89 Hostname should be part of freyfile 2016-09-28 09:39:40 +02:00
Marius 4df66415d6 Add HookInvocationFinish event to logging 2016-09-27 22:48:29 +02:00
Marius 513fe9fcf3 Correct linting issue and misspellings 2016-09-27 22:10:16 +02:00
Marius 055406a783 Do not ignore error returned from lock.Unlock() 2016-09-27 21:51:33 +02:00
Marius 8fff2b7d69 Merge branch 'master' of github.com:tus/tusd 2016-09-23 21:30:10 +02:00
Marius 9a5646ad6c Add proper, formatted logging 2016-09-23 21:21:38 +02:00
Marius ac66b6f043 update travis 2016-09-21 00:05:52 +02:00
Marius 56e9147bbc add vendor 2016-09-20 23:47:49 +02:00
Marius 48d0e92fe6 remove vendor 2016-09-20 23:06:27 +02:00
Marius 75381338ae Install dependencies on Appveyor 2016-09-20 15:05:44 +02:00
Marius 1bf1c942e0 Update mocked S3API implementation for tests 2016-09-19 19:30:56 +02:00
Marius 20ed451d15 Merge branch 'master' of github.com:tus/tusd 2016-09-15 23:17:18 +02:00
Marius 8e4959dccd Catch error from non-existing hook files when executing
Closes #62
2016-09-15 23:15:54 +02:00
Kevin van Zonneveld a3f8592d4f Upgrade deploy to 0.5.2 2016-09-15 23:04:49 +02:00
Kevin van Zonneveld 154e6a2813 Switch to HCL-based Frey (#63) 2016-09-15 12:49:15 +02:00
Kevin van Zonneveld bea4d10ae6 Merge branch 'master' of github.com:tus/tusd 2016-09-15 10:18:25 +02:00
Kevin van Zonneveld 549e8ef80f Ignore Apple's .DS_Store 2016-09-15 10:17:41 +02:00
Marius dc673402d2 Add support for Creation With Upload extension
See tus/tus-resumable-upload-protocol#88 for the current proposal
2016-08-28 22:06:37 +02:00
Marius 6b1e8a8bda Respond with the correct 200 OK code for HEAD requests
Fixes #48
2016-08-28 15:26:12 +02:00
Marius 3eefdbe2c6 Update mocked S3API implementation for tests 2016-08-26 17:14:33 +02:00
Marius 081568cf96 Add Go 1.7 to automated tests 2016-08-26 16:30:40 +02:00
Marius c6e52b4ecb Install unvendored dependcies on Travis 2016-08-26 16:27:56 +02:00
Marius beef245bd3 Remove aws-go-sdk and consul package from vendor directory
This prevented using the s3store and consullocker packages since
Go required the user to provide types from the vendored packages
but the user cannot access these.

Fixes #59
2016-08-26 16:20:10 +02:00
Marius 96d9e5bbd4 Prevent making uploaded file executable for everyone
Closes #56
2016-07-25 20:59:01 +02:00
Kevin van Zonneveld fbf378547e Improve greeting 2016-07-19 11:14:01 +02:00
Marius 30edfb1209 Add -metrics-path flag for configuring the metrics endpoint
Addresses #52
2016-07-19 10:45:07 +02:00
Marius 930a63c058 Update instructions for setting version, build commit and date 2016-07-12 14:46:24 +02:00
Marius 3530ffd925 Add pre-create hook for validation before upload creation 2016-07-11 22:40:19 +02:00
Marius bad81737b0 Refactor tusd binary into multiple files 2016-07-11 22:02:01 +02:00
Marius a2a8c5ec86 Add flag for respecting Forwarded header to allow sitting behind proxies 2016-07-11 20:44:10 +02:00
Marius 015ae39d18 Replace non-ASCII chars in metadata for multipart uploads with question mark
AWS does not handle non-ASCII encoded values for metadata values well since
they are transported in HTTP header values which, by specification, should
only contain ASCII characters. If you still supply AWS with, for example,
UTF-8 encoded strings it will reject the request due to mismatching
signatures. Our solution is to replace these characters with question
marks.
2016-07-06 16:25:06 +02:00
Rio Kierkels a490dc01de feat(cmd/tusd): Print the base path (#50)
Print the base path on start
2016-06-29 16:29:16 +02:00
Marius 2f436ab7e3 Update mocked S3 API for tests 2016-05-24 17:32:21 +02:00
Marius ad25e605d4 Allow OPTIONS and other methods in metrics 2016-05-24 17:27:07 +02:00
Marius 8b5f018f54 Provide description for hooks-dir flag 2016-05-24 17:16:37 +02:00
Marius c80c8b1962 Allow exposing metrics for Prometheus and Co. 2016-05-24 17:04:28 +02:00
Marius f5c790f792 Exclude node_modules folder from git 2016-05-24 15:58:43 +02:00
Marius d1dd811301 Update vendored dependencies 2016-05-24 15:58:19 +02:00
Marius 00818ee472 Do not run non-existant script after deploys 2016-05-24 11:36:48 +02:00
Marius c37f751626 Run frey deployment after every successful deploy 2016-05-10 14:53:25 +02:00
Justin Henck af6e65a8bb Support 0 as a "no timeout" setting (#46)
* Support 0 as a "no timeout" setting

If you are working behind a load balancer the load balancer might handle this and send an EOF.  In that case, you want to have no read and write timeouts at all, so we should support the 0 setting as "unlimited" just like the Connection itself.

* Change to empty time struct

* Update the flag description for timeout
2016-05-10 14:17:34 +02:00
Marius eb8cb09ad1 Use Go 1.6. instead of Release Candidate for tests 2016-05-10 12:01:32 +02:00
Marius d6bc50ff12 Use 200 OK in responses for preflight requests
Some browsers only accept 200 OK and not 204 No Content as respones codes
for preflight requests.

See tus/tus-js-client#34
2016-05-10 11:58:43 +02:00
Marius 3e6ea68d07 Suggest original filename when downloading 2016-04-19 11:22:32 +02:00
Marius 4c7023fb1f Merge branch 'master' of github.com:tus/tusd 2016-04-09 22:25:07 +02:00
Marius 4e8842d91c Do not pass chunk for uploaded uploads to data store 2016-04-09 22:09:22 +02:00
Kevin van Zonneveld de682b2fe6 unattended-upgrades 2016-03-31 15:38:16 +02:00
Kevin van Zonneveld 58912fdcda .PHONY 2016-03-31 12:27:16 +02:00
Kevin van Zonneveld 6cdcb43713 Configurable Frey version 2016-03-31 12:25:59 +02:00