Commit Graph

2020 Commits

Author SHA1 Message Date
Roland Geider
39b503e03a Format files as in master 2025-10-09 17:54:24 +02:00
Roland Geider
85ba00b654 Merge branch 'master' into feature/day-type
# Conflicts:
#	lib/models/workouts/day.g.dart
#	lib/models/workouts/day_data.g.dart
#	lib/models/workouts/set_config_data.g.dart
#	lib/models/workouts/slot_data.g.dart
#	lib/models/workouts/slot_entry.g.dart
#	lib/models/workouts/weight_unit.g.dart
#	test/auth/auth_screen_test.mocks.dart
#	test/core/settings_test.mocks.dart
#	test/exercises/contribute_exercise_test.mocks.dart
#	test/gallery/gallery_form_test.mocks.dart
#	test/gallery/gallery_screen_test.mocks.dart
#	test/measurements/measurement_categories_screen_test.mocks.dart
#	test/measurements/measurement_provider_test.mocks.dart
#	test/nutrition/nutritional_meal_form_test.mocks.dart
#	test/nutrition/nutritional_plan_form_test.mocks.dart
#	test/nutrition/nutritional_plan_screen_test.mocks.dart
#	test/nutrition/nutritional_plans_screen_test.mocks.dart
#	test/other/base_provider_test.mocks.dart
#	test/routine/day_form_test.mocks.dart
#	test/routine/gym_mode_screen_test.mocks.dart
#	test/routine/gym_mode_session_screen_test.mocks.dart
#	test/routine/repetition_unit_form_widget_test.mocks.dart
#	test/routine/routine_edit_screen_test.mocks.dart
#	test/routine/routine_edit_test.mocks.dart
#	test/routine/routine_form_test.mocks.dart
#	test/routine/routine_logs_screen_test.mocks.dart
#	test/routine/routine_screen_test.mocks.dart
#	test/routine/routines_provider_test.mocks.dart
#	test/routine/routines_screen_test.mocks.dart
#	test/routine/slot_entry_form_test.mocks.dart
#	test/routine/weight_unit_form_widget_test.mocks.dart
#	test/user/provider_test.mocks.dart
#	test/weight/weight_provider_test.mocks.dart
#	test/weight/weight_screen_test.mocks.dart
2025-10-09 17:39:39 +02:00
Roland Geider
93a11a16e4 Recreate generated files and reformat the repo
Seems the default dart formatting rules changed recently, and this was causing
huge diffs in branches
2025-10-09 17:39:02 +02:00
Roland Geider
6146201531 Allow setting the slot entry type as well 2025-10-09 17:28:23 +02:00
rishad.n
9a801bd2b2 Refactor event type enum and improve loadEvents documentation 2025-10-09 17:19:57 +05:30
Roland Geider
bd37415b8e Remove controllers, these are not needed anymore 2025-10-08 14:49:35 +02:00
Roland Geider
655a3d11d5 Move helper methods to own widgets 2025-10-08 14:48:59 +02:00
Roland Geider
8199205b02 Don't dump all the debug info to the error reporting 2025-10-08 14:42:58 +02:00
Roland Geider
4b9afa5c98 Actually send the correct image fields to the server 2025-10-08 14:34:23 +02:00
Roland Geider
bb2fbc2c73 Rename files to follow naming schema of all others 2025-10-08 14:07:51 +02:00
Roland Geider
c63057fe35 Reuse AddExerciseTextArea in the image form 2025-10-08 14:05:50 +02:00
Roland Geider
0add2a6bd1 Extract url validator to its own file 2025-10-08 14:03:25 +02:00
Roland Geider
a76ca9ae36 Update license notice localization
This keeps the main info text in one block, otherwise translating these
can get tricky
2025-10-08 12:45:37 +02:00
Roland Geider
949ad02ab6 Add generated files
It seems a recent update changes the way dart code is formatted
2025-10-08 12:45:37 +02:00
Roland Geider
1a78011a7d Refactor image handling in the exercise submission process
Now the images are kept in a single list, instead of having two for
the files themselves and the metadata.
2025-10-08 12:45:37 +02:00
Roland Geider
2494effe64 Use existing material localizations for "cancel" and use lower case for "add" 2025-10-06 14:13:27 +02:00
Roland Geider
136d0e0825 Extract some logic to their own widgets 2025-10-06 12:43:05 +02:00
Roland Geider
fa7f670e9f Some light cleanup 2025-10-06 12:31:12 +02:00
Roland Geider
39be6a3edf Allow setting the day type in the edit form 2025-10-06 11:36:27 +02:00
Branislav Nohaj
6f5777fbcb Simplify image upload and improve logging
Remove unnecessary response validation, replace print statements
with proper Logger module, and clean up debug output.
2025-10-04 16:13:22 +02:00
Branislav Nohaj
c00246dedb Add image source selection and preview improvements
Add dialog for camera/gallery selection and improve preview widget
with edit mode toggle. Preview now supports add-more callback and
can be displayed in read-only mode.
2025-10-04 16:13:02 +02:00
Branislav Nohaj
1903fb4d5e Add image details form with license metadata collection
Implement form for collecting CC BY-SA 4.0 license metadata
including title, author, URLs, and image style. Includes URL
validation and uses localized strings.
2025-10-04 16:12:41 +02:00
Branislav Nohaj
65fd2f0906 Add separate license info widget for CC BY-SA notice 2025-10-04 16:12:18 +02:00
Branislav Nohaj
b1ef5df97a data for localization 2025-10-04 15:39:35 +02:00
Branislav Nohaj
7bc8463406 dar format was performed 2025-10-04 11:13:10 +02:00
Branislav Nohaj
cb138f41f7 missing button fix 2025-10-04 11:07:41 +02:00
Branislav Nohaj
e9ab11c8bb added better comments 2025-10-04 10:58:36 +02:00
Branislav Nohaj
ed8e9ec744 Added option in mobile app to add more info about image 2025-10-04 10:22:01 +02:00
Roland Geider
a10b7eb9f7 Pass parameter to create new variation and link exercises 2025-09-28 15:03:28 +02:00
Roland Geider
960abc9bec Merge branch 'master' into feature/exercise-submission 2025-09-28 14:38:22 +02:00
Roland Geider
ccbaf0b42a Allow multiple weight entries per day 2025-09-26 12:21:50 +02:00
Roland Geider
7f8657376a Delete unused files 2025-09-24 13:03:00 +02:00
Roland Geider
530efd366e Some renaming 2025-09-24 12:31:28 +02:00
Roland Geider
5f7116ca92 Use correct json key names 2025-09-24 12:26:41 +02:00
Roland Geider
84c29eb209 Use the regular ingredient endpoint, instead of the special search one 2025-09-24 01:35:03 +02:00
Roland Geider
a7ee4ff5b3 Merge pull request #855 from wger-project/nutrition-plan-stats
Nutrition plan stats
2025-09-22 16:19:04 +02:00
Ryohei Morimoto
49a0c7fd47 Translated using Weblate (Japanese)
Currently translated at 59.0% (186 of 315 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ja/
2025-09-22 14:27:36 +02:00
Daniel
879ef62c05 Translated using Weblate (Spanish)
Currently translated at 100.0% (315 of 315 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2025-09-22 14:27:35 +02:00
Nelumbo Nucifera
33b28f6a11 Added translation using Weblate (Thai) 2025-09-22 14:27:34 +02:00
Roland Geider
97242c4097 Translated using Weblate (German)
Currently translated at 100.0% (315 of 315 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2025-09-22 14:27:33 +02:00
Patrik
e53a0fbfed Translated using Weblate (Slovak)
Currently translated at 31.7% (100 of 315 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/sk/
2025-09-22 14:27:32 +02:00
Patrik
d9a61af36b Added translation using Weblate (Slovak) 2025-09-22 14:27:32 +02:00
Максим Горпиніч
ae2b475586 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (315 of 315 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2025-09-22 14:27:31 +02:00
Panoloo
26e55b9e64 Translated using Weblate (German)
Currently translated at 100.0% (315 of 315 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2025-09-22 14:27:30 +02:00
Iskander
c4995280ff Translated using Weblate (Russian)
Currently translated at 83.7% (263 of 314 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ru/
2025-09-22 14:27:29 +02:00
Daniel
f6d410b852 Translated using Weblate (Spanish)
Currently translated at 100.0% (314 of 314 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2025-09-22 14:27:28 +02:00
saalaataa
cf58947c6c Translated using Weblate (Polish)
Currently translated at 99.3% (312 of 314 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2025-09-22 14:27:27 +02:00
Roland Geider
6aadffb875 Translated using Weblate (German)
Currently translated at 99.3% (312 of 314 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2025-09-22 14:27:26 +02:00
Iman Karimian
ff67469b3f Added translation using Weblate (Persian) 2025-09-22 14:27:25 +02:00
Vlad Bejenaru
0185eb8426 Translated using Weblate (Romanian)
Currently translated at 29.9% (94 of 314 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ro/
2025-09-22 14:27:25 +02:00