Commit Graph

840 Commits

Author SHA1 Message Date
Marius 0a8a3e7e51 Count multiple closed connectios only once 2017-01-04 20:47:34 +01:00
Marius 19c9576eb8 Use platform-independent paths inside file storage
Closes https://github.com/tus/tusd/issues/84
2017-01-04 20:25:08 +01:00
Marius 5a385832b6 Add notice about using HTTPS to README 2017-01-04 20:15:09 +01:00
Marius f4810ff429 Drop support for testing on Go1.4 on Travis
The AWS Go SDK has dropped support Go1.4 in a recent commit
(0cec6f30ed).
Therefore, we decided to not test this unsupported Go version anymore.
2016-12-20 17:25:24 +01:00
Marius 37fe99b37d Define own, minimal S3API interface 2016-12-20 17:13:02 +01:00
Kevin van Zonneveld cc78da7de5 Pin Frey as a dependency vs installing latest globally 2016-12-20 13:42:06 +01:00
Marius 2d187c00aa Correct state of nginx after restarting 2016-11-11 23:30:32 +01:00
Marius 2665650b8c Restart nginx instead of reloading 2016-11-11 23:24:12 +01:00
Marius 2b7a67c120 Revert "Use current branch name or tag name when building binaries"
This reverts commit e4c3d87ba6.
2016-11-11 22:30:15 +01:00
Marius ab26348d2b Remove unnecessary Makefile 2016-11-11 21:57:13 +01:00
Marius e4c3d87ba6 Use current branch name or tag name when building binaries 2016-11-11 21:56:38 +01:00
Marius 8f5782b73a Run consul tests on only Go1.7+ 2016-11-11 21:42:35 +01:00
Marius 360d63eefa Revert "Attempt to run tests and deploy without sudo"
This reverts commit 6fcba73263.
2016-11-11 21:41:11 +01:00
Marius 6fcba73263 Attempt to run tests and deploy without sudo 2016-11-11 21:33:52 +01:00
Marius 921b77df84 Only build all files if it's a tagged commit (for releases deployment) 2016-11-11 21:24:45 +01:00
Marius 2b6f08f8cb Do not run frey interactively 2016-11-11 16:45:37 +01:00
Marius ebfe631ddf Do not use sudo for installing frey 2016-11-11 16:37:59 +01:00
Marius fb523ce470 Build all binaries only on releases deploy 2016-11-11 16:23:42 +01:00
Marius bffd8f24b0 Deploy current master branch to master.tus.io 2016-11-11 15:59:01 +01:00
Marius 4a439ac555 Move building functions into separate script file 2016-11-11 15:57:39 +01:00
Marius 74554f594d Merge branch 'master' of github.com:tus/tusd 2016-11-09 23:28:34 +01:00
Marius 09a0deaca8 Reload nginx instead of restarting
If the restart of nginx fails (e.g. address already in use), the service will
not reload the configuration which is usually not wanted. By using nginx(1)
and telling it explicitly to reload the configuration, these issues do not
appear.
2016-11-09 23:23:45 +01:00
Marius 97def4c99f Enable SSL session cache for master.tus.io 2016-11-09 23:10:18 +01:00
Marius 25771dfbcd Enable OCSP stapling for master.tus.io 2016-11-09 22:56:15 +01:00
Marius 2ef7e5c975 Generate and use custom primes for DH 2016-11-09 21:44:24 +01:00
Marius bef7039aa5 Add tus.io logo to README 2016-11-08 16:33:42 +01:00
Marius d5e3ca60af Enable SSL using certificate from Let's Encrypt 2016-11-04 19:51:44 +01:00
Marius a0b37487e9 Add public directory 2016-11-04 19:51:39 +01:00
Marius 3b55041992 Add configuration file for nginx 2016-11-04 18:54:35 +01:00
Marius 6c3af75c51 Use nginx as reverse proxy in front of tusd 2016-11-04 18:53:21 +01:00
Marius e4cd32f2c4 Do not use limitedstore on master.tus.io instance 2016-10-27 23:07:09 +02:00
Marius bcb6fc7f71 Add comments to test utilities 2016-10-14 11:52:51 +02:00
Marius 2f5bc77649 Enable running tusd behind the CloudFlare proxy for supporting HTTPS uploads 2016-10-14 11:35:21 +02:00
Marius c5d597aa36 Merge branch 'master' of github.com:tus/tusd 2016-10-14 10:11:45 +02:00
Marius 0c0bc01432 Add tests for various invalid header values 2016-10-13 19:03:18 +02:00
Marius 59c7a9fab6 Add test for ignoring invalid metadata 2016-10-13 18:50:49 +02:00
Marius a7e4fcc42e Add test for accessing unimplemented methods 2016-10-13 18:48:46 +02:00
Marius 474c78b79d Add test for absolute base paths 2016-10-13 18:44:44 +02:00
Marius 24e68df7cd Add test for upload to final upload 2016-10-13 18:42:40 +02:00
Marius 888049ce50 Add test for attempting empty download 2016-10-13 18:38:43 +02:00
Marius 5ff46eb2d7 Add tests for locking in various situations 2016-10-13 18:33:33 +02:00
Marius 3b3e3bcef0 Add test for FinisherDataStore 2016-10-13 18:18:18 +02:00
Marius c2bb17b947 Refactor remaining tests to subtest style 2016-10-13 18:08:34 +02:00
Marius 5be9dedae2 Format code in limitedstore 2016-10-13 16:46:03 +02:00
Marius 6a3b51f491 Unify naming of subtests 2016-10-13 16:45:40 +02:00
Marius 58f7065e61 Disable verbose testing on CI 2016-10-13 16:45:19 +02:00
Marius df378704ce Improve output of subtests when emulated 2016-10-13 12:59:11 +02:00
Marius 9b4126cae6 Enable subtests for environments prior to Go 1.7 2016-10-13 12:29:13 +02:00
Marius 3f0faedfd8 Use mocks generated by gomock for running tests 2016-10-13 11:33:20 +02:00
Kevin van Zonneveld 0c99b7377a Make sure rsyslog has permissions to write to log dir 2016-10-12 20:50:02 +02:00