Commit Graph

4795 Commits

Author SHA1 Message Date
Roland Geider
0bfb063552 Disable exercise swap button if set is fully logged 2025-11-15 17:39:14 +01:00
Roland Geider
3273415cbd Fix test and move the files around a bit
The tests should mirror the structure of the regular application
2025-11-15 17:38:22 +01:00
Roland Geider
ec8578d43d Add some tests and fix a small bug in uuid handling 2025-11-15 15:59:24 +01:00
lenka369
cf3dc58b27 Merge branch 'wger-project:master' into master 2025-11-15 02:31:12 +01:00
Roland Geider
f1f37d3e03 Allow swapping exercises in the gym mode 2025-11-15 01:32:59 +01:00
Roland Geider
03cd945bfc Move the workout progression to the main navigation menu 2025-11-14 23:46:00 +01:00
Roland Geider
317ae250f3 Remove the exercise ID, this is not used anymore 2025-11-14 23:45:16 +01:00
Roland Geider
742d8dac88 Properly render the current progression of the workout 2025-11-14 21:39:53 +01:00
Roland Geider
66b18b6b3c Further refactoring the gym mode 2025-11-14 14:41:25 +01:00
Roland Geider
e62e5d630a Show current workout in gym mode 2025-11-13 17:25:04 +01:00
Roland Geider
9ea6674849 Add test for calculatePages 2025-11-11 23:56:19 +01:00
Roland Geider
5d37b55736 Localize gym mode setting options 2025-11-11 23:55:56 +01:00
Roland Geider
2e5384728d Allow clearing the times for workout sessions 2025-11-11 23:55:37 +01:00
Roland Geider
06cfa3a649 Move more logic to the gym mode provider
This makes the widgets in the gym mode smaller and we can remove
a lot of prop drilling that was necessary
2025-11-11 22:15:14 +01:00
Roland Geider
694615596f Allow the user to control the gym mode 2025-11-11 15:47:01 +01:00
Roland Geider
202d8eafb1 Recreate generate files and use correct methods 2025-11-11 14:36:11 +01:00
Roland Geider
4d77cff2ef Merge branch 'master' into fork/Oknarb258/master
# Conflicts:
#	test/exercises/contribute_exercise_test.mocks.dart
2025-11-11 14:27:36 +01:00
Roland Geider
ae6db6ee07 Move to riverpod three
Needed to downgrade build_runner and mockito for now
2025-11-11 13:22:18 +01:00
Roland Geider
92ce8a51ed Update AUTHORS.md 2025-11-10 23:10:56 +01:00
Github-Actions
b10f0542a4 Bump version to 1.9.1 1.9.1 2025-11-10 20:31:49 +00:00
Roland Geider
49782386c4 Bump flutter version 2025-11-10 21:21:27 +01:00
Roland Geider
61aefc146f Comment out action as it seems it's not working anymore 2025-11-10 21:16:07 +01:00
Roland Geider
ccfa6ebfb5 Add missing title 2025-11-10 21:04:36 +01:00
Roland Geider
25976fac9f Bump versions in Gemfile.lock 2025-11-10 20:57:20 +01:00
Roland Geider
f6a073766a Improve and consolidate the image error handler 2025-11-10 20:23:52 +01:00
Roland Geider
94b7431b14 Add riverpod lint 2025-11-10 17:32:55 +01:00
Roland Geider
2afad29832 Don't make the body weight repository a family, this is not needed
Also, fix nutritional_plan_screen_test.dart, this was failing on github's CI
2025-11-10 17:02:19 +01:00
Roland Geider
6f1a6a9ddf Override network status provider
This seems to make problems on github's CI
2025-11-10 16:25:34 +01:00
Roland Geider
406fb3c795 Move some methods to the RoutineState 2025-11-10 16:11:57 +01:00
Roland Geider
7d932808cc Add tests for provider and repository interface 2025-11-10 15:59:38 +01:00
Roland Geider
e1359d0c51 Add a new riverpod provider for the routines
This is not a wrapper around the old one, which was making problems.
Delete unneeded generated files as well.
2025-11-10 15:37:59 +01:00
dependabot[bot]
aebe3f8244 Bump flex_seed_scheme from 3.5.1 to 3.6.1 (#984)
Bumps [flex_seed_scheme](https://github.com/rydmike/flex_seed_scheme) from 3.5.1 to 3.6.1.
- [Release notes](https://github.com/rydmike/flex_seed_scheme/releases)
- [Changelog](https://github.com/rydmike/flex_seed_scheme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rydmike/flex_seed_scheme/compare/3.5.1...3.6.1)

---
updated-dependencies:
- dependency-name: flex_seed_scheme
  dependency-version: 3.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 15:11:35 +01:00
dependabot[bot]
b01f66588e Merge pull request #985 from wger-project/dependabot/pub/flutter_svg-2.2.2
Bump flutter_svg from 2.2.1 to 2.2.2
2025-11-10 15:11:24 +01:00
Roland Geider
49873d20bd Cleanup some of the models 2025-11-08 23:07:40 +01:00
Roland Geider
4a2047ec8b Edit sessions with the new sessions provider 2025-11-08 17:15:17 +01:00
Roland Geider
aafd464fbe Fix tests 2025-11-07 15:45:13 +01:00
Roland Geider
2132249682 Wrap the routines provider
This makes it easier to load the data from the powersync database
2025-11-07 15:10:04 +01:00
Roland Geider
3905a91bf3 Notes is nullable on the db
It's probably a good idea to change this and simply handle empty strings
2025-11-07 14:16:13 +01:00
Roland Geider
e985909716 Merge pull request #977 from wger-project/dependabot/pub/get_it-8.3.0
Bump get_it from 8.2.0 to 8.3.0
2025-11-07 13:43:13 +01:00
Branislav Nohaj
c3a150cfed Update contribute_exercise_test.mocks.dart 2025-11-06 19:04:52 +01:00
Branislav Nohaj
297460e42d dart format contribute_exercise_test.dart 2025-11-05 20:17:13 +01:00
Roland Geider
e975eee9f2 Refactor the django powersync connector 2025-11-05 16:51:43 +01:00
Roland Geider
dd3f993d11 Remove old exercises provider 🥲 2025-11-04 22:26:30 +01:00
Roland Geider
e85d4a61d4 Fix test 2025-11-04 17:12:12 +01:00
Roland Geider
72deeda4f7 Update session and log models 2025-11-04 16:15:37 +01:00
Roland Geider
1e9e5ab24c Fix some more tests 2025-11-04 16:15:06 +01:00
Branislav Nohaj
0bf4de6cc8 Update contribute_exercise_test.dart
reworked tests with new testcases
2025-11-04 16:12:03 +01:00
Roland Geider
5912cea664 Fix some tests 2025-11-04 15:23:55 +01:00
Roland Geider
743b28b1a1 Use directly the the weight unit providers 2025-11-04 14:33:20 +01:00
Roland Geider
a368fe2f79 Pass the exercises and workout units as parameters
If the routine provider is rewritten to be a riverpod provider as well,
we will be able to simply read the necessary providers ourselves as needed.
2025-11-04 14:25:25 +01:00