Roland Geider
2dbdf996e5
Replace the deprecated /api/v2/exercise/search endpoint
...
We can simply use the regular "exerciseinfo" endpoint, like we do for
ingredients. We still call fetchAndSetExercise for them, which is not
efficient, but
2026-04-14 13:40:26 +02:00
Roland Geider
bceae559f7
Merge branch 'master' into feature/version-2.5
2026-04-14 12:10:20 +02:00
Roland Geider
22af0ef9ff
Show vegetarian and nutriscore badge in the ingredient autocompleter
2026-04-14 00:11:03 +02:00
Roland Geider
d343e5cdf9
Add missing nutriscore info to the ingredient model
...
Also, make the vegan and vegetarian flags nullable, since not all products
have this information at all
2026-04-14 00:10:27 +02:00
Roland Geider
86b2a93e87
The description_source field is now non-nullable
...
This makes working with it a bit easier
# Conflicts:
# lib/models/exercises/exercise_submission.dart
# lib/models/exercises/exercise_submission.freezed.dart
# lib/models/exercises/exercise_submission.g.dart
2026-04-13 23:32:36 +02:00
vonab65821
9898523c60
Added translation using Weblate (Urdu)
2026-04-13 17:58:01 +00:00
sontor1
ad020f7e91
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 26.4% (102 of 385 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nb_NO/
2026-04-13 17:58:00 +00:00
Edson Wolf
c8eb63a11b
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (385 of 385 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2026-04-13 17:57:59 +00:00
Pawel Jelonek
59bb78580f
Translated using Weblate (Polish)
...
Currently translated at 82.3% (317 of 385 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2026-04-13 17:57:59 +00:00
Milo Ivir
f464303785
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (385 of 385 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-04-13 17:57:58 +00:00
Ninguém Mesmo
f70e0b4d5e
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (385 of 385 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-04-13 17:57:57 +00:00
Eliza
9b527415e5
Translated using Weblate (Polish)
...
Currently translated at 81.7% (314 of 384 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2026-04-13 17:57:56 +00:00
Roland Geider
10a28ac479
Merge pull request #1175 from efrahim20319/fix/1149-log-missing-unit-defaults
...
fix: use unit IDs directly in Log.fromSetConfigData to prevent null on save
2026-04-13 19:57:49 +02:00
Nsimba Tamaku
fd8545f997
fix: use unit IDs directly in Log.fromSetConfigData to prevent null on save
...
When adding an extra exercise during a workout, addExerciseAfterPage()
creates a SetConfigData with no unit objects loaded. Log.fromSetConfigData
was using the weightUnit/repetitionUnit setters which overwrite the default
IDs with null when the objects are null, causing the server to reject the
request with a ValidationError ("Repetitions unit must be present").
Fixes #1149
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-13 17:10:59 +01:00
Roland Geider
435a7c6f85
Cleanup
2026-04-13 18:02:30 +02:00
Roland Geider
44af2ecaf2
Merge branch 'feature/exercise-variations' into feature/version-2.5
...
# Conflicts:
# lib/models/exercises/exercise_submission.dart
# lib/providers/add_exercise.dart
2026-04-13 16:37:07 +02:00
Roland Geider
1a7b6bc559
Cleanup
2026-04-13 15:31:54 +02:00
Roland Geider
40dbe842cd
Move the variation to a field in the exercise
2026-04-13 12:58:17 +02:00
Roland Geider
bc45d60a1e
Bump MIN_SERVER_VERSION
2026-04-10 10:46:13 +02:00
Roland Geider
9f41695e65
Merge branch 'feature/nutrition-units' into feature/version-2.5
...
# Conflicts:
# test/nutrition/goldens/nutritional_plan_2_one_meal_with_ingredients.png
# test/nutrition/goldens/nutritional_plan_3_both_meals_with_ingredients.png
2026-04-10 10:38:31 +02:00
Roland Geider
bdc5e541e2
Merge branch 'feature/markdown-exercises' into feature/version-2.5
2026-04-10 10:35:34 +02:00
Roland Geider
301c2e42ce
Merge branch 'feature/add-warmup-type' into feature/version-2.5
...
# Conflicts:
# test/core/validators_test.mocks.dart
2026-04-10 10:35:10 +02:00
Roland Geider
6e76cf6d66
Merge branch 'master' into fork/sg172003/feature/measurement-datetime-field
2026-04-09 23:49:13 +02:00
Roland Geider
8a19e398b0
Add time information to test measurement entries, update tests
2026-04-09 23:45:57 +02:00
Roland Geider
a8071c3532
Catch any errors that might happen when calling handleUpdateExerciseFromApi
...
This seems to mostly happen when the app is running (or is moved) to the background
2026-04-09 13:53:25 +02:00
Roland Geider
ed8203de09
Expose units in the nutritional plan
2026-03-31 11:46:38 +02:00
Roland Geider
85b261fad7
Group slots in the UI with the same exercise
...
This allows the user to add different slots (sets) to an exercise, like
10 x 10kg, 8 x 12kg, 6 x 15kg. Also note that this is purely a UI change,
as it was already possible to simply add the same exercise again.
2026-03-29 20:46:13 +02:00
Sarthak
f7f864da8a
fix(measurements): add time picker to measurement entry form
2026-03-29 21:12:40 +05:30
Roland Geider
cb6c0f9804
Merge pull request #1139 from NiazSagor/fix-redundant-loading
...
Prevent Redundant Loading in `NutritionalPlanScreen`
2026-03-28 20:46:38 +01:00
Thomas Peyrot
7880c59612
Translated using Weblate (French)
...
Currently translated at 99.2% (381 of 384 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2026-03-28 16:04:07 +01:00
Ninguém Mesmo
6b0d744065
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (384 of 384 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-03-28 16:04:06 +01:00
Hesham sraj
5644c2c6e5
Translated using Weblate (Arabic)
...
Currently translated at 99.2% (381 of 384 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ar/
2026-03-28 16:04:05 +01:00
Milo Ivir
7c54754a31
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (382 of 382 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-03-28 16:04:04 +01:00
Nebiyou
c82d04986e
Translated using Weblate (Amharic)
...
Currently translated at 15.7% (60 of 382 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/am/
2026-03-28 16:04:03 +01:00
Edson Wolf
6eae0978ff
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (382 of 382 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-03-28 16:04:02 +01:00
pswsm
fcc977bb44
Translated using Weblate (Catalan)
...
Currently translated at 100.0% (382 of 382 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ca/
2026-03-28 16:04:01 +01:00
saraswathi
95b89e3e83
Translated using Weblate (Tamil)
...
Currently translated at 77.9% (293 of 376 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ta/
2026-03-28 16:04:00 +01:00
Milo Ivir
4bbb95a61e
Translated using Weblate (Croatian)
...
Currently translated at 100.0% (376 of 376 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-03-28 16:03:59 +01:00
Teodor Olteanu
a8951bc227
Translated using Weblate (Romanian)
...
Currently translated at 100.0% (376 of 376 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ro/
2026-03-28 16:03:58 +01:00
Elio Zhou
078514a1fc
Translated using Weblate (Chinese (Simplified Han script))
...
Currently translated at 83.5% (314 of 376 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2026-03-28 16:03:57 +01:00
Edson Wolf
5904384664
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (376 of 376 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-03-28 16:03:56 +01:00
John Weidner
7760efc9e3
fix: replace EOL sqlite3_flutter_libs with drift_flutter
...
sqlite3_flutter_libs 0.6.0+eol no longer bundles the native SQLite
library correctly on newer Android toolchains, causing a
DriftRemoteException on startup (dlopen failed: libsqlite3.so not found).
Replace it with drift_flutter which is the current recommended package
for providing native SQLite to drift databases. Also suppress the
StackFrame assertion error from the stack_trace package that was masking
the real error.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-27 15:56:37 -05:00
Sarthak
733a880280
fix(measurements): restore complete forms.dart with only selectableDayPredicate removed
2026-03-22 16:05:55 +05:30
Roland Geider
4dd1e5ff28
Remove actions here
...
There's not really anything to go back to
2026-03-21 13:51:35 +01:00
Sarthak
a4ea771985
feat(measurements): remove date restriction to allow multiple entries per day
2026-03-18 22:55:37 +05:30
Madhav
3fd0de3257
Apply dart format
2026-03-12 22:48:21 +05:30
darshAnup24
d780050a98
Merge branch 'wger-project:master' into feature/min-server-version-check
2026-03-12 22:42:57 +05:30
Madhav
cb79c698ae
Improve server version parsing and add UI feedback
...
- Enhanced version parsing to handle Python/Django version formats more reliably
- Added serverUpdateRequired AuthState for proper UI routing
- Improved server version sanitization with better regex patterns
- Added UpdateServerScreen with localized user feedback
- Integrated into auth flow routing to show appropriate update messages
2026-03-12 22:34:11 +05:30
Madhav
6f34c05ccb
Add minimum server version check during login
...
The app already checks a minimum app version from the server, but the
opposite wasn't true — an app could connect to an older server with a
different API without any warning.
This adds a MIN_SERVER_VERSION constant in the app that is checked
against the server version (already fetched in AuthProvider) during
both login() and tryAutoLogin(). If the server is too old, the user
is silently logged out and returned to the auth screen to connect to
a compatible server.
Includes unit tests for version string parsing (including Python-style
pre-release versions like '2.5.0a2').
Closes #<issue-number>
2026-03-11 23:19:32 +05:30
Roland Geider
937734e4c4
Merge branch 'fork/saraswathirajkumar18/enhancement/persist-ingredient-filters'
...
# Conflicts:
# pubspec.lock
2026-03-11 15:39:58 +01:00