Roland Geider
9ff2bba13a
Load the new DayData entries and the regular data objects from structure endpoint
2024-10-30 23:19:10 +01:00
Roland Geider
51a0e8798d
Correctly show any errors from the server on the registration page
...
Also, add some tests
2024-01-22 16:55:59 +01:00
Roland Geider
4f4f6f553a
Add paginated fetches
...
This allows the app to fetch all available items from an enpoint, without
having to hope that the ?limit=999 is enough
Closes #133
2023-02-06 20:33:39 +01:00
Roland Geider
b011ddcd25
POST images when creating new exercises
2022-02-20 15:54:32 +01:00
Marvin M
45a2a5f857
Fixes pt 1
2021-10-01 17:18:17 +02:00
ton-An
19445c36a2
(Measurements) Added Equatable + Refactored
...
(MeasurementProvider)
- Passing in the WgerBaseProvider instead of extending with it
- Re-written tests
- Added the fixture reader to make test file less crowded
(Measurement Models)
- Added Equatable
- Re-written tests
2021-08-22 18:07:47 +02:00
Github-actions
c877e436b0
Automatic linting
2021-06-22 21:10:15 +00:00
Github-actions
7492b53c67
Automatic linting
2021-06-20 13:09:24 +00:00
Roland Geider
31edbb3b48
Loop through all result pages when loading logs
2021-05-19 22:34:36 +02:00
Roland Geider
b59e30b220
Send app information in the user agent when making requests
2021-05-17 20:06:46 +02:00
Roland Geider
ee2e6ac671
Give providers a consistent name
2021-05-11 12:10:53 +02:00
Roland Geider
ad7507c8b7
Update license header as well
2021-04-13 10:28:15 +02:00
Roland Geider
ecd2773a87
Upgrade packages and move application to null safety
2021-03-25 22:20:16 +01:00
Roland Geider
0ce2b6efca
Move URI generation to helper
2021-03-09 11:42:44 +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
696eb30c26
Use constants for HTTP headers
2021-01-19 11:32:58 +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
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
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
cbfaa67c1d
Move common code to base provider class
2020-12-21 13:16:40 +01:00