Commit Graph

3966 Commits

Author SHA1 Message Date
Madhav
54a6db2e4b test(auth): stabilize API token happy-path assertion 2026-03-13 17:08:19 +05:30
Madhav
f7ac9e1480 Revert pubspec to master versions (fix dependency conflict from merge) 2026-03-12 22:50:49 +05:30
Madhav
3fd0de3257 Apply dart format 2026-03-12 22:48:21 +05:30
darshAnup24
d780050a98 Merge branch 'wger-project:master' into feature/min-server-version-check 2026-03-12 22:42:57 +05:30
Madhav
cb79c698ae Improve server version parsing and add UI feedback
- Enhanced version parsing to handle Python/Django version formats more reliably
- Added serverUpdateRequired AuthState for proper UI routing
- Improved server version sanitization with better regex patterns
- Added UpdateServerScreen with localized user feedback
- Integrated into auth flow routing to show appropriate update messages
2026-03-12 22:34:11 +05:30
Roland Geider
42ac257c64 Update Podfile.lock 2026-03-12 12:17:32 +01:00
Madhav
6f34c05ccb Add minimum server version check during login
The app already checks a minimum app version from the server, but the
opposite wasn't true — an app could connect to an older server with a
different API without any warning.

This adds a MIN_SERVER_VERSION constant in the app that is checked
against the server version (already fetched in AuthProvider) during
both login() and tryAutoLogin(). If the server is too old, the user
is silently logged out and returned to the auth screen to connect to
a compatible server.

Includes unit tests for version string parsing (including Python-style
pre-release versions like '2.5.0a2').

