Commit Graph

7 Commits

Author SHA1 Message Date
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
3a57479585 Scope the self-signed setting to one host and apply without a restart 2026-07-30 13:57:41 +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
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
60c9f67282 Move shared infra to lib/core/ 2026-07-01 20:28:06 +02:00