Roland Geider
dc5bd1e975
Consolidate localized number edit logic into its own widgets
2026-05-21 00:11:40 +02:00
Roland Geider
c411e8949a
Consolidate time and date picking logic into their own widgets
...
This makes it easier to fix things like localization, etc. in one place
2026-05-20 23:59:14 +02:00
Roland Geider
9913ee4699
Use WgerImage to render the trophies
...
This also handles any possible errors that might occur loading the image
2026-05-20 23:12:36 +02:00
Roland Geider
508b552fc7
Remove unused fatalResponseCodes
...
This was originally copied from the powersync demo app, and is not used here
2026-05-20 21:02:15 +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
25b444103f
Correctly load the notes and aliases for exercises
2026-05-20 16:34:21 +02:00
Roland Geider
f8187b293f
Cleanup exercise models
...
Save the dependant object (such as language), and not the ID as well as the object.
2026-05-20 16:10:27 +02:00
Roland Geider
4866551ef4
Move exercises and their translations to RawTables
...
This was causing some delays since we always load all exercise data upfront
and this was causing a noticeable delay.
2026-05-20 15:05:45 +02:00
Roland Geider
99d8d2cd22
Remove unused test fixtures
...
All these objects are now synced via powersync
2026-05-20 14:24:52 +02:00
Roland Geider
0674066f12
Remove unused code and mocks
2026-05-20 14:19:45 +02:00
Roland Geider
cbf6884a30
Update the online connectivity gates
...
Some of these models can now be edited completely locally, others only partly
(e.g. the gallery entries can only be created online)
2026-05-20 14:14:00 +02:00
Roland Geider
d5acd004c4
Move to swift package manager
...
Cocoapods are no longer needed
2026-05-19 17:55:00 +02:00
Roland Geider
d71bbcfeec
Update to flutter 3.44
2026-05-19 17:30:48 +02:00
Roland Geider
b1f3ffba0a
Merge pull request #1195 from PawelHaracz/feat/language-switcher
...
feat(settings): add in-app language switcher (#439 )
2026-05-18 10:33:54 +02:00
Roland Geider
dcebb3a2e7
Add script to check language lists stay in sync
...
This is also run on commits, so we get alerted when we forget to add new locales
2026-05-18 10:27:25 +02:00
Roland Geider
475442e779
Consolidate locale handling logic
2026-05-18 09:40:12 +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
944b27e38e
Also sync all the license information, even if we don't expose all of that right now
2026-05-15 13:03:16 +02:00
Roland Geider
4d9132a014
Merge pull request #1192 from wger-project/dependabot/pub/flutter_svg-2.3.0
...
Bump flutter_svg from 2.2.4 to 2.3.0
2026-05-13 13:15:17 +02:00
dependabot[bot]
b2ab00e62f
Bump flutter_svg from 2.2.4 to 2.3.0
...
Bumps [flutter_svg](https://github.com/flutter/packages/tree/main/third_party/packages ) from 2.2.4 to 2.3.0.
- [Commits](https://github.com/flutter/packages/commits/flutter_svg-v2.3.0/third_party/packages )
---
updated-dependencies:
- dependency-name: flutter_svg
dependency-version: 2.3.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-11 00:57:28 +00:00
Roland Geider
a3481b9d99
Add codeQL scanning workflow
2026-05-08 15:19:03 +02:00
Roland Geider
6831ee73dd
Set explicit permissions for all workflows
2026-05-08 15:13:43 +02:00
Roland Geider
98737fde74
Extract helper functions as own widgets
2026-05-08 12:51:07 +02:00
Roland Geider
f4c8db73ee
Properly use mutable objects
2026-05-08 12:34:19 +02:00
Roland Geider
db75c17c32
Slightly increase the maximum workout duration
2026-05-08 11:11:23 +02:00
Roland Geider
11699f8ee0
Slightly increase the maximum workout duration
2026-05-08 11:10:29 +02:00
Roland Geider
130232ead8
Remove null assertions where not needed
2026-05-08 10:58:40 +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
39eaf9abe0
Make the linter happy
2026-05-07 21:42:23 +02:00
Roland Geider
bfc1ee92a2
Put control body in new line
2026-05-07 21:30:36 +02:00
Roland Geider
3771740099
Rename files
2026-05-07 21:23:39 +02:00
Roland Geider
0e7b7cb5a0
Suppress print warnings
2026-05-07 19:57:35 +02:00
Roland Geider
ca18f34d4c
Update calls from deprecated APIs
2026-05-07 17:47:40 +02:00
Roland Geider
e9d219fd1a
Run the dart analyzer for PRs and commits
2026-05-07 17:40:32 +02:00
Roland Geider
8e05d3ab10
Fix linting problems
2026-05-07 17:38:23 +02:00
Roland Geider
64b8472969
Remove duplicated riverpod-lint setting
2026-05-07 17:01:40 +02:00
Roland Geider
04b9351395
Remove deprecated options
2026-05-07 16:44:38 +02:00
Roland Geider
3fd27a9413
Exclude generated files from the analysis
2026-05-07 16:44:23 +02:00
Roland Geider
1f69683af0
Generated splash screen assets with flutter_native_splash
2026-05-07 16:36:24 +02:00
Roland Geider
7b9525c78c
Bump required cmake version
2026-05-07 15:57:18 +02:00
Roland Geider
52c218daaa
Bump flutter version
2026-05-07 15:45:39 +02:00
Roland Geider
553489c0bc
Cleanup generated Linux code
2026-05-07 14:26:02 +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
89797c4470
Merge pull request #1189 from umaidshahid/feature/930-validate-language-on-step-continue
...
Implement server-side language validation on exercise description steps
2026-05-07 13:23:03 +02:00
Roland Geider
34b8989e5c
Add some more tests, some cleanup
2026-05-07 13:08:48 +02:00
Roland Geider
c93f03fa0b
Replace pumpAndSettle with pump where possible
2026-05-07 12:27:33 +02:00
Roland Geider
1119d8bc4a
Merge pull request #1186 from aria-tec/master
...
feat(android): implement Android 13 per-app language support (#550 )
2026-05-07 11:31:32 +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
dependabot[bot]
f6d03f62ed
Bump image_picker from 1.2.1 to 1.2.2
...
Bumps [image_picker](https://github.com/flutter/packages/tree/main/packages/image_picker ) from 1.2.1 to 1.2.2.
- [Commits](https://github.com/flutter/packages/commits/image_picker-v1.2.2/packages/image_picker )
---
updated-dependencies:
- dependency-name: image_picker
dependency-version: 1.2.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-05-04 20:42:46 +02:00