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
d3749ac37c
Report the local sync counters in bug reports
2026-08-15 20:22:19 +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
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
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
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
60c9f67282
Move shared infra to lib/core/
2026-07-01 20:28:06 +02:00
Roland Geider
341dec6d99
Fix avoid_slow_async_io lint warning
2026-06-15 22:48:11 +02:00
Roland Geider
e93c4effcb
Exercise IDs are integers, not text
2026-06-05 23:17:25 +02:00
Roland Geider
b04db2351e
Remove unused code
2026-06-04 22:33:49 +02:00
Roland Geider
fb74e255d4
Remove dependency on wgerBaseProvider
...
This was causing some circular dependency problems
2026-06-02 19:46:33 +02:00
Roland Geider
1009477553
Fix behaviour on logout
...
We were previously dropping the local db on logout, which could also happen when
the user was too long offline to fetch a new token. Now this only happens when the
user manually logs out, or during login and there's the db from a previous, different,
user.
2026-05-25 20:52:23 +02:00
Roland Geider
ea3087792c
Merge branch 'feature/allauth' into feature/offline-mode
2026-05-22 22:30:45 +02:00
Roland Geider
1b72fb71ad
Fix circular provider dependency
2026-05-22 22:14:45 +02:00
Roland Geider
8fc149741f
Edit the user's email via allauth's endpoints
2026-05-22 20:10:47 +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
4866551ef4
Move exercises and their translations to RawTables
...
This was causing some delays since we always load all exercise data upfront
and this was causing a noticeable delay.
2026-05-20 15:05:45 +02:00
Roland Geider
c59fd68fe7
Pass the userID and the expiration to the PowerSync credentials
2026-04-20 17:06:35 +02:00
Roland Geider
fdce3bf9a9
Rename file with the wger base provider
2026-04-18 19:05:42 +02:00
Roland Geider
c1a733b423
Clear the powersync database when a user logs out
2026-04-17 22:48:14 +02:00
Roland Geider
8ad3585ce6
Refactor the auth provider, and move it to riverpod
2026-04-17 16:25:04 +02:00
Roland Geider
c916136a8f
Update measurement models
...
The backend now saves uses a UUID for the IDs as well, which we can now use directly
2026-03-15 15:43:29 +01:00
Roland Geider
7221109a64
Revert to using ID and UUID as names for the fields
...
This is more explicit and seems like a better way to do it.
2026-03-13 22:58:11 +01:00
Roland Geider
e975eee9f2
Refactor the django powersync connector
2025-11-05 16:51:43 +01:00
Roland Geider
017cccab18
Start adding drift and using riverpod
2025-10-22 20:49:38 +02:00