Commit Graph

617 Commits

Author SHA1 Message Date
Andrea Spacca 2e2c07c3a0
tests on PR (#375)
* tests on PR
2021-05-21 17:16:43 +02:00
Andrea Spacca 9df18fdc69
fixes-20210521 (#373) 2021-05-21 15:49:48 +02:00
Stefan Benten 49c6d7ee4f
Merge pull request #372 from dutchcoders/ISSUE-371
Add random-token-length config
2021-05-21 10:37:42 +02:00
Andrea Spacca fdfd453222 Added random-token-length, Encode() refactored 2021-05-20 08:26:07 +02:00
Stefan Benten b5ffdb5095
Merge pull request #370 from dutchcoders/ISSUE-38-WEB
Added UrlRandomToken in template data
2021-05-09 10:37:43 +02:00
Andrea Spacca 0512452111 Added UrlRandomToken in template data 2021-05-09 09:21:54 +02:00
Federico Marzocchi 16e94447f7
GitHub workflow for releases (#368)
* GitHub workflow for releases

* avoid renaming

* add workflow for tests

* fix workflow name

* one yaml for all

* fix yaml

* add missing pipe

* add conditional

* also rename that other var

* remove empty version

* print the go version

* add name to step

* add go version when building

* split files

* remove dependency

* delete travis and add badge

* CHANGE NAMES TO LOWER CASE
2021-05-01 19:53:15 +02:00
Stefan Benten 941ec1fe0f
Merge pull request #365 from JustAnotherArchivist/disable-download-counter-without-limit
Only increment download counter on files that have a download limit
2021-04-25 21:00:49 +02:00
JustAnotherArchivist 6bd3e97186 Only increment download counter on files that have a download limit
For files that have no limit, there is no reason to track the download counter as its value will never be used anyway. This reduces costs on storage backends that have an operation fee (e.g. AWS S3) or a minimum retention (e.g. Wasabi S3).
2021-04-25 17:47:23 +00:00
Andrea Spacca 31ef712847
Merge pull request #362 from JustAnotherArchivist/fix-metadata-rewrite
Only rewrite metadata file when the download counter changed
2021-04-24 21:23:51 +02:00
JustAnotherArchivist 4daca97f89 Only rewrite metadata file when the download counter changed
Previously, the metadata file would be rewritten even if the download counter stayed the same (i.e. `increaseDownload = false`, previews and HEAD requests). Because the metadata doesn't change in that case, this would simply rewrite the exact same contents needlessly, which may also incur extra costs depending on the storage backend.
2021-04-19 18:37:47 +00:00
Andrea Spacca 69519d8fa4 Unwrap unnecessary bytes.NewReader 2021-03-19 08:25:40 +01:00
Andrea Spacca a90d29700d bump version 2021-03-16 19:43:54 +01:00
Andrea Spacca f9700ee237 added code of conduct 2021-03-14 22:24:31 +01:00
Andrea Spacca 3ed153904d
Merge pull request #355 from dutchcoders/ISSUE-344
Issue 344
2021-03-09 14:34:27 +01:00
Andrea Spacca b36711c1ea sanitize only on inline content-disposition 2021-03-02 16:50:53 +01:00
Andrea Spacca 27f84e719a Content-Type metadata to lower 2021-03-02 16:48:04 +01:00
Stefan Benten 0b075554ff
Merge pull request #350 from dutchcoders/sb/readme-storj 2021-02-21 18:54:25 +01:00
Andrea Spacca eaf048690a
Merge pull request #349 from dutchcoders/sb/go-1.16
.travis.yaml: test build for go v1.16.X
2021-02-21 18:36:44 +01:00
Stefan Benten 4dbc2a8085
README.md: Update Storj Configuration Steps 2021-02-21 18:21:42 +01:00
Stefan Benten 644c3a1d23
.travis.yaml: test build for go v1.16.X 2021-02-21 18:08:18 +01:00
Andrea Spacca ccef887edf
Merge pull request #347 from dutchcoders/SEVERAL_FIX
go get -u, go build ldflags, docker tag, inline handler
2021-02-19 15:15:15 +01:00
Andrea Spacca 32621f7dd3
Merge pull request #346 from dutchcoders/sb/update-readme
README.md: Update Disclaimer
2021-02-19 14:51:19 +01:00
Andrea Spacca 7ea65c5a24 go get -u, go build ldflags, docker tag, inline handler 2021-02-19 14:50:40 +01:00
Stefan Benten 27bf261844
README.md: Update Disclaimer
As i am now operator of the public instance living at https://transfer.sh, the disclaimer is outdated.
2021-02-16 23:36:32 +01:00
Andrea Spacca 7522cf5f31 bump frontend 2021-02-12 08:28:55 +01:00
Andrea Spacca ba21621d66 bump frontend 2021-01-30 19:12:19 +01:00
Andrea Spacca 7cf688e86e fix bug in purge for local storage 2021-01-11 16:02:00 +01:00
Andrea Spacca 1abc7cfb0e bump version 2021-01-06 16:02:42 +01:00
Andrea Spacca be6dea2546
Merge pull request #339 from dutchcoders/PR-298
clone url
2021-01-06 14:00:17 +01:00
Andrea Spacca d554eb8e2d clone url 2021-01-06 13:33:46 +01:00
Andrea Spacca fe9e699255
Merge pull request #328 from dutchcoders/fix-readme-build-instructions
Update README.md
2021-01-06 13:30:26 +01:00
Andrea Spacca d3b6fd5e90 update disclaimer 2021-01-06 13:22:48 +01:00
Andrea Spacca 322310d47f fix bug in gdrive purge 2021-01-06 12:41:40 +01:00
Andrea Spacca 76fd83b599
Merge pull request #337 from dutchcoders/PURGE_FEATURE
Purge feature
2021-01-05 21:27:55 +01:00
Andrea Spacca d3381a2293 GOFMT 2021-01-05 17:24:16 +01:00
Andrea Spacca 6ac6c8fa99 PURGE FEATURE 2021-01-05 17:23:47 +01:00
Andrea Spacca 2721ece759
Merge pull request #336 from dutchcoders/ISSUE-332
ISSUE-332
2020-12-31 20:30:12 +01:00
Andrea Spacca e53d599e09 ISSUE-332 2020-12-31 20:08:42 +01:00
Andrea Spacca bfb34634de
Merge pull request #266 from stefanbenten/master
Implement Native Storj Storage Adapter
2020-12-16 10:20:28 +01:00
Stefan Benten 614a7fd23d Merge remote-tracking branch 'dutchcoders/master' 2020-12-16 01:13:04 +01:00
Andrea Spacca fb8f0e781b
Merge pull request #334 from dutchcoders/REMOVE_FUZZIT
Remove fuzzit
2020-12-16 00:17:08 +01:00
Andrea Spacca 06d87eac8e Remove fuzzit 2020-12-15 20:13:12 +01:00
Andrea Spacca 580cd8d978 Remove fuzzit 2020-12-15 20:09:24 +01:00
Stefan Benten 111f1794fb Update dependencies to latest versions and tidy go.mod/go.sum 2020-12-15 16:48:33 +01:00
Stefan Benten b372dc97b5 Merge remote-tracking branch 'dutchcoders/master'
# Conflicts:
#	README.md
#	go.sum
2020-12-15 16:42:12 +01:00
Andrea Spacca ae00f8ceaa
Merge pull request #331 from zuh0/official-docker-buildx-ghaction
ci: switch to official docker buildx GitHub action
2020-10-26 09:08:38 +01:00
Gabriel Duque ec9db7a42e
ci: switch to official docker buildx GitHub action
Signed-off-by: Gabriel Duque <gabriel@zuh0.com>
2020-10-21 00:30:52 +02:00
Andrea Spacca bcf40c15a2
Merge pull request #330 from stillwondering/show-version-in-version-command
Include version string in version command output
2020-10-12 19:33:08 +02:00
stillwondering fe1cde6614
Include version string in version command output
The command `transfer.sh version` does not include the application's
version string in its output. Fix this.
2020-10-12 13:25:29 +02:00