4665 Commits

Author SHA1 Message Date
Github-Actions
4261debc0b Bump version to 2.0.3 2.0.3 2026-07-29 13:08:56 +00:00
Roland Geider
cea7d8d978 Fix run step name 2026-07-29 14:53:07 +02:00
Roland Geider
4f4b32e61d Make exerciseObj in SlotEntry hydration-safe 2026-07-29 14:46:54 +02:00
Roland Geider
7122d3032a Bump flutter version 2026-07-29 14:36:09 +02:00
Roland Geider
0cf4111c8d Set fixed size for logo
This was causing tests to fail due to the screen size and the sharding behaviour
in CI
2026-07-28 17:05:07 +02:00
Roland Geider
dcfe231110 Merge pull request #1281 from wger-project/dependabot/pub/powersync-2.3.2
Bump powersync from 2.3.1 to 2.3.2
2026-07-28 16:21:12 +02:00
Roland Geider
3e1c86d318 Merge remote-tracking branch 'origin/master' into dependabot/pub/powersync-2.3.2 2026-07-28 16:12:53 +02:00
Roland Geider
4a632189d3 Fix flaky test 2026-07-28 15:30:09 +02:00
Roland Geider
b5847b4f84 Adapt the code to changes in powersync 2.3.2 2026-07-28 15:18:55 +02:00
Roland Geider
47764efd7e Merge pull request #1288 from wger-project/feature/better-handling-of-powersync-url
More intelligent powersync service URL handling
2026-07-28 15:13:50 +02:00
Roland Geider
3ee512fd6c More intelligent powersync service URL handling
When the server-provided powersync URL is not reachable, try using $server-url/ps/.
This should help with self-hosted instances where SITE_URL points to localhost
or other similar misconfigurations

