Commit Graph

1944 Commits

Author SHA1 Message Date
Martin Derleth
bb386a98ac Translated using Weblate (French)
Currently translated at 100.0% (314 of 314 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2025-09-22 14:27:20 +02:00
Максим Горпиніч
e0fe1af2c1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (314 of 314 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2025-09-22 14:27:19 +02:00
SirWerto
cec56d4d2e Translated using Weblate (Spanish)
Currently translated at 85.2% (266 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2025-09-22 14:27:18 +02:00
Jose David Villegas (JoseDv1)
666fe5ee5c Translated using Weblate (Spanish)
Currently translated at 81.4% (254 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2025-09-22 14:27:18 +02:00
Marco Diaz
fe44a870b7 Translated using Weblate (Spanish)
Currently translated at 78.2% (244 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2025-09-22 14:27:17 +02:00
Roland Geider
4c34f91028 Merge pull request #905 from wger-project/feature/better-logging
Save the application logs locally
2025-09-16 15:21:51 +02:00
Roland Geider
798406eaa9 Make routineId nullable in session and related files
Sessions can be added ad-hoc, without needing to be part of any specific
routine.
2025-09-16 14:47:47 +02:00
Roland Geider
9b3957fe35 Use "clock" for mocking dates and datetimes
This should make the tests a bit more robust, specially in CI since these
tended to fail depending on how long and when the tests run. Also, rework
a bit the way the start and end dates in sessions were being handled and
initialised
2025-09-16 14:45:16 +02:00
Roland Geider
f6f81318fc Add logging to the Exercise model 2025-09-12 14:03:18 +02:00
Roland Geider
1c969ebc10 Add logging to IngredientTypeahead 2025-09-12 14:03:18 +02:00
Roland Geider
823b5015eb WorkoutLogs can be a StatelessWidget 2025-09-12 14:03:18 +02:00
Roland Geider
68e8721cdb Refresh routine data on load when starting the gym mode
This prevents errors when the user created or deleted a workout session for
the current routine over the web interface

See #876
2025-09-07 15:32:19 +02:00
Roland Geider
48d314f2a0 Use bigger pagination sizes when loading workout sessions 2025-09-07 15:26:08 +02:00
Roland Geider
8574bcad19 Allow the error widget to scroll for longer error messages 2025-09-07 15:25:50 +02:00
Roland Geider
d56c3b2e45 Handle corner cases with null values
While this should not happen, it seems there are situations when some people
do run into the "Null check operator used on a null value" error here.

Closes #878
2025-09-06 23:44:54 +02:00
Roland Geider
af482ab9e3 Set a debounce time for TypeAhead-fields (exercises and ingredients) 2025-09-06 22:46:13 +02:00
Roland Geider
5a4d4c7208 Save the application logs
This allows us to show the logs to the user and also send them along with any
bug reports. This is a simple system that just keeps the last entries in memory
and nothing is stored permanently, but that's ok for our use case and can be
changed in the future if the need arises.
2025-09-06 22:08:35 +02:00
Roland Geider
47d782fc43 Re-fetch unit data if necessary 2025-09-06 15:06:09 +02:00
Roland Geider
d85ee13ed9 Give users more control over the exercise cache
This allows users to manually refresh the cache and load all exercises
from the server.
2025-09-06 15:05:52 +02:00
Roland Geider
c89ccb630c Use max pagination size when loading data
This is a workaround for #867, but not a real solution
2025-09-06 00:50:00 +02:00
Roland Geider
4330e51f86 Retrieve the current routine dynamically
This behaviour is now the same as the nutritional plans.
2025-09-05 22:47:27 +02:00
Roland Geider
0f44e0b25f Refactor the general error popup
This should make it clearer where the messages and titles come from
2025-09-04 14:34:52 +02:00
Roland Geider
1dc3776e7e Improve video error handling
Users now see a smaller error message in the exercise description, instead
of the big general popup.
2025-09-02 14:49:28 +02:00
Roland Geider
76adb1aa8f Localize field names in routine form 2025-08-28 22:47:31 +02:00
Roland Geider
fa96378815 Import datetime extension 2025-08-28 22:35:36 +02:00
Roland Geider
99580490d3 Fix typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-28 22:25:11 +02:00
Roland Geider
92295c54b8 Merge branch 'master' into fix/timezone-problems 2025-08-28 22:19:31 +02:00
clafalco
7058f4afc8 Translated using Weblate (Italian)
Currently translated at 95.5% (298 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2025-08-27 18:53:05 +02:00
Roland Geider
a853e45107 Optimize fetching exercises from the server
This might be the reason behind wger-project/wger#2028 since depending on the routine
the server could get hammered with requests and one (or other unrelated ones) fail.
Even if this is not the case, being a bit more reserved here is still a good idea.
2025-08-27 18:52:54 +02:00
Roland Geider
ec57388ed9 Make database final 2025-08-27 17:04:08 +02:00
Roland Geider
062389f8a5 Some slight tweaking of main error logging and handling 2025-08-25 19:55:26 +02:00
Roland Geider
e63616a403 Recreate generated files 2025-08-25 19:55:26 +02:00
Roland Geider
c4aff2f1cf Use correct API endpoint... 2025-08-25 19:55:26 +02:00
Roland Geider
3adebd15f4 Merge pull request #873 from afzal09/fix_Calendar_Future_Dates_issue872
changed calendar settings to allow to choose future days upto 112 days.
2025-08-25 19:42:31 +02:00
Roland Geider
b996b4b88b Bump last selectable date to 1 year in the future 2025-08-25 19:31:26 +02:00
clafalco
b28e958d54 Translated using Weblate (Italian)
Currently translated at 88.7% (277 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2025-08-23 15:02:09 +02:00
faciolihenrique
5836001151 Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.0% (309 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2025-08-21 15:00:08 +00:00
Neno Horvat
bb1d936139 Translated using Weblate (Croatian)
Currently translated at 86.8% (271 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2025-08-21 15:00:08 +00:00
Roland Geider
94fc157333 Remove dead code and uncomment the dumpErrorToConsole message
This can be useful e.g. for the flatpak versions
2025-08-13 21:20:48 +02:00
Roland Geider
d2f38228fb Improvements in handling localized values in the UI 2025-08-13 21:02:34 +02:00
Roland Geider
bea40c9a3c Correctly parse the localized weight values in the form 2025-08-13 19:54:32 +02:00
Jaafer Mahfoud
173d177c7d Translated using Weblate (Arabic)
Currently translated at 72.1% (225 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ar/
2025-08-06 20:01:50 +00:00
Jênisson Alves de Andrade
66589c4c4f Translated using Weblate (Portuguese (Brazil))
Currently translated at 84.9% (265 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2025-08-05 10:02:13 +02:00
caue Antunes Siqueira
a63fb64ef2 Translated using Weblate (Portuguese)
Currently translated at 99.3% (310 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2025-07-29 06:01:50 +02:00
Максим Горпиніч
4a4e7e6abe Translated using Weblate (Ukrainian)
Currently translated at 100.0% (312 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2025-07-25 05:03:58 +02:00
KW Lam
24b1a687ab Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 100.0% (312 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2025-07-25 05:03:58 +02:00
Afzal Momin
a78da55464 changed calender settings to allow to choose future days upto 112 days. 2025-07-23 21:32:15 +05:30
FilipeAb
de8182a6b9 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (312 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_PT/
2025-07-15 15:01:50 +00:00
FilipeAb
069c9c3058 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (312 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_PT/
2025-07-15 15:01:50 +00:00
FilipeAb
92a3e99448 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (312 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_PT/
2025-07-14 16:08:09 +02:00