Commit Graph

8971 Commits

Author SHA1 Message Date
Roland Geider
eb46ea69d9 Change ingredient image upload path
With currently several hundred of thousands of images, putting them all in one
folder was starting to cause problems. We now shard them by UUID, which spreads
them evenly over two levels.
2026-05-18 10:38:53 +02:00
Roland Geider
9d705eef3e Remove unused thumbnail sizes
These were not being used and were using many GB on the official server
2026-05-17 22:11:17 +02:00
Roland Geider
f3c0932a95 Add tests and authorization checks for gym mass-email 2026-05-14 17:27:14 +02:00
Roland Geider
407a0aab0c Improve handling of emails in our auth backend 2026-05-14 16:55:23 +02:00
Roland Geider
8ca02c43c8 Add safe URL handling for license attribution links 2026-05-14 16:16:46 +02:00
Roland Geider
de2d6d7e6b Add validators for downloaded images and videos 2026-05-14 16:06:13 +02:00
Roland Geider
4e7c0c3446 Add sanity checks for ingredient sync 2026-05-14 15:46:17 +02:00
Roland Geider
81058b9443 Fix ingredient permission issue 2026-05-14 15:34:04 +02:00
Roland Geider
08277ea89a Simplify querystring creation on the exercise admin template 2026-05-14 14:57:30 +02:00
Roland Geider
42791ff9bd Update to django 6
We also needed to revert django-prometheus to 2.4.0 since 2.4.1 is not compatible with
django 6 anymore, and it seems there's some problems with the status of the package:
https://github.com/django-commons/django-prometheus/issues/494
2026-05-14 14:57:30 +02:00
Roland Geider
c5584805c5 Merge pull request #2283 from wger-project/dependabot/uv/invoke-3.0.3
Bump invoke from 2.2.1 to 3.0.3
2026-05-14 14:53:33 +02:00
dependabot[bot]
f455d08066 Bump invoke from 2.2.1 to 3.0.3
Bumps [invoke](https://github.com/pyinvoke/invoke) from 2.2.1 to 3.0.3.
- [Commits](https://github.com/pyinvoke/invoke/compare/2.2.1...3.0.3)

---
updated-dependencies:
- dependency-name: invoke
  dependency-version: 3.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-14 12:49:42 +00:00
Roland Geider
e6f69abb76 Merge pull request #2267 from wger-project/dependabot/npm_and_yarn/picomatch-4.0.4
Bump picomatch from 4.0.3 to 4.0.4
2026-05-14 14:49:24 +02:00
Roland Geider
c89e078628 Extract version from version.py for docker image tagging 2026-05-13 21:15:53 +02:00
Github-actions
d7596ac043 Automatic linting 2026-05-13 18:40:40 +00:00
Roland Geider
72dc042c32 Merge pull request #2339 from wger-project/feature/exercise-submission
Improvements to exercise submission api
2026-05-13 20:40:20 +02:00
Roland Geider
ed74adc0a6 Remove trailing space 2026-05-13 20:36:58 +02:00
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
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