Commit Graph

9319 Commits

Author SHA1 Message Date
Roland Geider
3c4dde0d1d Update CHANGELOG.md 2026-05-13 20:33:52 +02:00
Roland Geider
d96aa9efb6 Handle case where no language could be detected
Also, drop the from_all_languages(), we did some tests and this doesn't
change much
2026-05-13 20:28:25 +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
f3cdf9f61d Fix links to readthedocs 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
25bf2156d3 Also omit the settings folder in the coverage report 2026-05-13 19:51:23 +02:00
E. Ta.
48954a1e29 Translated using Weblate (Arabic (Saudi Arabia))
Currently translated at 56.3% (340 of 603 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ar_SA/
2026-05-13 13:14:17 +00:00
Roland Geider
019664e3b1 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-13 13:14:15 +00:00
Roland Geider
dc7ae81a39 Merge pull request #2337 from wger-project/dependabot/uv/requests-2.34.0
Bump requests from 2.33.1 to 2.34.0
2026-05-13 14:31:10 +02:00
dependabot[bot]
f0bc924e28 Bump requests from 2.33.1 to 2.34.0
Bumps [requests](https://github.com/psf/requests) from 2.33.1 to 2.34.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.33.1...v2.34.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-13 11:40:45 +00:00
Roland Geider
20c5e42509 Enable parallel test execution for coverage report 2026-05-13 13:38:58 +02:00
Roland Geider
38302c51e7 Merge pull request #2336 from wger-project/dependabot/uv/coverage-7.14.0
Bump coverage from 7.13.5 to 7.14.0
2026-05-13 13:33:06 +02:00
Roland Geider
ab9038cf81 Merge pull request #2335 from wger-project/dependabot/uv/urllib3-2.7.0
Bump urllib3 from 2.6.3 to 2.7.0
2026-05-13 13:16:22 +02:00
Roland Geider
caf312b07e Also handle deleted and merged exercises 2026-05-12 17:07:39 +02:00
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
dependabot[bot]
1da81fe3cd Bump coverage from 7.13.5 to 7.14.0
Bumps [coverage](https://github.com/coveragepy/coveragepy) from 7.13.5 to 7.14.0.
- [Release notes](https://github.com/coveragepy/coveragepy/releases)
- [Changelog](https://github.com/coveragepy/coveragepy/blob/main/CHANGES.rst)
- [Commits](https://github.com/coveragepy/coveragepy/compare/7.13.5...7.14.0)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.14.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-12 05:21:50 +00:00
dependabot[bot]
0cf1277ba1 Bump urllib3 from 2.6.3 to 2.7.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.6.3...2.7.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.7.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-11 16:23:45 +00: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
Roland Geider
993ab6af8f Make the license author non-nullable
This is more consistent with the rest of the license fields and makes handling
it a bit easier
2026-05-11 17:26:11 +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