Commit Graph

553 Commits

Author SHA1 Message Date
2959fc2992 issue #420 return 400 response when Max-Days is too big (#422)
* issue #420 return 400 response when Max-Days is too big

Co-authored-by: kugiyasan <kugiyasan@users.noreply.github.com>
2021-10-25 18:33:18 +02:00
694b3ce246 Implement Nix Flake (#424)
* Implement flake
2021-10-24 09:42:38 +02:00
92948fab23 fix missed errors (#417)
Co-authored-by: Andrea Spacca <andrea.spacca@gmail.com>
2021-10-16 09:57:59 +02:00
e5455d9713 Fix path (#416)
* chan is leaked

* Remove path.Clean

Co-authored-by: Andrea Spacca <andrea.spacca@gmail.com>
2021-10-16 09:51:09 +02:00
6ab75b30e5 Edited code of condunct for more information and corrected a grammatical error (#421) 2021-10-16 09:36:02 +02:00
6b8eff8322 Update README.md (#415)
* Update README.md

Add minor grammar improvements.

* Update README.md

Fix grammar.
2021-10-08 10:55:56 +02:00
2da62eb235 Merge pull request #414 from modem7/patch-1 2021-10-03 12:51:02 +02:00
156daa5a24 Update README.md
Edited capitalization of some sections to better follow the rest of the readme.
2021-10-03 02:56:17 +01:00
e97fdcb293 remove build on master 2021-08-20 08:07:12 +02:00
9fe5f9a5c9 Golint (#404)
* golint
* remove gitter badge
2021-08-19 22:45:30 +02:00
788dfa203f Build more binary releases (#395)
* Build more binary releases
v1.3.0
2021-08-19 20:57:42 +02:00
440ccf3a57 Merge pull request #399 from dutchcoders/ISSUE-398
s3 and storj storage: use nil when purgeDays is 0
2021-08-15 11:50:26 +02:00
224f8dca42 s3 and storj storage: use nill when purgeDays is 0 2021-08-15 10:40:58 +02:00
d16a6cc25e Merge pull request #393 from dutchcoders/dependabot/go_modules/github.com/microcosm-cc/bluemonday-1.0.5
Bump github.com/microcosm-cc/bluemonday from 1.0.4 to 1.0.5
2021-08-01 22:58:09 +02:00
49a083d8a2 Bump github.com/microcosm-cc/bluemonday from 1.0.4 to 1.0.5
Bumps [github.com/microcosm-cc/bluemonday](https://github.com/microcosm-cc/bluemonday) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/microcosm-cc/bluemonday/releases)
- [Commits](https://github.com/microcosm-cc/bluemonday/compare/v1.0.4...v1.0.5)

---
updated-dependencies:
- dependency-name: github.com/microcosm-cc/bluemonday
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 09:07:59 +00:00
f38eb6fb77 Multiple fixes 2021-07-26 10:59:28 +02:00
8f5a0a80f3 bump trasfer.sh-web 2021-07-23 11:46:00 +02:00
a895846bbc bump trasfer.sh-web 2021-07-23 11:37:09 +02:00
3990c3c5b7 gofmt 2021-07-23 11:21:05 +02:00
3ea4ffd0e3 cr fixes and dynamic upload size in UI 2021-07-23 11:20:49 +02:00
88003018e6 deletion token in UI 2021-07-19 21:03:41 +02:00
9baefbc4bf purge time in ui, fix range regeression from videojs 2021-07-19 21:03:41 +02:00
e9148e0c20 remove unused const 2021-07-19 21:03:41 +02:00
2ecedb93c6 rename file 2021-07-19 21:03:41 +02:00
1ff9ccd01e copyright update 2021-07-19 21:03:41 +02:00
ca17555c22 forgot dockerfile 2021-07-19 21:03:41 +02:00
a7a3e685fe gofmt 2021-07-19 21:03:41 +02:00
94f94f27ff rename benchmark 2021-07-19 21:03:41 +02:00
69d979ca48 issue 380 and simplier token generation 2021-07-19 21:03:41 +02:00
d9198e78db always use logger 2021-07-19 21:03:41 +02:00
811679f8fb make version on build time 2021-07-19 21:03:41 +02:00
ce0c9b8915 Un-hyperlink malware (#388)
Don't want people to accidently click on the malware site.  :)
2021-07-18 10:40:13 +02:00
c93c585566 ISSUE-382-take2 (#385) v1.2.6 2021-07-06 19:50:42 +02:00
0eb3ba9ff8 ISSUE-382 (#383) 2021-07-06 18:52:38 +02:00
1594f95abf Bump Storj Dependencies (#374)
Co-authored-by: Andrea Spacca <andrea.spacca@gmail.com>
v1.2.4
2021-05-21 17:22:58 +02:00
8f6e44b212 Fix workflows (#376)
* tests on PR
2021-05-21 17:20:45 +02:00
2e2c07c3a0 tests on PR (#375)
* tests on PR
2021-05-21 17:16:43 +02:00
9df18fdc69 fixes-20210521 (#373) 2021-05-21 15:49:48 +02:00
49c6d7ee4f Merge pull request #372 from dutchcoders/ISSUE-371
Add random-token-length config
2021-05-21 10:37:42 +02:00
fdfd453222 Added random-token-length, Encode() refactored 2021-05-20 08:26:07 +02:00
b5ffdb5095 Merge pull request #370 from dutchcoders/ISSUE-38-WEB
Added UrlRandomToken in template data
2021-05-09 10:37:43 +02:00
0512452111 Added UrlRandomToken in template data 2021-05-09 09:21:54 +02:00
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
v1.2.3
2021-05-01 19:53:15 +02:00
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
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
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
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
69519d8fa4 Unwrap unnecessary bytes.NewReader 2021-03-19 08:25:40 +01:00
a90d29700d bump version v1.2.2 2021-03-16 19:43:54 +01:00
f9700ee237 added code of conduct 2021-03-14 22:24:31 +01:00