Commit Graph

5225 Commits

Author SHA1 Message Date
Roland Geider
70d6929a5c Count the chart range cutoffs in calendar days 2026-10-27 21:27:20 +01:00
Roland Geider
64ecba31bb Copy the changed objects when replacing an exercise in gym mode
replaceExercise only copied the lists, but changed the contained set
configs, slots and logs in place. These are shared with the cached
routine, so swapping an exercise in gym mode also changed the routine
screens and the session logs until the next reload.
2026-10-26 22:58:29 +01:00
Roland Geider
999ac4b546 Drop the stored workout progress with the local data 2026-10-26 22:39:19 +01:00
Roland Geider
4522f018ad Store the gym mode progress by page key 2026-10-26 22:34:35 +01:00
Roland Geider
d7781845fd Keep exercises added in gym mode across recalculations 2026-10-26 22:25:27 +01:00
Roland Geider
49616f795a Keep the gym mode progress apart from the pages 2026-10-26 21:44:15 +01:00
Roland Geider
1a69a3b471 Keep the progress when reopening gym mode 2026-10-26 21:12:02 +01:00
Roland Geider
e71ec00036 Restart the resume window with every new workout 2026-10-26 21:01:04 +01:00
Roland Geider
0c5dc0186f Bind the preferences helper to the current platform store
A test installing a fresh in-memory store in setUp still read and wrote
the store of the first test, so prefs leaked from one test into the
next.
2026-10-26 20:58:39 +01:00
Roland Geider
f6168422f7 Revert "Ask for confirmation before leaving a running workout"
This reverts commit a7410266a8.

