Commit graph

24 commits

Author SHA1 Message Date
timvisee
175712cfbd
Add REDIS_USER and REDIS_DB configuration variables
See https://github.com/timvisee/send/issues/23#issuecomment-843925819
2021-05-19 12:01:01 +02:00
timvisee
1b6c5b8f97
Only set Redis client password if password is specified
This attempts to fix a Redis connection issue when the Redis password
is an empty string.

See https://github.com/timvisee/send-docker-compose/issues/3#issuecomment-822885578
2021-04-20 18:37:19 +02:00
piaoger gong
e2dde364eb add env for redis pwd and port 2021-04-18 11:08:35 +08:00
timvisee
6960cc75fa
Add configurable donate, CLI and DMCA and source links in footer 2021-01-27 00:21:03 +01:00
Danny Coates
e6ff9e486b
Merge pull request #1063 from hbakhtiyor/patch-1
Convert ContentLength of storage to number
2020-07-09 19:34:33 -07:00
Danny Coates
17afd6ad58
Merge pull request #1416 from factorysh/s3_endpoint
Choose your endpoint.
2020-07-09 19:33:21 -07:00
minvs1
7aead375d8 Allow to set custom retry parameters 2020-04-21 23:30:39 +03:00
Mathieu Lecarme
97deb78de6 Use the config object. 2020-03-23 15:48:07 +01:00
Mathieu Lecarme
2d22573588 Choose your endpoint.
See https://github.com/mozilla/send/issues/1239
2020-03-23 15:48:07 +01:00
Danny Coates
6378676c2d
use resumable uploads to GCS 2019-08-07 10:10:42 -07:00
Hugo Abreu
f517c514d8 Defined retry_strategy for redis. Closes #1292 2019-05-02 21:56:28 +01:00
Robert
f94918bebd Prevent possible download counter race condition 2019-04-19 13:10:49 +02:00
Danny Coates
7f1ce41d9c
disable validation and resumable for gcs uploads 2019-01-09 13:36:27 -08:00
Abd ar-Rahman Hamidi
30d7ec50f3
Convert ContentLength of storage to number 2019-01-02 22:16:03 +05:00
Danny Coates
6cc12528b3
fixed some old TODOs 2018-12-18 13:55:46 -08:00
Danny Coates
b6517c5442
port fix for #1005 to vnext 2018-11-16 13:33:40 -08:00
Danny Coates
6184a70ba4
fixes #1005
The upstream gcp aggressively closes the connection once it has
received Content-Length bytes. However the @google-cloud/storage
module doesn't handle this well and emits no event in this case.
We were setting Content-Length because it's slightly more
efficient and was important for our download progress
bar (not anymore). The download should function fine without
setting the Content-Length, and allows the storage stream to finish
before closing the upstream socket.
2018-11-14 16:38:46 -08:00
Danny Coates
53426b950a
added gcs 2018-11-02 14:24:10 -07:00
Danny Coates
9e8e604024
stubbed in gcs (untested) 2018-11-01 10:36:05 -07:00
Danny Coates
e2259ae737
made download count and expiry options server configurable 2018-09-24 15:08:39 -07:00
Emily
b89bef6e89 refactor to single bucket 2018-08-09 14:49:52 -07:00
Emily
bf16e5c8a9 integrate with new ui 2018-08-08 11:07:09 -07:00
Danny Coates
af7a262ef0
refactored upload away from multipart forms to binary data 2018-05-31 14:10:02 -07:00
Danny Coates
3fd2537311
refactored server 2018-02-09 15:03:05 -08:00