Commit Graph

9319 Commits

Author SHA1 Message Date
Roland Geider
b8c075f414 Merge pull request #2418 from wger-project/dependabot/uv/pillow-12.3.0
Bump pillow from 12.2.0 to 12.3.0
2026-07-02 12:53:43 +02:00
Roland Geider
61ba44f572 Merge pull request #2360 from pankaj-basnet/feat/exercise-name-similarity-check-2357
feat(exercises): prevent duplicate exercise names on submission and edit (#2357)
2026-07-02 12:53:20 +02:00
Roland Geider
52e6a185e9 Small cleanups 2026-07-02 12:43:58 +02:00
Roland Geider
443b8edc7f Merge branch 'master' into pr-2360 2026-07-02 12:12:01 +02:00
Roland Geider
b536c97575 Reject non-numeric cursors for the ingredient sync endpoint 2026-07-02 11:51:30 +02:00
Roland Geider
2709fa3112 Correctly handle malformed IDs 2026-07-02 11:51:30 +02:00
Roland Geider
8d60e250fb The nutrition plan info endpoint is read-only 2026-07-02 11:51:30 +02:00
Roland Geider
9fe6c75598 Respect the trophy skip-flag for PR trophies as well 2026-07-02 11:51:30 +02:00
Roland Geider
62dde9cbe0 Properly handle case where user was deleted
This can happen if e.g. the user deleted their user and is still logged in
on the app
2026-07-02 11:51:30 +02:00
Roland Geider
310d535323 Don't allow an exercise to be replaced with itself when it's deleted
See #2406
2026-07-02 11:51:30 +02:00
dependabot[bot]
a2ed96cbe8 Bump pillow from 12.2.0 to 12.3.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 12.2.0 to 12.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/12.2.0...12.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-version: 12.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-01 23:26:07 +00:00
Roland Geider
936c9b2f8e Merge pull request #2388 from wger-project/dependabot/uv/tornado-6.5.7
Bump tornado from 6.5.5 to 6.5.7
2026-06-30 18:04:08 +02:00
Amit Mishra
ace2994d2f Require POST for password reset and user (de)activation
reset_user_password, UserDeactivateView and UserActivateView mutated
state on GET, with no confirmation step. Django's CSRF protection only
applies to unsafe HTTP methods (e.g. POST), not GET, so an attacker
could get an authenticated gym manager/trainer to load a crafted URL
and unintentionally reset a user's password or deactivate their
account.

GET now only renders a confirmation form (reusing the existing
delete.html + modal_link pattern already used for deletions); the
actual change requires POST. Matches the precedent already set for
trainer_login in this file.

Fixes #2380.
2026-06-27 17:43:02 +05:30
Milo Ivir
788d5f5e91 Translated using Weblate (Croatian)
Currently translated at 99.4% (665 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/hr/
2026-06-25 15:01:19 +00:00
Roland Geider
2dd4962fa8 Merge pull request #2398 from wger-project/dependabot/github_actions/actions/checkout-7
Bump actions/checkout from 6 to 7
2026-06-25 16:11:26 +02:00
Roland Geider
efdd2297dd Merge pull request #2407 from wger-project/dependabot/uv/django-debug-toolbar-7.0.0
Bump django-debug-toolbar from 6.3.0 to 7.0.0
2026-06-25 16:10:51 +02:00
Roland Geider
07aefa2fe8 Merge pull request #2358 from wger-project/dependabot/uv/django-prometheus-2.5.0
Bump django-prometheus from 2.4.0 to 2.5.0
2026-06-25 16:04:17 +02:00
Roland Geider
d02081d0fe Merge pull request #2413 from wger-project/dependabot/uv/icalendar-7.2.0
Bump icalendar from 7.1.0 to 7.2.0
2026-06-25 16:03:48 +02:00
Roland Geider
9216e20019 Merge pull request #2412 from wger-project/dependabot/github_actions/actions/cache-6
Bump actions/cache from 5 to 6
2026-06-25 16:03:22 +02:00
Roland Geider
d86af66026 Improve test that makes handled deleted users and proper trophy handling 2026-06-24 12:43:33 +02:00
Roland Geider
0779f7ec69 Workaround fix for the session's unique_together
Postgres' 15 does not handle unique_together when one of the values is NULL,
which can happen when logs don't have a session.
2026-06-24 12:43:33 +02:00
Roland Geider
5aa64901fa Better handling of computed rir/rpe values 2026-06-24 12:43:33 +02:00
Roland Geider
20c077a215 Make temp variables lower case
Otherwise, the value could land in Django's email reporting
2026-06-24 12:43:33 +02:00
Roland Geider
f93229c24c Don't fire the trophy signals when loading fixtures 2026-06-24 12:43:33 +02:00
Roland Geider
3dc83e1759 Harden the jwt token strategy against None-Users 2026-06-24 12:43:32 +02:00
Milo Ivir
7f6d4dd4f9 Translated using Weblate (Croatian)
Currently translated at 92.8% (621 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/hr/
2026-06-24 09:01:18 +00:00
dependabot[bot]
c6b44aef2b Bump icalendar from 7.1.0 to 7.2.0
Bumps [icalendar](https://github.com/collective/icalendar) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/collective/icalendar/releases)
- [Changelog](https://github.com/collective/icalendar/blob/main/CHANGES.rst)
- [Commits](https://github.com/collective/icalendar/compare/v7.1.0...v7.2.0)

---
updated-dependencies:
- dependency-name: icalendar
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-23 23:23:16 +00:00
dependabot[bot]
58648d7dd3 Bump actions/cache from 5 to 6
Bumps [actions/cache](https://github.com/actions/cache) from 5 to 6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-23 23:22:18 +00:00
dependabot[bot]
52e27b78db Bump django-prometheus from 2.4.0 to 2.5.0
Bumps [django-prometheus](https://github.com/korfuri/django-prometheus) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/korfuri/django-prometheus/releases)
- [Changelog](https://github.com/django-commons/django-prometheus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/korfuri/django-prometheus/compare/v2.4.0...v2.5.0)

---
updated-dependencies:
- dependency-name: django-prometheus
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-23 17:50:09 +00:00
Roland Geider
abaa2dd755 Merge pull request #2411 from wger-project/dependabot/uv/django-simple-history-3.12.0
Bump django-simple-history from 3.11.0 to 3.12.0
2026-06-23 19:47:47 +02:00
Roland Geider
2fb6906fd7 Properly remove unused userprofile fields...
Closes #2410
2026-06-23 16:06:28 +02:00
dependabot[bot]
470d08a811 Bump django-simple-history from 3.11.0 to 3.12.0
Bumps [django-simple-history](https://github.com/django-commons/django-simple-history) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/django-commons/django-simple-history/releases)
- [Changelog](https://github.com/django-commons/django-simple-history/blob/master/CHANGES.rst)
- [Commits](https://github.com/django-commons/django-simple-history/compare/3.11.0...3.12.0)

---
updated-dependencies:
- dependency-name: django-simple-history
  dependency-version: 3.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-22 23:23:39 +00:00
E Sa
1686836929 Translated using Weblate (Arabic (Saudi Arabia))
Currently translated at 53.3% (357 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ar_SA/
2026-06-22 10:11:12 +02:00
dependabot[bot]
a926f2423a Bump django-debug-toolbar from 6.3.0 to 7.0.0
Bumps [django-debug-toolbar](https://github.com/django-commons/django-debug-toolbar) from 6.3.0 to 7.0.0.
- [Release notes](https://github.com/django-commons/django-debug-toolbar/releases)
- [Changelog](https://github.com/django-commons/django-debug-toolbar/blob/main/docs/changes.rst)
- [Commits](https://github.com/django-commons/django-debug-toolbar/compare/6.3.0...7.0.0)

---
updated-dependencies:
- dependency-name: django-debug-toolbar
  dependency-version: 7.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 23:23:08 +00:00
Roland Geider
8f44b5bd7c Merge pull request #2400 from wger-project/dependabot/uv/django-environ-0.14.0
Bump django-environ from 0.13.0 to 0.14.0
2026-06-19 17:17:51 +02:00
Para
c7953782b0 Translated using Weblate (Norwegian Bokmål)
Currently translated at 79.9% (535 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/nb_NO/
2026-06-19 17:07:36 +02:00
Leonardo Lalli
a1745e09d0 Translated using Weblate (Italian)
Currently translated at 87.8% (588 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/it/
2026-06-19 17:05:17 +02:00
Roland Geider
e0c8fd1191 Fix the rest of the fuzzy translations
While using AI to translate languages you don't speak is not something I like,
the state of the fuzzy translations in German and Spanish was so bad that this
can only make the result better :/
2026-06-19 16:49:39 +02:00
Roland Geider
e7b777bb0c Fix translations 2026-06-19 16:49:39 +02:00
Roland Geider
f8e45d5b69 Fix fuzzy translations 2026-06-19 16:49:39 +02:00
Roland Geider
a6eee0970d Update French translations 2026-06-19 16:49:38 +02:00
Roland Geider
97f2ffb3ef Update Spanish translations 2026-06-19 16:49:38 +02:00
Roland Geider
544573047f Update German translations 2026-06-19 16:49:38 +02:00
Roland Geider
619496bbc0 Merge pull request #2399 from wger-project/dependabot/uv/reportlab-5.0.0
Bump reportlab from 4.5.0 to 5.0.0
2026-06-19 15:08:28 +02:00
Roland Geider
40b425f6f2 Refactor the cache handling for the exercise overview
This saves us some rather expensive prefech queries that were being discarded
later anyway
2026-06-19 14:24:50 +02:00
Roland Geider
bb21c47c7b Bump default EXERCISE_CACHE_TTL 2026-06-19 14:24:50 +02:00
Roland Geider
dbb7ddea37 Reset changelog 2026-06-19 14:24:50 +02:00
dependabot[bot]
28d0aa7088 Bump django-environ from 0.13.0 to 0.14.0
Bumps [django-environ](https://github.com/joke2k/django-environ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/joke2k/django-environ/releases)
- [Changelog](https://github.com/joke2k/django-environ/blob/v0.14.0/CHANGELOG.rst)
- [Commits](https://github.com/joke2k/django-environ/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: django-environ
  dependency-version: 0.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-18 23:23:10 +00:00
dependabot[bot]
63019c0af8 Bump reportlab from 4.5.0 to 5.0.0
Bumps [reportlab](https://www.reportlab.com/) from 4.5.0 to 5.0.0.

---
updated-dependencies:
- dependency-name: reportlab
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-18 23:22:59 +00:00
dependabot[bot]
b81482a83a Bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-18 23:22:21 +00:00