Roland Geider
490480ec5c
Install additional necessary packages
2023-05-07 13:18:41 +02:00
Roland Geider
f029f70804
Merge branch 'master' into feature/ingredient-images
2023-04-08 12:23:27 +02:00
Roland Geider
6f07d1ccab
Clear the static files
...
This ensures that only the currently used files are used and makes sure that
we don't accumulate any cruft here
2023-04-04 09:36:37 +02:00
Roland Geider
ae0067f779
Remove option to download ingredient images on startup
...
There will be many thousands of image and this will unnecessarily make startup
slower (and can be done manually or with celery better anyway)
2023-03-22 17:03:24 +01:00
Roland Geider
97d95e22b5
Add basic auth to celery flower
2023-03-18 20:48:59 +01: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
5d14412e6a
Mention the sync exercises command
2023-03-15 22:37:18 +01:00
Roland Geider
21528ecf19
Change order of commands so that all the mkdirs are together
2023-03-15 22:32:09 +01:00
Roland Geider
177e3e2bc0
Save beat database to its own folder
2023-03-15 22:23:59 +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
67dcd0627f
Move celery start scripts to folder where the Dockerfile is
...
This makes more sense and makes the path cleaner
2023-03-04 13:51:34 +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
bbk
d14ee1b339
use requirements_docker.txt
2023-01-07 11:31:29 +01:00
bbk
196c1a157e
the psycopg2-binary don't works on arm64
2023-01-01 18:32:58 +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
3ecb4b0226
Add option to download ingredient images on startup
2022-11-06 16:55:54 +01:00
Roland Geider
8dff573f3d
Merge branch 'master' into feature/ingredient-images
2022-11-04 15:26:46 +01:00
dependabot[bot]
965c96802d
Bump wger/base from 2.1-dev to 2.2-dev in /extras/docker/development
...
Bumps wger/base from 2.1-dev to 2.2-dev.
---
updated-dependencies:
- dependency-name: wger/base
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-11-01 23:04:51 +00:00
Roland Geider
da52c55433
Add flag to disable global celery use
2022-10-25 14:35:38 +02:00
Roland Geider
7e0a658c5f
Merge branch 'feature/celery' into feature/ingredient-images
2022-10-24 15:49:11 +02:00
Roland Geider
08b6db6f1b
Read celery settings from environmental variables
2022-10-20 12:19:32 +02:00
Roland Geider
e82a2e2a02
Merge branch 'master' into feature/ingredient-images
...
# Conflicts:
# .gitignore
# AUTHORS.rst
# wger/__init__.py
# wger/core/management/commands/extract-i18n.py
# wger/exercises/management/commands/download-exercise-images.py
# wger/exercises/models/image.py
# wger/settings_global.py
2022-10-19 15:25:22 +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
2d4838fd4c
Merge branch 'master' into feature/ingredient-images
...
# Conflicts:
# .gitignore
# AUTHORS.rst
# extras/docker/compose/README.md
# wger/core/management/commands/extract-i18n.py
# wger/exercises/management/commands/exercise-cleanup.py
# wger/settings_global.py
2022-08-09 14:27:31 +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
a49f539d73
Further work on migrating from exercise to exercise bases
2022-05-08 16:51:05 +02:00