Commit Graph

55 Commits

Author SHA1 Message Date
Cullen Walsh
02e8cb264f Add detect_base_url config
This diff adds the detect_base_url config, controlled by the
DETECT_BASE_URL env variable. When set to true, the BASE_URL setting is
ignored, and the base_url is derived from the request protocol and host
header.

Test Plan: Started up a local instance in my homelab, running docker
node:15 image with a nginx reverse proxy. Configured nginx to use the
same backend with multiple hostnames on https. Opened in browser and
confirmed og:url meta tag uses correct url.
2021-05-05 22:19:11 -07:00
piaoger gong
e2dde364eb add env for redis pwd and port 2021-04-18 11:08:35 +08:00
timvisee
15d37da667
Remove obsolete anonymous limits
Related to https://gitlab.com/timvisee/send/-/issues/3
2021-04-12 15:19:02 +02:00
a0bc20aeb6 Remove metrics #4 2021-03-15 19:56:51 +01:00
timvisee
5b9c8301c7
Fix incorrect environment variable for config property 2021-02-05 02:24:48 +01:00
timvisee
6960cc75fa
Add configurable donate, CLI and DMCA and source links in footer 2021-01-27 00:21:03 +01:00
Danny Coates
17afd6ad58
Merge pull request #1416 from factorysh/s3_endpoint
Choose your endpoint.
2020-07-09 19:33:21 -07:00
Danny Coates
7dd1fcca9b
Merge pull request #1480 from jackyzy823/fxa-csp
Handle Content-Security-Policy for self hosting FxA
2020-07-09 19:31:06 -07:00
jackyzy823
e2876b119d add configs to handle content-security-policy correctly for custom fxa urls 2020-06-11 21:57:48 +08: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
Danny Coates
097d3c8377
make geoip lookup optional 2020-01-11 14:06:17 -08:00
Danny Coates
20b9279eec added survey dialog. closes #1307 2019-05-01 09:47:04 -07:00
Danny Coates
421967ea81
updated default config values 2019-02-28 16:39:38 -08:00
Danny Coates
9b37e92a81
implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
Danny Coates
6cc12528b3
fixed some old TODOs 2018-12-18 13:55:46 -08: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
Danny Coates
b61bf3c867
changed default config to have accounts disabled 2018-09-24 13:04:29 -07:00
Danny Coates
135f40f65d
set default fxa env for localhost 2018-09-20 14:13:07 -07:00
Danny Coates
93e82cf953
disable capabilities.account when no FXA_CLIENT_ID is set 2018-09-19 12:54:27 -07:00
Danny Coates
7ccf462bf8 implemented PKCE auth (#921)
* implemented PKCE auth

* removed node-jose

* added PKCE tests
2018-09-14 11:00:33 -04:00
Danny Coates
718d74fa50
Implemented FxA 2018-08-30 22:10:08 -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
28131243f9
up default max_file_size to 3gb 2018-07-27 10:39:23 -07:00
Danny Coates
af3848586c
Merge branch 'master' into on-redis-expire 2018-01-31 13:10:05 -08:00
Danny Coates
565e47aef8
big refactor 2018-01-30 09:37:42 -08:00
Thomas Dalichow
6f27c6e4aa
Change default bind address to 0.0.0.0 2017-12-21 22:10:42 +01:00
Thomas Dalichow
b80ee8d778
Make the linter happy :) 2017-12-09 02:34:33 +01:00
Thomas Dalichow
106aef579f
Add new config item: listen_address
The IP address to bind the HTTP server to
2017-12-09 02:21:55 +01:00
Edmund Huggett
58840e2c00
use redis expire event to delete stored data immediately 2017-11-15 12:31:22 +00:00
Danny Coates
7a8e9b5de1
fixes #543 added FILE_DIR environment variable 2017-09-06 13:25:27 -07:00
Danny Coates
c488c1d724
added BASE_URL environment variable 2017-08-11 14:02:44 -07:00
Danny Coates
7fd8fb4914
added L10N_DEV environment variable for making all languages available 2017-07-25 14:28:49 -07:00
Danny Coates
117c6ea12d Merge branch 'master' into envvar 2017-07-24 14:06:55 -07:00
Danny Coates
4cb040d70d
added environment variable for expire time 2017-07-24 13:20:18 -07:00
Danny Coates
73ccce627c
renamed environment variables to remove P2P_ prefix 2017-07-24 13:10:30 -07:00
Danny Coates
0d5fb1740d
npm run format 2017-07-21 17:01:26 -07:00
Danny Coates
55d3d1a792
abort uploads over maxfilesize 2017-07-20 13:22:14 -07:00
Danny Coates
5cd44be83c
remove notLocalHost 2017-06-23 20:01:32 -07:00
Danny Coates
d09b97db41
npm run format 2017-06-23 17:06:08 -07:00
Abhinav Adduri
525c15124a cleaned 2017-06-23 11:42:51 -07:00
Abhinav Adduri
2b4df1cd51 added sentry to server code 2017-06-23 10:53:11 -07:00
Abhinav Adduri
60fd36a58e removed bitly integration 2017-06-22 15:32:52 -07:00
Abhinav Adduri
50714d35a5 added sentry 2017-06-22 14:50:57 -07:00
Abhinav Adduri
575f04a824 added in anonmyized ip google analytics 2017-06-21 13:54:24 -07:00
Danny Coates
f7c1b1718e
added ENV to Dockerfile, also deployment to circleci 2017-06-21 08:42:18 -07:00
Abhinav Adduri
dcc88ac546 added test as possible env value 2017-06-19 14:34:12 -07:00
Peter deHaan
1dbda38995
Fix ESLint errors 2017-06-09 10:44:12 -07:00