Commit graph

56 commits

Author SHA1 Message Date
Andrea Spacca
089ff324e1
Check ci 20241026 (#632)
* bump go version and se gotip

* bump go version and se gotip

* bump go version and se gotip

* bump go version and se gotip

* linting

* gobin

* GOPATH
2024-10-28 03:10:26 +09:00
Stefan Benten
891ef14cfb
server/server.go: use TLS config provided by acme/autocert (#567)
Suggestion based on go docs of acme autocert.
2023-06-20 20:07:19 +02:00
Andrea Spacca
1fb67f49ff
add IP_FILTERLIST_BYPASS_HTTP_AUTH (#538)
* add IP_FILTERLIST_BYPASS_HTTP_AUTH

* refactor to separated ip whitelist
2023-03-12 13:34:41 +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
9f1fe62e05
min go version 1.18, include tip for test (#532)
* min go version 1.18, include tip for test

* lint

* lint

* lint

* lint

* lint

* lint

* lint

* lint

* lint

* lint

* lint

* lint

* lint
2023-03-01 21:51:24 +09:00
mpl
193f944829
server: do not ignore listening errors (#523) 2023-01-06 01:43:57 +01:00
Stefan Benten
64c7759126
all: update gdrive client and various linting cleanups (#497) 2022-07-14 18:02:18 +02:00
Stefan Benten
21812d3efc
server: reorganize storage layer into more clear subfolder (#496)
* server: reorganize storage layer into more clear subfolder

* cmd: fix version command
2022-07-13 06:26:42 +02:00
Stefan Benten
92324798d5
server: adding no-store header (#476)
In order to prevent viewing content, which max-download rate has been reached,
we need to ensure the data is not stored locally in a browser cache.
To achieve this, we set the Cache-Control Setting to "no-store" according to:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control

fixes #470
2022-04-10 12:13:06 +02:00
Andrea Spacca
cff0a88bf3
Clamav prescan (#389) 2022-01-09 22:14:10 +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
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
acd6fb084f
remove tor, remove bitcoing, fix contact us (#447) 2021-12-15 21:06:54 +01:00
Andrea Spacca
9fe5f9a5c9
Golint (#404)
* golint
* remove gitter badge
2021-08-19 22:45:30 +02:00
Andrea Spacca
69d979ca48 issue 380 and simplier token generation 2021-07-19 21:03:41 +02:00
Andrea Spacca
d9198e78db always use logger 2021-07-19 21:03:41 +02:00
Andrea Spacca
fdfd453222 Added random-token-length, Encode() refactored 2021-05-20 08:26:07 +02: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
e53d599e09 ISSUE-332 2020-12-31 20:08:42 +01:00
Andrea Spacca
9430e53689
Merge pull request #307 from cheeseandcereal/add_proxy_port
add proxy-port for port override when running behind a proxy
2020-05-17 19:28:21 +02:00
Adam Crowder
0a6b5817a9
use cryptographically secure rng seed
Signed-off-by: Adam Crowder <adam@adamcrowder.net>
2020-05-11 18:57:04 -07:00
Adam Crowder
f366e8217e
add proxy-port for port override when running behind a proxy
Signed-off-by: Adam Crowder <adam@adamcrowder.net>
2020-05-03 13:26:49 -07:00
Andrea Spacca
ef28bcb28f ISSUE-296 add CORS 2020-04-04 14:29:33 +02:00
Andrea Spacca
e8ccf543f6 ISSUE-221 2019-05-18 14:13:23 +02:00
Andrea Spacca
6ac8ae20e3 ISSUE-223 2019-05-12 10:14:27 +02:00
Andrea Spacca
cc401433a6 ISSUE-203 2019-05-11 14:42:59 +02:00
Andrea Spacca
61a4b4fe33 ISSUE-203 2019-05-08 09:14:08 +02:00
Andrea Spacca
b5b58f9b3b ISSUE-217 2019-04-29 07:23:24 +02:00
Andrea Spacca
6d23a8f5f3 ISSUE-207 #6 2019-04-07 17:41:58 +02:00
Andrea Spacca
18f6d76bee ISSUE-207 #4 2019-04-07 17:20:46 +02:00
Andrea Spacca
121a8d824e ISSUE-207 #3 2019-04-07 17:13:41 +02:00
Andrea Spacca
ee417b9db1 ISSUE-207 #2 2019-04-07 17:12:11 +02:00
Andrea Spacca
ad6cf77017 ISSUE-207 2019-04-07 17:06:27 +02:00
Andrea Spacca
6982590cb0
implements log option (#171)
* implements log option
2018-10-27 00:15:55 +02:00
Lee Burton
0c94da28ec Fix post handler (#155) 2018-09-02 14:08:26 +02:00
Marise Hayashi
8df04e3440 Fixes (#149)
* Head handlers & Update README.md
2018-08-13 08:56:08 +02:00
Andrea Spacca
2f1de6fdb3 Omit not needed end of slice 2018-07-09 00:39:57 +02:00
Andrea Spacca
0605b8e271 go fmt 2018-07-07 20:23:50 +02:00
Andrea Spacca
cb0401ec5c Allow tls listener only 2018-07-07 19:05:16 +02:00
Andrea Spacca
48854eda80 Add trailing slash if missing on path options 2018-07-07 12:05:58 +02:00
Andrea Spacca
b31e6acd71
Merge pull request #128 from aspacca/ISSUE-44
ISSUE-44 delete support
2018-07-01 14:17:11 +02:00
iftahbe
9d0781fa16 fix mistake with request max memory 2018-06-27 20:17:22 +03:00
Andrea Spacca
7c25f986aa GA/UserVoice opt-in 2018-06-26 18:39:56 +02:00
Andrea Spacca
baa2fdc86c ISSUE-92 added http basic auth handler for upload 2018-06-24 07:44:13 +02:00
Andrea Spacca
0c9c6e3424 ISSUE-44 delete support 2018-06-24 07:42:12 +02:00
Remco
2f35235865 Implement rate limiting option, fixes #71 2017-03-28 17:08:34 +02:00
Remco
989debecb5 Add object metadata
- support for max downloads
- support for expiring downloads
2017-03-28 16:12:31 +02:00
Remco
e947cd3352 Update copyright year 2017-03-23 00:02:36 +01:00
Remco
d6f225e232 Virustotal arguments 2017-03-22 23:14:01 +01:00