Commit Graph

2274 Commits

Author SHA1 Message Date
Roland Geider
ed8203de09 Expose units in the nutritional plan 2026-03-31 11:46:38 +02: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
Roland Geider
cb6c0f9804 Merge pull request #1139 from NiazSagor/fix-redundant-loading
Prevent Redundant Loading in `NutritionalPlanScreen`
2026-03-28 20:46:38 +01:00
Thomas Peyrot
7880c59612 Translated using Weblate (French)
Currently translated at 99.2% (381 of 384 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2026-03-28 16:04:07 +01:00
Ninguém Mesmo
6b0d744065 Translated using Weblate (Portuguese)
Currently translated at 100.0% (384 of 384 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-03-28 16:04:06 +01:00
Hesham sraj
5644c2c6e5 Translated using Weblate (Arabic)
Currently translated at 99.2% (381 of 384 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ar/
2026-03-28 16:04:05 +01:00
Milo Ivir
7c54754a31 Translated using Weblate (Croatian)
Currently translated at 100.0% (382 of 382 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-03-28 16:04:04 +01:00
Nebiyou
c82d04986e Translated using Weblate (Amharic)
Currently translated at 15.7% (60 of 382 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/am/
2026-03-28 16:04:03 +01:00
Edson Wolf
6eae0978ff Translated using Weblate (Portuguese)
Currently translated at 100.0% (382 of 382 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-03-28 16:04:02 +01:00
pswsm
fcc977bb44 Translated using Weblate (Catalan)
Currently translated at 100.0% (382 of 382 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ca/
2026-03-28 16:04:01 +01:00
saraswathi
95b89e3e83 Translated using Weblate (Tamil)
Currently translated at 77.9% (293 of 376 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ta/
2026-03-28 16:04:00 +01:00
Milo Ivir
4bbb95a61e Translated using Weblate (Croatian)
Currently translated at 100.0% (376 of 376 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-03-28 16:03:59 +01:00
Teodor Olteanu
a8951bc227 Translated using Weblate (Romanian)
Currently translated at 100.0% (376 of 376 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ro/
2026-03-28 16:03:58 +01:00
Elio Zhou
078514a1fc Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 83.5% (314 of 376 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2026-03-28 16:03:57 +01:00
Edson Wolf
5904384664 Translated using Weblate (Portuguese)
Currently translated at 100.0% (376 of 376 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-03-28 16:03:56 +01:00
John Weidner
7760efc9e3 fix: replace EOL sqlite3_flutter_libs with drift_flutter
sqlite3_flutter_libs 0.6.0+eol no longer bundles the native SQLite
library correctly on newer Android toolchains, causing a
DriftRemoteException on startup (dlopen failed: libsqlite3.so not found).

Replace it with drift_flutter which is the current recommended package
for providing native SQLite to drift databases. Also suppress the
StackFrame assertion error from the stack_trace package that was masking
the real error.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 15:56:37 -05:00
Roland Geider
4dd1e5ff28 Remove actions here
There's not really anything to go back to
2026-03-21 13:51:35 +01:00
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
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
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
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
efeeea85ab enhancement:persist-ingredient-filters in nutrition 2026-03-05 16:48:52 +05:30
NiazSagor
580039f4fb Reformat code in NutritionalPlanScreen
Took 7 minutes
2026-03-04 22:07:01 +06:00
NiazSagor
6e95437301 fix: prevent FutureBuilder from reloading on every rebuild in NutritionalPlanScreen
Calling _loadFullPlan() directly inside build() caused a new Future to be
created on every rebuild (e.g. when opening the PopupMenuButton), which reset
the FutureBuilder to ConnectionState.waiting and showed the loading spinner
unnecessarily.

Fix: convert to StatefulWidget and initialize the Future once in
didChangeDependencies(), per Flutter's official FutureBuilder docs.

Ref: https://api.flutter.dev/flutter/widgets/FutureBuilder-class.html

Took 45 minutes
2026-03-04 21:58:07 +06:00
Roland Geider
ae89b5c6ea Commit generated files 2026-03-02 20:18:32 +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
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
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
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