Commit Graph

92 Commits

Author SHA1 Message Date
sangharshdeveloper
ced268660b #687 enhancement theme-customization 2025-01-12 20:48:31 +05:30
Dieter Plaetinck
11ee38c03d dart fix --apply 2024-06-20 15:47:55 +03:00
Dieter Plaetinck
420f9ae16d dcm fix --only-rules=avoid-inferrable-type-arguments lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
cf351c3690 dcm fix --only-rules=prefer-declaring-const-constructor lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
8db1a7c960 dcm fix --only-rules=unnecessary-trailing-comma lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
7f74bff32c dcm fix --only-rules=prefer-trailing-comma lib 2024-06-07 14:59:00 +03:00
Dieter Plaetinck
3922549be8 log meals page + new 'log {meal,ingredient} to diary' dashboard buttons 2024-06-05 16:48:24 +02:00
Dieter Plaetinck
68799b0112 log meal: separate confirmation page with portion choice 2024-05-27 23:53:22 +02:00
Dieter Plaetinck
cb17e48f8e tiny nutrition fixes 2024-04-10 19:03:22 +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
d51b6d7d87 Merge branch 'master' into feat/data-persistence
# Conflicts:
#	lib/main.dart
#	lib/providers/exercises.dart
#	lib/widgets/workouts/day.dart
#	pubspec.lock
#	pubspec.yaml
2024-01-09 15:37:48 +01:00
Roland Geider
dd29126acb Uncomment setLogEnabled
This was making problems when running the application as a flatpak under linux

See #424
2024-01-07 17:28:25 +01:00
Roland Geider
c5cbb4f851 Rework exercise database
This is now separated into individual tables and methods so that they can be
tested separately
2023-12-26 17:03:20 +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
Abhishek Saini
82a49f6cac Merge branch 'master' into feat/data-persistence 2023-11-18 23:23:30 +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
Roland Geider
969c643e5c Update theme
This is now created with flex_color_scheme, which makes tweaking this
much much easier
2023-11-10 19:07:14 +01:00
Miroslav Mazel
420b06a661 Organize imports / remove unnecessary ones 2023-11-05 23:22:34 +01:00
Roland Geider
43d61ecfbf Merge branch 'master' into feature/material-3
# Conflicts:
#	pubspec.yaml
2023-08-10 07:17:27 +02:00
Github-actions
f58f61e4bc Automatic linting 2023-06-26 14:53:02 +00:00
Roland Geider
c0bc830bb9 Merge branch 'master' into google_play_dependency 2023-06-20 11:06:16 +02:00
artchiee
5ec43b65ef bar code scanner is replaced 2023-06-19 18:33:29 +01:00
Roland Geider
fcead12888 Remove manual workaround for missing locales 2023-06-05 17:26:03 +02:00
Roland Geider
8478ec4841 Add high contrast themes as well 2023-04-23 12:55:27 +02:00
Roland Geider
8de51abb9a Remove more hard coded colors and use the theme data 2023-04-22 14:30:31 +02:00
Roland Geider
80ec0e80fb Start moving to material 3
Also dark mode at last
2023-04-22 13:38:13 +02:00
Roland Geider
fa8dd7e46f Fix merge errors 2023-03-20 14:19:29 +01:00
Roland Geider
b9d6641c87 Pass BaseProvider as an argument to workout provider 2023-02-11 13:45:42 +01:00
Roland Geider
aae6632963 Only check that the language code matches
Otherwise, both the language code and the country code would need to match
2023-02-09 17:35:45 +01:00
Roland Geider
92ee141e4a Workaround for when the device has no supported languages installed
Previously, this would take the first entry in the supported locales list,
which in our case is Amhraic and is a pretty weird way to chose a locale anyway.
We now default to English.

Closes #127
2023-02-07 22:03:09 +01: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
amannegi
0fe738fac5 Change AboutDialog to separate page #265 2022-10-26 11:08:09 +05:30
Roland Geider
ab50bf6a91 Fix min application version check 2022-10-15 10:59:55 +02:00
Roland Geider
b34882ccea Rename file for the AddExercise provider for more consistency 2022-10-10 16:08:06 +02:00
Roland Geider
7b0f02e88f Add user profile page
Closes #71
2022-05-12 15:28:26 +02:00
Roland Geider
19a504dcfb Actually create exercise bases and translations 2022-02-20 14:40:42 +01:00
Roland Geider
5d7df00cb2 Fix typo 2022-01-30 14:56:22 +01:00
Roland Geider
405d97e52f Remove debug output 2022-01-20 11:19:00 +01:00
Roland Geider
98f925be9c Merge pull request #124 from agwanyaseen/feature/exercise-crowdsourcing
feat: completed image section in Add Excercise Screen
2022-01-18 16:56:17 +01:00
yaseenagwan
09843ba31a feat: completed image section in Add Excercise Screen 2022-01-16 15:14:15 +05:30
Roland Geider
2119c26ad3 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	.github/workflows/ci.yml
#	lib/models/exercises/comment.g.dart
#	lib/models/exercises/exercise.g.dart
#	lib/models/exercises/image.g.dart
#	lib/models/measurements/measurement_entry.g.dart
#	lib/models/nutrition/ingredient_weight_unit.g.dart
#	lib/models/nutrition/log.g.dart
#	lib/models/workouts/day.g.dart
#	lib/models/workouts/session.g.dart
#	lib/models/workouts/workout_plan.g.dart
#	lib/providers/exercises.dart
#	pubspec.lock
#	pubspec.yaml
#	test/utils.dart
#	test/workout/gym_mode_screen_test.dart
2022-01-15 12:58:02 +01:00
Roland Geider
68c3ad3ce7 Add detail view for exercises 2021-11-27 00:13:39 +01:00
Roland Geider
498a43f292 Test min application version check in auth provider 2021-11-08 09:42:32 +01:00
Roland Geider
04f4981812 Merge conflicts 2021-10-16 12:41:33 +02:00
Roland Geider
2d8d864f27 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	lib/main.dart
#	lib/models/exercises/exercise.dart
#	lib/providers/exercises.dart
#	lib/providers/nutrition.dart
#	lib/widgets/exercises/exercises.dart
#	lib/widgets/workouts/forms.dart
#	lib/widgets/workouts/gym_mode.dart
#	pubspec.lock
#	test/base_provider_test.mocks.dart
#	test/gallery_screen_test.mocks.dart
#	test/gym_mode_screen_test.dart
#	test/measurements/measurement_categories_screen_test.mocks.dart
#	test/measurements/measurement_provider_test.mocks.dart
#	test/nutritional_plan_form_test.mocks.dart
#	test/workout_form_test.mocks.dart
#	test/workout_set_form_test.dart
#	test/workout_set_form_test.mocks.dart
2021-10-16 12:40:01 +02:00
Sandi Milohanić
ee3df1bada #29 - Add minimum required server version 2021-10-12 18:43:45 +02:00
Github-actions
1a84fec097 Automatic linting 2021-10-02 10:58:18 +00:00
Marvin M
45a2a5f857 Fixes pt 1 2021-10-01 17:18:17 +02:00