Commit Graph

4558 Commits

Author SHA1 Message Date
dependabot[bot]
578e26f9ac Bump package_info_plus from 10.1.0 to 10.2.0
Bumps [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) from 10.1.0 to 10.2.0.
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v10.2.0/packages/package_info_plus)

---
updated-dependencies:
- dependency-name: package_info_plus
  dependency-version: 10.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 00:54:11 +00:00
Roland Geider
bb82e4b75b Add a small lookup table for exercises
This also consolidates some search functions to use getByIdOrNull
2026-06-25 20:20:31 +02:00
Roland Geider
9122cc1a1e Debounce drift table updates
This can be a problem during the very first sync, where all exercises, units,
ingredients are loaded and rebuild on every new data point.
2026-06-25 20:20:31 +02:00
Roland Geider
eb2bb0f9ef Merge pull request #1226 from wger-project/dependabot/github_actions/actions/checkout-7
Bump actions/checkout from 6 to 7
2026-06-25 16:11:12 +02:00
Roland Geider
564e25b04c Load the logs from the DB directly
This makes sure the past logs list is updated immediately
2026-06-24 21:10:50 +02:00
Roland Geider
54e0634581 Don't try to load user trophies in the gym mode when offline 2026-06-24 20:25:01 +02:00
Roland Geider
65dbf426cf Use ValueKey instead of accessing uuid directly
This would crash on objects that don't have any uuid attribute, such as the Language.
ValueKey works on all of them, as long as they are equatable.

Closes #1236
2026-06-23 15:32:42 +02:00
Roland Geider
3eb7974390 Remove hard coded color for icons
This makes them easier to see in dark mode
2026-06-22 11:08:45 +02:00
Github-Actions
f050f3238f Bump version to 2.0.1 2.0.1 2026-06-21 14:55:58 +00:00
Roland Geider
2bfc86a8e3 Add missing French translations 2026-06-19 15:39:40 +02:00
Roland Geider
db7f5b8500 Add missing Spanisch translations 2026-06-19 15:32:42 +02:00
Roland Geider
fcfb2886f4 Add missing German translations 2026-06-19 15:31:38 +02:00
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
dependabot[bot]
4db33865df Bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 00:52:32 +00: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