Commit Graph

3548 Commits

Author SHA1 Message Date
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
Roland Geider
993e7a6bae Merge pull request #949 from rishad13/master
Refactor event type enum and improve loadEvents documentation
2025-10-09 14:31:46 +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
cb9d2a0e97 Add other build folders to .gitignore 2025-10-08 14:10:21 +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
6b6afbb528 Update Podfile.lock 2025-10-08 12:46:34 +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
dependabot[bot]
50b63a4749 Bump astral-sh/setup-uv from 6 to 7
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 6 to 7.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/v6...v7)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-08 11:09:23 +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
dependabot[bot]
bad5e68fb6 Bump build_runner from 2.8.0 to 2.9.0
Bumps [build_runner](https://github.com/dart-lang/build) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](https://github.com/dart-lang/build/compare/build_runner-v2.8.0...build_runner-v2.9.0)

---
updated-dependencies:
- dependency-name: build_runner
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 13:53:25 +02:00
Roland Geider
ad15da0de4 Merge pull request #944 from wger-project/dependabot/pub/sqlite3_flutter_libs-0.5.40
Bump sqlite3_flutter_libs from 0.5.39 to 0.5.40
2025-10-06 13:52:54 +02:00
Roland Geider
136d0e0825 Extract some logic to their own widgets 2025-10-06 12:43:05 +02:00
Roland Geider
2c963522ad Merge branch 'fork/Oknarb258/master' 2025-10-06 12:33:11 +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
dependabot[bot]
796b142c7a Bump sqlite3_flutter_libs from 0.5.39 to 0.5.40
Bumps [sqlite3_flutter_libs](https://github.com/simolus3/sqlite3.dart) from 0.5.39 to 0.5.40.
- [Release notes](https://github.com/simolus3/sqlite3.dart/releases)
- [Commits](https://github.com/simolus3/sqlite3.dart/compare/sqlite3_flutter_libs-0.5.39...sqlite3_flutter_libs-0.5.40)

---
updated-dependencies:
- dependency-name: sqlite3_flutter_libs
  dependency-version: 0.5.40
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 00:05:15 +00: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
Roland Geider
5e96667afb Update Podfile.lock 2025-10-04 12:03:09 +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
043d22737e Merge pull request #929 from wger-project/feature/exercise-submission
Use new endpoint for exercise submission
2025-09-28 16:32:50 +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
84681e670a Bump flatpak-flutter version 2025-09-28 14:37:54 +02:00
Roland Geider
1ed52f573b Merge pull request #927 from wger-project/feature/allow-multiple-weight-entries-per-day
Allow multiple weight entries per day
2025-09-26 14:05:31 +02:00
Roland Geider
ccbaf0b42a Allow multiple weight entries per day 2025-09-26 12:21:50 +02:00
Roland Geider
2e5209b700 Merge pull request #926 from wger-project/feature/ingredient-search
Use ingredient endpoint for search
2025-09-24 13:51:49 +02:00
Roland Geider
d90fe670f1 Remove debug output 2025-09-24 13:45:54 +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
352ac6ebcc Bump sqlite dependency
This was somehow not commited, but the pubspec.lock hat the correct version
2025-09-23 16:02:04 +02:00
Roland Geider
4cb466d5a5 Actually upload the runner zip file, not the folder... 2025-09-23 12:39:21 +02:00