Roland Geider
f2e29cf295
Remove the legacy SharedPreferences migration
...
This was introduced in 1.8.1 and is not needed anymore
Closes #774
2026-11-08 19:12:26 +01:00
Roland Geider
88f3df98f5
Add gym mode settings for the rest alarm and workout notification
2026-10-21 09:15:19 +02:00
Roland Geider
554a54e31b
Finish the material_ui migration
2026-09-26 22:38:40 +02:00
Roland Geider
1b121ff22c
Merge branch 'pr-1332-probe' into feat/upgrade-flutter-1316
2026-09-26 22:08:32 +02:00
Roland Geider
5bec45cdaf
Ignore pointer scrolls on viewports that have no content dimensions yet
...
Fixes #1338
2026-09-06 17:26:40 +02:00
pankaj-basnet
f7930ce68b
fix: remove material_ui imports where not needed
2026-09-01 21:12:14 +05:45
pankaj-basnet
fee0079dc9
material ui: post-flutter-3.47 imports, dart fix applied
2026-09-01 21:08:51 +05:45
Roland Geider
a374ad3e70
Cut the session calendar days in the owner's timezone
2026-08-24 16:38:42 +02:00
Roland Geider
520504a1b2
Merge branch 'master' into feature/health-sync
2026-08-10 15:13:43 +02:00
Roland Geider
aaacb6484c
Keep the application logs across a restart
2026-08-09 22:49:04 +02:00
Roland Geider
b5cf828cb0
Add a setting for detailed logging
2026-08-09 22:47:48 +02:00
Roland Geider
e68bde2c9c
Merge branch 'master' into feature/health-sync
...
# Conflicts:
# lib/main.dart
# macos/Flutter/GeneratedPluginRegistrant.swift
# test/features/account/widgets/settings_test.dart
2026-08-04 13:59:53 +02:00
Roland Geider
5c77a99bfc
Apply dynamic color to the high contrast themes too
2026-08-04 12:19:52 +02:00
Roland Geider
762b679eac
Only offer dynamic color where the platform supports it
2026-08-04 12:10:34 +02:00
Roland Geider
f3b5ccc481
Re-seed the dynamic palette instead of using it verbatim
2026-08-03 23:49:34 +02:00
Praharsha2007
d2dacb116d
feat : implemented dynamic colour support
2026-08-03 21:15:00 +05:30
Roland Geider
6d1b7799c8
Dissolve WeightOverview into EntriesList
2026-08-02 19:48:21 +02:00
Roland Geider
41623e3d55
Merge remote-tracking branch 'origin/master' into feature/health-sync
2026-07-30 16:31:11 +02:00
Roland Geider
3a57479585
Scope the self-signed setting to one host and apply without a restart
2026-07-30 13:57:41 +02:00
Roland Geider
41378988d0
Merge branch 'master' into feat/allow-self-signed-certs
...
# Conflicts:
# lib/core/app_settings_notifier.dart
# lib/core/app_settings_notifier.g.dart
# lib/core/http_overrides.dart
# lib/features/auth/widgets/auth_card.dart
# lib/main.dart
# test/features/account/widgets/settings_test.dart
2026-07-30 13:20:33 +02:00
pankaj-basnet
29032dec40
feat(measurements): add order field to MeasurementCategory model and drag-and-drop category sort screen
...
- sort categories by order and implement reorder logic
2026-07-10 21:06:16 +05:45
Roland Geider
60c9f67282
Move shared infra to lib/core/
2026-07-01 20:28:06 +02:00
Roland Geider
c4f5c78459
Move auth UI to lib/features/auth/
2026-07-01 18:34:24 +02:00
Roland Geider
8b929b23c1
Move routines feature to lib/features/routines/
2026-07-01 18:22:50 +02:00
Roland Geider
33fbe279ca
Move nutrition feature to lib/features/nutrition/
2026-07-01 17:57:49 +02:00
Roland Geider
08fe476e5b
Move exercises feature to lib/features/exercises/
2026-07-01 17:45:43 +02:00
Roland Geider
21ea4dbc54
Move gallery feature to lib/features/gallery/
2026-07-01 17:30:11 +02:00
Roland Geider
ae513e3566
Move trophies feature to lib/features/trophies/
2026-07-01 17:21:18 +02:00
Roland Geider
9a393465f3
Move trophies feature to lib/features/trophies/
2026-07-01 17:09:45 +02:00
Roland Geider
ae81c32a23
Move weight feature to lib/features/weight
2026-07-01 16:55:09 +02:00
bhavit04
65995c666a
feat(auth): allow connecting to servers with self-signed certificates
...
Self-hosted instances served behind a self-signed (or otherwise invalid)
TLS certificate could not be reached from the app: both the API client and
image loading failed certificate validation.
Add an opt-in "Allow self-signed certificates" toggle to the advanced
sign-in sheet, shown only when a self-hosted server is selected. When
enabled it installs an HttpOverrides.global that skips certificate
validation, which transparently covers the http-package API client and the
dart:io HttpClient used by NetworkImage / extended_image. The preference is
persisted in AppSettings and re-applied on startup before the first request,
and applied immediately when toggled so the next login already trusts the
certificate. The override is a no-op on web, where dart:io networking does
not apply.
Native media players (the video_player plugin) use their own networking
stack and are not affected by this override.
Closes #116
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-21 12:30:39 +05:30
Roland Geider
5f9abdb15f
Slight refactor of the error handling
...
This moves some of the pieces to the correct places
2026-06-14 21:25:59 +02:00
Roland Geider
63cc163a47
Be more lenient on transient server errors
2026-06-05 13:12:25 +02:00
Roland Geider
34b1fa6a86
Merge branch 'feature/offline-mode' into feat/nutrition-ingredients-implementation
...
# Conflicts:
# lib/providers/ingredient_notifier.dart
2026-05-25 13:44:48 +02:00
Roland Geider
d77fc070d2
More cleanup on the auth screen
2026-05-22 23:32:09 +02:00
Roland Geider
8213c44342
Add "login via web"
...
This allows the user to login via all supported methods, such as social auth,
passkeys, etc. without needing to implement them individually here.
2026-05-22 20:11:14 +02:00
pankaj-basnet
a08defb3b6
feature(nutrition): refactor IngredientsScreen and create IngredientDetailScreen using existing components
2026-05-22 21:48:13 +05:45
Roland Geider
1075a2807f
Remove the AuthStatus.serverUnreachable case
...
If the user is logged in, they can access the app
2026-05-22 17:10:28 +02:00
Roland Geider
4edf49b438
Reduce the pollution of logs from powersync
2026-05-22 15:54:17 +02:00
Roland Geider
d97de48fee
Refactor the error logic
...
UI related functions have been moved to error_dialogs.dart, while everything else
is kept in errors.dart
2026-05-22 15:50:33 +02:00
Roland Geider
cd2f3dbe45
Merge branch 'feature/offline-mode' into feat/nutrition-ingredients-implementation
2026-05-21 13:01:26 +02:00
Roland Geider
52364ebafc
Merge branch 'master' into feature/offline-mode
...
# Conflicts:
# lib/helpers/errors.dart
# lib/main.dart
# lib/widgets/nutrition/forms.dart
# lib/widgets/routines/forms/slot_entry.dart
2026-05-21 12:26:53 +02:00
Roland Geider
0741fd4bb8
Better error handling
...
We can now distinguish between errors that should block the application, (hopefully)
transient ones that only warrant a snackbar and others that are only logged.
2026-05-21 12:09:51 +02:00
pankaj-basnet
a5cb4e291b
feat(nutrition): add ingredient filters model and repository, riverpod providers for ingredient state and filtering, reusable ingredient UI components and localization, integrate ingredients and nutritional plans screens
...
files added/modified:
lib/models/nutrition/ingredient_filters.dart lib/providers/ingredient_repository.dart
lib/providers/ingredient_notifier.dart lib/providers/ingredient_notifier.g.dart lib/providers/ingredient_filters_notifier.dart lib/providers/ingredient_filters_notifier.g.dart
lib/l10n/app_en.arb lib/widgets/nutrition/ingredient_list_tile.dart lib/widgets/nutrition/ingredient_detail.dart lib/widgets/nutrition/ingredient_filter_row.dart lib/widgets/nutrition/ingredient_images.dart
lib/main.dart lib/screens/ingredients_screen.dart lib/screens/ingredient_screen.dart lib/screens/nutritional_plans_screen.dart
2026-05-20 21:51:11 +05:45
Roland Geider
bf9916adf9
Merge remote-tracking branch 'origin/master' into feature/offline-mode
...
# Conflicts:
# ios/Podfile.lock
# lib/l10n/app_en.arb
# lib/main.dart
# lib/providers/user.dart
# lib/widgets/core/settings.dart
# pubspec.yaml
# test/core/settings_test.dart
# test/core/settings_test.mocks.dart
# test/user/provider_test.dart
2026-05-20 16:55:17 +02:00
Pawel Haracz
822cedf9a4
feat(settings): add in-app language switcher
...
Adds a per-user language override in Settings that takes precedence over
the system locale, fixing #439 . Selecting "System default" clears the
override and falls back to the existing localeListResolutionCallback.
Also declares CFBundleLocalizations in the iOS Info.plist so iOS 16+ users
get the native per-app language picker (Settings → wger → Language) as an
alternative entry point.
Implementation mirrors the existing themeMode flow on UserProvider, with
the selected locale persisted in SharedPreferences under PREFS_USER_LOCALE
and matched against AppLocalizations.supportedLocales on load to preserve
script-bearing locales (zh_Hant, pt_BR, ...).
2026-05-16 15:31:34 +02:00
Roland Geider
395eb58cbd
Merge remote-tracking branch 'origin/master' into feature/offline-mode
2026-05-07 14:16:58 +02:00
Roland Geider
e22f7ebbe3
Fix locale resolution logic
...
The previous logic didn't consult the app's supportedLocales. For the Android 13 per-app
picker this was fine (the user picked a locale that's also in `locales_config.xml`), but
for users whose primary locale wasn't in the supportedLocales list but whose secondary
one *was*, the app would fall through to English instead of honoring the secondary
2026-05-07 11:23:48 +02:00
Roland Geider
5ee653bbf8
Improve error logging
2026-04-30 13:47:56 +02:00
Roland Geider
4751b2ddc3
Delete old images from the device older than approx. 3 months
2026-04-30 10:48:57 +02:00