Commit graph

68 commits

Author SHA1 Message Date
Andrea Spacca
35e794220b
Issue 485: fix IDN unicode/punycode handling (#486) 2022-05-15 16:48:13 +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
492731e31f
server: propagate context to storage layer (#455)
This change propagates the context of the actual user request through.
Additionally it configures the Storj Backend to do in memory buffering instead of relying on temporary files in /tmp/ folders.
Fixes #448
2021-12-26 17:17:28 +01:00
Stefan Benten
f062af9fc5
server/handlers.go,storage.go: smaller fixes (#452)
This change moves a couple of defers in order to prevent them from not being executed since we have returned in error cases early.
It also fixes a couple of smaller linting issues, like error messages not starting with a capital letter and variable name collisions with imported packages.
2021-12-26 14:37:22 +01:00
Stefan Benten
2fbd19365c
.github/workflows: adding golangci-lint as new job (#453)
In order to follow golang's best practices, we should lint the code base properly beyond usual syntax mistakes.
2021-12-26 14:03:27 +01:00
Andrea Spacca
9fe5f9a5c9
Golint (#404)
* golint
* remove gitter badge
2021-08-19 22:45:30 +02:00
Andrea Spacca
224f8dca42 s3 and storj storage: use nill when purgeDays is 0 2021-08-15 10:40:58 +02:00
Andrea Spacca
7cf688e86e fix bug in purge for local storage 2021-01-11 16:02:00 +01:00
Andrea Spacca
322310d47f fix bug in gdrive purge 2021-01-06 12:41:40 +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
stefanbenten
c89b7f56c2 use general errors package 2020-03-20 13:29:47 +01:00
stefanbenten
8bb5094ccc handle obscure Errors properly 2020-03-20 13:02:27 +01: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
fdca501681 Fix Typo's 2020-03-06 15:43:14 +01:00
stefanbenten
38996c9c7f Update to RC 2020-03-06 15:37:52 +01:00
stefanbenten
9f9e1b66b2 CR Changes 2020-02-21 23:39:12 +01:00
stefanbenten
867471aa9c Clean up documentation and remove unnecessary flag 2020-02-21 23:10:56 +01:00
stefanbenten
96fb3cbe61 Commit the upload 2020-02-21 22:48:09 +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
7dc3982c77 Adding missing IsNotExist Function and proper Path Handling 2019-12-01 17:43:04 +01:00
Stefan Benten
fcbddcee17 Switch to Scope Handling 2019-11-22 15:14:04 +01:00
stefanbenten
b22a410a78 Actually append Config to Uplink Creation 2019-10-28 22:44:46 +01:00
stefanbenten
060dbdf152 Add Ability to run against local test-network 2019-10-06 17:06:26 +02:00
stefanbenten
6eabb248da Rename variable for consistency 2019-08-29 22:17:38 +02:00
stefanbenten
5bb0e84fa5 Wrap Errors and rename class 2019-08-29 22:14:48 +02:00
stefanbenten
cf00af36f2 Changing Error Handling and increase Logging 2019-08-29 16:58:14 +02:00
stefanbenten
79c5130066 Changes according to CR 2019-08-29 16:35:24 +02:00
stefanbenten
c1691c58dc Switch to Salted Key Generation 2019-08-29 16:33:37 +02:00
stefanbenten
874268d80e Add Storj Storage Adapter - add Binding 2019-08-28 15:29:35 +02:00
stefanbenten
59014f2110 Add Storj Storage Adapter - Base Functions 2019-08-28 15:18:00 +02:00
Andrea Spacca
6c54ddccef
Merge pull request #250 from n8225/fixS3MultiPartUpload
Fix s3 100MB max upload issue.
2019-08-24 17:12:22 +02:00
Douglas Pessoa
6c73f13fd0 Fixes "mkdir /basedir: no such file or directory" by creating the directory recursively 2019-08-23 20:44:35 +00:00
n8225
ce7e008bb3 Remove maxUploadParts and PartSize options 2019-08-22 14:10:11 -05:00
nrew225
372ff5f368 Fix s3 100MB max upload issue. 2019-07-21 15:01:57 -05:00
nrew225
6cb2de3cff Add support for S3 path style URLS. 2019-07-21 09:29:01 -05:00
Andrea Spacca
4a1697ee60 error checking 2019-06-24 07:45:47 +02:00
Andrea Spacca
2cebb7520c ISSUE-242 just some small refactoring 2019-06-23 21:06:58 +02:00
Alexander Lauster
6e03965c8b Merge branch 'ISSUE-242' of https://github.com/dutchcoders/transfer.sh into ISSUE-242 2019-06-23 15:59:37 +02:00
Andrea Spacca
c072345869 ISSUE-242 fix head/get 2019-06-23 15:22:49 +02:00
Alexander Lauster
47d4907a06 Add option to set the S3 region to support other regions as eu-west-1 2019-06-23 13:04:37 +02:00
Andrea Spacca
9355bab9d4 ISSUE-242 fix forgotten dead code 2019-06-23 09:25:13 +02:00
Andrea Spacca
703987c516 ISSUE-242 2019-06-23 09:25:13 +02:00
Andrea Spacca
61a4b4fe33 ISSUE-203 2019-05-08 09:14:08 +02:00
stefanbenten
bb6edbdaca Renaming 2019-03-25 18:04:26 +01:00