Commit Graph

847 Commits

Author SHA1 Message Date
Roland Geider
bc28fe8624 Start adding variations handling 2022-03-31 00:07:12 +02:00
Roland Geider
75dd047adf Add a bit of padding before the navigation buttons 2022-03-30 00:11:22 +02:00
Roland Geider
3d4f48a88d Hide the translation fields, not all users will need this 2022-03-29 23:58:00 +02:00
Roland Geider
c5a9f554c8 Allow uploading images taken directly with the camera 2022-03-29 23:08:35 +02:00
Roland Geider
c819e51fc8 Swap method names 2022-03-29 22:00:50 +02:00
Roland Geider
16ef887c29 Move validation logic to helpers 2022-03-29 00:03:48 +02:00
Roland Geider
f548be4f34 Validate the alternative names as well
Also, add a maximum length for the names as well
2022-03-28 23:58:31 +02:00
Roland Geider
c4d26b3f01 Add some validation to the exercise form 2022-03-28 23:36:46 +02:00
Roland Geider
6214240ea0 Don't allow the user to skip steps 2022-03-28 23:02:52 +02:00
Roland Geider
0b7a6e31c1 Correctly update muscle overview 2022-03-28 22:20:56 +02:00
Roland Geider
b87784f5fc Add an additional step when adding exercises 2022-03-28 22:11:31 +02:00
Roland Geider
a2f0a86510 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	pubspec.lock
2022-03-27 13:54:43 +02:00
Roland Geider
0901962e23 Initialize the categories and languages 2022-03-13 11:31:19 +01:00
Roland Geider
7c59457df2 Use correct label 2022-03-13 11:14:02 +01:00
WMs784
92073ac529 added translations to Japanese 2022-03-13 11:48:33 +09:00
WMs784
e8a7c3e155 added translations to Japanese 2022-03-13 10:57:25 +09:00
Roland Geider
5ef94ddf7a Merge branch 'master' into feature/exercise-crowdsourcing 2022-03-12 23:50:39 +01:00
Roland Geider
af5aa0f7fe Show color of main and secondary muscles 2022-03-12 23:35:30 +01:00
Roland Geider
4241750708 Always set the values of the selected muscles and categories
Otherwise it's not possible to remove all selections after having clicked on one
2022-03-12 23:25:23 +01:00
Roland Geider
633e7b76d4 Fix path for trained muscles 2022-03-12 23:19:45 +01:00
Roland Geider
8ff1b1e8ef Update list of secondary muscles 2022-03-12 22:37:37 +01:00
Roland Geider
80a5793a54 Call notifyListeners when setting list of muscles
This is needed to update the muscle overview widget
2022-03-12 22:33:14 +01:00
Roland Geider
48ea85794a Finally fix some errors with the multi select widget
Now it's possible to add and remove elements
2022-03-12 22:13:36 +01:00
Roland Geider
9b9afcc4e7 Don't use magic numbers to save the art style of an image 2022-03-12 21:44:15 +01:00
WMs784
c28fecea56 added translations of japanese 2022-03-13 01:16:02 +09:00
WMs784
8f8ad62884 added translations of japanese 2022-03-13 01:12:12 +09:00
MARCO ACORTE
7bbe2005ea Translated using Weblate (Italian)
Currently translated at 100.0% (159 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2022-03-10 11:54:51 +01:00
Roland Geider
e111839b3f Save aliases to the DB 2022-03-05 13:55:43 +01:00
Oğuz Ersen
63fd5c9b60 Translated using Weblate (Turkish)
Currently translated at 100.0% (159 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/tr/
2022-02-27 23:05:24 +01:00
Jing
37bdb0139a Translated using Weblate (Chinese (Simplified))
Currently translated at 98.7% (157 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2022-02-25 21:54:09 +01:00
Roland Geider
545f96b1c4 Some cleanup 2022-02-20 19:19:40 +01:00
Roland Geider
7e07b2d594 Allow jumping back to the past steps by tapping on them 2022-02-20 19:19:22 +01:00
Roland Geider
b011ddcd25 POST images when creating new exercises 2022-02-20 15:54:32 +01:00
Roland Geider
19a504dcfb Actually create exercise bases and translations 2022-02-20 14:40:42 +01:00
Roland Geider
5cebbb7c7f Fix merge conflicts 2022-02-19 22:16:32 +01:00
Roland Geider
badc3257d0 Merge branch 'master' into feature/exercise-crowdsourcing
# Conflicts:
#	assets/images/muscles/back.svg
#	assets/images/muscles/main/muscle-1.svg
#	assets/images/muscles/main/muscle-10.svg
#	assets/images/muscles/main/muscle-11.svg
#	assets/images/muscles/main/muscle-12.svg
#	assets/images/muscles/main/muscle-13.svg
#	assets/images/muscles/main/muscle-14.svg
#	assets/images/muscles/main/muscle-15.svg
#	assets/images/muscles/main/muscle-16.svg
#	assets/images/muscles/main/muscle-2.svg
#	assets/images/muscles/main/muscle-3.svg
#	assets/images/muscles/main/muscle-4.svg
#	assets/images/muscles/main/muscle-5.svg
#	assets/images/muscles/main/muscle-6.svg
#	assets/images/muscles/main/muscle-7.svg
#	assets/images/muscles/main/muscle-8.svg
#	assets/images/muscles/main/muscle-9.svg
#	assets/images/muscles/secondary/muscle-1.svg
#	assets/images/muscles/secondary/muscle-10.svg
#	assets/images/muscles/secondary/muscle-11.svg
#	assets/images/muscles/secondary/muscle-12.svg
#	assets/images/muscles/secondary/muscle-13.svg
#	assets/images/muscles/secondary/muscle-14.svg
#	assets/images/muscles/secondary/muscle-15.svg
#	assets/images/muscles/secondary/muscle-16.svg
#	assets/images/muscles/secondary/muscle-2.svg
#	assets/images/muscles/secondary/muscle-3.svg
#	assets/images/muscles/secondary/muscle-4.svg
#	assets/images/muscles/secondary/muscle-5.svg
#	assets/images/muscles/secondary/muscle-6.svg
#	assets/images/muscles/secondary/muscle-7.svg
#	assets/images/muscles/secondary/muscle-8.svg
#	assets/images/muscles/secondary/muscle-9.svg
#	lib/helpers/consts.dart
#	lib/l10n/app_en.arb
#	lib/models/exercises/exercise.dart
#	lib/models/exercises/exercise.g.dart
#	lib/providers/exercises.dart
#	lib/widgets/exercises/exercises.dart
#	pubspec.lock
#	pubspec.yaml
#	test/exercises/exercises_detail_widget_test.dart
#	test/nutrition/nutritional_plan_form_test.mocks.dart
#	test/workout/workout_set_form_test.mocks.dart
2022-02-19 22:07:47 +01:00
Roland Geider
a1b0fce54f Merge pull request #129 from wger-project/feature/exercise-videos
exercise videos
2022-02-19 21:04:58 +01:00
KenXRan
bc40a8bfca Added translation using Weblate (Chinese (Traditional)) 2022-02-19 07:01:27 +01:00
Roland Geider
d8933def9b Add versioning to the exercise cache
This was backported from the exercise crowdsourcing branch and is needed since
we are adding new data structures, in this case the exercises.
2022-02-18 21:12:05 +01:00
Roland Geider
aa4d3c59d8 Fix tests 2022-02-18 20:29:34 +01:00
Roland Geider
df4f8c1817 Use cached exercises
This was committed by mistake
2022-02-18 20:05:48 +01:00
sr-c
b011471dbe Translated using Weblate (Chinese (Simplified))
Currently translated at 97.4% (155 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2022-02-18 08:56:04 +01:00
Milo Ivir
4e6f0b412c Translated using Weblate (Croatian)
Currently translated at 100.0% (159 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2022-02-15 01:57:46 +01:00
Nikita Epifanov
9f20241efd Translated using Weblate (Russian)
Currently translated at 98.1% (156 of 159 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ru/
2022-02-06 15:56:30 +01:00
Roland Geider
32bf5b3723 Correctly initialise the video controller 2022-02-03 20:02:10 +01:00
Roland Geider
f0195ab235 Update gallery after adding or deleting a picture
Fixes #128
2022-02-03 11:48:49 +01:00
Roland Geider
d78fa35de8 Filter by exercise bases in overview 2022-02-02 19:12:01 +01:00
Roland Geider
8e800b5097 Update gallery after adding or deleting a picture
Fixes #128
2022-02-02 17:07:20 +01:00
Roland Geider
1bd33a71f5 Add const keyword 2022-02-01 19:36:42 +01:00
Roland Geider
4093e0fe07 Set all other exercise information 2022-01-31 22:06:59 +01:00