Commit graph

52 commits

Author SHA1 Message Date
Michael Manganiello
fc844ac341
Upgrade aws-sdk-go to v2 (#559)
* Upgrade aws-sdk-go to v2

`aws-sdk-go-v2` is the newer SDK version, replacing the one being used
at the moment by the project.

This change maintains full compatibility with existing flags and
configurations, and only replaces the underlying library.

* Simplify and isolate AWS config logic
2023-05-24 18:37:06 +09:00
Michael Manganiello
df0d04f0da
Upgrade github.com/urfave/cli to v2 (#551)
`urfave/cli` v2 was released in 2019, and it doesn't introduce relevant
user-facing breaking changes.

Migration guide from v1 can be found at: https://cli.urfave.org/migrate-v1-to-v2/

The only user-facing change is within the "Flags before args" section,
but I haven't found that to affect `transfer.sh` as arguments are not
used.

Co-authored-by: Stefan Benten <mail@stefan-benten.de>
Co-authored-by: Andrea Spacca <andrea.spacca@gmail.com>
2023-05-19 14:51:40 +09:00
dependabot[bot]
1e6346c3d1
Bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 (#552)
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.1.0 to 1.3.3.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.1.0...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 11:57:12 +09:00
Andrea Spacca
54cacb5487
add http-auth-htpasswd (#537)
* add http-auth-htpasswd

* go mod tidy
2023-03-12 11:52:45 +09:00
Andrea Spacca
3b777e1c19
gpg encryption support (#162)
* gpg encryption support

* gpg encryption support

* refinement

* refactor using protonmail opengpg

* warning

* remove exception in linting

* reduce I/O on decrypt

* fix typo

* streaming in encrypt

* Update README.md

do not reference server public hosting version in encrypt/decrypt headers example

* linting

* linting fix

* increase default random-token-length to 10
2023-03-11 10:08:55 +09:00
Andrea Spacca
28fc9c73f5
Lint accept range (#535)
* Support Range header for GET

* Adds 'Accept-Ranges: bytes' header to handlers

* proper param name in error

* bump gdrive dependecies

* refactor CloseCheck to avoid panic on nil, remove range/audio/video special handling on get handler

* refactor CloseCheck to avoid panic on nil, handle range with no limit

* refactor CloseCheck to avoid panic on nil, handle range in gdrive storage

* refactor CloseCheck to avoid panic on nil

* handle range with no limit

* lint

* bump deps

* go mod tidy

* gofmt

* cr fixes, replace deprecated ioutil.NopCloser

* linting

* do not write to file by default

* fix storj

---------

Co-authored-by: Vladislav Grubov <vladgrubov@gmail.com>
2023-03-11 01:41:43 +09:00
dependabot[bot]
c452bd4719
Bump golang.org/x/net from 0.0.0-20220513224357-95641704303c to 0.7.0 (#534)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220513224357-95641704303c to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/commits/v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 16:39:47 +01:00
dependabot[bot]
a4475513bc
Bump golang.org/x/crypto from 0.0.0-20220131195533-30dcbda58838 to 0.1.0 (#533)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20220131195533-30dcbda58838 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 16:07:10 +01:00
Andrea Spacca
3588502c50
bump transfer.sh-web dep (#504) 2022-08-24 11:01:54 +02:00
Andrea Spacca
35e794220b
Issue 485: fix IDN unicode/punycode handling (#486) 2022-05-15 16:48:13 +02:00
Stefan Benten
eeff2c88be
.github/,go.mod,go.sum: Update storj dependencies, drop older go versions (#468)
* go.mod,go.sum: Update storj dependencies

* bump go version

* another bump to latest storj release

* set minimum go version in go.mod

Co-authored-by: Andrea Spacca <andrea.spacca@gmail.com>
2022-04-20 01:50:44 +02:00
Stefan Benten
368431fb6b
server/storage.go: Update storj dependencies and set user-agent (#467) 2022-02-09 12:37:11 +01:00
Stefan Benten
5932a194b2
go.mod,go.sum: bumping storj dependency (#454) 2021-12-26 09:30:45 +01:00
Andrea Spacca
acd6fb084f
remove tor, remove bitcoing, fix contact us (#447) 2021-12-15 21:06:54 +01:00
Andrea Spacca
96723b2685 fix go1.16, add go1.17 2021-10-26 19:34:40 +02:00
Andrea Spacca
4a56bad05f bump bluemonday 2021-10-26 19:12:34 +02:00
Andrea Spacca
9fe5f9a5c9
Golint (#404)
* golint
* remove gitter badge
2021-08-19 22:45:30 +02:00
dependabot[bot]
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
Andrea Spacca
8f5a0a80f3 bump trasfer.sh-web 2021-07-23 11:46:00 +02:00
Andrea Spacca
a895846bbc bump trasfer.sh-web 2021-07-23 11:37:09 +02:00
Andrea Spacca
3ea4ffd0e3 cr fixes and dynamic upload size in UI 2021-07-23 11:20:49 +02:00
Andrea Spacca
88003018e6 deletion token in UI 2021-07-19 21:03:41 +02:00
Stefan Benten
1594f95abf
Bump Storj Dependencies (#374)
Co-authored-by: Andrea Spacca <andrea.spacca@gmail.com>
2021-05-21 17:22:58 +02:00
Andrea Spacca
7ea65c5a24 go get -u, go build ldflags, docker tag, inline handler 2021-02-19 14:50:40 +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
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
ef28bcb28f ISSUE-296 add CORS 2020-04-04 14:29:33 +02:00
stefanbenten
b7deec505b Update Dependencies to Release Version and Interface Compliance 2020-03-20 12:41:05 +01:00
stefanbenten
c62e5757ef Merge remote-tracking branch 'origin/master'
# Conflicts:
#	go.mod
#	go.sum
2020-03-20 12:30:59 +01:00
Andrea Spacca
3b1b5b890a Removed contentType from storage, rely on metadata 2020-03-15 19:35:43 +01:00
stefanbenten
fb3d410004 Update Dependencies to latest RC Candidate 2020-03-11 14:33:52 +01:00
stefanbenten
924275e45b Code Review Tweaks 2020-03-06 20:36:46 +01:00
stefanbenten
38996c9c7f Update to RC 2020-03-06 15:37:52 +01:00
stefanbenten
800dd6658e Remove old and reduce dependencies 2020-02-21 22:42:24 +01:00
Stefan Benten
dcaf572f3d Remove Error Wrapping and update Dependencies 2019-12-29 15:16:07 +01:00
Stefan Benten
fcbddcee17 Switch to Scope Handling 2019-11-22 15:14:04 +01:00
stefanbenten
229482fa3d Cleanup Dependencies 2019-10-28 22:41:20 +01:00
stefanbenten
f22bfbf804 Merge remote-tracking branch 'origin/master' 2019-10-28 22:37:27 +01:00
stefanbenten
0ee2dfd7e1 Update Dependencies 2019-10-28 22:27:10 +01:00
Andrea Spacca
bef766f605 FIX BUILD 2019-10-07 21:33:45 +02:00
stefanbenten
c403f9a2f1 Update Dependencies and use go 1.13 2019-10-06 17:59:20 +02:00
stefanbenten
8d196039ba Roll back to keep dependencies compatible 2019-10-06 17:34:45 +02:00
stefanbenten
060dbdf152 Add Ability to run against local test-network 2019-10-06 17:06:26 +02:00
Andrea Spacca
ee7011d55b ISSUE-256 2019-08-24 13:19:21 +02:00
Andrea Spacca
2e41852860 fix resolved url 2019-07-16 20:51:31 +02:00
Andrea Spacca
703987c516 ISSUE-242 2019-06-23 09:25:13 +02:00
Andrea Spacca
b3d7af058f bump transfer.sh-web 2019-05-20 08:33:29 +02:00
Andrea Spacca
e8ccf543f6 ISSUE-221 2019-05-18 14:13:23 +02:00