Closes #<issue-number>
2026-03-11 23:19:32 +05:30
Roland Geider
2f2a58638f Update generated files 2026-03-11 16:14:36 +01:00
Roland Geider
457a48eb34 Bump dependencies 2026-03-11 16:14:16 +01:00
Roland Geider
937734e4c4 Merge branch 'fork/saraswathirajkumar18/enhancement/persist-ingredient-filters'
# Conflicts:
#	pubspec.lock
2026-03-11 15:39:58 +01:00
Roland Geider
885d88180b Refactor ingredient filter provider
No need to hard code the preferences in main
2026-03-11 15:39:38 +01:00
Roland Geider
afa1806fbc Upgrade versions in Gemfile.lock 2026-03-11 14:16:36 +01:00
Saraswathi
7449d1fedb ProviderContainer.test used for automatic disposal in test 2026-03-08 20:22:07 +05:30
Roland Geider
bc10a176ac Bump flutter version 2026-03-08 13:13:03 +01:00
Roland Geider
25d2353cd2 Limit the number of logs sent when reporting issues to github
This was reaching the GET parameter length, see #2246
2026-03-08 13:09:58 +01:00
Saraswathi
b0af26a89d add test for IngredientFiltersNotifier to verify state and storage updates 2026-03-08 00:09:33 +05:30
Saraswathi
efeeea85ab enhancement:persist-ingredient-filters in nutrition 2026-03-05 16:48:52 +05:30
Roland Geider
70540d15ea Bump flutter version and upgrade dependencies 2026-03-03 22:13:38 +01:00
Roland Geider
c1e5f4fcd6 Bump flutter version and upgrade dependencies 2026-03-03 21:57:29 +01:00
Roland Geider
ae89b5c6ea Commit generated files 2026-03-02 20:18:32 +01:00
Github-Actions
7e5b8c94d8 Bump version to 1.10.2 1.10.2 2026-02-28 12:09:54 +00:00
Roland Geider
815c5cec8b Add missing title and description for Macedonian 2026-02-28 13:05:26 +01:00
Roland Geider
ea718e99b3 Update Gemfile.lock 2026-02-28 12:42:24 +01:00
Roland Geider
d5902750e2 Update Podfile.lock 2026-02-28 12:31:04 +01:00
Roland Geider
50ec06d216 Merge branch 'master' into feature/vegan-flags
# Conflicts:
#	lib/l10n/app_de.arb
2026-02-28 12:03:57 +01:00
Roland Geider
025acf4f1d Merge pull request #1101 from wger-project/feature/weblate
Translations update from Hosted Weblate
2026-02-28 12:00:12 +01:00
saraswathi
2c21f9f1f8 Translated using Weblate (Tamil)
Currently translated at 77.8% (291 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ta/
2026-02-27 12:03:31 +00:00
saraswathi
8712e7928e Translated using Weblate (Tamil)
Currently translated at 77.0% (288 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ta/
2026-02-27 12:03:30 +00:00
David Peñas
41ea6dfa7a Translated using Weblate (Spanish)
Currently translated at 99.7% (373 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2026-02-27 12:03:29 +00:00
Alejandro Castro
85bde2d2c5 Translated using Weblate (Spanish)
Currently translated at 99.7% (373 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2026-02-27 12:03:28 +00:00
Daniel Garrido
e3cbd7ede6 Translated using Weblate (Spanish)
Currently translated at 99.7% (373 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2026-02-27 12:03:27 +00:00
saraswathi
0f8bbf0666 Translated using Weblate (Tamil)
Currently translated at 76.2% (285 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ta/
2026-02-27 12:03:26 +00:00
David Peñas
59713d9abb Translated using Weblate (Spanish)
Currently translated at 99.7% (373 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2026-02-27 12:03:25 +00:00
Ninguém Mesmo
f62635d038 Translated using Weblate (Portuguese)
Currently translated at 85.5% (320 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-02-27 12:03:24 +00:00
Viktor Nedanovski
fe22f399d5 Translated using Weblate (Macedonian)
Currently translated at 61.7% (231 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/mk/
2026-02-27 12:03:23 +00:00
Viktor Nedanovski
82ac87b6fa Translated using Weblate (Macedonian)
Currently translated at 66.6% (2 of 3 strings)

Translation: wger Workout Manager/Play Store
Translate-URL: https://hosted.weblate.org/projects/wger/play-store/mk/
2026-02-27 12:03:22 +00:00
Hesham sraj
d11e281915 Translated using Weblate (Arabic)
Currently translated at 78.3% (293 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ar/
2026-02-27 12:03:21 +00:00
Viktor Nedanovski
7162337dea Translated using Weblate (Macedonian)
Currently translated at 66.6% (2 of 3 strings)

Translation: wger Workout Manager/Play Store
Translate-URL: https://hosted.weblate.org/projects/wger/play-store/mk/
2026-02-27 12:03:21 +00:00
Viktor Nedanovski
dc25c8598c Translated using Weblate (Macedonian)
Currently translated at 59.3% (222 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/mk/
2026-02-27 12:03:20 +00:00
Viktor Nedanovski
f5d71d8af2 Added translation using Weblate (Macedonian) 2026-02-27 12:03:19 +00:00
Luca Galli
1e22e56acb Translated using Weblate (Italian)
Currently translated at 86.3% (323 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2026-02-27 12:03:18 +00:00
Arga Pandika
cc86ff6ce2 Translated using Weblate (Indonesian)
Currently translated at 82.6% (309 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/id/
2026-02-27 12:03:17 +00:00
saalaataa
8ab413f603 Translated using Weblate (Polish)
Currently translated at 83.4% (312 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2026-02-27 12:03:16 +00:00
Alejandro Castro
2594f79e8e Translated using Weblate (Spanish)
Currently translated at 98.3% (368 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2026-02-27 12:03:15 +00:00
Floris C
0666fe4f53 Translated using Weblate (Dutch)
Currently translated at 98.3% (368 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nl/
2026-02-27 12:03:14 +00:00
Roland Geider
6946844889 Translated using Weblate (German)
Currently translated at 98.6% (369 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2026-02-27 12:03:13 +00:00
kobo
270cb0dd8c Translated using Weblate (Korean)
Currently translated at 82.6% (309 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ko/
2026-02-27 12:03:12 +00:00
தமிழ்நேரம்
6466171376 Translated using Weblate (Tamil)
Currently translated at 75.4% (282 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ta/
2026-02-27 12:03:11 +00:00
Kilian
4807a8394e Translated using Weblate (French)
Currently translated at 98.3% (368 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2026-02-27 12:03:11 +00:00
Ninguém Mesmo
daf6c3d650 Translated using Weblate (Portuguese)
Currently translated at 85.2% (319 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-02-27 12:03:10 +00:00