Roland Geider
a411461638
Cleanup
2026-06-03 16:08:16 +02:00
Roland Geider
33dbd1508f
Correctly delete the user's local db on logout
2026-06-03 15:48:02 +02:00
Roland Geider
ae2c6939fb
Use leftOuterJoin in the nutrition sql
2026-06-03 15:26:14 +02:00
Roland Geider
f86ee0838e
Add tests for the powersync transaction process logic
2026-06-03 15:03:46 +02:00
Roland Geider
8a626ae2bf
Handle (transient) case where an exercise has no translations
2026-06-03 13:06:10 +02:00
Roland Geider
137ad197e4
Properly handle "." and "," for numerical inputs
2026-06-03 12:51:00 +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
8f562e5d83
Properly handle exercise videos
...
These need to be loaded with mediaUrlBuilderProvider, like the exercise images
2026-05-27 17:22:35 +02:00
Roland Geider
ed757d2171
Slight refactor of appVersion handling
2026-05-27 12:11:37 +02:00
Roland Geider
b2250fa8c5
Merge remote-tracking branch 'origin/master' into feature/offline-mode
...
# Conflicts:
# lib/widgets/nutrition/ingredient_dialogs.dart
# lib/widgets/nutrition/widgets.dart
2026-05-27 11:08:31 +02:00
Anja Klipic
70a5ae3ddf
fix: use theme color for brightness mode compatibility
2026-05-27 10:39:22 +02:00
Roland Geider
d3da6dc8fa
Online-gate the ingredient scan button
2026-05-26 20:04:54 +02:00
Roland Geider
6f0a322b4a
Add outgoing icons to external links
2026-05-26 20:02:58 +02:00
Roland Geider
00db3d96e6
Properly online-gate access to the user profile
2026-05-26 19:57:11 +02:00
Roland Geider
400b21065a
Add brand to the model
2026-05-26 15:15:16 +02:00
Roland Geider
fa36a16425
Small cleanup
2026-05-25 23:40:54 +02:00
Roland Geider
f4df847511
Extract some logic into their own files
...
This makes the (still) quite large auth_notifier.dart, a bit more clear and easy
to understand
2026-05-25 23:32:38 +02:00
Roland Geider
9003b46002
Add migration path from old permanent token to JWT
...
This is needed to allow users coming from an old version of the app to remain
logged-in.
2026-05-25 23:13:40 +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
98e9ea9417
Smarter handling of token lifetimes
...
We don't want to logout the user if we can't refresh the token because the
device is offline.
2026-05-25 20:33:50 +02:00
Roland Geider
7d958b5055
Top-align the contents of the WidescreenWrapper
2026-05-25 19:52:54 +02:00
Roland Geider
6436226a9e
Remove network info dashboard widget
...
This is not really needed anymore since most parts of the application can be used
offline, and the ones that don't are marked.
2026-05-25 19:48:12 +02:00
Roland Geider
c8b1aa3b24
Online-gate the exercise submission page/links
2026-05-25 19:40:19 +02:00
Roland Geider
a485fd21df
Split gym state and notifier into their own files
2026-05-25 17:58:23 +02:00
Roland Geider
92d731fa10
Don't rebuild the whole widget on every keystroke
2026-05-25 17:35:36 +02:00
Roland Geider
6849685ae7
Watch the passed ingredient
2026-05-25 17:13:12 +02:00
Roland Geider
3204df14ef
Properly filter the ingredient list
2026-05-25 17:01:26 +02:00
Roland Geider
5194a6c869
Refactor the ingredient detail screen
...
We now use the exact same widget as in the regular info dialog
2026-05-25 16:45:51 +02:00
Roland Geider
5c916241b6
Make the ingredient object nullable for logs and meal items
...
This is needed due to the way powersync works. In practice, this will only be null during
a very small time window between editing the model and the sync back from the backend.
2026-05-25 15:51:34 +02:00
Roland Geider
4132779291
Split ingredient providers
2026-05-25 15:50:32 +02:00
Roland Geider
1f55069b97
Don't rebuild on every keystroke
2026-05-25 15:15:58 +02:00
Roland Geider
bcfe836ce7
Fix some i18n issues
2026-05-25 13:52:55 +02:00
Roland Geider
34b1fa6a86
Merge branch 'feature/offline-mode' into feat/nutrition-ingredients-implementation
...
# Conflicts:
# lib/providers/ingredient_notifier.dart
2026-05-25 13:44:48 +02:00
Roland Geider
806fc93116
Cleanup
2026-05-25 13:41:22 +02:00
Roland Geider
78580084a2
Better validators for nutritional plan values
2026-05-25 13:39:44 +02:00
Roland Geider
0f4a12251d
Better validators for workout session notes
2026-05-25 13:31:20 +02:00
Roland Geider
e7d0028251
Fix bug in the measurements overview
2026-05-25 13:28:44 +02:00
Roland Geider
45e693dae6
Better validators for min/max constrained values
2026-05-25 12:56:03 +02:00
Roland Geider
987d82b4a5
Better validators for min/max constrained values
2026-05-25 12:47:31 +02:00
Roland Geider
b3b138765a
Better validators for workout sessions
2026-05-25 12:41:05 +02:00
Roland Geider
dff9ed559c
Better validators for logs
2026-05-25 12:33:39 +02:00
Roland Geider
a7e30fcf8c
Refactor auth screen
...
This has been split up into several individual widgets and (hopefully) made
more user friendly
2026-05-24 20:14:25 +02:00
Anja Klipic
a699fd472a
chore: fix formatting
2026-05-23 13:50:50 +02:00
Anja Klipic
8b5a381694
feat: displays brand name underneath title in ingredient details
2026-05-23 08:14:36 +02:00
Roland Geider
d77fc070d2
More cleanup on the auth screen
2026-05-22 23:32:09 +02:00
Roland Geider
aaa788570d
Cleanup auth screen
2026-05-22 22:50:50 +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
cc7ae51906
Mark trophy box in the dashboard when no internet is available
2026-05-22 21:56:14 +02:00
Anja Klipic
14577602ac
feat: displays brand name next to ingredient name in search list
2026-05-22 21:47:00 +02:00