Roland Geider
65dbf426cf
Use ValueKey instead of accessing uuid directly
...
This would crash on objects that don't have any uuid attribute, such as the Language.
ValueKey works on all of them, as long as they are equatable.
Closes #1236
2026-06-23 15:32:42 +02:00
Roland Geider
3eb7974390
Remove hard coded color for icons
...
This makes them easier to see in dark mode
2026-06-22 11:08:45 +02:00
Roland Geider
2bfc86a8e3
Add missing French translations
2026-06-19 15:39:40 +02:00
Roland Geider
db7f5b8500
Add missing Spanisch translations
2026-06-19 15:32:42 +02:00
Roland Geider
fcfb2886f4
Add missing German translations
2026-06-19 15:31:38 +02:00
Roland Geider
148fe8c8a4
Fix null-check-operator error in the log page in the gym mode
2026-06-19 12:29:40 +02:00
Roland Geider
87a433bc97
Fix set-state-error on TimeInputWidget
...
The widget is read-only, so we don't need to use a controller, it is simply rebuilt when the
user selects a new time
2026-06-19 12:10:07 +02:00
Roland Geider
5da7da9067
Use proper references in comments, where possible
2026-06-19 10:57:27 +02:00
Roland Geider
e5c351a311
Refactor the server version check
...
This now runs before login, so this also works on the 2.5 -> 2.6 backend change, which introduced
new auth endpoints
2026-06-19 10:39:08 +02:00
Roland Geider
af71cb7e1c
Don't abort auth operations if the local keyring (from secure storage) is not available
2026-06-19 10:22:50 +02:00
Roland Geider
9bc0b15c6f
Merge pull request #1224 from pankaj-basnet/refactor/nutrition-meals-components
...
Refactor/nutrition meals components
2026-06-18 10:28:25 +02:00
pankaj-basnet
601be2cfe6
fix(nutrition): decouple MealEditingToolbar visibility from ViewMode
...
- revert translation changes in charts and cleanup meal logs
- fix for the Meal test
2026-06-18 10:17:21 +05:45
Roland Geider
bfb44c2157
Extract title from html error messages
2026-06-17 21:39:51 +02:00
pankaj-basnet
0ca3de30c5
refactor(nutrition): improve localization and date formatting
...
- Extract date display logic in nutritional plan details
- Migrate hardcoded strings to localization files
2026-06-17 23:38:15 +05:45
Roland Geider
cadb63734f
Properly mark the correct official/custom server as the one being used
2026-06-17 17:59:04 +02:00
Roland Geider
1311a59f7e
Set the same headers for the auth requests
...
Not having the content type was tripping up anubis
2026-06-17 17:08:45 +02:00
pankaj-basnet
315b1aaba6
refactor: extract MealIngredientsSection and MealEditingToolbar
2026-06-17 15:07:09 +05:45
pankaj-basnet
d187723388
refactor(nutrition): remove redundant recentMealItems prop from MealWidget
2026-06-17 15:06:49 +05:45
Roland Geider
3be47fd272
Just point to the docs, not a todo anymore
2026-06-16 11:37:00 +02:00
Roland Geider
08b256e354
Bump minimum server version
2026-06-15 23:20:28 +02:00
Roland Geider
6d9ead5c9b
Mark models as immutable
2026-06-15 22:55:20 +02:00
Roland Geider
341dec6d99
Fix avoid_slow_async_io lint warning
2026-06-15 22:48:11 +02:00
Roland Geider
177a48d6c7
Fix use_build_context_synchronously and unused_local_variable lint warnings
2026-06-15 22:45:11 +02:00
Roland Geider
a8f46ce302
Fix always_put_control_body_on_new_line lint warning
2026-06-15 22:38:17 +02:00
Roland Geider
fbc8ad7b07
Replace the deprecated onReorder with onReorderItem
2026-06-15 21:34:00 +02:00
Roland Geider
138177ef9c
Run "dart fix --apply"
2026-06-15 21:25:05 +02:00
Roland Geider
6242723a17
Recreate generated files
2026-06-15 21:07:13 +02:00
Roland Geider
62042bd832
Rename allauth's URLs
2026-06-15 14:11:33 +02:00
Roland Geider
499d15636a
Merge remote-tracking branch 'origin/master' into feature/offline-mode
...
# Conflicts:
# lib/l10n/app_de.arb
# lib/widgets/routines/forms/repetitions.dart
# lib/widgets/routines/forms/weight.dart
2026-06-15 12:36:37 +02:00
Roland Geider
0e6876d40e
Merge pull request #1211 from eltahirsami/fix-accessibility-labels
...
Improve accessibility labels for workout controls
2026-06-15 10:45:33 +02:00
Roland Geider
63e9d812db
Consolidate usage of DateInputWidget
2026-06-14 22:11:31 +02:00
Roland Geider
0651cbb611
Consolidate usage of showConfirmDeleteDialog
2026-06-14 22:11:11 +02:00
Roland Geider
54e97299f9
Consolidate usage of FormSubmitButton
2026-06-14 21:48:41 +02:00
Roland Geider
5f9abdb15f
Slight refactor of the error handling
...
This moves some of the pieces to the correct places
2026-06-14 21:25:59 +02:00
Roland Geider
3ec7e23f56
Pass the slotUUID to some gym pages
...
This makes the logic a bit more robust on null pages
2026-06-14 21:25:10 +02:00
Pedro Remedios
7b016775ab
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (404 of 404 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-06-14 19:01:17 +00:00
Roland Geider
01b746fc65
Fix image picker validation and error handling logic
2026-06-14 20:59:10 +02:00
Roland Geider
eae855bef4
Properly handle the case where the token could not be decrypted
2026-06-14 20:51:52 +02:00
Roland Geider
db458acee4
Don't log the user's refresh token
2026-06-14 20:35:23 +02:00
Roland Geider
efaa5121c5
Fix column types
2026-06-14 20:24:49 +02:00
Roland Geider
51508d5027
Handle case where after submitting an exercise it is not synced back yet
2026-06-14 20:21:35 +02:00
Roland Geider
30df030e1e
Add converter for date-only fields, otherwise comparisons break
2026-06-14 16:19:02 +02:00
Rodrigo Jurado Villalobos
5fdac4c69e
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (404 of 404 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2026-06-11 10:01:19 +00:00
florent4014
ca1cfb9c63
Translated using Weblate (French)
...
Currently translated at 100.0% (404 of 404 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2026-06-11 10:01:16 +00:00
Eltahir Mahmoud
27a66b5b57
Improve accessibility labels for workout controls
2026-06-06 00:24:21 +03:00
Roland Geider
e93c4effcb
Exercise IDs are integers, not text
2026-06-05 23:17:25 +02:00
Milo Ivir
32a66b6df9
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (404 of 404 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-06-05 21:01:00 +02:00
Roland Geider
675fb44c6e
Also properly handle (for now) unused datetime fields
2026-06-05 15:36:19 +02:00
Roland Geider
dbce51f86c
The ingredient energy is stored in kcal, not kJ
2026-06-05 15:17:57 +02:00
Roland Geider
662ad9befc
Properly handle timezones
2026-06-05 15:17:32 +02:00