Commit Graph

3947 Commits

Author SHA1 Message Date
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
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
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
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
FilipeAb
7eae27cd2f Translated using Weblate (Portuguese (Portugal))
Currently translated at 86.6% (324 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_PT/
2026-02-27 12:03:09 +00:00
niduss
98e31dcfd9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.1% (371 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2026-02-27 12:03:08 +00:00
Nicholas Lilletvedt
1a2a6bda67 Translated using Weblate (Norwegian Bokmål)
Currently translated at 25.4% (95 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nb_NO/
2026-02-27 12:03:07 +00:00
Milo Ivir
8c4f83c81a Translated using Weblate (Croatian)
Currently translated at 100.0% (374 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-02-27 12:03:06 +00:00
youkarin
32f90bec33 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 83.9% (314 of 374 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2026-02-27 12:03:05 +00:00
Roland Geider
9e1cbd542e Merge pull request #1125 from wger-project/dependabot/github_actions/actions/download-artifact-8
Bump actions/download-artifact from 7 to 8
2026-02-27 13:02:27 +01:00
Roland Geider
c87336e242 Merge pull request #1126 from wger-project/dependabot/github_actions/actions/upload-artifact-7
Bump actions/upload-artifact from 6 to 7
2026-02-27 13:02:15 +01:00
dependabot[bot]
7d3c6a337b Bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 00:53:03 +00:00
dependabot[bot]
e4901adb57 Bump actions/download-artifact from 7 to 8
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-27 00:52:56 +00:00
Roland Geider
ef649ad439 Merge pull request #1122 from alexisbirling-boop/improve-product-not-found-dialog
Improve product not found dialog
2026-02-24 21:14:08 +01:00
Roland Geider
dee6c12cea Fixed i18n
and added a max allowed weight as well (but this should probably be done everywhere)
2026-02-24 21:08:37 +01:00
Roland Geider
34403b462a Merge branch 'master' into fork/dhituval/issue721/fix-ingredient-weight 2026-02-24 20:53:11 +01:00
Roland Geider
06de449d20 Add logging when tne unawaited handleUpdateExerciseFromApi
This call might be causing problems when the app is sent to the background
2026-02-24 20:52:52 +01:00
alexisbirling-boop
1ba38b7cf4 Merge branch 'wger-project:master' into improve-product-not-found-dialog 2026-02-24 14:50:41 -05:00
AlexisBirling3
da4c0e7af3 Puts the dialog in a new column and changes style to default 2026-02-24 14:40:55 -05:00
Roland Geider
1462ab1319 Update pull request template 2026-02-21 00:37:27 +01:00