Commit Graph

4795 Commits

Author SHA1 Message Date
dependabot[bot]
b2ab00e62f Bump flutter_svg from 2.2.4 to 2.3.0
Bumps [flutter_svg](https://github.com/flutter/packages/tree/main/third_party/packages) from 2.2.4 to 2.3.0.
- [Commits](https://github.com/flutter/packages/commits/flutter_svg-v2.3.0/third_party/packages)

---
updated-dependencies:
- dependency-name: flutter_svg
  dependency-version: 2.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-11 00:57:28 +00:00
Roland Geider
a3481b9d99 Add codeQL scanning workflow 2026-05-08 15:19:03 +02:00
Roland Geider
6831ee73dd Set explicit permissions for all workflows 2026-05-08 15:13:43 +02:00
Roland Geider
98737fde74 Extract helper functions as own widgets 2026-05-08 12:51:07 +02:00
Roland Geider
f4c8db73ee Properly use mutable objects 2026-05-08 12:34:19 +02:00
Roland Geider
db75c17c32 Slightly increase the maximum workout duration 2026-05-08 11:11:23 +02:00
Roland Geider
11699f8ee0 Slightly increase the maximum workout duration 2026-05-08 11:10:29 +02:00
Roland Geider
130232ead8 Remove null assertions where not needed 2026-05-08 10:58:40 +02:00
Roland Geider
83569fc41e Merge remote-tracking branch 'origin/master' into feature/offline-mode 2026-05-07 22:05:41 +02:00
Roland Geider
39eaf9abe0 Make the linter happy 2026-05-07 21:42:23 +02:00
Roland Geider
bfc1ee92a2 Put control body in new line 2026-05-07 21:30:36 +02:00
Roland Geider
3771740099 Rename files 2026-05-07 21:23:39 +02:00
Roland Geider
0e7b7cb5a0 Suppress print warnings 2026-05-07 19:57:35 +02:00
Roland Geider
ca18f34d4c Update calls from deprecated APIs 2026-05-07 17:47:40 +02:00
Roland Geider
e9d219fd1a Run the dart analyzer for PRs and commits 2026-05-07 17:40:32 +02:00
Roland Geider
8e05d3ab10 Fix linting problems 2026-05-07 17:38:23 +02:00
Roland Geider
64b8472969 Remove duplicated riverpod-lint setting 2026-05-07 17:01:40 +02:00
Roland Geider
04b9351395 Remove deprecated options 2026-05-07 16:44:38 +02:00
Roland Geider
3fd27a9413 Exclude generated files from the analysis 2026-05-07 16:44:23 +02:00
Roland Geider
1f69683af0 Generated splash screen assets with flutter_native_splash 2026-05-07 16:36:24 +02:00
Roland Geider
7b9525c78c Bump required cmake version 2026-05-07 15:57:18 +02:00
Roland Geider
52c218daaa Bump flutter version 2026-05-07 15:45:39 +02:00
Roland Geider
553489c0bc Cleanup generated Linux code 2026-05-07 14:26:02 +02:00
Roland Geider
395eb58cbd Merge remote-tracking branch 'origin/master' into feature/offline-mode 2026-05-07 14:16:58 +02:00
Roland Geider
89797c4470 Merge pull request #1189 from umaidshahid/feature/930-validate-language-on-step-continue
Implement server-side language validation on exercise description steps
2026-05-07 13:23:03 +02:00
Roland Geider
34b8989e5c Add some more tests, some cleanup 2026-05-07 13:08:48 +02:00
Roland Geider
c93f03fa0b Replace pumpAndSettle with pump where possible 2026-05-07 12:27:33 +02:00
Roland Geider
1119d8bc4a Merge pull request #1186 from aria-tec/master
feat(android): implement Android 13 per-app language support (#550)
2026-05-07 11:31:32 +02:00
Roland Geider
e22f7ebbe3 Fix locale resolution logic
The previous logic didn't consult the app's supportedLocales. For the Android 13 per-app
picker this was fine (the user picked a locale that's also in `locales_config.xml`), but
for users whose primary locale wasn't in the supportedLocales list but whose secondary
one *was*, the app would fall through to English instead of honoring the secondary
2026-05-07 11:23:48 +02:00
dependabot[bot]
f6d03f62ed Bump image_picker from 1.2.1 to 1.2.2
Bumps [image_picker](https://github.com/flutter/packages/tree/main/packages/image_picker) from 1.2.1 to 1.2.2.
- [Commits](https://github.com/flutter/packages/commits/image_picker-v1.2.2/packages/image_picker)

---
updated-dependencies:
- dependency-name: image_picker
  dependency-version: 1.2.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-04 20:42:46 +02:00
dependabot[bot]
b8f502283f Bump build_runner from 2.14.1 to 2.15.0
Bumps [build_runner](https://github.com/dart-lang/build) from 2.14.1 to 2.15.0.
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](https://github.com/dart-lang/build/compare/build_runner-v2.14.1...build_runner-v2.15.0)

---
updated-dependencies:
- dependency-name: build_runner
  dependency-version: 2.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-04 20:42:28 +02:00
Roland Geider
2c8164fbed Update Podfile.lock 2026-05-04 09:29:41 +02:00
Umaid Shahid
f62c6b2c89 Implement server-side language validation on exercise description steps
Closes #930. The validateLanguage stub in AddExerciseProvider was making
the API call but ignoring the response and always returning false. This
wires it up properly: the method now returns null on success or the
server's error message on a language mismatch (caught from the 400
WgerHttpException). The stepper's onStepContinue is now async-aware for
steps 2 (Description) and 3 (Translation) — it calls validateLanguage
after form validation passes, blocks navigation, and displays the error
inline if the check fails. Mocks regenerated to reflect the return type
change from Future<bool> to Future<String?>.
2026-05-04 00:58:29 +02:00
Roland Geider
c39c418d37 Merge master 2026-05-03 19:15:21 +02:00
Roland Geider
8830c6fbb2 Merge pull request #1188 from wger-project/sanity-clean
Add sanity check for server configuration
2026-05-03 18:32:23 +02:00
Roland Geider
390dadcdf0 Cleanup 2026-05-03 18:21:54 +02:00
AlexisBirling3
7fb64b2925 shortens the displayed error message and adds link to doc 2026-05-03 18:12:33 +02:00
AlexisBirling3
1cde7f3c81 adds tests for the sanity check helper 2026-05-03 18:12:33 +02:00
AlexisBirling3
67f1569148 adds i18n for the new widget 2026-05-03 18:12:33 +02:00
AlexisBirling3
7d2b842f1a adds a helper class to check sanity and implements widget to display sanity after auth 2026-05-03 18:12:33 +02:00
dependabot[bot]
8a32962320 Bump build_runner from 2.14.0 to 2.14.1
Bumps [build_runner](https://github.com/dart-lang/build) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](https://github.com/dart-lang/build/compare/build_runner-v2.14.0...build_runner-v2.14.1)

---
updated-dependencies:
- dependency-name: build_runner
  dependency-version: 2.14.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-03 17:57:17 +02:00
Roland Geider
164d553fde Improve the exercise search autocompleter
Closes #1182
Co-authored-by: Pankaj Basnet <165250380+pankaj-basnet@users.noreply.github.com>
2026-05-03 17:54:07 +02:00
Roland Geider
2ce3cc223c Cleanup 2026-05-03 12:37:16 +02:00
Roland Geider
0fb660dcd2 Move access to nutritional plans to the nutrition state 2026-05-03 12:37:06 +02:00
Roland Geider
1249036cce Properly update routine data
Since this happens in the backend only, we need to refetch everything, when
the user edits one of the routine's models
2026-05-03 12:17:23 +02:00
Roland Geider
1ec921faf3 Consistent usage of uuid IDs
Now these fields are always nullable on the model and get a value once they
are persisted to the (local) database.
2026-05-03 12:17:23 +02:00
Roland Geider
c1dccbd822 Make the "impression" in workout session an enum
This is cleaner and simplifies a handful of places
2026-05-03 12:17:23 +02:00
Roland Geider
050258b2d8 Merge pull request #1187 from pankaj-basnet/fix/offline-mode--providers-drift-ui
fix(routine): resolve in-place state mutation in GymStateNotifier and enable Routine immutability
2026-05-03 12:17:09 +02:00
pankaj-basnet
11a83932d3 fix(gym): resolve in-place routine mutation in replaceExercises 2026-05-03 02:30:38 +05:45
pankaj-basnet
f578938655 refactor(models): add copyWith to Routine and make replaceExercise immutable 2026-05-03 02:29:39 +05:45