Commit Graph

18 Commits

Author SHA1 Message Date
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