Commit graph

39 commits

Author SHA1 Message Date
Mouse Reeve
5f2f321ed5
Merge branch 'main' into export-fixes 2024-02-03 07:04:05 -08:00
Adeodato Simó
80ad36e75b
Include SESSION_COOKIE_AGE in .env.example
Suggested-by: Alexey Skobkin <skobkin-ru@ya.ru>
2024-01-25 20:28:15 +01:00
Hugh Rundle
a563275308
fix comment in env example 2024-01-20 13:27:30 +11:00
Hugh Rundle
ddc35a7a52
fix multiple issues from user exports config changes
- improve nginx config
- fix DATA_UPLOAD_MAX_MEMORY_SIZE default not being an int
- translate fallback value in id_to_username template tag
- make location of setting to turn on user exports easier to locate for admins

fixes #3227
fixes #3231
fixes #3232
fixes #3236
2024-01-20 13:19:13 +11:00
Hugh Rundle
d640e4ac96
disable user exports by default
- new setting to enable user exports defaults to False
- add setting to enable and disable user exports
- do not allow user exports when using s3 storage
- do not serve non-image files from /images/ (requires update to nginx settings)
- increase default file upload limit to 100MB to enable user exports to be imported (can be changed in .env)
2024-01-16 21:32:13 +11:00
Josh Soref
c92cdec36e spelling: default
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-04-04 20:02:54 -04:00
Chris Moultrie
86675ee944
Example Settings and run black 2023-03-08 14:48:04 -05:00
Hugh Rundle
bba0d09fa4
Merge branch 'main' into totp-window 2023-02-27 18:21:39 +11:00
Christof Dorner
3814cb5b58 Add config variable for additional CSP hosts 2023-02-21 22:02:52 +01:00
Chris Young
9460553086 Read TOTP variables from .env 2023-02-17 09:40:31 +00:00
Robert George
207abed654 Add support for specifying redis url to support unix sockets 2023-01-14 14:52:54 -08:00
Mouse Reeve
c9fa90f83b
Merge pull request #2547 from avandeursen/docker-test-run
Ensure django tests pass in default Docker setting
2023-01-09 20:06:39 -08:00
Christof Dorner
31028e9573 Add REDIS_BROKER_HOST to example env
This might avoid future confusion when somebody wants to run
this dockerless for example, given that in the settings module
this gets the default value of `redis_broker` when not set.
2022-12-27 11:29:09 +01:00
Arie van Deursen
8441314e7c
Enable thumbnail generation in example environment
This makes the example environment more similar to the
setting in the django-tests.yml GitHub workflow.

It also ensures thumbnail generation is tested by default.
2022-12-26 14:23:19 +01:00
Jascha Urbach
484484fd4b
Apologies for my lack of coding skills 2022-11-20 17:57:03 +01:00
Jascha Urbach
238a1b0e88
set HTTP_X_FORWARDED_PROTO in .env
This fixes #2397.

The description in .env is whith a warning and a link to the official documentation about what this setting is doing if set to true.
2022-11-19 17:54:44 +01:00
Mouse Reeve
413bd33894 Updates default state of .env file 2022-11-15 12:31:47 -08:00
Mouse Reeve
77d1d70207 Much shorter search timeout 2022-08-04 12:16:12 -07:00
Mouse Reeve
275f3cbedb Removes inline comments that are causing erros 2022-02-18 21:07:39 -08:00
Mouse Reeve
1b9688832a Don't use my name as the default flower user 2022-02-17 12:18:35 -08:00
Mouse Reeve
7811a9920e Copy config from prod branch to main 2022-02-04 18:36:12 -08:00
Mouse Reeve
e2e5ed9aa3 Makes default language configurable 2022-01-20 16:04:42 -08:00
Jade Meskill
900937ee5f
use REDIS_x_DB_INDEX instead of REDIS_x_DB, add optional setting to example env file 2022-01-13 09:16:16 -07:00
Mouse Reeve
9609e130f2 Moves to a single example .env file
The prod and dev ones hae gotten so close that it seems unnecessary to
have two different ones.
2022-01-07 14:49:15 -08:00
Pablo Barton
d38efa9a9d Easier to deploy by avoiding merge conflicts in production 2021-04-11 13:12:50 -04:00
tofuwabohu
8bd73df26b Sets SSL to false per default for tests 2021-04-09 13:37:35 +02:00
Mouse Reeve
a67b0ae8a7 Adds stream length to .env 2021-03-24 08:33:05 -07:00
Mouse Reeve
ebc01362e6 Adds redis image for activity streams 2021-03-22 12:50:55 -07:00
Joel Bradshaw
3eb443c139 Use ENV variables in fr-dev
This allows folks to rename their database and still use the dev scripts
2020-11-19 13:03:04 -08:00
Mouse Reeve
74de2b5cd3 Adds email config 2020-09-23 15:44:47 -07:00
Mouse Reeve
7bd49f1da5 Renames settings variables 2020-09-21 08:27:12 -07:00
Mouse Reeve
bb04a40044 Move to redis and fix a bunch of things 2020-03-31 16:31:33 -07:00
Mouse Reeve
380e49712d Move database host to .env 2020-03-28 17:23:43 -07:00
Mouse Reeve
b71a988007 consistent formatting in .env.example 2020-03-27 13:27:32 -07:00
Mouse Reeve
0c766f9867 Keep more development environment options 2020-03-27 13:04:06 -07:00
Mouse Reeve
dd18433faa Adds celery and rabbitmq 2020-03-22 14:34:44 -07:00
Mouse Reeve
6aad1c9250 Dockerize app 2020-03-22 11:21:19 -07:00
thricedotted
16a4decf44 add sqlite support 2020-02-15 14:19:36 -08:00
thricedotted
40b63ac200 move some configuration into environment vars 2020-02-15 13:45:44 -08:00