Commit Graph
3044 Commits
Author SHA1 Message Date
dependabot[bot] b1c25e82bb Bump provider from 6.1.2 to 6.1.4
Bumps [provider](https://github.com/rrousselGit/provider) from 6.1.2 to 6.1.4.
- [Commits](https://github.com/rrousselGit/provider/compare/provider-v6.1.2...provider-v6.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-01 21:22:17 +02:00
Roland Geider 6ce57af131 Exclude some files from the coverage report 2025-03-31 12:24:21 +02:00
dependabot[bot] 45d671f4f9 Bump video_player from 2.9.3 to 2.9.5
Bumps [video_player](https://github.com/flutter/packages/tree/main/packages/video_player) from 2.9.3 to 2.9.5.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/video_player-v2.9.5/packages/video_player)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 10:29:25 +02:00
dependabot[bot] ef8acbe3c7 Bump shared_preferences from 2.5.2 to 2.5.3
Bumps [shared_preferences](https://github.com/flutter/packages/tree/main/packages/shared_preferences) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/shared_preferences-v2.5.3/packages/shared_preferences)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 10:29:10 +02:00
Roland Geider bc45e46b11 Use clock package in workout_logs.dart
This is needed in order to be able to mock the current time in the tests
2025-03-30 12:44:32 +02:00
Roland Geider b0e6b3d1a9 Load app fonts 2025-03-30 12:26:13 +02:00
Roland Geider db6687010d Mock the current day in the routine logs test
The calendar marks the current day, so the goldens were constantly changing
and would always fail.
2025-03-30 12:17:15 +02:00
Roland Geider df06cef398 await for all setExercisesAndUnits calls
Not setting the "await" was causing the method to be run asynchronously which means
that sometimes these would get called several times for the same exercise, which in
turn would cause exercises to be written several times to the local db, polluting the
exercise list, etc. etc.

We increase the schemaVersion of the database because this causes all the cache tables
to be dropped and re-created
2025-03-29 16:37:11 +01:00
Roland Geider a0beb071bd Update Podfile.lock 2025-03-29 16:23:40 +01:00
Roland Geider d15ef94ae2 Cleanup, the text controller is only used in another widget 2025-03-29 15:50:43 +01:00
Roland Geider 301f48a966 More renaming of exercise base to just exercise 2025-03-29 15:50:13 +01:00
Roland Geider 9b1e369efe Remove todo, we just merged the carousel for images 2025-03-29 15:31:44 +01:00
Roland Geider 8094f0f1d9 Merge branch 'fork/peter9teufel/ios-project-settings'
# Conflicts:
#	ios/Podfile.lock
#	ios/Runner.xcodeproj/project.pbxproj
2025-03-29 15:12:47 +01:00
Roland Geider da613c8d86 No need to use the "community" name for android 2025-03-29 15:09:20 +01:00
Roland Geider 6fd74f0f80 Use localized kcal message 2025-03-29 15:06:45 +01:00
Roland Geider 804624c384 update goldens 2025-03-29 14:51:44 +01:00
Roland Geider c28ec70fb6 Fix borked imports? 2025-03-29 14:50:41 +01:00
Roland Geider 0cc0bc94fe Merge branch 'fork/yashas-hm/yhm/issue-767' 2025-03-29 14:45:26 +01:00
Roland Geider ef003c28ab Add some padding so that the images don't collide with the info dots 2025-03-29 14:45:12 +01:00
Roland Geider 47f6aa36d3 Formatting 2025-03-29 14:32:58 +01:00
Roland Geider e31c54365b Also convert the rpe to a number
This was causing some errors when loading routines that had a defined RiR
2025-03-29 14:32:39 +01:00
Roland Geider 7c1601f6f0 Merge pull request #761 from yashas-hm/yhm/issue-731
SharedPreferences to SharedPreferencesAsync Migration: #731
2025-03-29 13:02:05 +01:00
Yashas H Majmudar 3d89027ed2 Merge remote-tracking branch 'origin/yhm/issue-731' into yhm/issue-731 2025-03-28 22:38:02 -04:00
Yashas H Majmudar 1c65bbfbbc Merge branch 'wger-project:master' into yhm/issue-731 2025-03-28 22:37:26 -04:00
Yashas H Majmudar 7786416ed3 fix: auth screen test issue 2025-03-28 22:37:00 -04:00
Yashas H Majmudar 6d0d93bd8f fix: unused import error 2025-03-28 22:08:29 -04:00
Roland Geider cacb89f8b1 Replace WEIGHT_UNIT_KG_ID
No need to have two constants for the same thing
2025-03-28 17:21:41 +01:00
Roland Geider cde9d64a2c Merge branch 'master' into yhm/issue-731 2025-03-28 16:15:52 +01:00
Roland Geider 94cef0278c update goldens 2025-03-28 16:08:44 +01:00
Roland Geider 527c645968 Don't add the emails to the contributors
These are not a secret and can be extracted from the logs, but we probably shouldn't
expose them to harvesters too much
2025-03-27 17:53:56 +01:00
Roland Geider 13614ee4fe Merge branch 'master' into fork/mutairibassam/feature/min-version-handling
# Conflicts:
#	AUTHORS.md
#	lib/providers/auth.dart
2025-03-27 17:43:58 +01:00
Roland Geider 73ac0225fb Update pull_request_template.md 2025-03-27 17:42:58 +01:00
Roland Geider 865d3e7ec5 Update AUTHORS.md
This file is now automatically generated, so there's no need to manually add
the contributors to it. Also, use a similar format for the pull request template
as used in the backend
2025-03-27 17:42:58 +01:00
Roland Geider 276f6dd480 Let's not be that much up-to-date... 2025-03-27 17:42:58 +01:00
Roland Geider a5c0cc04d6 Merge pull request #768 from yashas-hm/yhm/issue-724
Nutrition dialog image fix: Issue #724
2025-03-27 17:09:27 +01:00
Yashas H Majmudar 4b529d3a64 update: carousel to carousel slider 2025-03-27 11:24:06 -04:00
Yashas H Majmudar 8f9ae5bcc0 update: carousel to carousel slider 2025-03-27 11:22:03 -04:00
Yashas H Majmudar 3716dae2d2 update: custom carousel indicator spacing 2025-03-27 10:07:30 -04:00
Yashas H Majmudar 808970d738 feat: Carousel for images in exercise details 2025-03-27 10:06:03 -04:00
Yashas H Majmudar 7728bb0d70 Merge branch 'master' into yhm/issue-724
# Conflicts:
#	AUTHORS.md
#	ios/Runner.xcodeproj/project.pbxproj
2025-03-26 18:45:56 -04:00
thisisyoussef b1328fa048 Added to AUTHORS.md 2025-03-26 21:32:03 +01:00
thisisyoussef 3312da1f61 Fix rendering of muscles in MuscleWidget
Ensure that when a muscle is both main and secondary, only the main muscle background is drawn.
This addresses potential overlaps and redundant rendering in the MuscleWidget.
2025-03-26 21:32:03 +01:00
Roland Geider ae64c2377d update goldens 2025-03-26 18:28:55 +01:00
Yashas H Majmudar ce07a9cf00 format dart convention 2025-03-26 12:25:50 -04:00
Yashas H Majmudar 41dd7e67fe add: author, update: podfile.lock 2025-03-26 12:22:19 -04:00
Yashas H Majmudar cec9a1e287 update: podfile.lock 2025-03-26 12:18:56 -04:00
Yashas H Majmudar 59799669c7 update: ingredient image look 2025-03-26 12:16:27 -04:00
Roland Geider d2097bf319 Show full exercise info in gym mode
This makes the ExerciseOverview smaller and more consistent

See #301
2025-03-26 16:31:27 +01:00
Roland Geider 3ca0c1781f Add a maximum height for exercise images 2025-03-26 16:24:54 +01:00
Roland Geider c8de1c3726 Show command to format lines to 100 characters 2025-03-26 16:11:42 +01:00