Commit Graph

42 Commits

Author SHA1 Message Date
zain naveed bc2eb4763c
Recommend cloning using HTTPS (#884)
* Update installation.md

* Update installation.md
2023-01-20 12:04:41 +01:00
Marius 4be9e5f28f chore: Rename master to main 2023-01-18 13:04:11 +01:00
Marius 537bdf02c5 chore: Bump minimal Go version to 1.18 2023-01-15 21:54:57 +01:00
Christoph, René Pardon 6ca6ef69a2
docker: Allow passing secrects using files (#810)
* feat (DOCKER) BW-0: add docker secret env parsing

* fix (DOCKER) #810: adjust image version for docker-compose.yml example

* chore (DOCKER) tus#810: remove AWS_URL env var in favor of s3-endpoint flag
2022-09-19 09:34:37 +02:00
Veniamin Krol fbc83f508e
docs: Fix some typos in hooks.md (#684) 2022-03-21 11:44:20 +01:00
Marius b47294267a cli: Correct environment variables needed for azure store
Closes https://github.com/tus/tusd/issues/660
2022-02-21 12:11:27 +01:00
Márk Sági-Kazár f1b183022b
docs: Mention the helm chart in the installation instructions (#475) 2021-05-05 10:35:02 +02:00
Ruben Garcia f863189009
docs: Mention support for HTTPS hooks (#430)
* Clarify that HTTPS is supported in hooks.

* Fix markdown.

* Fix Blocking hooks section.
2020-10-10 18:21:33 +02:00
Marius 9b934ebca7 Remove double spaces 2020-10-02 12:45:16 +02:00
Marius e5a79650cf Use new URL for public tus demo server 2020-10-02 12:44:12 +02:00
Joey Coleman f4d1b7c443
cli: Allow accepting requests over HTTPS (#423)
* Add TLS support to tusd

* Adds `-tls-certificate`, `-tls-key`, and `-tls-mode` flags
* Alter printed URL to reflect protocol in use
* For non-TLS, do an eary-exit if http.Serve() returns
* Configure TLS for the following modes
    * TLSv1.3-only
    * (default) TLSv1.3+TLSv1.2, with recommended ciphersuites from Mozilla + matching RSA key transport modes
    * TLSv1.2 only, with only 256-bit AES ciphersuites
* All modes disable HTTP/2, given that it’s not supported in non-TLS mode
* Update documentation

* * Remove RSA-based key transport ciphersuites as they don’t support forward secrecy

* Improve the TLS/HTTPS example in the usage documentation

Signed-off-by: Joey Coleman <joey.coleman@kirasystems.com>

* Update docs further to a) record that the key file must be unencrypted, and b) clean up the RSA-based ciphersuite comments.
2020-09-29 15:19:10 +02:00
Kevin McGee 90e208a286
cli: Add flag to enable S3 transfer acceleration (#411)
* Enable S3 transfer acceleration in SDK

* Format better

* Setup for flag changes

* Place feature behind new flag

* Fix a docs issue

Co-authored-by: Cloud User <centos@ip-10-0-0-184.us-west-2.compute.internal>
2020-08-01 15:07:03 +02:00
Márk Sági-Kazár ec9c56bb03
docs: Fix typo (#413) 2020-08-01 15:01:18 +02:00
Vincenzo Demasi c822a3afb1
cli: Fix help description for "hooks-enabled-events" (#399)
* Update flags.go

* change hooks-enabled-events documentation
2020-06-19 17:32:34 +02:00
Hamish Forbes fdf168fbb6
cli: Add pre-finish hook (#382)
* core: add new synchronous event: pre-finish

* docs: pre-finish hook event

* docs: Added information about CORS to the FAQ. (#384)

* Added information about CORS to the FAQ.

* docs: Expand explanation of CORS

Co-authored-by: Marius <marius@transloadit.com>

* cli: add header forwarding in HTTP hooks (#371)

* cli: add header forwarding in HTTP hooks

* docs: Reword header forwarding flag, add documentation

* Don't enable pre-finish hooks by default

* Enable pre-finish hooks for plugins

* docs: default enabled hooks

* Rename callback

Co-authored-by: josh-marshall-jax <52457971+josh-marshall-jax@users.noreply.github.com>
Co-authored-by: Marius <marius@transloadit.com>
2020-05-15 17:27:09 +02:00
Hamish Forbes a4a733fb39
cli: add header forwarding in HTTP hooks (#371)
* cli: add header forwarding in HTTP hooks

* docs: Reword header forwarding flag, add documentation
2020-05-07 14:31:44 +02:00
josh-marshall-jax c9dc9e6c06
docs: Added information about CORS to the FAQ. (#384)
* Added information about CORS to the FAQ.

* docs: Expand explanation of CORS

Co-authored-by: Marius <marius@transloadit.com>
2020-05-07 14:12:59 +02:00
Hamish Forbes 15a89ec676
docs: correct data type of headers in hooks (#366)
* docs: Headers are a list of values

* docs: Remove the header fields for gRPC as it does not exist

Co-authored-by: Marius <Acconut@users.noreply.github.com>
2020-04-03 11:51:53 +02:00
Ibrahim Almuqrin e5e9a74c66
docs: Fix link in faq.md (#363)
Changed `docs/....` to `/docs/....`
2020-03-22 20:45:45 +01:00
Rafael Cossovan c7f6428884
docs: Update command help in README (#352) 2020-02-24 20:58:15 +01:00
Iñigo 8ef7648713
cli: add gRPC hooks (#316)
* add grpc hook

* add retry/backoff params
make streaming RPC call

* Update cmd/tusd/cli/flags.go

Co-Authored-By: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com>

* move one time grpc configuration to `Setup`

* remove stream grpc

Co-authored-by: Márk Sági-Kazár <sagikazarmark@users.noreply.github.com>
2020-02-06 17:35:37 +01:00
Marius b4db495cc6
docs: Add entry about filenames 2019-12-19 22:11:48 +01:00
Marius 1e5ff7fe24 docs: Update server example for new package paths 2019-10-16 18:06:51 +02:00
Marius 6f24143015 docs: Move documentation into own files 2019-09-29 21:15:31 +02:00
Marius 46d2adcc12 docs: Update hook structure 2019-09-20 16:36:05 +02:00
Marius 76f8489d37 misc: Remove dots from folders 2019-09-12 13:10:51 +02:00
Marius 12114b1ae8 Merge branch 'master' of github.com:tus/tusd into v1 2019-09-09 13:37:53 +02:00
Marius f1fe5e2603 cli: Add option to whitelist hooks (#302) 2019-08-26 20:34:37 +02:00
Marius bfac68d84c docs: Add section about storage details 2019-08-19 11:19:07 +02:00
Marius 6de723ec8b core: Do not emit post-receive hook when the offset didn't change 2019-05-15 23:57:32 +02:00
Marius 12f102abf6
docs: add note about hook extensions on Windows
See https://github.com/tus/tusd/issues/267
2019-04-24 22:48:56 +02: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
ruv de50d26620
Add documentation about HTTP Hooks status code
HTTP Status Code meaning was missed.
Source code reference: 311cdf253e/cmd/tusd/cli/hooks.go (L137)
2018-07-16 06:11:14 +03:00
Marius f5826fa84f
Add ProxyPreserveHose to apache2 example
See https://github.com/tus/tusd/issues/86#issuecomment-367271450
2018-02-22 21:16:14 +01:00
Marius baceec15ed Correct filename for apache2 config 2018-01-08 17:17:03 +01:00
Marius 9304ecba6e
Add back apache2.conf 2018-01-08 17:13:24 +01:00
Marius 6a5fbd7e05
Add back nginx.conf 2018-01-08 17:12:56 +01: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
Matthew Wratt 5600cf2d6e Allow override of default options response 2017-04-12 11:53:15 +02:00
Marius 9a3667b8ab Add documentation about post-receive event 2017-02-21 23:24:28 +01:00
Marius d5a0bd6e02 Add document about hook system 2017-01-16 17:29:14 +01:00