Commit Graph

502 Commits

Author SHA1 Message Date
Roland Geider
903a2e49b8 Fix build step 2026-07-28 21:52:37 +02:00
Roland Geider
d7f5772ce7 Simplify the db config
This was breaking dev environments that were using sqlite

See https://github.com/wger-project/docker/issues/158
2026-07-28 21:27:55 +02:00
Roland Geider
5e53249211 Merge remote-tracking branch 'origin/master' into powersync
# Conflicts:
#	CHANGELOG.md
#	uv.lock
#	wger/manager/models/log.py
#	wger/manager/models/session.py
2026-05-13 21:15:32 +02:00
Github-actions
aed774647d Automatic linting 2026-05-13 17:51:48 +00:00
Roland Geider
2443d59d32 Better new lines 2026-05-13 19:51:23 +02:00
Roland Geider
9a682b8881 Refactor contributor extraction logic
We can now also generate a rst file which we can use in the documentation repo
2026-05-13 19:51:23 +02:00
Roland Geider
e76e0784ed Merge branch 'master' into powersync
# Conflicts:
#	CHANGELOG.md
#	pyproject.toml
#	settings/main.py
#	uv.lock
#	wger/manager/models/log.py
2026-04-16 13:03:29 +02:00
Github-actions
c1fca6bdf7 Automatic linting 2026-04-15 20:06:12 +00:00
Roland Geider
45c559bb94 Refactor filter-fixtures.py a bit 2026-04-10 13:49:13 +02:00
Roland Geider
f15f858c8e Update exercise data 2026-04-10 13:40:41 +02:00
Roland Geider
4441c667d1 Merge branch 'master' into powersync
# Conflicts:
#	extras/docker/production/settings.py
#	pyproject.toml
#	uv.lock
#	wger/weight/models.py
2026-03-12 13:43:38 +01:00
Stavros Kois
fcc38d4c42 remove duplicate then 2026-02-27 17:31:05 +02:00
Roland Geider
4da5eca5b5 Update entrypoint.sh
* Allow to bypass the automatic "collectstatic" call
* Allow setting the appliocation's port
* Remove unused YARN_PROCESS_STATIC option
2026-02-27 13:42:27 +01:00
Roland Geider
9e1556d228 Improved readability by putting the ampersand always at the start of the line 2026-01-29 17:35:23 +01:00
yontank
a5f479a882 Docker image not running
Fixes #2167
2026-01-18 21:31:13 +02:00
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
fce69c329e Correctly process weigh entry data as sent by powersync 2025-10-23 15:04:29 +02:00
Roland Geider
4a68a5f064 Merge branch 'master' into powersync
# Conflicts:
#	extras/docker/development/Dockerfile
#	extras/docker/production/settings.py
#	requirements.txt
#	wger/core/api/views.py
#	wger/nutrition/models/plan.py
#	wger/urls.py
2025-10-19 19:38:34 +02: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