Commit Graph

4064 Commits

Author SHA1 Message Date
Maksymilian Burdziej
2fc43bcea7 Translated using Weblate (Polish)
Currently translated at 89.3% (344 of 385 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2026-04-14 19:37:03 +02:00
Roland Geider
bc02cd8e9b Bump minimum required server version and update test server 2026-04-14 19:36:24 +02:00
Roland Geider
af1ce8c2e4 Merge pull request #1169 from wger-project/feature/version-2.5
version 2.5
2026-04-14 19:21:53 +02:00
Roland Geider
f9f106f5ed Directly return the exercises found by the search
While these do not land in the local cache, this is still faster and
better, and works like the ingredientSearch method.
2026-04-14 13:53:30 +02:00
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
6151957b0e Update lock-files 2026-04-14 12:18:33 +02:00
Roland Geider
bceae559f7 Merge branch 'master' into feature/version-2.5 2026-04-14 12:10:20 +02:00
Roland Geider
621a5b679b Update Podfile.lock 2026-04-14 00:11:16 +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
Roland Geider
07500bd9d0 Update exercise test data 2026-04-13 23:27:17 +02:00
Roland Geider
b78b26ce68 Merge pull request #1159 from wger-project/feature/weblate
Translations update from Hosted Weblate
2026-04-13 21:41:07 +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
0c5d9b83b6 Commit missing mock file 2026-04-13 16:32:08 +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
cb17b4754d Merge pull request #1171 from wger-project/dependabot/github_actions/softprops/action-gh-release-3
Bump softprops/action-gh-release from 2 to 3
2026-04-13 12:55:50 +02:00
Roland Geider
3564ecfea4 Merge pull request #1172 from wger-project/dependabot/pub/package_info_plus-10.0.0
Bump package_info_plus from 9.0.1 to 10.0.0
2026-04-13 12:55:04 +02:00
dependabot[bot]
a761bfe730 Bump package_info_plus from 9.0.1 to 10.0.0
Bumps [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) from 9.0.1 to 10.0.0.
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v10.0.0/packages/package_info_plus)

---
updated-dependencies:
- dependency-name: package_info_plus
  dependency-version: 10.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 00:54:14 +00:00
dependabot[bot]
57dbcd7fe5 Bump softprops/action-gh-release from 2 to 3
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 00:53:30 +00:00
Roland Geider
0d825b4be5 Re-activate the automatic flathub manifest generator 2026-04-10 14:39:11 +02:00
Roland Geider
2b6edbb60e Update AUTHORS.md 2026-04-10 12:17:34 +02:00
Roland Geider
4b02ee54cd Make min server version tests more robust 2026-04-10 11:06:28 +02:00
Roland Geider
bc45d60a1e Bump MIN_SERVER_VERSION 2026-04-10 10:46:13 +02:00
Roland Geider
659b3da422 Updated goldens 2026-04-10 10:40:40 +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
fc214e31b9 Updated goldens 2026-04-10 10:29:45 +02:00
Roland Geider
094259ff0c Fix test 2026-04-10 10:26:13 +02:00
Roland Geider
9971acbe5f Use correct mock file 2026-04-10 10:12:28 +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
e68e45e05b Bump flutter_typeahead 2026-04-09 13:57:10 +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
0e16ef5163 Update gems 2026-04-09 13:03:45 +02:00
Roland Geider
4fcbf5a286 Upgrade dependencies 2026-04-09 13:01:39 +02:00
Roland Geider
4d43cf9a53 Merge pull request #1161 from wger-project/dependabot/pub/shared_preferences-2.5.5
Bump shared_preferences from 2.5.4 to 2.5.5
2026-04-09 13:00:14 +02:00
dependabot[bot]
caf47a7d66 Bump shared_preferences from 2.5.4 to 2.5.5
Bumps [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) from 2.5.4 to 2.5.5.
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.5.5/packages/shared_preferences)

---
updated-dependencies:
- dependency-name: shared_preferences
  dependency-version: 2.5.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-09 10:55:40 +00:00