Commit Graph

3595 Commits

Author SHA1 Message Date
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
8c7c4bde13 Fix some required flags 2020-11-18 18:45:29 +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
dbe03f2a96 Merge remote-tracking branch 'origin/master' 2020-11-15 17:26:58 +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
ca95a9475c Create LICENSE 2020-11-11 17:47:29 +01:00
Roland Geider
97dc59eabb Merge pull request #4 from wger-project/imgbot
[ImgBot] Optimize images
2020-11-11 17:38:21 +01:00
ImgBotApp
35ec170235 [ImgBot] Optimize images
*Total -- 67.69kb -> 50.21kb (25.83%)

/assets/images/placeholder.svg -- 14.17kb -> 10.49kb (26.01%)
/assets/images/placeholder.png -- 53.52kb -> 39.72kb (25.79%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-11-11 14:35:17 +00:00
Roland Geider
d543f6cf10 Add infrastructure for localization... 2020-11-11 15:25:59 +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
fc74e34448 Don't nest ListViews 2020-11-08 19:34:12 +01:00
Roland Geider
e1f4ccfa18 Show sets within a day
Still problems with scrolling
2020-11-08 15:02:39 +01:00
Roland Geider
c1e66c4fc1 Fix workout day render 2020-11-08 12:03:12 +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
07a5c47474 Add models for nutritional plans 2020-11-07 14:04:29 +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
b76a440f4e Add workout detail screen 2020-11-06 11:53:24 +01:00
Roland Geider
6e729096b4 Add swipe to refresh workout lists 2020-11-05 15:38:40 +01:00
Roland Geider
2de9708934 Generate complete endpoint URLs in the provider 2020-11-05 12:15:55 +01:00
Roland Geider
722fea70a3 Add routes 2020-11-05 12:15:19 +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
944f434757 Merge pull request #3 from wger-project/imgbot
[ImgBot] Optimize images
2020-11-04 18:07:51 +01:00
ImgBotApp
7cef351402 [ImgBot] Optimize images
*Total -- 1,264.92kb -> 1,251.03kb (1.1%)

/assets_dev/logo.png -- 2.26kb -> 0.86kb (61.84%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -- 1.47kb -> 0.71kb (51.99%)
/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png -- 4.17kb -> 2.18kb (47.72%)
/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png -- 1.56kb -> 0.84kb (46.19%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -- 1.62kb -> 0.90kb (44.57%)
/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -- 1.62kb -> 0.90kb (44.28%)
/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png -- 1.79kb -> 1.00kb (44.12%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -- 1.11kb -> 0.62kb (44.04%)
/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png -- 1.37kb -> 0.77kb (43.58%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -- 1.54kb -> 0.90kb (41.75%)
/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -- 1.46kb -> 0.86kb (41.19%)
/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png -- 1.14kb -> 0.70kb (38.23%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -- 1.30kb -> 0.84kb (35.24%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -- 1.30kb -> 0.84kb (35.24%)
/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -- 1.21kb -> 0.81kb (32.47%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -- 1.20kb -> 0.82kb (31.66%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -- 1.18kb -> 0.82kb (30.38%)
/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -- 1.12kb -> 0.82kb (26.88%)
/assets_dev/logo_adaptive.png -- 1.48kb -> 1.08kb (26.72%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -- 0.95kb -> 0.77kb (18.67%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -- 0.92kb -> 0.76kb (17.04%)
/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -- 0.84kb -> 0.74kb (11.5%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -- 0.76kb -> 0.71kb (6.57%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -- 0.76kb -> 0.71kb (6.57%)
/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -- 15.50kb -> 14.76kb (4.77%)
/assets/images/main.jpg -- 1,215.29kb -> 1,215.29kb (0%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-11-04 17:05:10 +00:00
Roland Geider
f651953ba7 Add an app drawer 2020-11-04 18:02:07 +01:00
Roland Geider
786a871380 Add first draft for app icons 2020-11-04 16:45:00 +01:00
Roland Geider
e8ebaed943 Create ci.yml
Add automatic testing infrastructure
2020-11-02 18:18:02 +01:00
Roland Geider
c31021225f Make test pass
This doesn't test anything and is only used to check that the automatic tests work
2020-11-02 18:14:07 +01:00
Roland Geider
2d9bffa8ae Deactivate automatic linting of dart code
See #1
2020-11-02 17:59:04 +01:00
Roland Geider
a5b28e728f Update linter.yml
Fix docker image format
2020-11-02 15:35:21 +01:00
Roland Geider
f8ffa39fa3 Create linter.yml
Add automatic file linting
2020-11-02 15:33:27 +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