Julian Berkner
c563ed70ef
to be able to handle the header, it should be exposed as well...
2020-05-27 12:29:53 +02:00
Julian Berkner
c611f55608
fixes #388
...
Responses to the pre-finish hook will be passed to the client as custom header "X-pre-finish-response"
2020-05-27 10:14:11 +02:00
Marius
52181920c2
cli: Fix upload creation when using -basepath=/
...
Closes https://github.com/tus/tusd/issues/387
2020-05-25 09:25:55 +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
Marius
5692b8f34a
Merge branch 'master' of github.com:tus/tusd
2020-04-27 12:43:11 +02:00
Marius
9210fbe0fc
s3store: Allow concatenation of uploads with less than 5MB
2020-04-27 12:42:56 +02:00
kiloreux
9deabf9d80
Merge pull request #372 from tus/k8s-improve
...
Kubernetes upgrades maintenance
2020-04-16 12:50:59 +01:00
Abdelhadi Khiati
5604bbc8d4
Update APIs
2020-04-15 03:23:42 +01:00
Abdelhadi Khiati
3034947e30
Better improve
2020-04-15 03:20:27 +01:00
Abdelhadi Khiati
25eec49577
Use newer version of Azure
2020-04-15 03:18:18 +01:00
Marius
cfebf1778e
cli: Fix build time error of gRPC hooks
2020-04-06 13:46:58 +02:00
Marius
936f465cc3
Merge branch 'master' of github.com:tus/tusd
2020-04-06 12:24:05 +02:00
Marius
286d2d1e23
handler: Add request ID to log output
2020-04-06 12:20:57 +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
Clement Peyrabere
acfa974c10
cli: Add hook name to gRPC message ( #364 )
...
* Make use of gRPC metadatas to pass on Hook-Name. Fixes #362
* Add Hook name in proto.
* Pass the hook name into the hook proto instead of gRPC metadatas.
Co-authored-by: Clément Peyrabère <clement.peyrabere@idcapture.fr>
2020-03-27 20:48:02 +01:00
Ibrahim Almuqrin
e5e9a74c66
docs: Fix link in faq.md ( #363 )
...
Changed `docs/....` to `/docs/....`
2020-03-22 20:45:45 +01:00
Iñigo
1f0b0f515d
cli: Fix gRPC Hook reference ( #358 )
...
close #357
2020-03-16 21:15:04 +01:00
Rafael Cossovan
c7f6428884
docs: Update command help in README ( #352 )
2020-02-24 20:58:15 +01:00
dmmakita
43bd4b0ccb
core: Allow Authorization header in CORS ( #355 )
...
* Update cors_test.go
Adding Allow Authorization Header
* Update unrouted_handler.go
Adding Allow Authorization Header to CORS
2020-02-24 20:47:54 +01:00
Marius
973a4fe066
s3store: Fix bug when completing empty upload
2020-02-23 20:26:00 +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
Adam Jensen
9c0e0c8f11
s3store: Add optional key prefix for metadata objects ( #347 )
...
* Add MetadataObjectPrefix field to S3Store
* Add metadataKeyWithPrefix helper function
* Use metadataKeyWithPrefix for .info and .part operations
* Add s3store tests for metadata object prefixes
* Clarify ObjectPrefix docs
2020-02-01 17:33:02 +01:00
Marius
b4db495cc6
docs: Add entry about filenames
2019-12-19 22:11:48 +01:00
Abdelhadi Khiati
4b7cda81a4
Also run build on tags @Acconut
2019-11-18 08:18:14 +01:00
Marius
39b90f9148
ci: Trigger build when tag is created
2019-11-15 21:20:52 +01:00
Marius
790d6ea849
handler: Allow method overriding in CORS requests
2019-11-15 21:06:29 +01:00
Marius
14aebe2985
cli: Fix error when setting basepath to /
...
Closes https://github.com/tus/tusd/issues/325
2019-11-10 20:18:24 +01:00
oliverpool
e138fc3e9e
filestore: Remove useless defer ( #318 )
...
Since the `file` is not used after the creation, its closing can be done without defer (and the err can be checked).
2019-10-23 18:51:36 +02:00
Marius
d6ac521667
Merge branch 'master' of github.com:tus/tusd
2019-10-16 18:07:25 +02:00
Marius
1e5ff7fe24
docs: Update server example for new package paths
2019-10-16 18:06:51 +02:00
Marius
f47bee870c
docs: Add CI badge for GitHub Actions
2019-10-16 14:22:31 +02:00
Ankit Pokhrel
898f3fe72a
gcsstore: Remove unnecessary typecasts and unused mocks ( #313 )
2019-10-09 14:44:13 +02:00
Ankit Pokhrel
321acd1821
core, gcsstore: Update deprecated methods ( #312 )
2019-10-08 10:30:19 +02:00
Marius
5414e88fbb
Merge branch 'master' of github.com:tus/tusd
2019-10-07 11:28:27 +02:00
Marius
a045b8c4fc
core: Allow numbers in mime types
...
See https://community.transloadit.com/t/tus-server-not-returning-the-correct-content-type-for-video-or-audio-file/15076
2019-10-07 11:28:13 +02:00
kiloreux
a32ce3e9ab
base64 not working
2019-10-02 06:26:52 +01:00
kiloreux
f5e8541a06
Adding space
2019-10-02 06:18:58 +01:00
kiloreux
232236f167
Build pull requests also
2019-10-02 06:07:33 +01:00
kiloreux
10175799e1
Build on tags also
2019-10-02 06:01:42 +01:00
kiloreux
ee5d881ad3
ci: Move from Travis to GitHub Actions ( #308 )
...
* Initial commit
* trimpath error
* Test
* test priority
* Another versiong
* ON push only
* Build also
* Enable GO11MODULE
* Disable trimpath
* Separate jobs
* Change stuff
* Matrix build again
* Remove mapping
* Don't use script
* Disable version temp
* Restore
* Deploy on master only
* Deploy on master push
* Remove unused code
* Rename GitHub token secret
The GITHUB_ prefix is reserved (see https://help.github.com/en/articles/virtual-environments-for-github-actions#naming-conventions ) and I was not able to create a secret called GITHUB_TOKEN
2019-10-01 17:58:22 +02:00
Marius
6f24143015
docs: Move documentation into own files
2019-09-29 21:15:31 +02:00
Marius
57be489b8b
fixup! core: Allow writing data to storage after request is cancelled
2019-09-29 20:12:50 +02:00
Marius
2ea1fd43c8
Merge branch 'master' of github.com:tus/tusd
2019-09-29 20:04:40 +02:00
Marius
d778999213
cli: Tune default timeout to decrease lock times
2019-09-29 20:04:26 +02:00
Marius
8aaa413bd4
infra: Allow access without HTTPS
2019-09-29 20:03:52 +02:00
Marius
65d2f1c2ef
core: Allow writing data to storage after request is cancelled
2019-09-29 20:03:18 +02:00
Vadym Voitiuk
a33f72f823
docs: Make README file represent current reality ( #307 )
2019-09-27 20:53:01 +02:00
Marius
f577bdd415
ci: Only run deployments on Linux
2019-09-20 17:46:45 +02:00