Commit Graph

403 Commits

Author SHA1 Message Date
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
Kevin van Zonneveld 8e91ba9b92 We no longer need any env.sh 2016-03-30 16:13:20 +02:00
Kevin van Zonneveld 603fce7559 Now that Frey deploys via Travis are working, only do it on tags, and after release 2016-03-29 19:41:44 +02:00
Kevin van Zonneveld f0f16865a9 Rebuild env so it can be deployed to the tus server 2016-03-29 17:52:46 +02:00
Kevin van Zonneveld 2205a84499 Save state 2016-03-29 17:22:20 +02:00
Kevin van Zonneveld 4879004fe4 Open up port 22 so Travis CI can deploy to it 2016-03-29 17:22:09 +02:00
Kevin van Zonneveld 8ed24a65d9 Run on legacy build infra for now until Frey supports sudo-less pip installs 2016-03-29 17:01:07 +02:00
Kevin van Zonneveld 536727e92d Save state 2016-03-29 16:43:19 +02:00
Kevin van Zonneveld d27fb04e5e Put env in subdir for now 2016-03-29 16:43:12 +02:00
Kevin van Zonneveld 36bebff87c Rename infra-tusd -> tusd 2016-03-29 16:21:21 +02:00
Kevin van Zonneveld 7d6a7beb8b Replace custom upstart template with Frey's upstart 2016-03-29 16:20:11 +02:00
Kevin van Zonneveld 98a6cb0cc5 Always answer yes 2016-03-29 16:07:50 +02:00
Kevin van Zonneveld b95fc0615c No need to create shared log dir, Frey does this for us now 2016-03-29 15:59:51 +02:00
Kevin van Zonneveld 7db4d51c1a Allow ubuntu group access to release 2016-03-29 15:59:15 +02:00
Kevin van Zonneveld 68ed4ebcf0 Refactor Freyfile 2016-03-29 15:49:46 +02:00
Kevin van Zonneveld 373001127c Speed up Travis build by caching apt, Frey tools and gimme 2016-03-29 15:31:33 +02:00
Kevin van Zonneveld 2d30a16ffc Move code-deploy to before release-deploy 2016-03-29 15:17:15 +02:00
Kevin van Zonneveld 1f7d84f202 Upgrade to Frey 0.3.12 2016-03-29 15:02:33 +02:00
Kevin van Zonneveld 4a30a6ad37 Frey 0.3.12 is not released yet 2016-03-29 13:54:21 +02:00