Commit Graph

41 Commits

Author SHA1 Message Date
Roland Geider
6cbe164ec8 Merge remote-tracking branch 'origin/feature/measurements' into feature/measurements
# Conflicts:
#	lib/models/measurements/measurement_entry.g.dart
2021-08-25 21:34:22 +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
Roland Geider
d01986238f Show percent of energy and g per body-kg for macros 2021-08-16 16:24:12 +02:00
Github-actions
c877e436b0 Automatic linting 2021-06-22 21:10:15 +00:00
Github-actions
857d0453cc Automatic linting 2021-06-22 20:29:22 +00:00
Arun Muralidharan
a053c813bc Start Time Validator
Implemented start time validator to ensure start time is not ahead of end time in gym mode.
2021-06-22 20:19:16 +02:00
Github-actions
7492b53c67 Automatic linting 2021-06-20 13:09:24 +00:00
Roland Geider
180e419e7e Group the plates for easier reading 2021-06-15 23:11:34 +02:00
Roland Geider
9bf46807f8 Simplify loop 2021-06-15 17:37:11 +02:00
Roland Geider
039b195e7a Fix error in plate calculator
The smallest plate was never being taken into consideration, as the loop never
reached it
2021-06-15 17:33:39 +02:00
Roland Geider
48ee80fffe Only show plate calculator for barbell exercises
This might be a bit too constrained, since other exercises (e.g.) in the rack
or the leg press would also benefit from this. Perhaps adding a user switch?
2021-06-13 21:09:37 +02:00
Roland Geider
b88c3290c1 Start implementing a plate calculator 2021-06-13 20:22:15 +02:00
Roland Geider
959fdf26d0 Initialise session with defaul value (neutral)
Fixes #36
2021-06-12 17:28:16 +02:00
Roland Geider
7e416383b5 Use string as a key for dates in the calendar
Fixes #33
2021-06-12 17:19:00 +02:00
Roland Geider
8474d2d598 Allow the user to jump to the different exercises in the gym mode 2021-05-19 14:13:04 +02:00
Roland Geider
b915c764ef Don't check AppLocalizations for null values
This is not needed in flutter 2.2 anymore
2021-05-19 11:50:43 +02:00
Roland Geider
68552ea277 Rename conversion functions
This makes it clearer what gets converted to what
2021-05-18 22:14:58 +02:00
Roland Geider
26fc59974d Fetch exercises from server if they are not known locally
This fixes a bug where the workout would not load when an exercise was added to
the database after the exercises were cached locally.
2021-05-17 12:41:19 +02:00
Roland Geider
5069f24957 Point server, fastlane to production 2021-05-01 12:32:23 +02:00
Roland Geider
cceefdf397 Use material translations for common words 2021-04-30 18:51:38 +02:00
Roland Geider
1b7b78c640 Add tests for DayFormWidget 2021-04-23 11:32:00 +02:00
Roland Geider
1f20c87a2d Update calendar widget to 3.0 2021-04-19 16:31:57 +02:00
Roland Geider
7e2ba3468d Show past logs in gym mode
See #13
2021-04-15 13:28:12 +02:00
Roland Geider
ad7507c8b7 Update license header as well 2021-04-13 10:28:15 +02:00
Roland Geider
63584fb8f2 Use individual endpoints to load plan data
While this results in way more requests needed, it has the great benefit of using
the same data structure for reading and writing. This saves us a lot of headaches
in the data modelling and we don't have to care that the info endpoints looked a
bit different.
2021-04-01 16:28:35 +02:00
Roland Geider
ecd2773a87 Upgrade packages and move application to null safety 2021-03-25 22:20:16 +01:00
Roland Geider
1ad4e5aebb Move default server to constants file 2021-03-18 11:16:22 +01:00
Roland Geider
892e9657c2 Alow the user to delete workout days 2021-03-18 11:03:44 +01:00
Roland Geider
9f1332549d I18n more confirmation messages 2021-03-17 12:50:59 +01:00
Roland Geider
d8fe89ba56 Move translations to new i18n approach 2021-03-10 23:32:23 +01:00
Roland Geider
ce3eff0304 Accept more exception errors from the API 2021-02-18 23:17:41 +01:00
Roland Geider
e9c9ae93d6 Allow users to register via the app 2021-02-15 22:27:06 +01:00
Roland Geider
b29436d1e3 Fun with TimeOfDay 2020-12-22 12:54:47 +01:00
Roland Geider
966d5d54d6 Output plan ingredients 2020-12-21 23:41:57 +01:00
Roland Geider
58d131b31a Some more work on the nutritional plans 2020-12-21 20:47:18 +01:00
Roland Geider
cbfaa67c1d Move common code to base provider class 2020-12-21 13:16:40 +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
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
7f8ecfe770 Add provider and screen for body weight entries 2020-11-21 11:44:29 +01:00