Commit Graph

147 Commits

Author SHA1 Message Date
Roland Geider
63016f655e Deleting meals works now
I am still now completely sure about whether this is the correct architecture
with the providers. Time will tell I guess.
2020-12-23 13:08:04 +01:00
Roland Geider
29746c5639 Decode as utf8
Otherwise, emojis (and umlauts) are not displayed correctly 😱
2020-12-22 21:28:14 +01:00
Roland Geider
99d1412a37 More work on nutritional plans widgets 2020-12-22 21:27:25 +01:00
Roland Geider
7bd0181d32 Use base provider for nutritional plans 2020-12-22 13:09:37 +01:00
Roland Geider
b29436d1e3 Fun with TimeOfDay 2020-12-22 12:54:47 +01:00
Roland Geider
58d131b31a Some more work on the nutritional plans 2020-12-21 20:47:18 +01:00
Roland Geider
7e8b9090c6 Add detail screen for nutritional plans 2020-12-21 14:19:27 +01:00
Roland Geider
cbfaa67c1d Move common code to base provider class 2020-12-21 13:16:40 +01:00
Roland Geider
c9190cbb22 Some work on HTTP exception 2020-12-06 23:18:34 +01:00
Roland Geider
1c9d0ab7f6 Add copyright notice to all files 2020-12-06 17:14:50 +01:00
Roland Geider
cc30b3d9ce Rename exception to avoid name collisions 2020-12-06 17:03:12 +01:00
Roland Geider
c237f4ad77 Remove print statements 2020-12-06 16:58:55 +01:00
Roland Geider
1d5e61552f Improvements to weight edit form 2020-12-06 14:55:41 +01:00
Roland Geider
f84ddcad78 Show error message when adding weight entries doesn't work 2020-12-05 12:52:00 +01:00
Roland Geider
c9b6e16067 Add tests for the body weight provider 2020-12-01 21:59:17 +01:00
Roland Geider
43f6c64081 Some improvements to exception handling 2020-12-01 13:20:58 +01:00
Roland Geider
2a3dcb6ff6 Add logic to add days to workout plan 2020-11-27 11:48:39 +01:00
Roland Geider
f6e74f1016 Fix login and logout issue where the app wouldn't refresh 2020-11-22 21:33:53 +01:00
Roland Geider
a5dd0289c9 Fix problem with HttpException 2020-11-22 18:28:39 +01:00
Roland Geider
a00ac1afdf Allow editing the workout name when creating one 2020-11-21 21:01:30 +01:00
Roland Geider
7f8ecfe770 Add provider and screen for body weight entries 2020-11-21 11:44:29 +01:00
Roland Geider
e202eaf1bb Add new elements to beginning of list 2020-11-19 18:52:31 +01:00
Roland Geider
31af3bf95f Add overview screen and serialization files for nutritional plans 2020-11-18 23:25:56 +01:00
Roland Geider
5115e4726e Create dummy workouts from overview 2020-11-18 18:55:18 +01:00
Roland Geider
e92caa8eae More work on workout serialization
Also, it is now possible to delete workouts from the DB
2020-11-18 14:13:22 +01:00
Roland Geider
2aad49244a Rename the Category and Image classes
The names were colliding with Flutter classes and while it was possible to
import as, the generated files for the JSON serialization, had problems with
it and it was necessary to edit the .g.dart files by hand
2020-11-17 21:13:29 +01:00
Roland Geider
fabd841381 Simplify loading of exercises
This requires the new exerciseinfo endpoint on the server
2020-11-17 20:59:48 +01:00
Roland Geider
9cb43ed54c Also load exercise images 2020-11-16 11:48:26 +01:00
Roland Geider
99078df6e6 Save exercises to cache 2020-11-15 21:20:07 +01:00
Roland Geider
9bc9c4df2f Start saving all exercises, muscles, etc to a cache 2020-11-15 17:26:40 +01:00
Roland Geider
69639bfbdc Use generators to read/write JSON 2020-11-15 17:25:51 +01:00
Roland Geider
cf877764bf Move workout_plan.dart to models folder 2020-11-12 23:08:14 +01:00
Roland Geider
24a55e0436 Use new data structure for exercise images 2020-11-11 14:25:57 +01:00
Roland Geider
9dd20cd000 Show exercise images
The data structure from the server needs to be streamlined
2020-11-09 20:17:33 +01:00
Roland Geider
eefec0d5e6 Render the individual workout days 2020-11-09 18:04:31 +01:00
Roland Geider
e1f4ccfa18 Show sets within a day
Still problems with scrolling
2020-11-08 15:02:39 +01:00
Roland Geider
e0710632d8 Add widget for rendering a workout day (not working ATM) 2020-11-07 18:25:15 +01:00
Roland Geider
e6a2daebd1 Add models for workouts 2020-11-06 15:42:40 +01:00
Roland Geider
830e7411ea Add models for exercises 2020-11-06 13:18:20 +01:00
Roland Geider
41c86777ea Add exercise providers 2020-11-06 11:54:14 +01:00
Roland Geider
2de9708934 Generate complete endpoint URLs in the provider 2020-11-05 12:15:55 +01:00
Roland Geider
1ea440c101 Add server URL to login screen and Auth class 2020-11-05 11:41:49 +01:00
Roland Geider
54018e17f4 Load the user's workout plans 2020-11-05 00:04:38 +01:00
Roland Geider
f651953ba7 Add an app drawer 2020-11-04 18:02:07 +01:00
Dylan Aird
0b603816d6 fixes 2020-09-19 22:47:20 +10:00
Dylan Aird
8c2e3901da added in placeholder screens 2020-09-19 01:32:28 +10:00
Dylan Aird
85c0832398 first push 2020-09-12 20:25:00 +10:00