Commit Graph

1192 Commits

Author SHA1 Message Date
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
Kevin van Zonneveld f3437a7ec5 Temporarily also deploy non-tagged commits to test frey deploy 2016-03-29 13:42:55 +02:00
Kevin van Zonneveld c549faafbc Add Frey secrets 2016-03-29 13:38:28 +02:00
Kevin van Zonneveld 43653b6d01 Travis whitespace 2016-03-29 13:38:20 +02:00
Kevin van Zonneveld e54850a3aa Add Frey support
Squashed commit of the following:

commit 9071377570a97d599f7fc769f4d26b45d03020cb
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Tue Mar 29 13:36:57 2016 +0200

    Remove useless env code

commit 529aed3535d0159dd7291532ebb6cfcc9ae401c6
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Tue Mar 29 13:31:38 2016 +0200

    Update state, add launch target

commit fde533f9f6cc896a7e2abd7e68320d806d90ba27
Author: Kevin van Zonneveld <kevin@vanzonneveld.net>
Date:   Tue Mar 29 11:07:35 2016 +0200

    First swing at moving Frey to tusd
2016-03-29 13:37:19 +02:00
Marius 199487bdf6 Set correct ID in S3Store.GetInfo 2016-03-26 18:23:37 +01:00
Marius bcea96b88e Add test for complete upload notifications using Concatenaiton 2016-03-12 22:52:31 +01:00
Marius af0c1bf4ca Add test for complete upload notifications 2016-03-12 22:44:54 +01:00
Marius acf2e8daee Improve documentation for complete uploads notifications 2016-03-12 22:28:24 +01:00
Marius 3ee1c61d80 Add post-terminate hook 2016-03-12 22:24:57 +01:00
Marius 5aa7928111 Embed UnroutedHandler into Handler 2016-03-12 22:01:12 +01:00
Marius 4191b2a821 Dcoument Config.StoreComposer 2016-03-12 16:51:00 +01:00