Roland Geider
54b40696da
Postmerge fixes
2025-10-19 15:23:17 +02:00
Roland Geider
85ba00b654
Merge branch 'master' into feature/day-type
...
# Conflicts:
# lib/models/workouts/day.g.dart
# lib/models/workouts/day_data.g.dart
# lib/models/workouts/set_config_data.g.dart
# lib/models/workouts/slot_data.g.dart
# lib/models/workouts/slot_entry.g.dart
# lib/models/workouts/weight_unit.g.dart
# test/auth/auth_screen_test.mocks.dart
# test/core/settings_test.mocks.dart
# test/exercises/contribute_exercise_test.mocks.dart
# test/gallery/gallery_form_test.mocks.dart
# test/gallery/gallery_screen_test.mocks.dart
# test/measurements/measurement_categories_screen_test.mocks.dart
# test/measurements/measurement_provider_test.mocks.dart
# test/nutrition/nutritional_meal_form_test.mocks.dart
# test/nutrition/nutritional_plan_form_test.mocks.dart
# test/nutrition/nutritional_plan_screen_test.mocks.dart
# test/nutrition/nutritional_plans_screen_test.mocks.dart
# test/other/base_provider_test.mocks.dart
# test/routine/day_form_test.mocks.dart
# test/routine/gym_mode_screen_test.mocks.dart
# test/routine/gym_mode_session_screen_test.mocks.dart
# test/routine/repetition_unit_form_widget_test.mocks.dart
# test/routine/routine_edit_screen_test.mocks.dart
# test/routine/routine_edit_test.mocks.dart
# test/routine/routine_form_test.mocks.dart
# test/routine/routine_logs_screen_test.mocks.dart
# test/routine/routine_screen_test.mocks.dart
# test/routine/routines_provider_test.mocks.dart
# test/routine/routines_screen_test.mocks.dart
# test/routine/slot_entry_form_test.mocks.dart
# test/routine/weight_unit_form_widget_test.mocks.dart
# test/user/provider_test.mocks.dart
# test/weight/weight_provider_test.mocks.dart
# test/weight/weight_screen_test.mocks.dart
2025-10-09 17:39:39 +02:00
Roland Geider
93a11a16e4
Recreate generated files and reformat the repo
...
Seems the default dart formatting rules changed recently, and this was causing
huge diffs in branches
2025-10-09 17:39:02 +02:00
Roland Geider
39be6a3edf
Allow setting the day type in the edit form
2025-10-06 11:36:27 +02:00
Roland Geider
798406eaa9
Make routineId nullable in session and related files
...
Sessions can be added ad-hoc, without needing to be part of any specific
routine.
2025-09-16 14:47:47 +02:00
Roland Geider
70fba34f0c
Better handling of time zones
...
We now send the current time zone to the server when serializing datetime objects.
This was causing entries to be saved some hours wrong or depending on the time, on
a different day.
2025-05-26 11:13:53 +02:00
Roland Geider
9ebaf58fea
Refactor routine handling for the dashboard widgets
...
This makes sure that edits to the routine (such as changing the order
of the days, etc.) are properly reflected in the dashboard.
2025-05-03 15:39:46 +02:00
Roland Geider
dad109d5bd
Inject the shared preferences class for easier testing
2025-01-24 13:59:08 +01:00
Roland Geider
86f8b7ae35
Add a third option to the theme mode
...
This allows the user to use the system settings as well, and not always force
light or dark mode in the app. Also move the logic to the UserProvider and
do some light refactoring.
2025-01-23 23:22:50 +01:00
Dieter Plaetinck
a589d87fad
dcm fix --only-rules=avoid-redundant-async
2024-09-18 15:52:55 +03:00
Roland Geider
5d237e1ddf
Consistently use "fiber"
2024-05-23 17:54:50 +02:00
Roland Geider
e67d992385
Add (for now) simple settings page to reset the exercise cache
...
This should be expanded later to allow to re-fetch all available exercises, etc.
2024-01-11 22:13:11 +01:00
Roland Geider
65ba2275ae
Run "dart format --line-length=100 ." to make the diff smaller
2023-12-23 16:40:05 +01:00
Abhishek Saini
c69c639fac
fix(drift): built a model for exercise and fixes in fromSql type converter
2023-12-23 14:28:38 +05:30
Roland Geider
c514842b59
Lint the code with a line length of 100
...
This makes it easier to understand the diffs
2023-11-16 21:36:21 +01:00
Abhishek Saini
582bc611a4
feat(drift-database): Shifted from shared prefs to drift for Exercises
2023-11-16 22:34:40 +05:30
Github-actions
ca27faf9e2
Automatic linting
2023-11-09 19:26:45 +00:00
Roland Geider
09f60fe432
Fix tests and recreate generated files
2023-11-09 19:07:38 +01:00
Github-actions
8c809ad8cb
Automatic linting
2023-08-08 09:14:27 +00:00
Roland Geider
aecbcfe663
Update models to work with new keys
...
creation_date was renamed to created and
update_date to last_updated
2023-08-08 11:12:55 +02:00
Github-actions
3003409c57
Automatic linting
2023-06-08 14:15:55 +00:00
Roland Geider
481ff898fa
The field creation date in ingredients is now a datetime
2023-06-08 16:14:25 +02:00
Roland Geider
d79645a6f5
The ingredient ID is an integer, not a string
2023-04-09 11:40:40 +02:00
Github-actions
90501ad35c
Automatic linting
2023-02-06 19:35:13 +00:00
Roland Geider
4f4f6f553a
Add paginated fetches
...
This allows the app to fetch all available items from an enpoint, without
having to hope that the ?limit=999 is enough
Closes #133
2023-02-06 20:33:39 +01:00
Github-actions
1370a7a666
Automatic linting
2023-02-05 21:39:05 +00:00
Roland Geider
f68afd91fd
Rename exercise object to translation
...
This is what they are now anyway and makes it more clear
2023-02-05 21:24:28 +01:00
Github-actions
ceae6985fc
Automatic linting
2022-11-29 16:27:47 +00:00
Roland Geider
a004192ed3
Correctly pass the base ID to render log charts
...
See https://github.com/wger-project/wger/issues/1180
2022-11-29 17:25:45 +01:00
Github-actions
280b5c0c43
Automatic linting
2022-11-24 10:25:48 +00:00
Roland Geider
18b6903513
Create more and more realistic screenshots for the app store
...
Now these test use the regular test data, which has been updated and is used in
the rest of the tests as well.
2022-11-24 11:24:09 +01:00
Github-actions
3c9b083eee
Automatic linting
2022-10-11 07:39:56 +00:00
Roland Geider
fc524531fb
Recreate generated files
2022-10-10 15:53:04 +02:00
Github-actions
134cd73e62
Automatic linting
2022-10-04 15:12:12 +00:00
Vinod
5c767f311e
added code: string? in ingredient.dart
2022-10-02 11:40:53 +05:30
Roland Geider
d5ae4b4ef3
Add tests for sub URL handling
2022-07-18 15:09:05 +02:00
Github-actions
0c3ee3badf
Automatic linting
2022-05-20 17:10:27 +00:00
Roland Geider
5d28847c69
Add video model and recreate generated files
2022-01-29 11:48:02 +01:00
Github-actions
379d9ca067
Automatic linting
2022-01-16 18:36:05 +00:00
Roland Geider
0d5df9d786
Recreate generated files
2022-01-15 13:27:01 +01:00
Github-actions
ab885b1145
Automatic linting
2021-11-10 14:19:52 +00:00
Roland Geider
d8b7d45291
Upgrade dependencies and recreate generated files
2021-11-10 15:16:25 +01:00
Roland Geider
9429899973
Organize tests in own folders
2021-11-08 09:42:32 +01:00