Roland Geider
78a0d9f3a1
Ask the health platform for permissions per type
2026-08-01 14:45:33 +02:00
Roland Geider
59d8b093da
Show the health sync status and allow syncing manually
2026-07-31 20:50:50 +02:00
Roland Geider
d2ad8e9ef4
Remove unused strings
2026-07-31 20:23:18 +02:00
Roland Geider
5178bb5732
Let a measurement chart draw several named series
2026-07-31 15:57:07 +02:00
Roland Geider
d1c7333b65
Bump app version and min required server version
2026-07-31 13:53:30 +02:00
Roland Geider
ea8c2a851a
Cleanups
2026-07-30 21:00:16 +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
b732b619c2
Describe updated behaviour in comments
2026-07-30 15:02: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
30cc2fc959
Improve logging
2026-07-29 17:42:31 +02:00
Roland Geider
630d4864d8
Cleanup
2026-07-29 17:28:47 +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
Roland Geider
d72a0ccf93
Allow users to force-reconnect to the powersync service
2026-07-29 16:22:30 +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
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
ed623f9108
Improve PowerSync sync diagnostics and token expiry handling
2026-07-23 13:58:06 +02:00
Roland Geider
938001b152
Optimistically set the online status
...
This avoids having the app register as "offline" after bringing it back from
the background
2026-07-17 21:31:29 +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
Roland Geider
18b745f365
Start reworking the sync logic
...
We don't just want to sync the weight entries
2026-07-02 21:45:53 +02:00
Roland Geider
ee084f1000
Merge branch 'pr-1156' into feature/health-sync
2026-07-02 21:17:16 +02:00
Roland Geider
290b991311
Consolidate snackbar calls code into a helper
2026-07-01 22:46:26 +02:00
Roland Geider
0d198745ec
Consolidate formatting code into a helper
2026-07-01 22:37:37 +02:00
Roland Geider
434ec11fed
Localize the date-range form validators
...
The translations were taken from the react repo
2026-07-01 22:30:30 +02:00
Roland Geider
60c9f67282
Move shared infra to lib/core/
2026-07-01 20:28:06 +02:00
Roland Geider
bfb44c2157
Extract title from html error messages
2026-06-17 21:39:51 +02:00
Roland Geider
177a48d6c7
Fix use_build_context_synchronously and unused_local_variable lint warnings
2026-06-15 22:45:11 +02:00
Roland Geider
54e97299f9
Consolidate usage of FormSubmitButton
2026-06-14 21:48:41 +02:00
Roland Geider
5f9abdb15f
Slight refactor of the error handling
...
This moves some of the pieces to the correct places
2026-06-14 21:25:59 +02:00
Roland Geider
57947eabe6
Don't default to black text
...
Otherwise this might be unreadable on dark mode
2026-06-05 14:47:36 +02:00
Roland Geider
ca2530ecab
Better error handling for powersync errors
...
This new logic properly handles retriable and transient errors
2026-06-04 20:41:06 +02:00
Roland Geider
7d958b5055
Top-align the contents of the WidescreenWrapper
2026-05-25 19:52:54 +02:00
Roland Geider
a7e30fcf8c
Refactor auth screen
...
This has been split up into several individual widgets and (hopefully) made
more user friendly
2026-05-24 20:14:25 +02:00
Roland Geider
87a40fd4e6
Switch the pasted-token field from DRF tokens to refresh tokens
2026-05-22 20:08:43 +02:00
Roland Geider
736cb41cb2
Improve the login process
...
The previous process was depending too much on the backend being available, we
can now bypass many of these checks if the user had already logged in before
2026-05-22 19:19:00 +02:00
Roland Geider
d97de48fee
Refactor the error logic
...
UI related functions have been moved to error_dialogs.dart, while everything else
is kept in errors.dart
2026-05-22 15:50:33 +02:00
Roland Geider
95fb6c6615
Migrate the nutrition provider to riverpod
2026-04-17 18:19:00 +02:00
Roland Geider
f32dec2b08
Merge branch 'master' into feature/offline-mode
...
# Conflicts:
# lib/main.dart
# lib/models/workouts/log.dart
# lib/models/workouts/session.g.dart
# lib/providers/exercises.dart
# lib/providers/gym_state.g.dart
# lib/providers/wger_base_riverpod.dart
# lib/screens/dashboard.dart
# lib/screens/home_tabs_screen.dart
# lib/widgets/core/app_bar.dart
# lib/widgets/core/settings.dart
# lib/widgets/dashboard/calendar.dart
# lib/widgets/dashboard/widgets/weight.dart
# lib/widgets/routines/gym_mode/log_page.dart
# lib/widgets/routines/gym_mode/summary.dart
# lib/widgets/routines/logs/day_logs_container.dart
# lib/widgets/routines/logs/exercises_expansion_card.dart
# pubspec.lock
# pubspec.yaml
# test/core/settings_test.dart
# test/core/settings_test.mocks.dart
# test/exercises/contribute_exercise_test.mocks.dart
# test/exercises/exercise_provider_db_test.dart
# test/exercises/exercise_provider_test.dart
# test/routine/gym_mode/gym_mode_test.mocks.dart
# test/routine/routine_logs_screen_test.dart
# test/routine/routine_logs_screen_test.mocks.dart
# test/routine/routines_provider_test.mocks.dart
# test/routine/routines_screen_test.mocks.dart
# test/weight/weight_provider_test.mocks.dart
# test/weight/weight_screen_test.mocks.dart
2026-01-19 13:16:55 +01:00
Roland Geider
6620a83baa
Improve html error detection
...
In case the header is not correctly set, try to detect html error messages
from the content itself
2026-01-14 14:59:07 +01:00
Roland Geider
455c9a07b1
Merge branch 'master' into feature/powersync-test
...
# Conflicts:
# lib/helpers/errors.dart
# lib/models/workouts/log.dart
# lib/models/workouts/session.dart
# lib/providers/body_weight.dart
# lib/providers/exercises.dart
# lib/providers/gym_state.g.dart
# lib/providers/routines.dart
# lib/widgets/routines/forms/day.dart
# lib/widgets/routines/forms/reps_unit.dart
# lib/widgets/routines/forms/routine.dart
# lib/widgets/routines/forms/session.dart
# lib/widgets/routines/forms/slot.dart
# lib/widgets/routines/forms/slot_entry.dart
# lib/widgets/routines/gym_mode/log_page.dart
# lib/widgets/routines/gym_mode/session_page.dart
# pubspec.lock
# test/exercises/exercise_provider_test.dart
# test/routine/forms/session_form_test.dart
# test/routine/gym_mode/session_page_test.dart
# test/routine/routine_form_test.dart
2025-12-18 12:17:56 +01:00
Roland Geider
077dcaf742
Handle HTML errors in WgerHttpException
...
These need to be handled separately when the server encounters an error and
returns HTML instead of JSON.
2025-12-17 18:59:45 +01:00
Roland Geider
909b85c850
Merge conflicts
2025-12-02 13:12:38 +01:00
Roland Geider
559eb26631
Make the app work better on wider screens
2025-12-01 13:44:25 +01:00