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
fe5c7bb0ef
Regenerate build files
2026-05-22 20:18:49 +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
af8ed102eb
Also write to the user profile via powersync
2026-05-22 17:59:16 +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
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
508b552fc7
Remove unused fatalResponseCodes
...
This was originally copied from the powersync demo app, and is not used here
2026-05-20 21:02:15 +02:00
Roland Geider
25b444103f
Correctly load the notes and aliases for exercises
2026-05-20 16:34:21 +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
cf13af1740
Sync the rest of the nutrition tables to powersync
2026-05-01 20:24:26 +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
d1f6fc2dfe
Sync nutritional logs
2026-04-30 18:10:02 +02:00
Roland Geider
d6e652f2c9
Sync the ingredient weight units to the local sqlite db
2026-04-30 13:41:58 +02:00
Roland Geider
cbc4fa1f53
Properly handle DateFields
...
These only accept the "YYYY-MM-DD" format on django's side, so we need
to massage them into the correct shape
2026-04-29 10:35:14 +02:00
Roland Geider
680127e139
Sync the base Routine and Nutritional plan entries via powersync
...
This makes sure the lists is always kept current and allows the user to edit
them offline as well. Note that we still kepp the backend's ID here, so no
creation is possible.
2026-04-29 10:03:59 +02:00
Roland Geider
4353f00913
Start handling validation errors from the backend for powersync operations
2026-04-28 21:22:39 +02:00
Roland Geider
30072fb2cc
Properly handle timezones for datetime values
2026-04-24 10:35:13 +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
6750859bfe
Move powersync table definitions
...
These are now together with the "regular" drift definitions, making it
easier to spot any differences that may creep in
2026-03-14 22:32:29 +01:00
Roland Geider
61e1c241f2
Update measurement tables to use powersync
2026-03-13 16:16:23 +01:00
Roland Geider
e975eee9f2
Refactor the django powersync connector
2025-11-05 16:51:43 +01:00
Roland Geider
88891582e9
Add tables and providers for weight and repetition units
2025-11-03 16:13:29 +01:00
Roland Geider
c60cfbe347
Add tables for workout sessions
2025-10-26 18:18:22 +01:00
Roland Geider
14ff95a4ff
Read the powersync URL from the server's response
2025-10-26 12:40:56 +01:00
Roland Geider
1128269332
Missing M2N table
2025-10-25 01:11:07 +02:00
Roland Geider
666359155d
Use the powersync drift provider to show exercises
2025-10-24 20:52:02 +02:00
Roland Geider
7969376dce
Test how feasible it is to load exercises via powersync as well
2025-10-24 01:21:13 +02:00
Roland Geider
8b8c4626eb
Powersync seems to be working now
2025-10-23 15:32:21 +02:00
Roland Geider
017cccab18
Start adding drift and using riverpod
2025-10-22 20:49:38 +02:00