Commit Graph

499 Commits

Author SHA1 Message Date
Roland Geider
be409333d6 Add measurement provider 2021-07-24 21:27:21 +02:00
Roland Geider
a43480fa8b Commit missing files 2021-07-24 13:14:03 +02:00
Roland Geider
5e64feea30 Fix tests
The measurement entries are not directly loaded from JSON
2021-07-24 13:13:32 +02:00
ton-An
a88298cc7b Changed the measurement entries key 2021-07-24 12:26:01 +02:00
ton-An
8be7b34368 Created tests for the measurement models
- Changed Measurement to MeasurementCategory
- Finished toJson and fromJson methods of the measurement models
2021-07-24 12:25:44 +02:00
ton-An
c76bfaca77 Added Measurement Models 2021-07-24 12:24:58 +02:00
Roland Geider
0249c3752e Use correct label when there are no nutritional plans 2021-07-24 01:03:14 +02:00
ton-An
9d29c12459 Moved l10n.yaml to root dir
And added 'nullable-getter: false' to avoid adding a '!' to every call
of AppLocalizations
2021-07-22 11:50:52 +02:00
yiter
946b905cce Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (130 of 130 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-07-22 04:26:59 +02:00
yiter
454d706af6 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (130 of 130 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-07-18 13:38:04 +02:00
Roland Geider
e75e347c0e Translated using Weblate (German)
Currently translated at 100.0% (130 of 130 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-07-18 13:38:03 +02:00
Roland Geider
56fa133fd0 Merge remote-tracking branch 'origin/master' 2021-07-17 13:25:10 +02:00
Roland Geider
6646640b9c Show set notes on the workout and the gym mode
https://github.com/wger-project/wger/issues/702
2021-07-17 13:25:04 +02:00
yiter
22e53ba54f Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (130 of 130 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-07-16 12:53:41 +02:00
yiter
e4bff94e56 Translated using Weblate (Chinese (Simplified))
Currently translated at 97.6% (127 of 130 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-07-16 12:33:36 +02:00
Roland Geider
d1a4088708 Merge branch 'M123-dev/issue-48'
# Conflicts:
#	pubspec.lock
#	pubspec.yaml
2021-07-13 17:17:42 +02:00
Roland Geider
568a165180 Make more obvious that exercises are added together into a superset
Closes #56
2021-07-13 17:13:19 +02:00
yiter
5352eb51ee Translated using Weblate (Chinese (Simplified))
Currently translated at 96.8% (125 of 129 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-07-13 11:54:41 +02:00
Roland Geider
b13a9472e7 Correctly set the category for test exercises... 2021-07-08 18:25:23 +02:00
Github-actions
97de128557 Automatic linting 2021-07-08 16:23:21 +00:00
Roland Geider
2ce9a8c8f3 Don't load category ID
The info endpoint returns the category object
2021-07-08 18:21:43 +02:00
Roland Geider
c0fb0ed362 Fix return value for Dialog 2021-07-08 18:13:00 +02:00
Roland Geider
78c53987e8 Fix casting error in nutrition chart 2021-07-08 18:12:45 +02:00
Roland Geider
05b66605af Regenerate mocks and generated files 2021-07-08 18:12:19 +02:00
Marvin M
3671b62d79 Update forms.dart 2021-07-08 11:50:28 +02:00
Marvin M
96527ad25e Changed workout name + workout day name restriction
https://github.com/wger-project/flutter/issues/48
And it autoformatted
2021-07-08 11:41:43 +02:00
Roland Geider
8999b9bc27 Add drag handles to reorderable sets
This makes it more obvious that the order can be changed
2021-07-08 08:17:55 +02:00
Github-actions
bc21e44a30 Automatic linting 2021-07-01 15:10:27 +00:00
Roland Geider
f56d02b2b3 Merge pull request #50 from arun-muralidharan/master
Reorder Sets
2021-07-01 17:08:54 +02:00
yiter
7e18674f05 Translated using Weblate (Chinese (Simplified))
Currently translated at 82.9% (107 of 129 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-30 11:32:54 +02:00
Roland Geider
cbea0a0b96 Translated using Weblate (German)
Currently translated at 100.0% (129 of 129 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-06-30 11:32:54 +02:00
Arun Muralidharan
7eb26da243 Reorder Sets
Now updates order upon deletion as well. Order will be set to length of sets upon adding a new one.
2021-06-28 21:56:25 +02:00
Arun Muralidharan
22993a0151 Reorder List
Change in order now reflects in DB as well.
2021-06-28 14:59:43 +02:00
yiter
d89e5e5dda Translated using Weblate (Chinese (Simplified))
Currently translated at 82.9% (107 of 129 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-28 14:32:14 +02:00
Arun Muralidharan
db04964f20 Reorder Sets
Progress PR for Issue #41. Currently you can edit the order (long press to reorder) in the workout plan screen. The order change is only local; it persists only for the current session. However, I have not figured out how to reflect the changed order in the DB using the API. Does Day even store the order of its Sets in the DB? Or is it dynamically populated into the model in the app?
2021-06-27 23:36:53 +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
50043269b9 Test
Added tests for TimeOfDay comparsion extensions.
2021-06-22 22:02:40 +02: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
yiter
3611819822 Translated using Weblate (Japanese)
Currently translated at 0.7% (1 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ja/
2021-06-22 13:32:12 +02:00
Marvin M
9db1303591 Translated using Weblate (German)
Currently translated at 100.0% (128 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2021-06-22 13:32:12 +02:00
yiter
ebcce2bdac Translated using Weblate (Chinese (Simplified))
Currently translated at 83.5% (107 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-21 10:18:52 +02:00
yiter
7a65fd17d4 Added translation using Weblate (Japanese) 2021-06-21 05:56:30 +02:00
Roland Geider
ca1849599b Rename file
Flutter always needs a base translation
2021-06-20 15:17:03 +02:00
Github-actions
a352cb5e67 Automatic linting 2021-06-20 13:14:26 +00:00
Roland Geider
3544cdb7c7 Merge pull request #45 from arun-muralidharan/weight-fix-38
Plate Weight - Fix for #38
2021-06-20 15:13:06 +02:00
Github-actions
7492b53c67 Automatic linting 2021-06-20 13:09:24 +00:00
Arun Muralidharan
e4c16c52c4 Weight Fix
Fixed +/- button in gym mode to add twice the minimum plate weight, since we add one to each side.
2021-06-20 14:57:44 +02:00
yiter
e452ade709 Translated using Weblate (Chinese (Simplified))
Currently translated at 38.2% (49 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-20 10:32:14 +02:00
yiter
941f9ef323 Translated using Weblate (Chinese (Simplified))
Currently translated at 12.5% (16 of 128 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2021-06-18 11:21:37 +02:00