Roland Geider
8acde9adaa
Add startTime to GymState and update GymMode to use it
...
This keeps the start time, even if the user leaves the gym mode and returns
later, which is what we want anyway.
2025-04-17 16:34:42 +02:00
Roland Geider
c673fa0ea6
Add test for the workout log deletion dialog
2025-04-17 15:18:49 +02:00
Roland Geider
88d66b336c
Properly update the UI when deleting workout logs
...
The problem was that we were passing the exercises and session from the
calendar events, which wasn't being reloaded when the logs were deleted. Now
we only pass the selected date and fetch the logs from the routine.
2025-04-17 10:26:44 +02:00
Roland Geider
4920c2a091
Fix overflow bug in meal.dart
...
This should also fix the problem when generating the goldens. The loadAppFonts
and the check for Linux was removed as well, if the pseudo-font helps with a
constant rendering among all platforms we don't need those.
2025-04-12 17:57:24 +02:00
Greg
5b1b096422
Translated using Weblate (Hungarian)
...
Currently translated at 7.7% (23 of 295 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hu/
2025-04-05 13:11:33 +00:00
Wen QI
dfeff86fca
Translated using Weblate (Chinese (Simplified Han script))
...
Currently translated at 99.3% (293 of 295 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2025-04-05 13:11:32 +00:00
The_Quintino
3a1ba8a573
Translated using Weblate (Portuguese)
...
Currently translated at 92.8% (274 of 295 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2025-04-05 13:11:32 +00:00
தமிழ்நேரம்
8becfdac37
Translated using Weblate (Tamil)
...
Currently translated at 100.0% (295 of 295 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ta/
2025-04-05 13:11:31 +00:00
Максим Горпиніч
cbd8ad29e6
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (295 of 295 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2025-04-05 13:11:29 +00:00
Roland Geider
4effd5af5a
Show server side validation errors
2025-04-04 19:22:21 +02:00
Roland Geider
59ea2d93e7
Set the authentication state, just to be sure
2025-04-01 21:48:26 +02:00
Roland Geider
9055514dec
Migrate models to work with freezed 3.0.0
2025-04-01 21:48:00 +02:00
Roland Geider
6742c8091a
Return the actions enum directly, no need for a dict here
2025-04-01 21:39:45 +02:00
Roland Geider
1af416c87e
Merge branch 'master' into feature/improve-min-app-version
2025-04-01 21:24:58 +02:00
Roland Geider
6ce57af131
Exclude some files from the coverage report
2025-03-31 12:24:21 +02:00
Roland Geider
61f61a64c5
Merge branch 'master' into feature/improve-min-app-version
...
# Conflicts:
# lib/providers/auth.dart
2025-03-31 09:44:43 +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
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
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
6fd74f0f80
Use localized kcal message
2025-03-29 15:06:45 +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
Yashas H Majmudar
1c65bbfbbc
Merge branch 'wger-project:master' into yhm/issue-731
2025-03-28 22:37:26 -04:00
Yashas H Majmudar
6d0d93bd8f
fix: unused import error
2025-03-28 22:08:29 -04:00
Roland Geider
e4b550ab52
Refactor app version handling and update authentication flow
...
Previously, this was only triggered when logging in to the application. If a user
just opened the app, it would just stop working. We also now always check this min
version and have removed the option from the android manifest file since disabling
this doesn't make much sense and we have many other platforms as well (iOS, flatpak)
2025-03-28 17:22:36 +01: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
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
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
Yashas H Majmudar
ce07a9cf00
format dart convention
2025-03-26 12:25:50 -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
821ffbfc2e
Merge pull request #766 from yashas-hm/yhm/issue-743
...
Exercise filters bug fix: Issue #743
2025-03-26 15:54:19 +01:00
Roland Geider
74752505eb
Change rir and rirTarget types from String to num
...
This is more consistent with the other fields and is now the same as the backend
2025-03-26 15:03:15 +01:00
Yashas H Majmudar
b2802e3a98
fix: isExpanded variable bool flip
2025-03-25 23:10:05 -04:00
Yashas H Majmudar
39b50aef36
format: correct char length format
2025-03-24 11:53:04 -04:00
Yashas H Majmudar
e363a4152f
add: documentation
2025-03-23 14:40:17 -04:00
Yashas H Majmudar
529c63c92e
migration: migrated all instances of sharedPreferences to sharedPreferencesAsync
2025-03-23 14:26:05 -04:00
Yashas H Majmudar
5c0eba2ed1
feat: preference helper singleton for easy access for preferences
2025-03-23 14:25:06 -04:00
Roland Geider
86b61916f4
Remove the simple_barcode_scanner dependency
...
Turns out, we weren't even using it (or flutter_barcode_scanner)...
2025-03-21 09:10:49 +01:00