Commit Graph

482 Commits

Author SHA1 Message Date
Roland Geider
89adaf6921 Remove... unnecessary break statement 2026-01-18 13:04:27 +01:00
Roland Geider
10bec7544c Cleanup 2026-01-09 19:55:56 +01:00
Roland Geider
1c276ed3d7 Set PYTHONPATH 2026-01-09 16:03:50 +01:00
Roland Geider
2b03ac7864 Delete settings.py file from docker folder, this is not needed anymore 2026-01-09 14:28:34 +01:00
Roland Geider
a8ba6fe2d6 Refactor the way the settings are handled.
Instead of a "create-settings" command, which didn't contain all the options
and was a bit awkward, we now have specific settings used for different things.
2025-12-28 21:32:44 +01:00
Roland Geider
ecb3bcd095 Add comment about running the script with uv 2025-11-23 00:14:42 +01:00
Roland Geider
e692ec124d Refactor the celery ingredient task
This now processes api pages in chunks, allowing for a more robust behaviour (auto retry,
retry backoff, etc.) in case of e.g. network errors. This also allows to resume the task
without having to download all pages again.
2025-11-20 22:11:56 +01:00
Roland Geider
19509c534b Fix path for static files 2025-10-16 21:25:24 +02:00
Roland Geider
b38d4bcd0e Use the sass binary from npm 2025-10-16 21:16:14 +02:00
Roland Geider
a3b0b96b29 Also copy the css map file 2025-10-16 21:04:29 +02:00
Roland Geider
7b7b4b3165 The shell script does not exist anymore 2025-10-16 20:38:11 +02:00
Roland Geider
acd42d0488 Copy the files from react-components manually
This allows us to keep the size of the node_modules folder at a somewhat
more manegable size.
2025-10-16 20:19:23 +02:00
Roland Geider
564e65d334 Update paths in docker file 2025-10-11 21:51:44 +02:00
Roland Geider
0eecb1954a Use "npm ci" when installing in github actions 2025-10-11 20:45:25 +02:00
Roland Geider
9834431175 Sort languages alphabetically 2025-10-11 16:56:56 +02:00
Roland Geider
909361f6ec Refactor project to use packaged version of our react component
This gets rid of the checked-in react code, which was causing huge diffs
2025-10-11 16:46:24 +02:00
Roland Geider
f6cccd339a Save the git commit and build date of the docker images 2025-10-11 16:29:00 +02:00
Roland Geider
bf2a32f788 Adds exercise cache settings to docker 2025-09-30 12:26:44 +02:00
Roland Geider
69c687d261 Show the date when the authors file was generated 2025-09-23 21:36:24 +02:00
Roland Geider
d17699668b Update authors script 2025-09-22 13:37:34 +02:00
Roland Geider
908f8e7147 More cleanup and making sure node files are copied over to the static folder 2025-06-26 17:31:37 +02:00
Roland Geider
0911741288 Combine RUN steps 2025-06-26 15:49:07 +02:00
Roland Geider
9e878dcd02 Some cleanup of the demo Dockerfile 2025-06-25 19:44:18 +02:00
Roland Geider
c509e045aa Also compile the react application
This makes sure the frontend and its translations are always up to date.
2025-06-25 17:22:15 +02:00
Roland Geider
3b9615a904 Compile django translations on build time
This makes sure that the .mo files are always up to date in (most?) deployments.
Manual steps that commit these changes can still happen once in a while, like they
currently do.

Fixes #699
2025-06-25 17:21:29 +02:00
Roland Geider
0d16a954e9 Also install gettext in the base image 2025-06-19 11:14:10 +02:00
hangy
81aff98c2c docs: Fix demo container name 2025-05-25 11:47:47 +02:00
Roland Geider
bce70be447 Merge pull request #1859 from eyJhb/proxyauthheader
adds support for auth proxy header
2025-05-11 18:02:43 +02:00
Roland Geider
94b8493a16 Give the about us page a facelift
This should make it clearer how (and why) to contribute, get in touch, etc.
2025-05-03 21:32:00 +02:00
Roland Geider
081a9b3df1 Handle JS and CSS dependencies, just to be sure 2025-04-29 15:09:03 +02:00
Roland Geider
86fb6529cf Install the "regular" wger project for development 2025-04-29 14:00:45 +02:00
Roland Geider
a814bae43b Move dependencies to pyproject.toml
Update CI workflows, docker files, etc.
2025-04-27 19:42:29 +02:00
Roland Geider
f1862bdb14 Add a simple readme file to the author generation script 2025-04-26 09:34:54 +02:00
Github-actions
90e1d38ecf Automatic linting 2025-04-26 07:21:40 +00:00
Roland Geider
e42dacdc41 Fix linting errors in AUTHORS.md 2025-04-26 09:21:25 +02:00
Roland Geider
f9b1b8813b Add auth proxy headers for email and name
This allows setting directly these values for new users created through
the auth proxy.
2025-04-18 22:46:09 +02:00
Roland Geider
fbb19b5729 Separate auth proxy support into middleware and backend 2025-04-17 18:01:13 +02:00
Roland Geider
01f5d31979 Add AUTH_PROXY_HEADER configuration to docker config as well as default global one 2025-04-12 22:18:13 +02:00
Roland Geider
472de72e66 Add logging configuration for the docker setup
Also remove the PROMETHEUS_URL_PATH from the url, this was just making things
complicated to setup
2025-04-12 22:04:21 +02:00
Roland Geider
5f6ff4677f Remove trailing space 2025-04-05 13:49:01 +02:00
Roland Geider
af353470ea Add link to development documentation with docker 2025-03-29 12:42:35 +01:00
Roland Geider
3e5f4448d4 Don't add the emails to the contributors
These are not a secret and can be extracted from the logs, but we probably shouldn't
expose them to harvesters too much
2025-03-27 18:06:55 +01:00
Roland Geider
65c5b74388 Add script to automate the generation of AUTHORS.md
This fetches the commit information from Github, so we don't have to tell
contributors to manually add themselves to the file with each PR. Also, we
now have an up-to-date list of translators.
2025-03-27 18:06:55 +01:00
Roland Geider
3bdd5906a5 Add link to the online documentation 2025-03-22 22:54:00 +01:00
Roland Geider
2265a63ff7 Remove explicit worker configuration from gunicorn command
Using GUNICORN_CMD_ARGS is more flexible since it allows us to pass any other
configuration option as needed and is a regular gunicorn env variable
2025-03-19 13:11:41 +01:00
Roland Geider
96743f834e Increase the number of workers that gunicorn will spawn 2025-03-15 15:10:07 +01:00
Roland Geider
215bea5ad7 Merge branch 'master' into feature/flexible-routines
# Conflicts:
#	wger/exercises/tests/test_exercise.py
#	wger/exercises/tests/test_exercise_translation.py
#	wger/nutrition/management/commands/sync-ingredients.py
#	wger/settings_global.py
2025-03-10 20:15:50 +01:00
Peter Dave Hello
65886403ef Clean apt temporary files in the base Docker image 2025-03-04 01:05:45 +08:00
Roland Geider
37bf698441 Merge branch 'master' into feature/flexible-routines
# Conflicts:
#	wger/core/templates/tags/render_day.html
#	wger/manager/tests/test_day.py
#	wger/manager/urls.py
#	wger/manager/views/day.py
#	wger/manager/views/set.py
2024-11-14 19:47:51 +01:00
Roland Geider
fcbe251691 Allow deactivating django compressor 2024-10-28 19:38:33 +01:00