Roland Geider
cdf84d1de5
Export prometheus metrics ( #1685 )
...
Export prometheus metrics
2024-05-30 19:28:27 +02:00
Roland Geider
91ebb8c2b5
Merge branch 'master' into feature/import-usda-products
2024-05-23 17:41:57 +02:00
Roland Geider
e2f1751245
Add missing comma
...
The admins settings must be a list of 2-tuples and without the comma this
returns just the config tuple
2024-05-22 17:02:10 +02:00
Roland Geider
fdca08d409
Make sync of OFF daily delta files a celery task
...
This can run automatically once per day if configured
2024-05-22 16:31:22 +02:00
Roland Geider
2cc5d72108
Allow configuring the server's admins as well as the location of the sqlite db file
2024-05-21 23:13:10 +02:00
Roland Geider
9cde008058
Read cache password from the config
...
See https://github.com/wger-project/docker/issues/84
2024-05-01 16:13:18 +02:00
Roland Geider
0f2c6976b5
Allow the user to set the USE_RECAPTCHA setting in the docker config
2024-03-27 10:42:12 +01:00
Roland Geider
97d1e1d00c
Add command to sync all the ingredients from a wger instance
2024-01-13 19:19:48 +01:00
bbk
f836741301
fix #74
2023-12-17 08:29:33 +01:00
bbk
f578cee241
use env.list
2023-12-08 11:19:42 +01:00
bbk
936683b36c
add axes settings
2023-12-08 08:28:47 +01:00
Roland Geider
ea750d5783
Better checking if the enable email variable is set
2023-12-07 00:01:31 +01:00
bbkz
af30c2a1c6
EMAIL_USE_TLS or EMAIL_USE_SSL
...
EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive, so only set one of those settings to True.
2023-12-02 12:02:38 +01:00
Roland Geider
7e7713b945
Add a global las update date for exercises
...
This is simply the last date for the exercise, any of the translations, videos
or images. Also, we're renaming the date entries for some of the models. Things
like the workout routines, etc. still need to be changed, but those would break
the apps and need a bit more of planning
2023-07-27 16:00:41 +02:00
Roland Geider
6df082662a
Rename setting
...
In the future we will sync new ingredients from OFF if the user scanned a
product that is not known locally, so we will need an option to sync these
from a wger instance to another and this name is more general
2023-03-16 15:26:47 +01:00
Roland Geider
b0379dd161
Use a separate database for the celery broker
2023-03-15 23:03:56 +01:00
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