Commit Graph

4795 Commits

Author SHA1 Message Date
Roland Geider
14ff95a4ff Read the powersync URL from the server's response 2025-10-26 12:40:56 +01:00
Roland Geider
2aa120602b Remove the json serializable decorators, not needed anymore 2025-10-26 00:23:38 +02:00
Roland Geider
d138e0f013 Add new network provider to check connectivity and disable options 2025-10-26 00:04:55 +02:00
Roland Geider
3dc9519445 Move more usages to new exercise provider 2025-10-25 18:10:50 +02:00
dependabot[bot]
1a001a12a8 Bump drift from 2.28.2 to 2.29.0
Bumps [drift](https://github.com/simolus3/drift) from 2.28.2 to 2.29.0.
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](https://github.com/simolus3/drift/compare/drift-2.28.2...drift-2.29.0)

---
updated-dependencies:
- dependency-name: drift
  dependency-version: 2.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-25 15:24:14 +02:00
dependabot[bot]
37fddc32e7 Bump drift_dev from 2.28.3 to 2.29.0
Bumps [drift_dev](https://github.com/simolus3/drift) from 2.28.3 to 2.29.0.
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](https://github.com/simolus3/drift/compare/drift_dev-2.28.3...drift_dev-2.29.0)

---
updated-dependencies:
- dependency-name: drift_dev
  dependency-version: 2.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-25 15:24:04 +02:00
dependabot[bot]
c9dfa48731 Bump font_awesome_flutter from 10.10.0 to 10.11.0
Bumps [font_awesome_flutter](https://github.com/fluttercommunity/font_awesome_flutter) from 10.10.0 to 10.11.0.
- [Release notes](https://github.com/fluttercommunity/font_awesome_flutter/releases)
- [Changelog](https://github.com/fluttercommunity/font_awesome_flutter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fluttercommunity/font_awesome_flutter/compare/10.10.0...10.11.0)

---
updated-dependencies:
- dependency-name: font_awesome_flutter
  dependency-version: 10.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-25 15:23:53 +02:00
Roland Geider
ca007d2335 Move more usages to new exercise provider 2025-10-25 02:08:34 +02:00
Roland Geider
5ab04cb6df Remove filters from old exercise provider 2025-10-25 01:13:51 +02:00
Roland Geider
1128269332 Missing M2N table 2025-10-25 01:11:07 +02:00
Roland Geider
e99fbc32ed Use the new drift provider to load the exercises in their overview 2025-10-25 01:10:51 +02:00
Roland Geider
52a3ceda20 Also load the corresponding equipment 2025-10-25 01:10:07 +02:00
Roland Geider
666359155d Use the powersync drift provider to show exercises 2025-10-24 20:52:02 +02:00
Roland Geider
7969376dce Test how feasible it is to load exercises via powersync as well 2025-10-24 01:21:13 +02:00
Roland Geider
944830eb0f Rename provider file 2025-10-23 22:23:46 +02:00
Roland Geider
d255cdb573 Consolidate body weight repositories and other providers, cleanup 2025-10-23 22:19:31 +02:00
Roland Geider
8b8c4626eb Powersync seems to be working now 2025-10-23 15:32:21 +02:00
Roland Geider
017cccab18 Start adding drift and using riverpod 2025-10-22 20:49:38 +02:00
Roland Geider
76f894ab33 Start actually interacting with powersync 2025-10-21 15:04:53 +02:00
Roland Geider
4d2083f05a Update body weight provider to use riverpod 2025-10-21 12:04:59 +02:00
Roland Geider
0b710fe56e Merge pull request #963 from GhostInTheNN/fix/password-autofill-hint
Fix: Add autofillHints to password field for Android autofill support
2025-10-19 21:18:42 +02:00
GhostInTheNN
e0228d5793 fix: Add autofillHints to password field for Android autofill support
Adds autofillHints property with AutofillHints.password to the password
TextFormField in PasswordField widget. This enables password managers 
like Bitwarden to properly detect and autofill password fields on 
Android devices.

Without this hint, the Android autofill framework cannot identify the
field as a password input, preventing password managers from offering
autofill suggestions.

Changes:
- Added autofillHints: const [AutofillHints.password] to TextFormField
  in lib/widgets/auth/password_field.dart

Tested on Android with Bitwarden password manager.
2025-10-19 13:04:24 -04:00
Roland Geider
08a22e5ab0 Allow selecting start dates for routines in the future 2025-10-17 18:53:31 +02:00
Roland Geider
547a259df8 Rename parameter 2025-10-17 18:28:46 +02:00
Roland Geider
119bd4c115 Merge pull request #955 from GaecKo/feature/end_workout_button
Feature/end_workout_button in "jump to" section
2025-10-17 18:28:26 +02:00
Roland Geider
3a37c3fb1c Move form to its own widget
This is cleaner and will allow us to get better errors in case they happen,
see e.g. #936
2025-10-17 17:28:59 +02:00
Arthur De Neyer
0533e8e927 NavigationHeader: made totalPages parameter facultative 2025-10-17 17:09:29 +02:00
Arthur De Neyer
a93431fae1 tests: adapted to new constructor 2025-10-17 16:51:21 +02:00
Arthur De Neyer
2822ba755e NavigationHeader constructor: optimized and reduced attributes 2025-10-17 16:51:09 +02:00
Roland Geider
c551b176fb Merge pull request #950 from wger-project/feature/day-type
Set day and set types
2025-10-17 00:13:50 +02:00
Roland Geider
b0d1bce9aa Consistently show the day and type name 2025-10-16 23:48:15 +02:00
Roland Geider
bc6a5ebdbf Make common widget for when an image format is not supported 2025-10-16 22:03:40 +02:00
Roland Geider
0a427e50ff Make sure the plate weights don't wrap in the calculator 2025-10-16 21:59:56 +02:00
Roland Geider
b4c77bf238 Move plate calculator visibility logic to the exercise itself 2025-10-16 21:59:56 +02:00
Arthur De Neyer
a2e665269e test; 1st try at solving issue, will need to verify it works in GitHub Actions 2025-10-15 23:59:25 +02:00
Arthur De Neyer
a0c13b60c9 fixed attribute name in session page 2025-10-15 23:50:19 +02:00
Arthur De Neyer
914d810d72 Merge branch 'master' of github.com:GaecKo/flutter into feature/end_workout_button 2025-10-15 23:43:06 +02:00
Roland Geider
34a013ad92 Merge pull request #954 from 3mpee3mpee/feature/avif-cleanup
AVIF: cleanup for non used translations as we are using more generic messages (imageFormatNotSupported and imageFormatNotSupportedDetail)
2025-10-15 15:39:45 +02:00
Arthur De Neyer
bc8b8fea31 dart formating 2025-10-13 23:41:40 +02:00
Arthur De Neyer
354a8c381c feat: add end workout button to 'jump to' section 2025-10-13 23:36:10 +02:00
Max Pylypenko
d7ff88e688 avif: cleanup for non used translations as we are using more generic messages (imageFormatNotSupported and imageFormatNotSupportedDetail) 2025-10-14 00:16:26 +07:00
Roland Geider
df3750755c Merge pull request #952 from 3mpee3mpee/feature/avif
AVIF: updated gallery widget to display message for non supported avif image type
2025-10-12 21:24:45 +02:00
Max Pylypenko
1da04e29d2 avif: updated images to display generic error for non supported image types + translations 2025-10-13 00:14:49 +07:00
Max Pylypenko
51c41c800e avif: updated gallery widget to display message for non supported avif image type 2025-10-12 00:46:37 +07:00
Roland Geider
1f6d22d85a Tweak a bit how and when the types are shown 2025-10-09 23:11:10 +02:00
Roland Geider
079017efac Regenerate contribute_exercise_test.mocks.dart 2025-10-09 18:15:41 +02:00
Roland Geider
39b503e03a Format files as in master 2025-10-09 17:54:24 +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
6146201531 Allow setting the slot entry type as well 2025-10-09 17:28:23 +02:00