Commit Graph

44 Commits

Author SHA1 Message Date
Marius b05382eced Correct constant for post-receive hook name 2017-01-26 23:16:22 +01:00
Marius 675f8fcf04 Add experimental post-receive hook 2017-01-26 22:34:14 +01:00
Marius a462549217 Merge branch 's3-endpoint' of https://github.com/mrezai/tusd into mrezai-s3-endpoint 2017-01-19 21:04:07 +01:00
Marius 97bd6db73f Add NotifyUploadProgress configuration option 2017-01-19 21:02:58 +01:00
mrezai 3cb4e0907d Add -s3-endpoint to command line arguments
to support S3 compatilbe implementations like minio
2017-01-19 22:18:21 +03:30
Marius 0a8a3e7e51 Count multiple closed connectios only once 2017-01-04 20:47:34 +01:00
Marius 4df66415d6 Add HookInvocationFinish event to logging 2016-09-27 22:48:29 +02:00
Marius 9a5646ad6c Add proper, formatted logging 2016-09-23 21:21:38 +02:00
Marius 8e4959dccd Catch error from non-existing hook files when executing
Closes #62
2016-09-15 23:15:54 +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 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
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 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
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 3ee1c61d80 Add post-terminate hook 2016-03-12 22:24:57 +01:00
Marius e6e6637693 Merge branch 'master' of github.com:tus/tusd 2016-03-11 22:05:24 +01:00
Marius 8e6a6fbf5a Merge branch 'composer'
Conflicts:
	cmd/tusd/main.go
2016-03-11 22:05:01 +01:00
Marius 611f4decb6 Add some comments for tusd(1) 2016-02-23 14:55:19 +01:00
Marius 0a43ce5663 Update greeting 2016-02-23 14:36:36 +01:00
Marius f3aba69ca1 Display a lovely greeting at the root route
Closes #39
2016-02-22 19:08:07 +01:00
Marius 03ab994a4e Merge branch 'master' into composer 2016-02-22 14:12:24 +01:00
Marius d5d0452c36 Rename postfinish hook to post-finish 2016-02-22 14:04:14 +01:00
Marius 0070379a91 Pass info object as JSON blob to hook 2016-02-22 13:59:28 +01:00
Marius dbd4d54b4d Add postfinish hook 2016-02-22 12:53:15 +01:00
Marius 4675d90a4e Merge branch 'master' of github.com:tus/tusd into composer
Conflicts:
	cmd/tusd/main.go
2016-02-22 12:21:23 +01:00
tim-kos 67d7757e9f fix hardcoded basePath 2016-02-22 12:11:42 +01:00
Marius 1cee5eb0f3 Correct description of max-size flag 2016-02-22 11:55:56 +01:00
Marius aaf36de210 Print capabilities of data store at start time 2016-02-22 11:00:20 +01:00
Marius 21ae1c45a7 Add initial draft of StoreComposr 2016-02-21 23:25:35 +01:00
Marius 7ac6cf12c7 Remove useless region check 2016-02-21 18:20:31 +01:00
Marius 2a84435974 Add version information for tusd builds 2016-01-23 12:43:50 +01:00
Marius 101648e382 Add documentation about S3Store 2016-01-17 15:30:19 +01:00
Marius 28a7b9d950 Add S3 option to tusd(1) 2016-01-13 22:24:41 +01:00
Marius 4af7434c10 Move terminating method in own interface
In addition, the DELETE handler is only provided if the TerminaterDataStore
interface is implemented.
2015-12-27 00:44:02 +01:00
Marius b4c0df187e Provide easier way for locking file storage 2015-12-19 00:21:34 +01:00
Max Brosnahan b36b5ac3bb Extract basic handlers into unrouted struct 2015-12-02 22:19:10 +00:00
Marius 52eb00b2f8 Use idle timeouts for read and write operations
Thanks to @LukaszMarchewka for making me indirectly aware of the incorret
patch and @jbardin for providing the proper timeout handling.

A connection now will be closed once no read operation success for 30ms
(default value, can be changed).

Fixes #24
2015-10-16 20:48:08 +02:00
Marius acd3a63213 Add options for read timeout to tusd command
Fixes #24
2015-10-16 20:02:08 +02:00
Acconut c321ef8420 Move tusd binary in cmd subdirectory 2015-07-28 17:40:23 +02:00