Commit Graph

886 Commits

Author SHA1 Message Date
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
Marius 7fd41f1bfc
Merge pull request #306 from tus/v1
Next major release v1.0.0
2019-09-20 16:51:45 +02:00
Marius b0f5d710ab docs: Add link to previous major version 2019-09-20 16:47:22 +02:00
Marius 46d2adcc12 docs: Update hook structure 2019-09-20 16:36:05 +02:00
Marius e7dfc9405d cli: Move printing of hook flags to correct file 2019-09-20 14:33:05 +02:00
Marius 59213a5b3a ci: Remove leading 'v' from version for Debian packages 2019-09-20 11:06:25 +02:00
Marius a6a305f1c0 ci: Remove paths from Go binaries for easier use with plugins 2019-09-20 11:05:53 +02:00
Marius 619555607a ci: Enable builds for Windows again 2019-09-20 11:05:31 +02:00
Marius b73d634b47 core: Pass Upload interfaces to ConcatUploads 2019-09-19 12:14:25 +02:00
Marius 6b21772107 core: Provide HTTP request details to hooks
Closes https://github.com/tus/tusd/issues/185
2019-09-19 11:15:48 +02:00
Marius d2be5e82bd cli: Remove unneeded flag validation check
Closes https://github.com/tus/tusd/issues/229
2019-09-16 14:12:00 +02:00
Marius 3c4cadd37c ci: Reenable Go Modules for Go 1.12 2019-09-16 12:16:53 +02:00
Marius 5a31f3230e s3store: Cache FileInfo between function calls
This lead to an 15% increase in upload speed for our tests.
2019-09-16 12:13:39 +02:00
Marius cbfde4e4b0 s3store: Pass context to AWS SDK 2019-09-15 14:33:02 +02:00
Marius 485c21d72e core: Add context to DataStores
Closes https://github.com/tus/tusd/issues/288
2019-09-15 13:43:59 +02:00
Marius 819ffb10ab misc: Support Go 1.13 2019-09-13 11:16:15 +02:00
Marius db18dbb70f etcd3locker: Move to separate repository 2019-09-12 21:42:54 +02:00
Marius 03d478eb5c fixup! misc: Remove dots from folders 2019-09-12 21:39:00 +02:00
Marius 76f8489d37 misc: Remove dots from folders 2019-09-12 13:10:51 +02:00
Marius 7d639b930d core: Replace old LockerDataStore with new Locker 2019-09-12 12:37:43 +02:00
Marius 92826b171d etc3dlocker: Implement new Locker interface 2019-09-11 12:03:39 +02:00
Marius 65072acb79 memorylocker: Implement new locker interface 2019-09-11 10:28:38 +02:00
Marius 8e1dce1dcb filelocker: Add tests 2019-09-10 16:19:49 +02:00
Marius 241c458184 cli: Print out available tus extensions 2019-09-10 15:27:47 +02:00
Marius d01d878e29 gcsstore: Adjust to new DataStore interfaces 2019-09-10 11:09:07 +02:00
Marius e591c9ea69 cli: Update to new DataStore interfaces 2019-09-10 10:23:39 +02:00