Commit Graph

3052 Commits

Author SHA1 Message Date
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
6ee7dd048b Write result to coverage/lcov.info 2025-04-01 21:24:11 +02:00
dependabot[bot]
6d97ef7a2b Bump freezed and freezed_annotation
Bumps [freezed](https://github.com/rrousselGit/freezed) and [freezed_annotation](https://github.com/rrousselGit/freezed). These dependencies needed to be updated together.

Updates `freezed` from 2.5.8 to 3.0.4
- [Commits](https://github.com/rrousselGit/freezed/compare/freezed-v2.5.8...freezed-v3.0.4)

Updates `freezed_annotation` from 2.4.4 to 3.0.0
- [Commits](https://github.com/rrousselGit/freezed/compare/freezed_annotation-v2.4.4...freezed_annotation-v3.0.0)

---
updated-dependencies:
- dependency-name: freezed
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: freezed_annotation
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-01 21:23:51 +02:00
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
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
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
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
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