See https://github.com/wger-project/wger/issues/2432
2026-07-28 15:06:34 +02:00
dependabot[bot]
46396f1255 Bump powersync from 2.3.1 to 2.3.2
Bumps [powersync](https://github.com/powersync-ja/powersync.dart) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/powersync-ja/powersync.dart/releases)
- [Commits](https://github.com/powersync-ja/powersync.dart/compare/powersync-v2.3.1...powersync-v2.3.2)

---
updated-dependencies:
- dependency-name: powersync
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-28 11:06:51 +00:00
Roland Geider
fb31e86c8e Merge pull request #1283 from wger-project/dependabot/pub/connectivity_plus-7.3.1
Bump connectivity_plus from 7.2.0 to 7.3.1
2026-07-28 13:03:55 +02:00
Roland Geider
126caf7b70 Merge pull request #1282 from wger-project/dependabot/pub/video_player-2.13.0
Bump video_player from 2.12.0 to 2.13.0
2026-07-28 13:03:30 +02:00
Roland Geider
dfb8490fb7 Merge pull request #1284 from wger-project/dependabot/pub/drift-2.34.2
Bump drift from 2.34.0 to 2.34.2
2026-07-28 13:02:58 +02:00
Roland Geider
d50ec35c99 Merge pull request #1285 from wger-project/dependabot/pub/build_runner-2.15.1
Bump build_runner from 2.15.0 to 2.15.1
2026-07-28 13:02:25 +02:00
Roland Geider
9a142dc8fb Merge pull request #1287 from MatzHilven/fix/log-copywith-unhydrated-exercise
Fix crash when copying a log with no hydrated exercise
2026-07-28 12:59:22 +02:00
Matz Hilven
b7a0d4893c Hydrate the exercise when copying a past log in gym mode
Not copying an exercise that isn't there keeps the crash away, but gym
mode then holds a log with no exercise, which would bite the next reader.

The past logs widget already knows the exercise from the set config, so
pass it down to setLog, which assigns it through the exercise setter so
that exerciseId stays consistent.

The notifier test worked around the old behaviour by setting exerciseObj
on every fixture, with a comment explaining that copyWith needs it. That
was the bug, written down, so it's gone.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XzxNFoPMxsFPxHD3P2Ma3w
2026-07-28 00:11:08 +02:00
Matz Hilven
1b199bd06e Fix crash when copying a log with no hydrated exercise
Log.exerciseObj was declared late and is only ever assigned when
hydrating the logs of a routine's sessions. Logs read from the database
are built through drift's row class and only carry exerciseId, so
copyWith threw a LateInitializationError when it unconditionally read
the field. Copying a past log in gym mode does exactly that.

Make the field nullable behind a getter that throws a descriptive error,
add exerciseObjOrNull for callers that legitimately handle logs straight
from the database, and only carry the exercise over when there is one.

Hydrating the exercise in watchLogsByExerciseDrift instead would mean
joining its translations, images, muscles and equipment for every log,
which most callers don't need.

The log page tests mocked the query with the test routine's logs, which
are hydrated, which is why this was never caught. They now return logs
without an exercise, like the real query does.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XzxNFoPMxsFPxHD3P2Ma3w
2026-07-28 00:07:43 +02:00
dependabot[bot]
d71a416d1e Bump build_runner from 2.15.0 to 2.15.1
Bumps [build_runner](https://github.com/dart-lang/build) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](https://github.com/dart-lang/build/compare/build_runner-v2.15.0...build_runner-v2.15.1)

---
updated-dependencies:
- dependency-name: build_runner
  dependency-version: 2.15.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 00:54:38 +00:00
dependabot[bot]
89a1bfef59 Bump drift from 2.34.0 to 2.34.2
Bumps [drift](https://github.com/simolus3/drift) from 2.34.0 to 2.34.2.
- [Release notes](https://github.com/simolus3/drift/releases)
- [Commits](https://github.com/simolus3/drift/compare/drift-2.34.0...drift-2.34.2)

---
updated-dependencies:
- dependency-name: drift
  dependency-version: 2.34.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 00:54:31 +00:00
dependabot[bot]
bababb813f Bump connectivity_plus from 7.2.0 to 7.3.1
Bumps [connectivity_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/connectivity_plus) from 7.2.0 to 7.3.1.
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/connectivity_plus-v7.3.1/packages/connectivity_plus)

---
updated-dependencies:
- dependency-name: connectivity_plus
  dependency-version: 7.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 00:54:27 +00:00
dependabot[bot]
d855135aba Bump video_player from 2.12.0 to 2.13.0
Bumps [video_player](https://github.com/flutter/packages/tree/main/packages/video_player) from 2.12.0 to 2.13.0.
- [Commits](https://github.com/flutter/packages/commits/video_player-v2.13.0/packages/video_player)

---
updated-dependencies:
- dependency-name: video_player
  dependency-version: 2.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-27 00:54:19 +00:00
Roland Geider
e30984bf13 Bump flatpak-flutter version 2026-07-24 18:36:32 +02:00
Roland Geider
d79f1e9d0e Fix linux build 2026-07-24 18:36:32 +02:00
Github-Actions
cde91f05bf Bump version to 2.0.2 2.0.2 2026-07-24 15:03:38 +00:00
Roland Geider
6a1feb16b6 Add title 2026-07-24 16:53:22 +02:00
Roland Geider
2a021c4ebf Update year 2026-07-24 16:41:25 +02:00
Roland Geider
bb88084fa2 Use correct dev server url
Closes #1273
2026-07-24 14:01:34 +02:00
Roland Geider
ffc21b00fe Merge branch 'feature/1130-workout-timer' 2026-07-24 13:59:40 +02:00
Roland Geider
44c111376d Allow to configure showing and hiding the workout duration 2026-07-24 13:55:03 +02:00
Roland Geider
ac3b463304 Some cleanup 2026-07-24 13:40:41 +02:00
Roland Geider
fb30d41d4f Update Gemfile.lock 2026-07-23 15:13:32 +02:00
Roland Geider
85e11dbfe5 Merge pull request #1277 from wger-project/dependabot/bundler/ios/excon-1.5.0
Bump excon from 0.112.0 to 1.5.0 in /ios
2026-07-23 15:11:29 +02:00
dependabot[bot]
e2db2420c6 Bump excon from 0.112.0 to 1.5.0 in /ios
Bumps [excon](https://github.com/excon/excon) from 0.112.0 to 1.5.0.
- [Changelog](https://github.com/excon/excon/blob/master/changelog.txt)
- [Commits](https://github.com/excon/excon/compare/v0.112.0...v1.5.0)

---
updated-dependencies:
- dependency-name: excon
  dependency-version: 1.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-23 13:01:45 +00:00
Roland Geider
5f6b632592 Merge pull request #1246 from wger-project/dependabot/bundler/ios/faraday-1.10.6
Bump faraday from 1.10.5 to 1.10.6 in /ios
2026-07-23 14:59:11 +02:00
Roland Geider
d9a121f50d Merge pull request #1252 from wger-project/dependabot/pub/image_picker-1.2.3
Bump image_picker from 1.2.2 to 1.2.3
2026-07-23 14:58:57 +02:00
Roland Geider
1f56c15c28 Merge pull request #1267 from wger-project/dependabot/pub/app_links-7.2.1
Bump app_links from 7.2.0 to 7.2.1
2026-07-23 14:58:41 +02:00
Roland Geider
dfb79a3d2a Merge pull request #1272 from wger-project/dependabot/pub/package_info_plus-10.2.1
Bump package_info_plus from 10.2.0 to 10.2.1
2026-07-23 14:58:16 +02:00
Roland Geider
b277e81088 Detect a sync stream that is blocked on the network path
This might help debugging when an ad-blocker, vpn or similar interferes with
the connections to the sync service

See #1271
2026-07-23 14:56:29 +02:00
Roland Geider
ed623f9108 Improve PowerSync sync diagnostics and token expiry handling 2026-07-23 13:58:06 +02:00
Arya
2f60553a99 Add elapsed workout timer and update workout start time handling 2026-07-23 17:13:02 +05:30
Roland Geider
7947757d37 Merge pull request #1269 from wger-project/feature/weblate
Translations update from Hosted Weblate
2026-07-23 12:40:49 +02:00
tomorigabor
f5af6511c9 Translated using Weblate (Hungarian)
Currently translated at 100.0% (454 of 454 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hu/
2026-07-21 20:01:29 +00:00
tomorigabor
327b4d57e8 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3 of 3 strings)

Translation: wger Workout Manager/Play Store
Translate-URL: https://hosted.weblate.org/projects/wger/play-store/hu/
2026-07-20 20:55:57 +02:00
tomorigabor
d9e92a619e Translated using Weblate (Hungarian)
Currently translated at 9.4% (43 of 454 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hu/
2026-07-20 20:55:57 +02:00
tomorigabor
968dbc1027 Translated using Weblate (Hungarian)
Currently translated at 8.5% (38 of 446 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hu/
2026-07-20 20:55:57 +02:00
dependabot[bot]
ee8154464d Bump package_info_plus from 10.2.0 to 10.2.1
Bumps [package_info_plus](https://github.com/fluttercommunity/plus_plugins/tree/main/packages/package_info_plus) from 10.2.0 to 10.2.1.
- [Release notes](https://github.com/fluttercommunity/plus_plugins/releases)
- [Commits](https://github.com/fluttercommunity/plus_plugins/commits/package_info_plus-v10.2.1/packages/package_info_plus)

---
updated-dependencies:
- dependency-name: package_info_plus
  dependency-version: 10.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-20 02:24:11 +00:00
Roland Geider
6845f9b015 Merge pull request #1268 from wger-project/dependabot/pub/video_player-2.12.0
Bump video_player from 2.11.1 to 2.12.0
2026-07-17 21:52:55 +02:00
Roland Geider
938001b152 Optimistically set the online status
This avoids having the app register as "offline" after bringing it back from
the background
2026-07-17 21:31:29 +02:00