Commit Graph

8936 Commits

Author SHA1 Message Date
Roland Geider
116a979368 Improve exercise history overview 2026-05-12 16:46:15 +02:00
Roland Geider
1a7bb4c7f3 Reverting history is only possible with a POST 2026-05-12 15:37:20 +02:00
Roland Geider
73df8abbcc Simplify and consolidate serializer behaviour
Now the correct language is checked when submitting exercises as well as when
editing existing ones, which is the intended behaviour anyway. Missing tests
have also been added.
2026-05-12 15:22:56 +02:00
Roland Geider
e8a4cb71dd Correctly generate activity stream entries when submitting exercises 2026-05-12 14:13:45 +02:00
Roland Geider
a914109745 Call the correct super()-method 2026-05-12 13:17:06 +02:00
Roland Geider
ff5974232e Allow filtering exercise edits 2026-05-12 12:59:23 +02:00
Roland Geider
3401ef0f27 Cleanup clear-cache command
This was basically doing nothing, but was suggesting otherwise. Now the only
option is to clear the complete cache.
2026-05-12 11:52:23 +02:00
Roland Geider
937ed16240 Remove dead code 2026-05-12 11:43:18 +02:00
Roland Geider
67c2323e57 Remove the cache for individual ingredients
This is not needed anymore
2026-05-12 11:31:19 +02:00
Roland Geider
1b6f26670a Optimize ingredient queryset and sorting behavior
This should make the endpoint more performant
2026-05-11 17:57:07 +02:00
Hosted Weblate user 150360
0da0ff132a Translated using Weblate (German)
Currently translated at 90.0% (543 of 603 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/de/
2026-05-09 14:11:32 +02:00
Roland Geider
3301d36ec1 Merge pull request #2333 from wger-project/dependabot/uv/django-5.2.14
Bump django from 5.2.13 to 5.2.14
2026-05-09 10:03:34 +02:00
Roland Geider
7a2f005c9e Use correct hashes for the cache
We don't use requirements anymore
2026-05-09 09:52:11 +02:00
Roland Geider
312fd696d5 Update @wger-project/react-components to 26.5.9 2026-05-09 09:35:38 +02:00
Roland Geider
1bf18060d0 Fix exercise image upload bug
This was deleting the image, if a new version of the file was uploaded
2026-05-09 09:33:06 +02:00
Roland Geider
903af76b0b Ignore the OFF database dump 2026-05-09 09:33:06 +02:00
dependabot[bot]
1d8d811c72 Bump django from 5.2.13 to 5.2.14
Bumps [django](https://github.com/django/django) from 5.2.13 to 5.2.14.
- [Commits](https://github.com/django/django/compare/5.2.13...5.2.14)

---
updated-dependencies:
- dependency-name: django
  dependency-version: 5.2.14
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-08 22:35:55 +00:00
Github-actions
73841a181d Automatic linting 2026-05-08 13:21:35 +00:00
Roland Geider
023efdd7d1 Update codeQL workflow 2026-05-08 15:21:19 +02:00
Roland Geider
f1a4a65ce6 Set explicit permissions for all workflows 2026-05-08 15:21:19 +02:00
Roland Geider
a33f47a1a7 Refactor and improve jwt and regular api key handling 2026-05-08 15:21:19 +02:00
Roland Geider
b76a0d3103 Merge pull request #2313 from wger-project/dependabot/uv/packaging-26.2
Bump packaging from 26.1 to 26.2
2026-05-08 12:48:59 +02:00
Roland Geider
415007165f Require POST on trainer_login to enforce CSRF protection 2026-05-08 12:44:56 +02:00
Roland Geider
b29cf17865 Check slot_entry, next_log and day ownership on workout log/session APIs 2026-05-08 12:44:56 +02:00
Github-actions
67fbf067a6 Automatic linting 2026-05-08 09:51:18 +00:00
Roland Geider
9be2d5f2b4 Prevent gym trainers from (de)activating other gym staff 2026-05-08 11:41:54 +02:00
Roland Geider
635d1dc400 Properly (hopefully) check for all gym permission checks with helper function
This is necessary to correctly handle the gym=None case
2026-05-08 11:31:39 +02:00
Roland Geider
5f07a4473e Move routine validation to the serializer
This also now checks for a maximum duration, something that was previously done
only in the client validation
2026-05-08 11:22:46 +02:00
dependabot[bot]
f7b1326284 Bump packaging from 26.1 to 26.2
Bumps [packaging](https://github.com/pypa/packaging) from 26.1 to 26.2.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/26.1...26.2)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '26.2'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-08 09:02:35 +00:00
Roland Geider
393126ac8c Commit 512 pixel logo 2026-05-08 10:46:57 +02:00
Roland Geider
838c571bf5 Merge pull request #2331 from wger-project/dependabot/uv/markdown-it-py-4.2.0
Bump markdown-it-py from 4.1.0 to 4.2.0
2026-05-08 10:45:55 +02:00
dependabot[bot]
10c3f8ec59 Bump markdown-it-py from 4.1.0 to 4.2.0
Bumps [markdown-it-py](https://github.com/executablebooks/markdown-it-py) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/executablebooks/markdown-it-py/releases)
- [Changelog](https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/markdown-it-py/compare/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: markdown-it-py
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-07 23:24:28 +00:00
Roland Geider
543e83abbb Merge pull request #2330 from wger-project/dependabot/uv/markdown-it-py-4.1.0
Bump markdown-it-py from 4.0.0 to 4.1.0
2026-05-07 10:50:01 +02:00
dependabot[bot]
2f371aa7a7 Bump markdown-it-py from 4.0.0 to 4.1.0
Bumps [markdown-it-py](https://github.com/executablebooks/markdown-it-py) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/executablebooks/markdown-it-py/releases)
- [Changelog](https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/markdown-it-py/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: markdown-it-py
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-06 23:25:44 +00:00
Roland Geider
b8f7c9229f Merge pull request #2325 from wger-project/dependabot/uv/gunicorn-26.0.0
Bump gunicorn from 25.3.0 to 26.0.0
2026-05-06 12:17:35 +02:00
Roland Geider
dd4336f9c4 Improve test suite speed and remove unused code 2026-05-06 10:37:35 +02:00
Roland Geider
3eace2bf18 Merge pull request #2327 from birjd002/fix/preferences-email-validation
Fix/preferences email validation
2026-05-06 09:45:28 +02:00
Roland Geider
4d56033c12 Also test for email erro handling 2026-05-06 09:33:03 +02:00
bigjimmy333
8361cae762 Add test for duplicate email validation on preferences page 2026-05-06 15:38:59 +09:30
bigjimmy333
36fa7306be Fix failure on preferences page when email validation fails 2026-05-06 15:18:43 +09:30
dependabot[bot]
0678a1bfd7 Bump gunicorn from 25.3.0 to 26.0.0
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 25.3.0 to 26.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/25.3.0...26.0.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-version: 26.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-05 23:24:33 +00:00
Roland Geider
05cc51922c Merge pull request #2323 from wger-project/dependabot/uv/boto3-1.43.2
Bump boto3 from 1.42.94 to 1.43.2
2026-05-05 15:55:16 +02:00
Roland Geider
e6e25dce1b Merge pull request #2324 from wger-project/dependabot/uv/icalendar-7.1.0
Bump icalendar from 7.0.3 to 7.1.0
2026-05-05 15:50:35 +02:00
Roland Geider
237dcbc0a5 Merge pull request #2320 from wger-project/dependabot/uv/reportlab-4.5.0
Bump reportlab from 4.4.10 to 4.5.0
2026-05-05 15:49:08 +02:00
Emil
0409bba184 Translated using Weblate (German)
Currently translated at 89.7% (541 of 603 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/de/
2026-05-05 10:11:33 +00:00
Milo Ivir
cb1c812048 Translated using Weblate (Croatian)
Currently translated at 100.0% (603 of 603 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/hr/
2026-05-05 10:11:32 +00:00
Roland Geider
7ff9bfa069 Don't create unnecessary routines in the test 2026-05-04 20:40:19 +02:00
Github-actions
4bb2252572 Automatic linting 2026-05-04 11:47:28 +00:00
Roland Geider
23e0c646ae Properly handle read-only fields for the exercise translation 2026-05-04 13:47:06 +02:00
Roland Geider
67741607c4 Improve exercise deletion logic
Now it's possible to also transfer the translations and media to the replacement
2026-05-04 13:18:49 +02:00