Commit Graph

29 Commits

Author SHA1 Message Date
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