Marius
ab641b6f89
Merge branch 'master' of github.com:tus/tusd into v1
2019-06-16 17:00:10 +02:00
Thomas
c48512798e
cli: Replace deprecated function for getting Prometheus handler ( #281 )
2019-06-13 10:34:28 +01:00
Marius
42bfe35457
core: Move packages into pkg/ and internal/ folders
2019-06-11 18:23:20 +02:00
Marius
32cf95aefe
limitedstore: Remove package due to bad functionality
2019-06-11 17:06:33 +02:00
Marius
05d9a0ba98
cli: Add option for run hooks from Go plugin
...
Squashed commit of the following:
commit 1b80f51f94cf860ba8516baed4b65e9ded6441fe
Author: Marius <maerious@gmail.com>
Date: Mon Jun 10 11:41:30 2019 +0200
Minor improvements
commit 98daad5f9fa55895a7ae6397b5fcaa353e240954
Author: Marius <maerious@gmail.com>
Date: Fri Jun 7 13:26:14 2019 +0200
Extract File and Http hooks into own structs
2019-06-10 11:42:51 +02:00
Marius
79fcf60e79
chore: Cleanup failures from 53b86abc35
2019-06-02 16:09:24 +02:00
ridhozhr
53b86abc35
gcsstore: Add ability to set custom object prefix ( #275 )
...
Squashed commit of the following:
commit e48ca3f3fe086504aa1a97d26e2f4fe263880664
Author: Marius <maerious@gmail.com>
Date: Sun Jun 2 15:54:39 2019 +0200
Format Go source code
commit 477ef689d3
Merge: 82c50f9
b89c337
Author: Ridho Azhar <azharridho42@gmail.com>
Date: Mon May 27 15:56:20 2019 +0700
Merge branch 'master' into master
commit 82c50f9364
Author: ridhozhr <ridho@nodeflux.io>
Date: Mon May 27 13:30:57 2019 +0700
add test file with prefix
commit aa8a29866f
Author: ridhozhr <ridho@nodeflux.io>
Date: Mon May 27 13:18:08 2019 +0700
remove object prefix gcs from parameter
commit e25b36c5e9
Author: ridhozhr <ridho@nodeflux.io>
Date: Wed May 22 22:19:01 2019 +0700
add flags gcs object prefix validation
commit 53762be170
Author: ridhozhr <ridho@nodeflux.io>
Date: Wed May 22 22:04:17 2019 +0700
integrate prefix with store method
commit fe62533f1e
Author: ridhozhr <ridho@nodeflux.io>
Date: Wed May 22 21:03:25 2019 +0700
add prefix in test file gcs store
commit e824008fe2
Author: ridhozhr <ridho@nodeflux.io>
Date: Wed May 22 20:57:32 2019 +0700
integrate flags with composer gcs object prefix
commit bb2ee4cf41
Author: ridhozhr <ridho@nodeflux.io>
Date: Wed May 22 20:54:38 2019 +0700
add gcs-object-prefix flag
commit 600f4fc939
Author: ridhozhr <ridho@nodeflux.io>
Date: Wed May 22 20:54:14 2019 +0700
add object prefix in gcs store
2019-06-02 15:58:33 +02:00
Marius
b89c337b1b
cli: Log full HTTP address for uploads
2019-05-26 22:28:14 +02:00
Marius
d23be46d7a
core: Add ability to stop upload from post-receive hook ( #279 )
...
* First implementation of stopping an upload from the server
* Remove unnecessary json tag
* Use golang.org/x/net/context for support in Go < 1.7
2019-05-26 20:56:51 +01:00
Rémy Sanchez
966711019b
Create CLI option to bind to UNIX socket ( #265 )
2019-05-12 22:12:28 +01:00
oliverpool
0baa9eaf48
Forward status code and body from pre-create HTTP hook ( #236 )
...
* Forward status code from Pre-create http hook
Fix #170
* Allow the returned body to difer from the logged error
* Update HTTP Hooks documentation
2019-02-12 22:45:08 +01:00
Acconut
3b745ad85d
Expose number of failed hook executions
2019-01-17 09:52:25 +01:00
Adam Jensen
27c9c4aab5
Support prefix on S3 object names ( #213 )
...
* Add ObjectPrefix field to S3Store
* Integrate S3ObjectPrefix with Flags
* Account for S3ObjectPrefix flag in CreateComposer
* Account for ObjectPrefix in S3Store operations
* Add test for configuring an S3Store with ObjectPrefix
2018-11-13 00:14:37 +00:00
Acconut
1b756f0239
Use OS-specific path separator for hooks
...
Fixes https://github.com/tus/tusd/issues/206
2018-09-25 13:49:06 +01:00
Mark Armendariz
d416990829
Allow AWS-SDK to handle gathering credentials.
...
This change enables ec2 instance assumed roles, environment variables, and shared configs as is standard for the aws-sdk.
2018-06-14 13:58:57 -05:00
Ema Panz
ae4f9e3db7
Fix typo in comment
2018-04-16 22:01:10 +02:00
Peixian Wang
9cf50ffb4d
Log hooks to stdout
2018-03-15 20:03:06 -04:00
Marius
d002eb390e
Improve messages for GCS store
2018-02-16 23:18:26 +01:00
Tom Berger
4c0f4cc9d9
Add support for Google Cloud storage as a DataStore ( #106 )
...
* Add support for Google cloud storage as a DataStore
* Use memorylocker in GCS composer
* Add documentation and recursive compose
* Offset being calculated in getInfo. Tests not working
* Fix tests. Attach metadata to composed object.
* Add dependencies using govendor. Add new package to README. Add test instructions for AppVeyor
* Add google cloud internal and transport packages with govendor
* Adding more dependencies to pass travis integration
* Update w/ internal packages
* Skip tests on go1.5/1.6
* Gcsstore tests (#2 )
* Refactor as a struct of clojures for testing
* Refactor to support tests
* Add docs
* Struct members cannot fufill the interface, adding wrapper functions
* update tests
* Update documentation
* add more tests
* Add gock and redo some tests
* Add gock
* remove unneeded clojures
2017-09-16 20:49:09 +02:00
Marius
a51f5994bb
Squashed commit of the following:
...
commit d6ba86b7c300122af52e5be71b5fade4bb88d77c
Author: Marius <maerious@gmail.com>
Date: Wed Jul 19 17:44:56 2017 +0200
Add documentation for post-create
commit 1d1605f98036e6cfd7e2695cf2e4f8510a220326
Author: Marius <maerious@gmail.com>
Date: Wed Jul 19 13:21:01 2017 +0200
Remove duplicated log for created uploads
commit 1f5c6d22bb62e1251297db9b10f78f6db363759d
Author: Marius <maerious@gmail.com>
Date: Wed Jul 19 13:08:11 2017 +0200
Rename UploadsCreated to CreatedUploads to match other names
commit 5c67ea7548548986c4bce79b7eea311a02a4c541
Author: Marius <maerious@gmail.com>
Date: Wed Jul 19 13:07:14 2017 +0200
Remove unused variable from hook script
commit e21d7f5824ce533d80d74e75835ddc33de2184fb
Merge: 028ba57
447aa9c
Author: Marius <maerious@gmail.com>
Date: Wed Jul 19 12:47:52 2017 +0200
Merge branch 'f-post-create-hook' of https://github.com/flaneurtv/tusd into flaneurtv-f-post-create-hook
commit 447aa9c485
Author: Markus Kienast <mark@rickkiste.at>
Date: Thu Jul 13 15:57:07 2017 +0200
added post-create hook
added test for handler.UploadCreated
go fmt .
2017-07-19 17:45:16 +02:00
Peixian Wang
a7950fdadb
Add HTTP hooks
...
Closes https://github.com/tus/tusd/pull/120
2017-04-14 16:29:18 +02:00
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