Commit Graph

4545 Commits

Author SHA1 Message Date
Roland Geider
148fe8c8a4 Fix null-check-operator error in the log page in the gym mode 2026-06-19 12:29:40 +02:00
Roland Geider
87a433bc97 Fix set-state-error on TimeInputWidget
The widget is read-only, so we don't need to use a controller, it is simply rebuilt when the
user selects a new time
2026-06-19 12:10:07 +02:00
Roland Geider
a7def64292 The duplication doesn't seem to happen anymore 2026-06-19 11:14:56 +02:00
Roland Geider
5da7da9067 Use proper references in comments, where possible 2026-06-19 10:57:27 +02:00
Roland Geider
e5c351a311 Refactor the server version check
This now runs before login, so this also works on the 2.5 -> 2.6 backend change, which introduced
new auth endpoints
2026-06-19 10:39:08 +02:00
Roland Geider
af71cb7e1c Don't abort auth operations if the local keyring (from secure storage) is not available 2026-06-19 10:22:50 +02:00
Roland Geider
772e115447 Also build the application for web, for completness sake 2026-06-18 11:47:15 +02:00
Roland Geider
7be919b023 Update the platform-scaffolding
We can now also remove the workaround for riverpod, we're not using that library anymore
2026-06-18 11:47:15 +02:00
Roland Geider
df4c2b5ef8 Update CMakeLists.txt and copy native assets 2026-06-18 11:47:15 +02:00
Roland Geider
9bc0b15c6f Merge pull request #1224 from pankaj-basnet/refactor/nutrition-meals-components
Refactor/nutrition meals components
2026-06-18 10:28:25 +02:00
pankaj-basnet
601be2cfe6 fix(nutrition): decouple MealEditingToolbar visibility from ViewMode
- revert translation changes in charts and cleanup meal logs
- fix for the Meal test
2026-06-18 10:17:21 +05:45
Roland Geider
bfb44c2157 Extract title from html error messages 2026-06-17 21:39:51 +02:00
pankaj-basnet
5c7d4cb201 test(nutrition): update MealWidget test with nutrition provider stub
- Update MealWidget constructor call
- Add interaction steps to reveal ingredients section before testing the add button
2026-06-17 23:45:03 +05:45
pankaj-basnet
0ca3de30c5 refactor(nutrition): improve localization and date formatting
- Extract date display logic in nutritional plan details
- Migrate hardcoded strings to localization files
2026-06-17 23:38:15 +05:45
Roland Geider
cadb63734f Properly mark the correct official/custom server as the one being used 2026-06-17 17:59:04 +02:00
Roland Geider
1311a59f7e Set the same headers for the auth requests
Not having the content type was tripping up anubis
2026-06-17 17:08:45 +02:00
Roland Geider
de43775f64 Disable Flutter's built-in deep linking on Android and iOS
The web-handoff login redirects back to wger://app-auth#token=<jwt>, which
the app handles itself via app_link_router (app_links). With Flutter's
built-in deep linking enabled (the engine default), the engine also forwards
the callback URL to the Navigator as the named route "/#token=...&state=...",
which then matches nothing and it falls through to onUnknownRoute
2026-06-17 16:44:36 +02:00
pankaj-basnet
315b1aaba6 refactor: extract MealIngredientsSection and MealEditingToolbar 2026-06-17 15:07:09 +05:45
pankaj-basnet
d187723388 refactor(nutrition): remove redundant recentMealItems prop from MealWidget 2026-06-17 15:06:49 +05:45
Roland Geider
5e590f6d78 Update AUTHORS.md 2026-06-17 09:27:12 +02:00
Github-Actions
a679ad63fd Bump version to 2.0.0 2.0.0 2026-06-16 10:05:41 +00:00
Roland Geider
30f4366b7c Always setup latest xcode version 2026-06-16 11:57:36 +02:00
Roland Geider
b1833b6059 Revert version bump 2026-06-16 11:57:17 +02:00
Roland Geider
cf7e35cc89 Remove 2.0.0 release from metainfo 2026-06-16 11:57:05 +02:00
Github-Actions
71c6962977 Bump version to 2.0.0 2026-06-16 09:45:57 +00:00
Roland Geider
3be47fd272 Just point to the docs, not a todo anymore 2026-06-16 11:37:00 +02:00
Roland Geider
77ec524ed4 Update screenshots 2026-06-16 11:36:46 +02:00
Roland Geider
f77a4b1792 Use correct weight entries list for the screenshots 2026-06-16 11:36:32 +02:00
Roland Geider
bee80eed69 Also return a list of test trophies for the screenshot tests 2026-06-16 10:58:28 +02:00
Roland Geider
9540a1b958 Move screenshot tests to "/test" folder
This allows us to properly generate the needed mocks, and not import them
from random files
2026-06-16 10:29:31 +02:00
Roland Geider
cc69b37786 Pass the plan ID to the widget, not the whole object 2026-06-16 09:55:18 +02:00
Roland Geider
c0c47af074 Remove legacy android options 2026-06-15 23:53:42 +02:00
Roland Geider
492c58f5d9 Use the locale consistently 2026-06-15 23:53:22 +02:00
Roland Geider
709f00caf8 Update version 2026-06-15 23:34:56 +02:00
Roland Geider
de6e1950d7 Commit screenshots to a branch 2026-06-15 23:34:39 +02:00
Roland Geider
08b256e354 Bump minimum server version 2026-06-15 23:20:28 +02:00
Roland Geider
168b703622 Update gradle.properties 2026-06-15 23:01:07 +02:00
Roland Geider
2f7f6995de Make flutter analyze exit on warnings 2026-06-15 23:00:52 +02:00
Roland Geider
6d9ead5c9b Mark models as immutable 2026-06-15 22:55:20 +02:00
Roland Geider
341dec6d99 Fix avoid_slow_async_io lint warning 2026-06-15 22:48:11 +02:00
Roland Geider
177a48d6c7 Fix use_build_context_synchronously and unused_local_variable lint warnings 2026-06-15 22:45:11 +02:00
Roland Geider
a8f46ce302 Fix always_put_control_body_on_new_line lint warning 2026-06-15 22:38:17 +02:00
Roland Geider
fbc8ad7b07 Replace the deprecated onReorder with onReorderItem 2026-06-15 21:34:00 +02:00
Roland Geider
138177ef9c Run "dart fix --apply" 2026-06-15 21:25:05 +02:00
Roland Geider
bd4bdb30ff Update Gemfile.lock 2026-06-15 21:13:10 +02:00
Roland Geider
6242723a17 Recreate generated files 2026-06-15 21:07:13 +02:00
Roland Geider
593e1659e5 Upgrade and bump dependencies 2026-06-15 21:07:02 +02:00
Roland Geider
fc93a0121c Bump flutter version 2026-06-15 20:44:23 +02:00
Roland Geider
3e8da066c7 Merge pull request #1183 from wger-project/feature/offline-mode
Add offline mode and move the providers to riverpos
2026-06-15 20:28:57 +02:00
Roland Geider
62042bd832 Rename allauth's URLs 2026-06-15 14:11:33 +02:00