Commit Graph

4795 Commits

Author SHA1 Message Date
Roland Geider
eae855bef4 Properly handle the case where the token could not be decrypted 2026-06-14 20:51:52 +02:00
Roland Geider
db458acee4 Don't log the user's refresh token 2026-06-14 20:35:23 +02:00
Roland Geider
efaa5121c5 Fix column types 2026-06-14 20:24:49 +02:00
Roland Geider
51508d5027 Handle case where after submitting an exercise it is not synced back yet 2026-06-14 20:21:35 +02:00
Roland Geider
30df030e1e Add converter for date-only fields, otherwise comparisons break 2026-06-14 16:19:02 +02:00
Rodrigo Jurado Villalobos
5fdac4c69e Translated using Weblate (Spanish)
Currently translated at 100.0% (404 of 404 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2026-06-11 10:01:19 +00:00
florent4014
ca1cfb9c63 Translated using Weblate (French)
Currently translated at 100.0% (404 of 404 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2026-06-11 10:01:16 +00:00
Eltahir Mahmoud
27a66b5b57 Improve accessibility labels for workout controls 2026-06-06 00:24:21 +03:00
Roland Geider
e93c4effcb Exercise IDs are integers, not text 2026-06-05 23:17:25 +02:00
Milo Ivir
32a66b6df9 Translated using Weblate (Croatian)
Currently translated at 100.0% (404 of 404 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-06-05 21:01:00 +02:00
Roland Geider
675fb44c6e Also properly handle (for now) unused datetime fields 2026-06-05 15:36:19 +02:00
Roland Geider
dbce51f86c The ingredient energy is stored in kcal, not kJ 2026-06-05 15:17:57 +02:00
Roland Geider
662ad9befc Properly handle timezones 2026-06-05 15:17:32 +02:00
Roland Geider
57947eabe6 Don't default to black text
Otherwise this might be unreadable on dark mode
2026-06-05 14:47:36 +02:00
Roland Geider
16a6cd085d Harden detail screen pages
While not very probable, it can happen that a routine etc was deleted on the server
at the same time that a user had opened its detail page. We also changed the argument
for the nutrition screen to ID, for more consistency with the other ones.
2026-06-05 14:39:49 +02:00
Roland Geider
a4425354fc Add bug preventing the web-handoff workflow from working with self-hosted instances 2026-06-05 13:36:54 +02:00
Roland Geider
3cbe7c99dc Correctly reset the session ID so a new one is generated 2026-06-05 13:26:50 +02:00
Roland Geider
0c10e32157 Make sure the search filters are not rebuilt every time 2026-06-05 13:19:04 +02:00
Roland Geider
63cc163a47 Be more lenient on transient server errors 2026-06-05 13:12:25 +02:00
Roland Geider
41bb7d39d7 Throw exception if the db could not be wiped on logout 2026-06-05 13:11:48 +02:00
Roland Geider
b7674aaf41 Reset the accountProvider on logout 2026-06-05 12:43:34 +02:00
Roland Geider
14c7e8d0a8 More i18n cleanup 2026-06-04 22:59:26 +02:00
Roland Geider
40e3b560d1 Fix tests 2026-06-04 22:56:35 +02:00
Roland Geider
b04db2351e Remove unused code 2026-06-04 22:33:49 +02:00
Roland Geider
0e7a7dbcaa Properly save the correct unit type 2026-06-04 21:55:56 +02:00
Roland Geider
c795bb4420 Fix empty selection bug 2026-06-04 21:55:38 +02:00
Roland Geider
e29c120d7f Add more validators
Otherwise the server might reject the values (this was already the case)
2026-06-04 21:42:02 +02:00
Roland Geider
5b9be7440c Add more validators to the slot configs
Otherwise the server might reject the values (this was already the case)
2026-06-04 21:26:56 +02:00
Roland Geider
a923574638 Show a bit more info for RetryableUploadException 2026-06-04 21:10:03 +02:00
Roland Geider
ca2530ecab Better error handling for powersync errors
This new logic properly handles retriable and transient errors
2026-06-04 20:41:06 +02:00
Roland Geider
0d3d7d7cba Remove unused translation keys 2026-06-04 17:25:34 +02:00
Roland Geider
68428a053e Wipe the local DB only on a real user switch 2026-06-04 16:53:01 +02:00
Roland Geider
1a13785929 Add a new hydration provider family for routines
This makes the code much cleaner, and uses riverpod's own logic to de-dup
2026-06-04 12:39:34 +02:00
Louis-Maxime C
a2ffd64754 Translated using Weblate (French)
Currently translated at 97.7% (395 of 404 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2026-06-04 06:48:19 +02:00
Taufan Budiman
ed7bcfc82f Translated using Weblate (Indonesian)
Currently translated at 100.0% (404 of 404 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/id/
2026-06-04 06:48:19 +02:00
Madleen
dfa1d261eb Translated using Weblate (German)
Currently translated at 98.7% (399 of 404 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2026-06-04 06:48:19 +02:00
Philip Goto
9bd1c610c4 Translated using Weblate (Dutch)
Currently translated at 100.0% (404 of 404 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nl/
2026-06-04 06:48:19 +02:00
Edson Wolf
769e41dbaf Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (404 of 404 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2026-06-04 06:48:19 +02:00
Philip Goto
645af38b0a Translated using Weblate (Dutch)
Currently translated at 100.0% (404 of 404 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nl/
2026-06-04 06:48:19 +02:00
Dario Coltri
0dd831bbcd Translated using Weblate (Italian)
Currently translated at 100.0% (404 of 404 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2026-06-04 06:48:19 +02:00
Roland Geider
a93039938b Merge pull request #1210 from wger-project/dependabot/bundler/ios/jwt-2.10.3
Bump jwt from 2.9.3 to 2.10.3 in /ios
2026-06-04 06:48:14 +02:00
Roland Geider
67bf65882f Fix bug causing the routine provider to enter a refresh loop
Note that this is a stop-gag measure for now
2026-06-03 16:30:29 +02:00
Roland Geider
ac2eaff807 Revive log_page_test.dart
This tests log-page-specific logic
2026-06-03 16:14:33 +02:00
Roland Geider
a411461638 Cleanup 2026-06-03 16:08:16 +02:00
Roland Geider
152e5ca7c1 Fold the tests from the log_page_test into gym_mode_test.dart 2026-06-03 16:00:14 +02:00
Roland Geider
33dbd1508f Correctly delete the user's local db on logout 2026-06-03 15:48:02 +02:00
Roland Geider
ae2c6939fb Use leftOuterJoin in the nutrition sql 2026-06-03 15:26:14 +02:00
Roland Geider
f86ee0838e Add tests for the powersync transaction process logic 2026-06-03 15:03:46 +02:00
Roland Geider
8a626ae2bf Handle (transient) case where an exercise has no translations 2026-06-03 13:06:10 +02:00
Roland Geider
137ad197e4 Properly handle "." and "," for numerical inputs 2026-06-03 12:51:00 +02:00