Roland Geider
ecd0b6c6b4
Add overview page when a workout has been completed
2025-11-26 20:17:02 +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
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
9a05c6a967
Fix test, there's no error header any more
2025-05-11 18:09:33 +02:00
Roland Geider
0d49030c60
Merge branch 'master' into fork/eyJhb/api-token
...
# Conflicts:
# lib/screens/auth_screen.dart
# test/nutrition/nutritional_plan_screen_test.mocks.dart
# test/nutrition/nutritional_plans_screen_test.mocks.dart
# test/workout/day_form_test.mocks.dart
# test/workout/gym_mode_session_screen_test.mocks.dart
# test/workout/repetition_unit_form_widget_test.mocks.dart
# test/workout/routine_edit_screen_test.mocks.dart
# test/workout/routine_edit_test.mocks.dart
# test/workout/routine_form_test.mocks.dart
# test/workout/routine_logs_screen_test.mocks.dart
# test/workout/slot_entry_form_test.mocks.dart
# test/workout/weight_unit_form_widget_test.mocks.dart
2025-05-11 18:04:09 +02:00
Roland Geider
013721ba71
Refactor WgerHttpException
...
We can now use a widget to show any errors returned by WgerHttpException. This has
to be added on a form-by-form basis, otherwise, the general error handling shows
the results in a modal dialog
2025-05-08 22:06:48 +02:00
Roland Geider
5e22d69bb1
Improve error handling and logging
...
Now we process and catch all errors that might happen in the application, instead
of silently ignoring them. These errors are shown in a better error dialog, that
shows the details to the user and allows to create an issue on GitHub with the
error and traceback data already filled in.
2025-05-07 18:19:15 +02:00
Roland Geider
ad1c286fe7
Commit generated files
2025-04-30 22:56:07 +02:00
Roland Geider
ece38a39d2
Refactor login screen
...
The api token toggle is now only visible when showing a custom server, since at
the moment this is the only time when such an auth method makes sense (plus it
keeps the rest of the UI cleaner). The different fields in the screen have been
moved to individual files, to make the structure clearer.
2025-04-30 22:50:55 +02:00
Roland Geider
61f61a64c5
Merge branch 'master' into feature/improve-min-app-version
...
# Conflicts:
# lib/providers/auth.dart
2025-03-31 09:44:43 +02:00
Roland Geider
47f6aa36d3
Formatting
2025-03-29 14:32:58 +01:00
Yashas H Majmudar
7786416ed3
fix: auth screen test issue
2025-03-28 22:37:00 -04:00
Roland Geider
e4b550ab52
Refactor app version handling and update authentication flow
...
Previously, this was only triggered when logging in to the application. If a user
just opened the app, it would just stop working. We also now always check this min
version and have removed the option from the android manifest file since disabling
this doesn't make much sense and we have many other platforms as well (iOS, flatpak)
2025-03-28 17:22:36 +01:00
Roland Geider
d071d143df
Update flutter to 3.29
...
The translations are not stored in a synthetic package anymore, but the
files are just copied to a specific folder so it can be more easily imported
Also, flutter_barcode_scanner was replaced by simple_barcode_scanner since
the first hasn't been updated in 3 years and was already causing problems
for some time
2025-03-18 17:28:19 +01:00
Roland Geider
079db5d5e0
Recreate generated files
2025-01-24 15:07:51 +01:00
Roland Geider
a770c97573
Add smoke test for the routine edit form
2025-01-21 20:58:57 +01:00
Roland Geider
3a398d0f36
Simplify arguments for routine objects and add a smoke test
2025-01-18 19:37:33 +01:00
Roland Geider
9ff2bba13a
Load the new DayData entries and the regular data objects from structure endpoint
2024-10-30 23:19:10 +01:00
Roland Geider
a79b6d6b4e
Start implementing new flexible routines
2024-10-30 19:17:51 +01:00
Roland Geider
7db93f0b6e
Start implementing new flexible routines
2024-10-30 12:14:26 +01:00
Roland Geider
69c40d76b4
Add registration test
2024-07-10 16:02:05 +02:00
Dieter Plaetinck
11ee38c03d
dart fix --apply
2024-06-20 15:47:55 +03:00
Roland Geider
5d237e1ddf
Consistently use "fiber"
2024-05-23 17:54:50 +02:00
Roland Geider
faf1018f2a
Fixes for flutter typeahead 5.1.0
...
Also, add some models for the API response from the search
2024-01-29 12:07:26 +01:00
Roland Geider
51a0e8798d
Correctly show any errors from the server on the registration page
...
Also, add some tests
2024-01-22 16:55:59 +01:00
amannegi
584fe9f405
Improved Login Interface #264
2022-10-20 23:32:31 +05:30
Roland Geider
5a4e8a3587
Fix min application version tests
2022-10-15 11:15:23 +02:00
Roland Geider
e5bd9e901f
Add workaround for the AndroidMetadata checks
...
The metaDataAsMap method doesn't work during tests and throws a null check
error. A better solution should be implemented when possible.
2021-11-08 10:55:16 +01:00
Roland Geider
498a43f292
Test min application version check in auth provider
2021-11-08 09:42:32 +01:00
Roland Geider
9429899973
Organize tests in own folders
2021-11-08 09:42:32 +01:00