Commit Graph

2166 Commits

Author SHA1 Message Date
MarcMeRu11
1e2d7c9ac2 Translated using Weblate (Spanish)
Currently translated at 100.0% (369 of 369 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2026-01-17 15:30:15 +00:00
Roland Geider
b81331609a Also allow changing the order of the dashboard widgets
This makes the behaviour more consistent and allows users to remove widgets
they won't be using, like the trophies
2026-01-17 13:43:28 +01:00
Roland Geider
5574f74a2f Move dashboard visibility settings to own screen
This seems cleaner and can be opened from other places
2026-01-17 12:50:07 +01:00
Roland Geider
3664da4f78 Merge branch 'master' into fork/dhituval/issue852/hide-diet-plan 2026-01-16 23:06:11 +01:00
Roland Geider
381d28d044 Slightly refactor the fetch session data part in the calendar.
In general, it doesn't make much sense that the sessions are the only data points
that are loaded live every time, all the others are simply read from the respective
providers. Hopefully all this can be removed when (if) we move to using a local sqlite
db with powersync.
2026-01-16 15:40:27 +01:00
Roland Geider
a249292afc Don't show the session time if it's not set 2026-01-16 15:27:04 +01:00
Roland Geider
53dcbd8c6c Don't mark nullable fields as "late"
These will be null and we avoid LateInitializationError errors

See #1079
2026-01-16 15:26:38 +01:00
Benjamin Voisin
136607db25 Translated using Weblate (French)
Currently translated at 100.0% (369 of 369 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2026-01-14 14:59:23 +01:00
Roland Geider
6620a83baa Improve html error detection
In case the header is not correctly set, try to detect html error messages
from the content itself
2026-01-14 14:59:07 +01:00
Roland Geider
574ef3d0b5 Add simple retry logic to the base provider's fetch method
This should take care of simple transient errors, or other network hiccups
that might happen on the user's device.
2026-01-14 13:59:41 +01:00
Roland Geider
4782c72934 Recreate generated files 2026-01-13 16:26:17 +01:00
Roland Geider
cbdc4a0c56 Increase page size for languages, no need to use pagination for this
Categories and muscles will probably never get so big, but it doesn't do any
harm doing it as well.
2026-01-12 21:59:52 +01:00
Roland Geider
fb6a673503 Simplify code by adding new log provider
This makes the logic for copying or modifying the logs much easier. Also,
there were some user reports that the old logic sometimes behaved erratically
and old values were sometimes reverted.
2026-01-12 21:40:11 +01:00
Roland Geider
a06dca5eee Fix variable name 2025-12-23 15:50:32 +01:00
Justin Pinheiro
4bfcde044f Translated using Weblate (French)
Currently translated at 100.0% (369 of 369 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2025-12-23 14:44:30 +00:00
Floris C
0343a0c2a5 Translated using Weblate (Dutch)
Currently translated at 100.0% (369 of 369 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nl/
2025-12-23 14:44:29 +00:00
Roland Geider
6a2158a397 Reload the session page in the gym mode
This makes sure that we have the current state and don't try to create a new session
which already exists
2025-12-18 11:59:26 +01:00
Roland Geider
40837ad1b3 Add tests 2025-12-18 11:31:58 +01:00
Roland Geider
d187324a25 Properly handle null values
Basically all the fields can be nullable, so we need to set them if
we want to avoid LateInitialisation errors.
2025-12-18 10:58:40 +01:00
Roland Geider
077dcaf742 Handle HTML errors in WgerHttpException
These need to be handled separately when the server encounters an error and
returns HTML instead of JSON.
2025-12-17 18:59:45 +01:00
Roland Geider
f26267a6fb Rename back
It seems flutter *needs* a fallback without country code
2025-12-17 17:18:21 +01:00
Roland Geider
21de3d663a Merge pull request #1022 from DhruvSingh19/fix/dead-screen-fix
Fix: Dead-Screen Issue is fixed
2025-12-17 12:40:06 +01:00
Roland Geider
779ca1c72e Rename translation file
This file contains simplified Chinese
2025-12-16 15:22:02 +01:00
Roland Geider
33111b79e9 Fix bug causing the "copy to log" to not work anymore 2025-12-16 13:24:10 +01:00
Roland Geider
71fc13b9ea Merge pull request #1039 from wger-project/fix/gym-mode-logs
Correctly handle state change in LogFormWidget
2025-12-14 22:17:42 +01:00
Floris C
0819a2dd2e Translated using Weblate (Dutch)
Currently translated at 58.5% (216 of 369 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nl/
2025-12-14 22:17:04 +01:00
Roland Geider
0787ec1c30 Translated using Weblate (German)
Currently translated at 100.0% (369 of 369 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/

# Conflicts:
#	lib/l10n/app_de.arb
2025-12-14 22:16:43 +01:00
Максим Горпиніч
68ea2042a6 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (369 of 369 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2025-12-14 22:15:29 +01:00
Diego Menezes
bf38d01fe3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (369 of 369 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2025-12-14 22:15:29 +01:00
Diego Menezes
63e67a686f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (369 of 369 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2025-12-14 22:15:29 +01:00
Roland Geider
4b04b2b89a Correctly handle state change in LogFormWidget
This was causing the logs from a previous exercise being displayed and saved
2025-12-14 22:08:22 +01:00
unknown
8d91209081 Feat: Add German translation for Gym Mode Settings
Added German translations in app_de.arb. This is my first time working with Flutter localization!
2025-12-14 21:45:57 +01:00
dhituval
60f902fe14 Merge branch 'master' into issue852/hide-diet-plan 2025-12-08 14:00:39 -05:00
Diya Hituvalli
c0d04cbb11 allow the users to hide / show all widgets in the home screen 2025-12-08 13:57:42 -05:00
Floris C
3cebf8e2c9 Translated using Weblate (Dutch)
Currently translated at 17.6% (62 of 352 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nl/
2025-12-04 14:41:21 +00:00
Elias Lang
8ece300f0e Translated using Weblate (German)
Currently translated at 99.7% (351 of 352 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2025-12-04 14:41:18 +00:00
Ruben Sardinha
88d6c20c5b Translated using Weblate (Portuguese (Portugal))
Currently translated at 92.3% (325 of 352 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_PT/
2025-12-04 14:41:18 +00:00
john
22eaadeafd Translated using Weblate (Filipino)
Currently translated at 3.6% (13 of 352 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fil/
2025-12-04 14:41:17 +00:00
Rafael Acurcio
96c1f09b68 Translated using Weblate (Portuguese (Brazil))
Currently translated at 89.2% (314 of 352 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2025-12-04 14:41:16 +00:00
john
ff36b3e51e Added translation using Weblate (Filipino) 2025-12-04 14:41:14 +00:00
Roland Geider
a7f281bd3f Merge pull request #989 from wger-project/feature/gym-mode
Gym mode improvements
2025-12-04 12:24:44 +01:00
Roland Geider
06b32a2bd9 Better volume calculations, other cleanup 2025-12-04 12:14:57 +01:00
DhruvSingh19
bc6a8a7273 Implemented Copilot's suggestions. 2025-12-04 09:46:17 +05:30
DhruvSingh19
13421c5471 Fix: Dead-Screen Issue is fixed 2025-12-03 23:44:01 +05:30
Roland Geider
d45fb604a2 Add test for the gym mode options 2025-12-02 23:00:43 +01:00
Roland Geider
ffc2f1a674 Allow some options for the user to control the timer between sets 2025-12-02 22:32:14 +01:00
Anupthor007
55259e7483 feat: add configurable sound & vibration when countdown finishes (Fixes #1012) 2025-12-02 20:45:49 +01:00
Roland Geider
910e662243 Correctly show exercise overviews for supersets 2025-12-02 17:21:12 +01:00
Roland Geider
556713319c Correctly calculate the total number of pages 2025-12-02 16:55:25 +01:00
Roland Geider
5bc65f6141 Merge branch 'fork/Anupthor007/add-const-key-dashboard' 2025-12-02 13:53:06 +01:00