Commit Graph

5492 Commits

Author SHA1 Message Date
KT Park
b1714bc5ac Translated using Weblate (Korean)
Currently translated at 85.7% (574 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ko/
2026-07-30 19:01:54 +02:00
Armando Schiano di Cola
879789f3b5 Translated using Weblate (Italian)
Currently translated at 94.7% (634 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/it/
2026-07-30 19:01:51 +02:00
Roland Geider
1c944b0ba4 Sanity check for token lifetimes
See https://github.com/wger-project/flutter/issues/1265
2026-07-30 15:50:49 +02:00
Roland Geider
45b000e1cb Disable the submit button on registration
This process is a bit longer than most submits (specially with recaptcha which
can add several hundred ms), so we disable the button
2026-07-30 15:50:49 +02:00
Roland Geider
be184dff7c Disable OPTIONS for generated schema endpoints
This would cause an exception to be thrown
2026-07-30 15:50:49 +02:00
Roland Geider
3e065e2017 Make routine deletions more robust
It was previously possible to trigger an exception, probably from a race condition
or trying to delete a single routine twice
2026-07-30 15:50:49 +02:00
Github-actions
f685a987b1 Automatic linting 2026-07-28 19:28:11 +00:00
Roland Geider
e5309a7109 Add energy calculation sanity check
This makes sure that the energy calculated from the individual macros (carbs,
fat, protein) is not greater than the total energy
2026-07-28 21:27:55 +02:00
Roland Geider
31d6f29919 Test that the serving size extraction uses the correct locale 2026-07-28 21:27:55 +02:00
Roland Geider
cd6c676028 Increase limit for sanity check for total sum for OFF ingredients
See https://github.com/wger-project/wger/issues/2440
2026-07-28 21:27:55 +02:00
Roland Geider
88f0a63a6b Remove jquery dependency, this is not needed anymore 2026-07-24 16:19:38 +02:00
Christoffer Gjønvik Holsæther
7c1dc42315 Translated using Weblate (Norwegian Bokmål)
Currently translated at 87.2% (584 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/nb_NO/
2026-07-23 21:01:29 +00:00
Roland Geider
2525c35c12 Add cable machine to available equipment lists 2026-07-23 12:30:56 +02:00
Armando Schiano di Cola
ea722e0720 Translated using Weblate (Italian)
Currently translated at 93.2% (624 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/it/
2026-07-21 22:01:25 +02:00
tomorigabor
c6a562b45e Translated using Weblate (Hungarian)
Currently translated at 100.0% (669 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/hu/
2026-07-21 22:01:23 +02:00
tomorigabor
23fe122ef3 Translated using Weblate (Hungarian)
Currently translated at 100.0% (669 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/hu/
2026-07-20 20:55:44 +02:00
NP
870c3b360b Translated using Weblate (Italian)
Currently translated at 92.8% (621 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/it/
2026-07-18 13:01:30 +00:00
Roland Geider
a110d1b674 Fix bug in the need_logs_to_advance toggle 2026-07-17 17:23:42 +02:00
László Mócsy
32aebec02e Translated using Weblate (Hungarian)
Currently translated at 85.0% (569 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/hu/
2026-07-16 18:01:33 +02:00
tomorigabor
19d1097651 Translated using Weblate (Hungarian)
Currently translated at 85.0% (569 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/hu/
2026-07-16 18:01:33 +02:00
tomorigabor
d1cd063206 Translated using Weblate (Hungarian)
Currently translated at 82.5% (552 of 669 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/hu/
2026-07-15 17:04:39 +02:00
Roland Geider
3c6ce4b7f3 Merge pull request #2415 from amitmishra11/fix/csrf-get-state-mutation-2380
Require POST for password reset and user (de)activation
2026-07-09 19:39:50 +02:00
Roland Geider
077d555e74 Use a confirmation template
Otherwise, we would show the "are you sure you want to delete this" message, which
would be wrong in these cases
2026-07-09 19:27:56 +02:00
Roland Geider
ec8b03de27 Move exercise media when they are transferred during the deletion process 2026-07-02 15:15:30 +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
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
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
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
Roland Geider
2fb6906fd7 Properly remove unused userprofile fields...
Closes #2410
2026-06-23 16:06:28 +02: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
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