Commit Graph

1134 Commits

Author SHA1 Message Date
Marius 9753aae065 Use personal fork of nightlyone/filelock 2016-09-30 12:03:49 +02:00
Marius 5fceb7eb77 Use memorylocker in example for composer 2016-09-30 01:14:52 +02:00
Marius f5d87095ef Exclude Go1.5 instead of 1.7 from Consul tests 2016-09-30 01:12:11 +02:00
Marius a4f565330b Combine consullocker test with the rest of tusd 2016-09-30 01:07:07 +02:00
Marius c80386f552 Stop support for Go1.3 2016-09-30 01:01:33 +02:00
Marius 40528dea00 Install complete packages including subdirectories 2016-09-30 00:55:32 +02:00
Marius f0bb13f727 Make consul tests exclusive for Go1.6+ 2016-09-30 00:47:28 +02:00
Marius c61a300693 Merge branch 'master' into vendor_govendor 2016-09-30 00:13:44 +02:00
Marius 536aaeba71 Use Go 1.7 for cross compilation instead of goxc(1) 2016-09-30 00:10:42 +02:00
Marius 216c45287a Merge branch 'master' of github.com:tus/tusd 2016-09-29 21:22:02 +02:00
Marius 182a96e3e8 Do not reject unexpected content types during upload creation
See tus/tus-java-client#10
2016-09-29 21:20:56 +02:00
Marius d6ccb0fbb8 Use actual header values as expectations in CORS test 2016-09-29 21:18:12 +02:00
Kevin van Zonneveld db6c11d6f5 Revert "Hostname should be part of freyfile"
This reverts commit 19a6611a89.
2016-09-28 16:00:15 +02:00
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