Commit Graph

2001 Commits

Author SHA1 Message Date
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
Alejandro Castro
1320045258 Translated using Weblate (Spanish)
Currently translated at 98.4% (309 of 314 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2025-09-22 14:27:24 +02:00
Luca Galli
e78f5fb724 Translated using Weblate (Italian)
Currently translated at 100.0% (314 of 314 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2025-09-22 14:27:23 +02:00
Ninguém Mesmo
736ae8cf12 Translated using Weblate (Portuguese)
Currently translated at 99.0% (311 of 314 strings)

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

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

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

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2025-09-22 14:27:19 +02:00
SirWerto
cec56d4d2e Translated using Weblate (Spanish)
Currently translated at 85.2% (266 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2025-09-22 14:27:18 +02:00
Jose David Villegas (JoseDv1)
666fe5ee5c Translated using Weblate (Spanish)
Currently translated at 81.4% (254 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2025-09-22 14:27:18 +02:00
Marco Diaz
fe44a870b7 Translated using Weblate (Spanish)
Currently translated at 78.2% (244 of 312 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2025-09-22 14:27:17 +02:00
Roland Geider
ba34570a3d Add image upload methods
We use the "manual" way as it was before, since there were some problems
making this work and most of the errors were happening during the exercise
creation itself.
2025-09-19 22:27:04 +02:00
Roland Geider
9ea8362d20 Show an overview with the new exercise data before saving
Also, correctly parse all validation errors that might be returned by the server
2025-09-19 16:59:18 +02:00
Roland Geider
711d7c0aba Update exercise submission model and related files
This now uses the combined endpoint, which creates the different objects
itself within a transaction, ensuring that no orphans can be created.
2025-09-18 21:57:27 +02:00
Roland Geider
4c34f91028 Merge pull request #905 from wger-project/feature/better-logging
Save the application logs locally
2025-09-16 15:21:51 +02:00
Roland Geider
798406eaa9 Make routineId nullable in session and related files
Sessions can be added ad-hoc, without needing to be part of any specific
routine.
2025-09-16 14:47:47 +02:00
Roland Geider
9b3957fe35 Use "clock" for mocking dates and datetimes
This should make the tests a bit more robust, specially in CI since these
tended to fail depending on how long and when the tests run. Also, rework
a bit the way the start and end dates in sessions were being handled and
initialised
2025-09-16 14:45:16 +02:00
Roland Geider
dbd3fa915d Refactor PlanForm
* Date values are now localized
* Remove text controllers since we were setting the values in the plan
  object directly as well as setting them in the controllers anyway. Note
  that this is still not an ideal solution since if we change something
  in the form and close it, the changes are still reflected in the UI, just
  not preserved to the server.
 * Move basic date sanity cheks to the model
2025-09-12 16:24:56 +02:00
Roland Geider
d9b4d66c0f Add tests for interpolation logic 2025-09-12 15:03:33 +02:00
Roland Geider
6cc96310c5 Simplify currentPlan 2025-09-12 14:37:32 +02:00
Roland Geider
0fd2af030d Merge branch 'refs/heads/master' into nutrition-plan-stats 2025-09-12 14:05:38 +02:00