Commit Graph

131 Commits

Author SHA1 Message Date
Roland Geider
3d53c65079 Fix notes handling in gym mode, regenerate code 2026-11-07 20:10:19 +01:00
Roland Geider
7962294bc1 Merge remote-tracking branch 'origin/master' into feature/workout-log-notes 2026-11-07 18:11:25 +01:00
Roland Geider
233a3c8312 Regenerate code for freezed 4 and drop field @override 2026-09-26 23:18:36 +02:00
Roland Geider
554a54e31b Finish the material_ui migration 2026-09-26 22:38:40 +02:00
Roland Geider
1b121ff22c Merge branch 'pr-1332-probe' into feat/upgrade-flutter-1316 2026-09-26 22:08:32 +02:00
Roland Geider
2d9b8cadb6 Reorder imports
dart fix --apply --code=directives_ordering
2026-09-03 20:42:06 +02:00
pankaj-basnet
f7930ce68b fix: remove material_ui imports where not needed 2026-09-01 21:12:14 +05:45
pankaj-basnet
fee0079dc9 material ui: post-flutter-3.47 imports, dart fix applied 2026-09-01 21:08:51 +05:45
Roland Geider
f55624090a Name the connected server in the sync diagnostics 2026-08-29 14:51:27 +02:00
Roland Geider
3cdb991bab Keep the health database out of Android cloud backups 2026-08-27 16:11:29 +02:00
Peter Thaler
acfaf3614c updates for ios healthkit release compliance 2026-08-27 11:02:42 +02:00
Roland Geider
deddaf7a48 Merge branch 'master' into feature/release-2.7 2026-08-26 13:52:53 +02:00
Roland Geider
b2ff0fb81c Skip the adapter-triggered reconnect while the stream is up 2026-08-26 12:11:52 +02:00
Roland Geider
b6aa38c219 Log the reason for the connection 2026-08-26 12:11:52 +02:00
Roland Geider
f135da6d15 Carry the self-signed cert exemption into PowerSync's sync isolate
(Hopefully) finally fixes #116
2026-08-26 12:11:52 +02:00
Roland Geider
0602244172 Report the device timezone to the profile 2026-08-23 23:19:38 +02:00
Roland Geider
185e5341ba Merge remote-tracking branch 'origin/master' into feature/release-2.7 2026-08-21 22:37:02 +02:00
Roland Geider
2c26c93d68 Merge remote-tracking branch 'origin/master' into fix/build-phase-ui-side-effects 2026-08-21 18:01:56 +02:00
Roland Geider
8829c57191 Collapse the PowerSync SDK's repeated log lines 2026-08-21 17:30:50 +02:00
Roland Geider
94d8352c3d Arm the sync watchdog inside connectPowerSync 2026-08-21 15:00:13 +02:00
Roland Geider
16bc83c306 Allow users setting up calculated categories 2026-08-20 16:53:10 +02:00
Roland Geider
d3749ac37c Report the local sync counters in bug reports 2026-08-15 20:22:19 +02:00
Roland Geider
afaa58c34e Report the local sync counters in bug reports 2026-08-15 19:21:05 +02:00
Roland Geider
534d349d19 Read the calculated categories 2026-08-15 15:38:27 +02:00
Roland Geider
5e332e18aa Connect PowerSync on the adapter state, not on the reachability probe 2026-08-14 14:52:49 +02:00
Roland Geider
fdbbdfc1d3 Merge PR #1260 (health sync) for 2.7 integration testing
# Conflicts:
#	lib/core/consts.dart
#	lib/core/network/auth_notifier.g.dart
#	lib/l10n/app_en.arb
#	pubspec.yaml
#	test/core/validators_test.mocks.dart
#	test/features/routines/providers/routines_repository_test.mocks.dart
#	test/screenshots/screenshots_03_gym_mode.dart
2026-08-13 14:22:32 +02:00
Roland Geider
8fb4b12652 Rename the session times to datetimeStart and datetimeEnd 2026-08-10 17:53:03 +02:00
Roland Geider
2fbe9d59e1 Merge remote-tracking branch 'origin/master' into fix/midnight-workout-session-split--backend-2379
# Conflicts:
#	lib/features/routines/models/session.dart
#	lib/features/routines/providers/gym_state.dart
#	lib/features/routines/providers/workout_logs_repository.dart
#	lib/features/routines/widgets/forms/session.dart
#	lib/features/routines/widgets/gym_mode/session_page.dart
2026-08-10 17:16:55 +02:00
Roland Geider
520504a1b2 Merge branch 'master' into feature/health-sync 2026-08-10 15:13:43 +02:00
Roland Geider
8df72293b5 Test the persistence base layer 2026-08-10 09:46:27 +02:00
Roland Geider
fb05d1e872 Log network state changes and the sync connection 2026-08-09 22:43:40 +02:00
Roland Geider
df2791a1f7 Keep pre-2.7 measurement rows readable 2026-08-09 18:42:49 +02:00
Roland Geider
82be49c8a0 Add per-category chart settings (trend, average window) 2026-08-05 21:29:31 +02:00
Alex Mendiola
20840b9881 Add notes field to WorkoutLog
Companion to wger-project/wger#2462 and wger-project/react#XXXX.

