Commit Graph

95 Commits

Author SHA1 Message Date
Roland Geider
9397b90870 Parse the login URL so that HTTPS can be used as well 2021-03-16 22:43:05 +01:00
Roland Geider
8c710fb2b0 Allow using a custom wger instance for login 2021-03-14 22:56:24 +01:00
Roland Geider
e8608976ea Make forms in gym mode work 2021-03-10 12:05:27 +01:00
Roland Geider
0ce2b6efca Move URI generation to helper 2021-03-09 11:42:44 +01:00
Roland Geider
65a6987a3c Render correct number of pages in gym mode 2021-03-08 23:00:02 +01:00
Roland Geider
0c857df953 Further work on gym mode 2021-03-03 00:47:26 +01:00
Roland Geider
0d3e2ef8ff Add gym workout screen 2021-02-23 22:31:25 +01:00
Roland Geider
e9c9ae93d6 Allow users to register via the app 2021-02-15 22:27:06 +01:00
Roland Geider
c0759c913e Correctly save sets to the server 2021-02-06 01:18:53 +01:00
Roland Geider
0dd6135378 More work on set form 2021-02-05 22:00:44 +01:00
Roland Geider
d3eaa11cf9 Properly log meal diary entries 2021-01-31 14:49:26 +01:00
Roland Geider
8d2696dbaf Call set server and application version after login 2021-01-28 12:49:21 +01:00
Roland Geider
5cbdb64dea Replace placeholder text in about dialog 2021-01-27 23:02:56 +01:00
Roland Geider
62c1be5b16 Pre-load necessary data 2021-01-27 13:36:01 +01:00
Roland Geider
4c37d5bf91 Refactor weight entry form to use showFormBottomSheet 2021-01-25 21:43:50 +01:00
Roland Geider
ad672ae269 Fix error when there was no search query for exercises 2021-01-25 13:47:44 +01:00
Roland Geider
90f5c13f9d Correctly filter log data for current workout 2021-01-25 11:43:22 +01:00
Roland Geider
e3c729f917 Allow editing of meals 2021-01-24 20:48:31 +01:00
Roland Geider
ae003b0cdb Fix URL to add meals 2021-01-24 20:07:03 +01:00
Roland Geider
3d7f3d82a6 Refactor workout form to use showFormBottomSheet 2021-01-23 12:48:28 +01:00
Roland Geider
62926ae549 Refactor makeUrl
The object ID is an integer and there is now an objectMethod for special object
endpoints.
2021-01-22 23:11:52 +01:00
Roland Geider
12632955df Allow editing of nutritional plans 2021-01-22 22:45:16 +01:00
Roland Geider
2e96078af6 Save used ingredients to local cache
This saves us hundreds of requests to the REST api
2021-01-19 17:41:08 +01:00
Roland Geider
cc9418b41e Sort nutritional and workout plans as well 2021-01-19 12:18:41 +01:00
Roland Geider
26dafb7ccc Sort weight entries by date (newest first) 2021-01-19 11:48:26 +01:00
Roland Geider
696eb30c26 Use constants for HTTP headers 2021-01-19 11:32:58 +01:00
Roland Geider
9b5e29e7c7 Fetch all the log items 2021-01-16 13:51:15 +01:00
Roland Geider
b8c159c841 Add nutritional diary data to calendar 2021-01-16 13:44:19 +01:00
Roland Geider
ffcf0f5ea4 Load the workout sessions to dashboard calendar 2021-01-13 13:45:27 +01:00
Roland Geider
45d8adca3c Add chart for workout logs 2021-01-11 22:27:11 +01:00
Roland Geider
914d93d17d More work on workout logs 2021-01-10 12:23:01 +01:00
Roland Geider
50f98c5dd3 generate the url for the nutritional diary endpoint 2021-01-03 18:26:40 +01:00
Roland Geider
cd01fa61b0 Load current workout in dashboard 2021-01-02 11:37:02 +01:00
Roland Geider
5d6a5887bd Refactor the dashboard, showing some charts 2020-12-30 14:30:42 +01:00
Roland Geider
373cfb0dfd Add exercise set placeholder form 2020-12-29 13:22:47 +01:00
Roland Geider
3c505db785 Add exercise type ahead to set form 2020-12-28 19:34:39 +01:00
Roland Geider
301750cb96 Use WgerBaseProvider with workout plans as well 2020-12-28 12:16:21 +01:00
Roland Geider
fafaa0e8bb Refactor Exercise provider 2020-12-28 11:34:54 +01:00
Roland Geider
94e87d6faa Remove unused properties 2020-12-28 11:34:17 +01:00
Roland Geider
e35040ea18 Rename URL path variables 2020-12-28 10:59:30 +01:00
Roland Geider
7d78a77500 Refactor the base provider
The http client is now passed as a constructor argument and de-clutters all the
functions, while still allowing for mocking.
2020-12-27 12:51:40 +01:00
Roland Geider
5f4a25e9ec Add nutritional values calculations to diary 2020-12-27 11:22:46 +01:00
Roland Geider
33a3c71af0 Some work on makeUrl helper 2020-12-26 19:15:55 +01:00
Roland Geider
b18e90b249 Allow to log meals all at once 2020-12-26 12:56:53 +01:00
Roland Geider
464a4c6bc8 Delete meal items on long press 2020-12-25 00:40:35 +01:00
Roland Geider
610cdd7aa0 Rename provider 2020-12-24 23:32:26 +01:00
Roland Geider
d175512710 Fix body weight URL 2020-12-24 23:31:34 +01:00
Roland Geider
e4e4907782 Allow to add meal items to a meal 2020-12-24 16:36:54 +01:00
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