# Conflicts:
#	lib/features/routines/providers/gym_state.dart
#	test/features/routines/screens/gym_mode_test.dart
2026-10-26 20:51:55 +01:00
Roland Geider
87fb853f47 Merge remote-tracking branch 'origin/master' into pr-1280
# Conflicts:
#	lib/features/routines/providers/gym_state.dart
#	lib/features/routines/providers/gym_state_notifier.dart
2026-10-26 20:46:37 +01:00
Roland Geider
6814711fe6 Make it more obvious when an edit takes place
We now show whether the user will add a new entry or edit the last one
2026-10-25 22:19:02 +01:00
Roland Geider
33c577272a Cleanups 2026-10-25 21:55:38 +01:00
Roland Geider
8165b286e9 Keep the sticky set values when correcting an earlier set 2026-10-25 21:49:00 +01:00
Roland Geider
deed86606a Drop the id and session restore when re-saving a logged set
The form's log always carries both now: editLog copies them and
copyValuesFrom keeps them.
2026-10-25 21:44:27 +01:00
Roland Geider
d480823427 Edit a copy when correcting a logged set in gym mode 2026-10-25 21:41:42 +01:00
Roland Geider
58cd06bb4c Restart the rest timer when its set is saved for the first time 2026-10-25 21:36:21 +01:00
Roland Geider
6fdc857381 Don't alert again when returning to an expired rest countdown 2026-10-25 21:32:54 +01:00
Roland Geider
2d129a91f1 Merge branch 'master' into gym-mode-timer-up-next-and-edit-logs
# Conflicts:
#	lib/features/routines/providers/gym_state_notifier.dart
#	lib/features/routines/widgets/gym_mode/log_page.dart
#	lib/features/routines/widgets/gym_mode/timer.dart
#	lib/l10n/app_en.arb
2026-10-25 21:25:46 +01:00
Roland Geider
d113c22870 Merge branch 'gym-mode-carry-over-logged-values' 2026-10-25 21:13:51 +01:00
Roland Geider
43cf37efcf Shorten help string and translate 2026-10-25 21:11:53 +01:00
Roland Geider
80375a3e74 Forget sticky set values when a new workout starts 2026-10-25 20:59:16 +01:00
Roland Geider
a4ecc0fe58 Merge branch 'master' into gym-mode-carry-over-logged-values 2026-10-25 20:57:06 +01:00
Roland Geider
a1a30316be Don't persist checkout credentials in CI workflows 2026-10-25 20:53:40 +01:00
Roland Geider
f463269dae Prefill the author field 2026-10-24 21:41:13 +02:00
Roland Geider
9d51cf0de5 Add AGENTS.md 2026-10-24 21:19:12 +02:00
Roland Geider
5ab61dbaff Commit AGENTS.md 2026-10-24 21:19:12 +02:00
Roland Geider
afe49d031f Regenerate the Linux plugin registrant 2026-10-24 21:19:12 +02:00
Roland Geider
c4158e401c Merge pull request #1388 from wger-project/feature/weblate
Translations update from Hosted Weblate
2026-10-24 20:32:21 +02:00
Roland Geider
c5e70c1169 Register Swedish as a supported language 2026-10-24 20:23:56 +02:00
Jonatan Nyberg
60ba706b59 Translated using Weblate (Swedish)
Currently translated at 1.4% (8 of 559 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/sv/
2026-10-24 17:15:18 +02:00
Jonatan Nyberg
214278b3b2 Added translation using Weblate (Swedish) 2026-10-24 17:15:18 +02:00
Борис Броварчук
91c8ba3628 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (559 of 559 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2026-10-24 17:15:18 +02:00
Борис Броварчук
2fa39b8c38 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (559 of 559 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2026-10-24 17:15:18 +02:00
Борис Броварчук
311819983c Translated using Weblate (Ukrainian)
Currently translated at 100.0% (559 of 559 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2026-10-24 17:15:18 +02:00
Roland Geider
ba16a84de8 Rework the ingredient form
This makes it more user-friendly and doesn't completely break down when
ingredients had longer named units

Closes #1390
2026-10-24 17:09:43 +02:00
Roland Geider
5dd00d6cb7 Keep the set context when copying a past log in gym mode 2026-10-23 20:34:10 +02:00
Roland Geider
59b67183f1 Add mcp server config 2026-10-23 20:34:10 +02:00
Roland Geider
300973742a Merge pull request #1391 from strobeskinzzz/fix/health-platform-totals
Use Health Connect's daily totals for steps, distance and active energy
2026-10-23 20:06:22 +02:00
Roland Geider
d5ef743e48 Fall back to the raw sum when Health Connect reports 0 2026-10-23 19:50:19 +02:00
Roland Geider
09c1160118 Ask Health Connect for daily totals only when records overlap 2026-10-23 19:47:54 +02:00
Roland Geider
27091b0f53 Update pubspec.lock 2026-10-21 09:24:25 +02:00
Roland Geider
bdf4fa7174 Treat raw OSErrors as network errors
On iOS, dart:io fails setting TCP_NODELAY on a connection that was
already reset and throws a plain OSError instead of a SocketException.
The reachability probe rethrew it and the app showed an error dialog.

Closes #1397
2026-10-21 09:24:17 +02:00
Roland Geider
f85142b45f Bump flutter version 2026-10-21 09:16:06 +02:00
Roland Geider
56e4e3cbcb Merge pull request #1395 from wger-project/dependabot/pub/cupertino_icons-2.0.0
Bump cupertino_icons from 1.0.9 to 2.0.0
2026-10-19 13:07:49 +02:00
dependabot[bot]
89f2b387df Bump cupertino_icons from 1.0.9 to 2.0.0
Bumps [cupertino_icons](https://github.com/flutter/packages/tree/main/third_party/packages) from 1.0.9 to 2.0.0.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/cupertino_icons-v2.0.0/third_party/packages)

---
updated-dependencies:
- dependency-name: cupertino_icons
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-19 10:58:17 +00:00
Roland Geider
e00d4e46c8 Merge pull request #1393 from wger-project/dependabot/pub/material_ui-1.6.0
Bump material_ui from 1.5.0 to 1.6.0
2026-10-19 12:58:05 +02:00
Roland Geider
5a914e8e32 Merge pull request #1392 from wger-project/dependabot/pub/build_runner-2.16.2
Bump build_runner from 2.16.1 to 2.16.2
2026-10-19 12:54:56 +02:00
Roland Geider
f365afbd99 Merge pull request #1394 from wger-project/dependabot/pub/drift-2.35.2
Bump drift from 2.35.1 to 2.35.2
2026-10-19 12:54:45 +02:00
Roland Geider
54e5f522b5 Merge pull request #1396 from wger-project/dependabot/pub/shared_preferences-2.5.6
Bump shared_preferences from 2.5.5 to 2.5.6
2026-10-19 12:54:31 +02:00