Commit Graph

754 Commits

Author SHA1 Message Date
kiloreux 34e32999fb Setting ssl-redirect to true 2019-08-14 13:33:36 +01:00
Marius 51a6afccbc Merge branch 'master' of github.com:tus/tusd 2019-08-13 10:51:08 +02:00
Marius 571bc4df75 cli: Add flag to reduce verbosity of output 2019-08-13 10:51:03 +02:00
kiloreux 102715e2d1 misc: Change cloud provider for master.tus.io (#300)
* Change branch and change deployment method

* Fix DA DOCKER FIIIIILE

* Fix docker

* Maybe just update deployment ?

* Switch back to base64

* Remove useless lines and replace it by stable installation

* Don't use /home/kiloreux

* Added kubeconfig again

* Replicate stuff

* Final fixes

* Avoid contacting server

* remove quotes

* Try again

* Trigger

* Use master
2019-08-13 09:50:18 +01:00
Sergio Contreras Castañeda 31d31ba3b9 s3store: Properly remove temporary files (#299) 2019-08-12 12:05:49 +01:00
Marius 4a0313550d
Disable SSL redirect for debugging 2019-08-12 11:35:07 +02:00
Marius b77d9aabf9
misc: Correct usage of links in FAQ 2019-07-26 12:43:43 +02:00
Marius af51b797ab Disable Windows compilations for now 2019-07-21 23:38:53 +02:00
Marius 1089558ac3 Install Windows package before compilation 2019-07-21 23:21:43 +02:00
Marius 4f4da61fea Install Windows package for cross-compiling
Should fix https://travis-ci.org/tus/tusd/jobs/561804467#L682
2019-07-21 23:05:59 +02:00
Marius 8242b4dfb5 core: Remove TCP details from connection reset message 2019-07-21 22:40:41 +02:00
Marius 85a26150a3 s3store: Filter newlines out of metadata 2019-07-21 22:40:18 +02:00
Thomas 30811b6579 docker: Added script to generate official-images/library/tusd file. (#289)
* Added script to generate official-images/library/tusd file.

* Moved script to .scripts.
2019-07-12 15:34:43 +01:00
Thomas 9c0d753f7d docker: Updated docker from alpine 3.8 to 3.9 (#286) 2019-06-24 18:38:56 +01:00
Thomas 7cab4b087a docker: Installing gcc and libc-dev for having a matching gcc and linker in the image. (#284) 2019-06-24 16:04:09 +01:00
Thomas a6ebba689f misc: Set the docker user to tusd. (#282) 2019-06-13 10:58:16 +01:00
Thomas c48512798e cli: Replace deprecated function for getting Prometheus handler (#281) 2019-06-13 10:34:28 +01: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
Juanjo Rodriguez 10e0bb1fb9 core: Add timestamps to tusd log (#276)
* Add timestamp to log

* tus/tusd#274 Add timestamp to log
2019-06-02 15:17:25 +01: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
Marius 14faaafc67
chore: Upgrade Docker image to Go 1.12 2019-05-26 21:38:19 +02:00
Marius fd2926cf60 chore: Deploy tusd on Go 1.12 2019-05-20 22:53:39 +02:00
Marius 12914032e5 s3store: Exclude aws-sdk-go examples from build
These examples are not compatible with old Go versions.
See https://travis-ci.org/tus/tusd/jobs/535001180#L508
2019-05-20 22:52:15 +02:00
Marius 774cd3800d etcd3locker: Do not run tests on Go < 1.11 2019-05-20 22:38:53 +02:00
Marius 0dd8efd606 filestore: Do not error out on unexpected EOF 2019-05-16 00:03:14 +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
Rémy Sanchez 966711019b Create CLI option to bind to UNIX socket (#265) 2019-05-12 22:12:28 +01:00
kiloreux 9d693c93a3 Require it to not run on preemptible 2019-05-08 04:06:26 +01:00
kiloreux cce12757d4 Remove request for 2GB of memory from machine and the requirements to run on a preemptible machine @kvz @Acconut 2019-05-08 04:02:32 +01: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
Marius acc99bfecf
Only run a single tusd instance at master.tus.io 2019-04-11 21:25:00 +02:00
Marius c02acb8fdf
Decrease read timeout to 6sec for master.tus.io 2019-04-11 19:49:19 +02:00
Marius 2c19a92316
ci: Update helm installation script
In the hope that it will fix the `curl: (3) Illegal characters found in URL` error inside the deployment step:
https://travis-ci.org/tus/tusd/jobs/518477872#L7357
2019-04-10 22:53:35 +02:00
Marius fbbd768a0d consullocker: Update tests to use new import path 2019-04-10 22:28:10 +02:00
Anders Chen b6dc60d2dc docs: Add tusd-dynamo-locker link to README.md (#263) 2019-04-10 21:31:55 +02:00
Marius 589189ba67
docs: Stress the trailing slash in README 2019-04-09 21:47:28 +02:00
Marius 25f64ee00a
Extend FAQ entry about lockfile errors 2019-04-01 22:26:45 +02:00
Rija Ménagé 82bd6c796a docker: Enable the sample hook files to execute without error (#256)
- Include jq package in the Dockerfile for parsing JSON
- Use sh instead of bash which is not available in Alpine Linux
2019-03-30 18:16:53 +01:00
Marius 56acce823d
misc: Add templates for GitHub issues 2019-03-24 19:28:09 +01:00
Kirill Shvakov 495068b5a4 core: Remove unnecessary goroutines (#253)
* deleted unnecessary goroutines

* remove unnecessary goroutines

* restore NotifyTerminatedUploads

* fix merge

* restore NotifyTerminatedUploads

fix merge

revert upload progress event
2019-03-21 20:04:01 +01:00
Acconut b1a657049e limitedstore: Remove unused package fmt 2019-03-15 22:01:43 +01:00
Acconut 0116e4e15b limitedstore: Claim back space from already deleted uploads
Fixes https://github.com/tus/tusd/issues/249
2019-03-15 21:57:47 +01:00
Marius 1612a8ca46
Add FAQ entry about disabling downloads 2019-03-15 21:23:46 +01:00
Acconut c0651e77fc gcsstore: Do not ignore errors when writing an object
Previously, any error returned from w.Close() would be ignored. This is
a problem since this function is responsible for returning any error
that occurred during the actual GCS transaction.

This fix also uncovered an issue in the corresponding test routine.

Furthermore, a "404 Not Found" error when writing an object is now
interpreted as if the bucket does not exist to ease debugging
(see https://github.com/tus/tusd/issues/241).

/cc @tab1293
2019-03-10 17:01:29 +01:00
Adam Jensen 5e06fc54b0 s3store: Use DeleteObject and GetObject to fix IAM issues for incomplete parts (#233)
* Use GetObject instead of HeadObject to locate incomplete part

This avoids confusion around the errors that are returned by HeadObject, especially when the request has limited permissions for the bucket.

* Remove unused HeadObject function

* Add DeleteObject to S3API interface

* Use DeleteObject to remove .part objects

* Update tests
2019-02-23 21:24:38 +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
Jonas Thelemann df77e34fed Correct "around" Spelling (#242) 2019-02-12 22:11:11 +01:00