Roland Geider
67ed4d8ca1
Report the local sync counters in bug reports
2026-08-15 18:39:27 +02:00
Roland Geider
47b91b0ad7
Show chart errors on the dashboard weight card
2026-08-13 18:27:54 +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
dd2e37828d
Merge PR #1248 (cross-midnight session split fix) for 2.7 integration testing
...
# Conflicts:
# lib/core/network/auth_notifier.g.dart
# lib/features/routines/providers/workout_logs_repository.dart
# test/features/routines/providers/workout_logs_repository_test.dart
2026-08-13 14:13:53 +02:00
Roland Geider
4fd83ce202
Merge PR #1309 (remove old API token exchange) for 2.7 integration testing
...
# Conflicts:
# lib/core/network/network_provider.g.dart
# lib/database/powersync/powersync.g.dart
2026-08-13 14:10:24 +02:00
Ben Tucker
57fe12677c
fix(auth): do not await PowerSync disconnect during session clear
...
A rejected refresh token runs clearSessionOnly inside the single-flight
refresh future. PowerSync's disconnect can block on an in-flight sync
fetch that is itself awaiting that same refresh future through
AuthHttpClient's pre-emptive refresh, closing a three-party cycle
(refresh -> disconnect -> sync fetch -> refresh) that permanently wedges
every authenticated request behind the never-completing refresh. The
session-expired message never appears because it is sequenced after the
hanging call, and an app restart re-triggers the same rejected refresh
during startup revalidation, so the deadlock re-forms immediately.
On the keep-data path the DB is not wiped, so there is no re-attach race
to guard against; the disconnect is only a courtesy stop of the sync
loop and is now fire-and-forget. The wipe path (explicit logout) keeps
its ordering. The disconnect hook is injectable for tests because
PowerSyncDatabase is a base class that cannot be faked.
2026-08-12 19:08:24 -05:00
Roland Geider
8fb4b12652
Rename the session times to datetimeStart and datetimeEnd
2026-08-10 17:53:03 +02:00
Roland Geider
520504a1b2
Merge branch 'master' into feature/health-sync
2026-08-10 15:13:43 +02:00
Roland Geider
024d6f246c
Consolidate the test helpers in test/helpers/
2026-08-10 12:40:16 +02:00
Roland Geider
6536f2ce26
Consolidate the test fixtures and stop leaking the test surface size
2026-08-10 12:29:14 +02:00
Roland Geider
bb5eb344b0
Repair tests that could not fail
2026-08-10 11:43:23 +02:00
Roland Geider
15fd579d15
Repair tests that could not fail
2026-08-10 11:04:23 +02:00
Roland Geider
e1af4c7ae7
Count calendar days in daysInRange
2026-08-10 10:09:21 +02:00
Roland Geider
3a05492528
Pin the watchdog replay case and the 403 auth semantics
2026-08-10 09:58:53 +02:00
Roland Geider
8df72293b5
Test the persistence base layer
2026-08-10 09:46:27 +02:00
Roland Geider
aaacb6484c
Keep the application logs across a restart
2026-08-09 22:49:04 +02:00
Roland Geider
b5cf828cb0
Add a setting for detailed logging
2026-08-09 22:47:48 +02:00
Roland Geider
9fdb13428b
Add a filter and copy buttons to the log overview
2026-08-09 22:46:18 +02:00
Roland Geider
fb05d1e872
Log network state changes and the sync connection
2026-08-09 22:43:40 +02:00
Roland Geider
cc79af6188
Add exception text and UTC timestamps to the application logs
2026-08-09 22:42:36 +02:00
Roland Geider
7b6306703b
Remove old API token exchange
2026-08-09 21:04:49 +02:00
Roland Geider
df2791a1f7
Keep pre-2.7 measurement rows readable
2026-08-09 18:42:49 +02:00
Roland Geider
bb7ed8fa23
Say how long ago a tile's value was measured
2026-08-09 15:19:23 +02:00
Roland Geider
251689cd31
Rebuild the measurements overview as a tile grid
2026-08-08 16:44:10 +02:00
Roland Geider
62e06d63a4
Share the quick steppers and the date-time pair
2026-08-07 22:05:48 +02:00
Roland Geider
d6de435c6b
Make the measurements a tab of their own, led by the weight
2026-08-07 21:46:23 +02:00
Roland Geider
1fd6b505a8
Replace the 30-day chart with a one-month range
2026-08-05 21:54:03 +02:00
Roland Geider
82be49c8a0
Add per-category chart settings (trend, average window)
2026-08-05 21:29:31 +02:00
Roland Geider
cecdd1c317
Read durations in hours and minutes
2026-08-04 22:09:26 +02:00
Roland Geider
e68bde2c9c
Merge branch 'master' into feature/health-sync
...
# Conflicts:
# lib/main.dart
# macos/Flutter/GeneratedPluginRegistrant.swift
# test/features/account/widgets/settings_test.dart
2026-08-04 13:59:53 +02:00
Roland Geider
07aa325ec5
Generate chart colors from the scheme instead of a fixed palette
2026-08-04 11:24:10 +02:00
Roland Geider
4b356f8bc2
Pick the metric instead of typing it into a form
2026-08-03 17:48:02 +02:00
Praharsha2007
d2dacb116d
feat : implemented dynamic colour support
2026-08-03 21:15:00 +05:30
Roland Geider
2d74480baa
Read only the entries the range charts
2026-08-02 14:47:07 +02:00
Roland Geider
db2c2c5d7c
Derive the ids of typed measurement categories
2026-08-01 13:04:31 +02:00
Roland Geider
4f7fde6c4c
Tell the user when the health platform withholds its data
2026-07-31 21:22:53 +02:00
Roland Geider
59d8b093da
Show the health sync status and allow syncing manually
2026-07-31 20:50:50 +02:00
Roland Geider
458b3d5be4
Show the weight development on the nutrition plan detail screen
2026-07-31 18:39:18 +02:00
Roland Geider
41ceee9307
Import resting heart rate
2026-07-31 14:38:29 +02:00
Roland Geider
fe6d0a59df
Default the weight unit from the profile for app-created entries and ad-hoc exercises
2026-07-30 21:47:01 +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
914e9ac575
Surface involuntary logouts and revalidate the session on app resume
...
This makes it obvious why users are redirected to the auth screen, since the
snackbar could be easily missed.
See #1265
2026-07-30 15:47:04 +02:00
Roland Geider
1a58dd8f71
Warn in the settings while certificates are not being verified
2026-07-30 14:23:37 +02:00
Roland Geider
3a57479585
Scope the self-signed setting to one host and apply without a restart
2026-07-30 13:57:41 +02:00
Roland Geider
41378988d0
Merge branch 'master' into feat/allow-self-signed-certs
...
# Conflicts:
# lib/core/app_settings_notifier.dart
# lib/core/app_settings_notifier.g.dart
# lib/core/http_overrides.dart
# lib/features/auth/widgets/auth_card.dart
# lib/main.dart
# test/features/account/widgets/settings_test.dart
2026-07-30 13:20:33 +02:00
Roland Geider
9e446e0b94
Allow users to submit issues to github with full stackstrace and sync debug info
2026-07-29 17:23:09 +02:00
Roland Geider
718fa05d1b
Add sync diagnostics to the "submit to github" error dialog
2026-07-29 17:06:05 +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