- WorkoutLogTable: add nullable `notes` text column (Drift + PowerSync)
- Log model: add `notes` field with constructor, copyWith, and toCompanion
- GymLogNotifier: add setNotes() method
- LogFormWidget: add notes TextFormField with onChanged handler
- LogsPastLogsWidget: show notes inline in past-log subtitle when present
- LogEditDialog: add notes TextFormField, persist on save

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-02 21:57:11 -04:00
Roland Geider
205548021c Let the user pick the chart of a measurement category 2026-08-03 00:03:34 +02:00
Roland Geider
2d74480baa Read only the entries the range charts 2026-08-02 14:47:07 +02:00
Roland Geider
6d0352a42c Track the entry unit in extra_data and convert on display 2026-07-30 18:54:13 +02:00
Roland Geider
b86c1e7e0e Store body weight in the official measurements category 2026-07-30 17:28:01 +02:00
Roland Geider
41623e3d55 Merge remote-tracking branch 'origin/master' into feature/health-sync 2026-07-30 16:31:11 +02:00
Roland Geider
30f44ad471 Show more sync information on the sync status dialog
Also, make it stateful so it shows live data for sync queue size, etc.
2026-07-29 16:50:14 +02:00
Roland Geider
45aeda7ac0 Merge branch 'master' into feature/health-sync
# Conflicts:
#	lib/l10n/app_de.arb
#	lib/l10n/app_es.arb
#	lib/l10n/app_fr.arb
2026-07-28 22:39:59 +02:00
Roland Geider
3e1c86d318 Merge remote-tracking branch 'origin/master' into dependabot/pub/powersync-2.3.2 2026-07-28 16:12:53 +02:00
Roland Geider
b5847b4f84 Adapt the code to changes in powersync 2.3.2 2026-07-28 15:18:55 +02:00
Roland Geider
3ee512fd6c More intelligent powersync service URL handling
When the server-provided powersync URL is not reachable, try using $server-url/ps/.
This should help with self-hosted instances where SITE_URL points to localhost
or other similar misconfigurations

See https://github.com/wger-project/wger/issues/2432
2026-07-28 15:06:34 +02:00
Roland Geider
b277e81088 Detect a sync stream that is blocked on the network path
This might help debugging when an ad-blocker, vpn or similar interferes with
the connections to the sync service

See #1271
2026-07-23 14:56:29 +02:00
Roland Geider
db98af0ac7 Make sure the code can work with nullable routines in workout logs 2026-07-17 18:25:22 +02:00
Roland Geider
7ebb97c462 Fix source default, hide health settings section when unavailable 2026-07-17 18:05:51 +02:00
Roland Geider
066d6430d8 Refactor the data model for multi-value categories
Measurement categories can optionally point to another category, In practice, this
will just be something like blood pressure since these values only make sense in a
pair. Others can be interesting while combined (heart rate and steps), but are valid
on their own.
2026-07-10 16:18:48 +02:00
Mustafa Senoglu
0a42125285 chore: regenerate database.g.dart for nullable routineId 2026-07-10 12:43:45 +03:00
Roland Geider
42507844d2 Cleanup, translations and small tests 2026-07-09 17:12:51 +02:00