Commit Graph

26 Commits

Author SHA1 Message Date
Roland Geider
67ed4d8ca1 Report the local sync counters in bug reports 2026-08-15 18:39:27 +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
520504a1b2 Merge branch 'master' into feature/health-sync 2026-08-10 15:13:43 +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
a460d2ea33 Let the sync watchdog fire on a permanent error loop 2026-08-09 22:48:28 +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
718fa05d1b Add sync diagnostics to the "submit to github" error dialog 2026-07-29 17:06:05 +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
ed623f9108 Improve PowerSync sync diagnostics and token expiry handling 2026-07-23 13:58:06 +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
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
f86ee0838e Add tests for the powersync transaction process logic 2026-06-03 15:03:46 +02:00
Roland Geider
8fc149741f Edit the user's email via allauth's endpoints 2026-05-22 20:10:47 +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
26722a49be Start implementing JWT support 2026-05-22 20:04:42 +02:00
Roland Geider
d0c56c42eb Re-probe the connection to the wger server itself
This is actually the "real" connectivity test, since we need a backend to talk to
2026-05-22 15:52:23 +02:00
Roland Geider
c1dccbd822 Make the "impression" in workout session an enum
This is cleaner and simplifies a handful of places
2026-05-03 12:17:23 +02:00
Roland Geider
a63cce2478 Test the powersync communications with the outer world 2026-05-01 19:22:44 +02:00
Roland Geider
209ab7cbbe Add gallery sync tables 2026-05-01 15:25:31 +02:00
Roland Geider
379d86c1ad Commit connector transform test 2026-04-29 12:59:56 +02:00