Commit Graph

86 Commits

Author SHA1 Message Date
Roland Geider
c5e70c1169 Register Swedish as a supported language 2026-10-24 20:23:56 +02:00
Roland Geider
c196eb082f Register Khmer (km) locale 2026-10-03 14:50:26 +02:00
dependabot[bot]
5885fe6e80 Bump rubyzip from 2.4.1 to 3.4.0 in /ios
Bumps [rubyzip](https://github.com/rubyzip/rubyzip) from 2.4.1 to 3.4.0.
- [Release notes](https://github.com/rubyzip/rubyzip/releases)
- [Changelog](https://github.com/rubyzip/rubyzip/blob/main/Changelog.md)
- [Commits](https://github.com/rubyzip/rubyzip/compare/v2.4.1...v3.4.0)

---
updated-dependencies:
- dependency-name: rubyzip
  dependency-version: 3.4.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-26 07:25:50 +00:00
Roland Geider
d7ce909e19 Drop the symbol-strip workaround for the Apple release builds
flutter_zxing 3.0.1 links its framework dynamically again under Swift
Package Manager, so the archive strip no longer removes readBarcode.

Closes #1317
2026-09-08 07:23:09 +02:00
Roland Geider
17395206f1 Raise the iOS deployment target to 15.0 2026-08-29 11:47:26 +02:00
Roland Geider
8e13728dff Add NSHealthUpdateUsageDescription to the iOS Info.plist 2026-08-29 11:42:15 +02:00
Peter Thaler
301717c200 fix optional flutter plugin registrar unwrap on iOS 2026-08-27 11:19:05 +02:00
Peter Thaler
acfaf3614c updates for ios healthkit release compliance 2026-08-27 11:02:42 +02:00
Roland Geider
3b54903fea Keep global symbols when stripping the Apple release builds
Closes #1315 (more like a workaround)
2026-08-13 19:32:15 +02:00
Roland Geider
520504a1b2 Merge branch 'master' into feature/health-sync 2026-08-10 15:13:43 +02:00
dependabot[bot]
cc48256496 Bump json from 2.21.1 to 2.21.2 in /ios
Bumps [json](https://github.com/ruby/json) from 2.21.1 to 2.21.2.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](https://github.com/ruby/json/compare/v2.21.1...v2.21.2)

---
updated-dependencies:
- dependency-name: json
  dependency-version: 2.21.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-09 06:46:19 +00:00
Roland Geider
3855dbc423 Import blood oxygen from the health platforms 2026-08-07 16:24:18 +02:00
Roland Geider
830a03aa9e Declare every imported type in the Android manifest 2026-08-01 14:08:14 +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
d939989d31 Add language key 2026-07-29 18:23:59 +02:00
Roland Geider
45aeda7ac0 Merge branch 'master' into feature/health-sync
# Conflicts:
#	lib/l10n/app_de.arb
#	lib/l10n/app_es.arb
#	lib/l10n/app_fr.arb
2026-07-28 22:39:59 +02:00
Roland Geider
fb30d41d4f Update Gemfile.lock 2026-07-23 15:13:32 +02:00
dependabot[bot]
e2db2420c6 Bump excon from 0.112.0 to 1.5.0 in /ios
Bumps [excon](https://github.com/excon/excon) from 0.112.0 to 1.5.0.
- [Changelog](https://github.com/excon/excon/blob/master/changelog.txt)
- [Commits](https://github.com/excon/excon/compare/v0.112.0...v1.5.0)

---
updated-dependencies:
- dependency-name: excon
  dependency-version: 1.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-23 13:01:45 +00:00
Roland Geider
5f6b632592 Merge pull request #1246 from wger-project/dependabot/bundler/ios/faraday-1.10.6
Bump faraday from 1.10.5 to 1.10.6 in /ios
2026-07-23 14:59:11 +02:00
Roland Geider
6cb489a8e4 Fix iOS health usage description 2026-07-17 18:05:51 +02:00
Roland Geider
8aac3da7a8 Add workaround for swift package manager for the health package 2026-07-10 15:46:42 +02:00
Roland Geider
0a2ebed6f0 Remove references to cocoapods, this is not needed anymore 2026-07-09 12:45:06 +02:00
Roland Geider
18b745f365 Start reworking the sync logic
We don't just want to sync the weight entries
2026-07-02 21:45:53 +02:00
Roland Geider
ee084f1000 Merge branch 'pr-1156' into feature/health-sync 2026-07-02 21:17:16 +02:00
dependabot[bot]
51fd698096 Bump faraday from 1.10.5 to 1.10.6 in /ios
Bumps [faraday](https://github.com/lostisland/faraday) from 1.10.5 to 1.10.6.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v1.10.5...v1.10.6)

---
updated-dependencies:
- dependency-name: faraday
  dependency-version: 1.10.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-30 11:08:57 +00: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
Roland Geider
499d15636a Merge remote-tracking branch 'origin/master' into feature/offline-mode
# Conflicts:
#	lib/l10n/app_de.arb
#	lib/widgets/routines/forms/repetitions.dart
#	lib/widgets/routines/forms/weight.dart
2026-06-15 12:36:37 +02:00
dependabot[bot]
de00a9cca2 Bump jwt from 2.9.3 to 2.10.3 in /ios
Bumps [jwt](https://github.com/jwt/ruby-jwt) from 2.9.3 to 2.10.3.
- [Release notes](https://github.com/jwt/ruby-jwt/releases)
- [Changelog](https://github.com/jwt/ruby-jwt/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jwt/ruby-jwt/compare/v2.9.3...v2.10.3)

---
updated-dependencies:
- dependency-name: jwt
  dependency-version: 2.10.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 23:13:50 +00: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
Roland Geider
60cf1b97e8 Remove remaining podfiles and their configurations 2026-05-21 16:49:46 +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
e79f46e2fc Add missing languages 2026-05-21 09:39:00 +02:00
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
Roland Geider
d5acd004c4 Move to swift package manager
Cocoapods are no longer needed
2026-05-19 17:55:00 +02:00
Pawel Haracz
af2d4b4191 feat(language): implement language switcher functionality and tests 2026-05-16 23:52:46 +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
83569fc41e Merge remote-tracking branch 'origin/master' into feature/offline-mode 2026-05-07 22:05:41 +02:00
Roland Geider
1f69683af0 Generated splash screen assets with flutter_native_splash 2026-05-07 16:36:24 +02:00
Roland Geider
2c8164fbed Update Podfile.lock 2026-05-04 09:29:41 +02:00
Roland Geider
164d553fde Improve the exercise search autocompleter
Closes #1182
Co-authored-by: Pankaj Basnet <165250380+pankaj-basnet@users.noreply.github.com>
2026-05-03 17:54:07 +02:00
Roland Geider
f45f6e30a3 Replace the hard coded MARKETING_VERSION with the current (real) version 2026-04-15 12:23:26 +02:00
Roland Geider
621a5b679b Update Podfile.lock 2026-04-14 00:11:16 +02:00
dependabot[bot]
08b58f3d39 Bump addressable from 2.8.7 to 2.9.0 in /ios
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.8.7 to 2.9.0.
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.8.7...addressable-2.9.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-version: 2.9.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-08 07:38:11 +00:00
Roland Geider
85b261fad7 Group slots in the UI with the same exercise
This allows the user to add different slots (sets) to an exercise, like
10 x 10kg, 8 x 12kg, 6 x 15kg. Also note that this is purely a UI change,
as it was already possible to simply add the same exercise again.
2026-03-29 20:46:13 +02:00
John Weidner
a92897b2f9 feat: add automatic weight sync from Apple Health and Google Health Connect
Import body weight data from Apple Health (iOS) and Google Health Connect
(Android) into wger when the app is opened. Uses the Flutter `health` package
for cross-platform access. Feature is opt-in via a settings toggle.

Key changes:
- Add HealthSyncNotifier (Riverpod) for sync orchestration
- Add HealthSyncSettingsTile in settings page
- Add health package dependency and platform permissions
- Fix WeightEntry.copyWith parameter type (int? -> num?)
- Fix BodyWeightProvider.findByDate() to use calendar-date comparison
- Raise Android minSdkVersion to 26 (Health Connect requirement)
- Change MainActivity to extend FlutterFragmentActivity

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 14:12:49 -05:00
Roland Geider
42ac257c64 Update Podfile.lock 2026-03-12 12:17:32 +01:00
Roland Geider
70540d15ea Bump flutter version and upgrade dependencies 2026-03-03 22:13:38 +01:00
Roland Geider
9140838ac7 Update Podfile.lock 2026-02-20 16:31:32 +01:00
dependabot[bot]
2c8e02eb42 Bump faraday from 1.10.4 to 1.10.5 in /ios
Bumps [faraday](https://github.com/lostisland/faraday) from 1.10.4 to 1.10.5.
- [Release notes](https://github.com/lostisland/faraday/releases)
- [Changelog](https://github.com/lostisland/faraday/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lostisland/faraday/compare/v1.10.4...v1.10.5)

---
updated-dependencies:
- dependency-name: faraday
  dependency-version: 1.10.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-12 14:51:14 +00:00
dependabot[bot]
b806a6b51c Bump aws-sdk-s3 from 1.176.0 to 1.208.0 in /ios
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.176.0 to 1.208.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-version: 1.208.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-18 19:25:12 +00:00