Commit Graph

49 Commits

Author SHA1 Message Date
Roland Geider
5fbd58bd78 Add stubs to sync images and videos with celery 2023-03-05 20:52:12 +01:00
Roland Geider
c8bf068e13 Sort options alphabetically 2023-03-05 17:46:34 +01:00
Roland Geider
7aab43d3b9 Add configuration option to sync the exercises with celery 2023-03-05 17:44:50 +01:00
Roland Geider
ebb43c5b11 Refactor options used for downloading product images 2023-03-04 13:03:58 +01:00
Roland Geider
dda73ec2fa Merge branch 'master' into feature/ingredient-images
# Conflicts:
#	extras/docker/development/settings.py
#	requirements.txt
#	wger/exercises/management/commands/sync-exercises.py
#	wger/settings.tpl
2023-02-14 13:45:50 +01:00
Roland Geider
67642d6bd6 Set all sender emails to value from environmental variable 2023-02-13 11:51:33 +01:00
Roland Geider
1935e3c029 Take full email from environmental variable 2023-02-13 11:51:33 +01:00
Roland Geider
9c77646133 Use the site url instead of localhost for verification emails
Closes wger-project/docker/issues/47
2023-01-27 16:09:14 +01:00
Roland Geider
18d3cab3b9 Set a default value for FROM_EMAIL
See wger-project/docker/issues/35
2023-01-26 19:58:20 +01:00
Roland Geider
03c2a7f0f7 Allow to set SECURE_PROXY_SSL_HEADER in the config
See #1203
2022-12-22 16:15:36 +01:00
Roland Geider
e69b68a12b Correctly set the default value for the csrf trusted origins 2022-12-15 15:19:22 +01:00
Roland Geider
621450a7d7 Put more options in settings template
This makes it more obvious what can be changed and brings it more in line with
the docker settings
2022-12-15 15:05:51 +01:00
Roland Geider
098598895e Merge branch 'master' into feature/ingredient-images
# Conflicts:
#	extras/docker/development/settings.py
#	requirements.txt
2022-12-15 15:04:35 +01:00
Roland Geider
52b54b9107 Put more options in settings template
This makes it more obvious what can be changed and brings it more in line with
the docker settings
2022-12-15 14:57:20 +01:00
Roland Geider
5ea4b630a4 Allow configuring the CSRF_TRUSTED_ORIGINS option 2022-12-15 10:29:22 +01:00
Roland Geider
2cbf324180 The ALLOWED_HOSTS setting must be a list or a tuple 2022-12-12 16:39:22 +01:00
Roland Geider
62694cd0e1 Merge branch 'master' into feature/ingredient-images
# Conflicts:
#	wger/nutrition/api/views.py
#	wger/settings_global.py
2022-11-30 15:18:06 +01:00
Mohammad Rafigh
60dd5eb64d Rename the variable to MIN_ACCOUNT_AGE_TO_TRUST 2022-11-21 15:45:57 +03:30
Mohammad Rafigh
1cf814ef50 Add MINIMUM_AGE_TO_TRUST variable
Closes #1187
2022-11-19 15:53:05 +03:30
Roland Geider
da52c55433 Add flag to disable global celery use 2022-10-25 14:35:38 +02:00
Roland Geider
08b6db6f1b Read celery settings from environmental variables 2022-10-20 12:19:32 +02:00
Roland Geider
6b4f8d50f4 Start implementing a celery message queue 2022-10-19 15:18:35 +02:00
Roland Geider
890c297aa3 Increase number of allowed failed attempts a bit 2022-10-13 17:04:57 +02:00
Roland Geider
5e3167e3a2 Merge branch 'master' into add-django-axes 2022-10-13 16:24:29 +02:00
Roland Geider
4a60a93152 Allow configuring the JWT settings in docker 2022-10-13 15:56:58 +02:00
Rohan Karan
39678c3c60 adding settings to extras/docker/development/settings.py 2022-10-13 01:42:08 +05:30
Rohan Karan
6e1f9b38e4 adding settings to extras/docker/development/settings.py 2022-10-13 01:36:38 +05:30
Roland Geider
bbbfe7e176 Merge branch 'master' into feature/exercise-crowdsourcing 2022-09-07 19:21:34 +02:00
Roland Geider
66c62a3596 Merge pull request #1020 from novalis111/master
Make URL for media, static and login redirect configurable
2022-08-19 11:44:24 +02:00
Roland Geider
e37be09681 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	angular/src/locale/messages.pt.xlf
#	requirements.txt
#	wger/core/management/commands/extract-i18n.py
#	wger/exercises/api/serializers.py
#	wger/exercises/api/views.py
2022-05-09 12:41:21 +02:00
Roland Geider
a3410f1394 Set the exercise cache time in the docker container
See #1033
2022-05-08 15:17:31 +02:00
Ingo Terpelle
b1bdf3f278 Make URL for media, static and login redirect configurable 2022-04-21 21:17:53 +01:00
Roland Geider
4ba35ba708 Use django-environ to read the environmental variables from docker
Fixes https://github.com/wger-project/docker/issues/22
2022-04-20 14:22:01 +02:00
Roland Geider
48ca4e94bf Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	extras/docker/development/settings.py
#	wger/exercises/management/commands/exercise-cleanup.py
#	wger/exercises/management/commands/read-exercise-cleanup.py
#	wger/exercises/models/exercise_alias.py
2022-03-13 12:59:44 +01:00
Roland Geider
93af304167 Set compressed root in docker settings file 2022-03-10 12:53:35 +01:00
Roland Geider
33293b6f4e Update settings and docs with email verification infos 2021-06-09 16:14:13 +02:00
Roland Geider
c4aeab9cc3 Use configured FROM email address when sending emails
Fixes #650
2021-04-13 19:10:08 +02:00
Roland Geider
6c1b2fa3a0 Some fixes to make the anonymous forms work again with recaptcha 2021-04-11 20:10:40 +02:00
Roland Geider
53bf0426d4 Add some more defaults to env variables 2021-01-09 13:20:00 +01:00
Roland Geider
950ce86e76 Add some more defaults to env variables 2021-01-09 12:38:03 +01:00
Roland Geider
af55f7ba7b Use settings file from the unraid Dockerfile 2020-12-17 11:05:16 +01:00
Aaron Kimbrell
f19bf8f947 Merge branch 'master' into customizable-unraid 2020-12-15 16:36:16 -06:00
Roland Geider
32d6a2275c Don't manually set the template debug setting
This is by default the value of DEBUG, which is what we were doing here anyway
2020-10-03 17:42:57 +02:00
Aaron Kimbrell
dd9e9a29bf First pass at reading en vars for customization
As well as fixing a few typos
2020-09-19 12:30:28 -05:00
Roland Geider
96b1f50274 Cleanup requirements files
And add requirements file for production
2020-09-12 21:35:02 +02:00
Roland Geider
c8889abf3d Use yarn to manage JS/CSS libraries
Bower is deprecated and was also making some trouble under certain circumstances
such as Docker, where sometimes it would download the files to the wrong folder.
Hopefully this results in less headaches.
2020-07-29 13:49:34 +02:00
Roland Geider
29278729c1 Correctly set database name 2020-07-28 23:27:32 +02:00
Roland Geider
4e8a22e25d Use redis for cache and session storage 2020-07-27 19:57:57 +02:00
Roland Geider
d07d089334 Commit missing settings file 2020-07-27 11:57:55 +02:00