Commit Graph

3694 Commits

Author SHA1 Message Date
Roland Geider
ecd0b6c6b4 Add overview page when a workout has been completed 2025-11-26 20:17:02 +01:00
Roland Geider
f2fae3d888 Handle case where the reps and weight forms are empty 2025-11-26 12:35:36 +01:00
Roland Geider
9fa4597f8c Remove unused variables 2025-11-26 12:35:12 +01:00
Roland Geider
2e0915c082 Bump android build versions 2025-11-25 21:10:33 +01:00
Roland Geider
cdb32cee36 Bump dependency versions 2025-11-25 20:38:10 +01:00
Roland Geider
7fc7bc55d0 Merge branch 'master' into feature/gym-mode
# Conflicts:
#	pubspec.lock
#	pubspec.yaml
2025-11-25 20:30:28 +01:00
Roland Geider
93aa691260 Bump flutter version 2025-11-25 20:23:41 +01:00
Roland Geider
b8358f3bf2 Bump flutter version 2025-11-25 20:23:06 +01:00
dependabot[bot]
6d3074948c Bump build_runner from 2.10.3 to 2.10.4
Bumps [build_runner](https://github.com/dart-lang/build) from 2.10.3 to 2.10.4.
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](https://github.com/dart-lang/build/compare/build_runner-v2.10.3...build_runner-v2.10.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-25 14:23:51 +01:00
dependabot[bot]
943f0d71ce Bump flutter_svg from 2.2.2 to 2.2.3
Bumps [flutter_svg](https://github.com/flutter/packages/tree/main/third_party/packages) from 2.2.2 to 2.2.3.
- [Commits](https://github.com/flutter/packages/commits/flutter_svg-v2.2.3/third_party/packages)

---
updated-dependencies:
- dependency-name: flutter_svg
  dependency-version: 2.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-25 14:23:25 +01:00
dependabot[bot]
002a75be78 Bump mockito from 5.5.1 to 5.6.1
Bumps [mockito](https://github.com/dart-lang/mockito) from 5.5.1 to 5.6.1.
- [Release notes](https://github.com/dart-lang/mockito/releases)
- [Changelog](https://github.com/dart-lang/mockito/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dart-lang/mockito/compare/v5.5.1...v5.6.1)

---
updated-dependencies:
- dependency-name: mockito
  dependency-version: 5.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-25 14:23:10 +01:00
Roland Geider
f64b8d51df Merge pull request #995 from wger-project/dependabot/github_actions/actions/checkout-6
Bump actions/checkout from 5 to 6
2025-11-21 15:09:41 +01:00
dependabot[bot]
b75ca37d05 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 00:18:32 +00:00
Roland Geider
5f61af3b66 Update generated files 2025-11-20 23:01:20 +01:00
Roland Geider
fcc0b683d4 Properly update the rir value when copying from old logs 2025-11-19 20:03:43 +01:00
Roland Geider
ca0f920cb6 Update pubspec.lock 2025-11-19 19:21:15 +01:00
Roland Geider
9f66815e10 Merge branch 'master' into feature/gym-mode
# Conflicts:
#	lib/widgets/routines/gym_mode/navigation.dart
#	pubspec.lock
#	test/exercises/contribute_exercise_image_test.mocks.dart
#	test/exercises/contribute_exercise_test.mocks.dart
#	test/nutrition/nutritional_meal_form_test.mocks.dart
#	test/nutrition/nutritional_plan_form_test.mocks.dart
2025-11-19 19:18:45 +01:00
Roland Geider
e82efb2019 Merge pull request #978 from lenka369/master
Save ingredient to cache on selection
2025-11-19 16:38:35 +01:00
lenka369
27c80ed550 prevent duplicate ingredients in cache 2025-11-18 23:34:12 +01:00
lenka369
883332c5bd Merge branch 'wger-project:master' into master 2025-11-18 23:10:19 +01:00
Roland Geider
456e6cc6e0 Update pubspec.lock 2025-11-18 20:56:37 +01:00
Roland Geider
a37455efb5 Merge pull request #992 from wger-project/chore/update-flutter
Bump flutter to 3.38
2025-11-18 19:31:05 +01:00
lenka369
dcdfcba631 Merge branch 'wger-project:master' into master 2025-11-18 18:50:23 +01:00
Roland Geider
fecfcf2b20 Bump flutter to 3.38 2025-11-18 17:55:21 +01:00
Roland Geider
ce983c2db1 Merge pull request #991 from wger-project/fix/timezone-handling
Properly handle timezones (again)
2025-11-18 17:42:02 +01:00
Roland Geider
fc881c4929 Properly handle timezones
This should (hopefully 🤞) take care of problems saving entries with timezone
information.
2025-11-18 16:30:52 +01:00
Roland Geider
758916057e Merge pull request #981 from Oknarb258/master
New test cases for contribute_exercise_test.dart
2025-11-18 15:45:48 +01:00
Branislav Nohaj
c6ab5cfa20 Add exercise contribution tests with proper mocks 2025-11-18 13:55:38 +01:00
Branislav Nohaj
45ab81a56d Merge branch 'wger-project:master' into master 2025-11-18 13:26:01 +01:00
Branislav Nohaj
be4128e975 Update contribute_exercise_test.mocks.dart 2025-11-18 13:00:18 +01:00
Branislav Nohaj
d795fb0dce Update contribute_exercise_test.mocks.dart
newly generated file
2025-11-18 12:53:25 +01:00
Branislav Nohaj
5854810e1e Updated contribute_exercise_test.dart
few new changes for user verification
2025-11-18 12:52:52 +01:00
Kyle Hekkers
e0b0aba979 iOS 16 Library Crash Fix (#987)
* Update Podfile

* Create manual-build-apple.yml

* Update build-apple.yml

* Revert "Update build-apple.yml"

This reverts commit 3820e784ee.

* Revert "Create manual-build-apple.yml"

This reverts commit 17af3347d1.
2025-11-17 19:51:18 +01:00
Roland Geider
3119429a02 Cleanup, tests, etc 2025-11-17 14:36:47 +01:00
Roland Geider
02a0f89807 update goldens 2025-11-16 18:34:13 +00:00
Roland Geider
8818bf3a5f Simplify test and add tag 2025-11-16 18:48:02 +01:00
Roland Geider
8aa0dea540 Fix tests 2025-11-16 17:17:14 +01:00
Roland Geider
067fa7455f Revert to showDialog
The modal sheet was causing problems when using the autocompleter,
there were overflows and even if we fixed that, there wasn't enough space
to comfortably use it
2025-11-16 15:57:07 +01:00
Roland Geider
bd727c949b When adding exercises only one is added 2025-11-16 15:50:23 +01:00
Roland Geider
9bb417bd3f Don't recalculate the pages if it's not needed
This keeps the progression saved as well as any changed exercises
2025-11-16 15:48:15 +01:00
Roland Geider
925175b0e5 Handle case where no page can be found
Note that this shouldn't actually happen, we should find a proper solution
2025-11-16 15:19:51 +01:00
Roland Geider
689591195f Polish workout progression dialog
Exercise names are not repeated anymore (again) and we use a bottom sheet now
instead of a modal dialog
2025-11-16 15:16:09 +01:00
Roland Geider
e7c233e613 Add test for recalculateIndices 2025-11-16 14:38:36 +01:00
lenka369
aaa91a4591 Update mock files 2025-11-16 08:53:18 +01:00
Roland Geider
d094c407c9 Remove dependency of SlotData
Now, the LogPage gets all it's info from the state.
2025-11-16 00:34:46 +01:00
Roland Geider
c26e3828f8 Allow adding additional exercises to the workout
While these are not real ad-hoc workouts, at least it's a first step
2025-11-15 23:44:42 +01:00
Roland Geider
a072692ddd Add smoke and golden test for gym progression tab 2025-11-15 18:40:43 +01:00
Roland Geider
a4909bd99c Rename some tests 2025-11-15 18:20:22 +01:00
Roland Geider
033213abbb Allow opening the workout progress dialog from the progress indicator
This is easier to open with the thumbs and also makes logical sense. When
opening the workout menu from here, the default tab is the progress one, not
the overview.
2025-11-15 18:10:14 +01:00
Roland Geider
0bfb063552 Disable exercise swap button if set is fully logged 2025-11-15 17:39:14 +01:00