Commit Graph

4811 Commits

Author SHA1 Message Date
Allan Nordhøy
650ca0a136 Translated using Weblate (Turkish)
Currently translated at 50.3% (236 of 469 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/tr/
2026-08-26 11:47:26 +02:00
Allan Nordhøy
0324143336 Translated using Weblate (Japanese)
Currently translated at 36.6% (172 of 469 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ja/
2026-08-26 11:47:25 +02:00
Allan Nordhøy
203fe53de4 Translated using Weblate (French)
Currently translated at 99.3% (466 of 469 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2026-08-26 11:47:21 +02:00
Allan Nordhøy
763fe25de4 Translated using Weblate (Spanish)
Currently translated at 99.3% (466 of 469 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/es/
2026-08-26 11:47:17 +02:00
Allan Nordhøy
baf7ef94cd Translated using Weblate (German)
Currently translated at 98.5% (462 of 469 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2026-08-26 11:47:16 +02:00
Allan Nordhøy
5499a820de Translated using Weblate (English)
Currently translated at 100.0% (469 of 469 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/en/
2026-08-26 11:47:14 +02:00
Github-Actions
3744f50918 Bump version to 2.0.5 2.0.5 2026-08-21 20:08:17 +00:00
Roland Geider
c8267efb9d Upgrade ruby dependencies 2026-08-21 21:50:20 +02:00
Roland Geider
3e4a8b10d6 Upgrade dependencies 2026-08-21 21:50:07 +02:00
Roland Geider
d62d0e8f8c Merge pull request #1326 from charugupta-dev/fix/145-muscle-widget-duplicates
Handle duplicate muscles on muscle overview
2026-08-21 21:36:31 +02:00
Roland Geider
c69a34c2f1 Simplify duplicate muscle handling in MuscleWidget
A muscle id uniquely identifies a muscle, so matching by id and matching by
value are equivalent here.
2026-08-21 20:58:06 +02:00
Roland Geider
3807ed83a2 Merge pull request #1322 from bentucker/fix/build-phase-ui-side-effects
fix(core): make UI side effects and provider reads safe during build
2026-08-21 18:09:56 +02:00
Roland Geider
2c26c93d68 Merge remote-tracking branch 'origin/master' into fix/build-phase-ui-side-effects 2026-08-21 18:01:56 +02:00
Roland Geider
095323f29b Merge pull request #1327 from wger-project/feature/better-online-gating
Better online gating
2026-08-21 17:48:01 +02:00
Roland Geider
de758b5dfa Final fixes 2026-08-21 17:42:28 +02:00
Roland Geider
1ba402912a Merge pull request #1328 from wger-project/feature/weblate
Translations update from Hosted Weblate
2026-08-21 17:35:40 +02:00
Roland Geider
3409d67196 Merge pull request #1318 from wger-project/feature/weblate
Translations update from Hosted Weblate
2026-08-21 17:33:10 +02:00
Mirco Pasquale
6224ba7ccd Translated using Weblate (Italian)
Currently translated at 82.4% (385 of 467 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2026-08-21 15:33:06 +00:00
Milo Ivir
06fb03cb20 Translated using Weblate (Croatian)
Currently translated at 100.0% (467 of 467 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-08-21 15:33:05 +00:00
Philip Goto
a017b35a3e Translated using Weblate (Dutch)
Currently translated at 85.8% (401 of 467 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nl/
2026-08-21 15:33:05 +00:00
Roland Geider
87fdb7a7b9 Merge pull request #1325 from wger-project/dependabot/pub/video_player-2.14.0
Bump video_player from 2.13.0 to 2.14.0
2026-08-21 17:32:45 +02:00
Roland Geider
8829c57191 Collapse the PowerSync SDK's repeated log lines 2026-08-21 17:30:50 +02:00
Roland Geider
a6534dbbd0 Reuse the dialog's local-counter snapshot for the report button 2026-08-21 16:05:02 +02:00
Roland Geider
2a596349df Report reachability from the bottom of the client stack 2026-08-21 16:04:52 +02:00
Roland Geider
a9f2c07914 Surface a missing sync endpoint as its own error category 2026-08-21 16:04:21 +02:00
Roland Geider
a0fd3ad0e2 Make one provider the single Connectivity consumer 2026-08-21 15:29:52 +02:00
Roland Geider
9cb25ad538 Guard the probe pass against a mid-flight invalidation 2026-08-21 15:10:01 +02:00
Roland Geider
a63844aba4 Keep the watchdog armed across an offline window 2026-08-21 15:06:33 +02:00
Roland Geider
42f2e9643d Treat every network error as a quiet upload retry 2026-08-21 15:03:17 +02:00
Roland Geider
94d8352c3d Arm the sync watchdog inside connectPowerSync 2026-08-21 15:00:13 +02:00
Roland Geider
7f7384ea35 Catch Errors at the upload isolate boundary too 2026-08-21 14:55:20 +02:00
Roland Geider
74fbb9db95 Coalesce overlapping reachability probes 2026-08-21 14:51:09 +02:00
Roland Geider
2073d462e6 Show a plain outage as disconnected, not as a sync error 2026-08-21 14:46:27 +02:00
Charu7596
067ce06a80 Handle duplicate muscles in MuscleWidget
Ensure muscles appearing in both primary and secondary lists only render the primary background, and deduplicate muscles by ID within each list. Fixes #145
2026-08-20 12:48:15 +05:30
Mirco Pasquale
9f7fffc67f Translated using Weblate (Italian)
Currently translated at 82.4% (385 of 467 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2026-08-20 07:52:14 +02:00
Milo Ivir
216a79bfef Translated using Weblate (Croatian)
Currently translated at 100.0% (467 of 467 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2026-08-18 15:49:17 +02:00
Philip Goto
00129e648d Translated using Weblate (Dutch)
Currently translated at 85.8% (401 of 467 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/nl/
2026-08-18 15:49:16 +02:00
dependabot[bot]
3bdd5ac592 Bump video_player from 2.13.0 to 2.14.0
Bumps [video_player](https://github.com/flutter/packages/tree/main/packages/video_player) from 2.13.0 to 2.14.0.
- [Commits](https://github.com/flutter/packages/commits/video_player-v2.14.0/packages/video_player)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-17 00:54:47 +00:00
Ben Tucker
fe33f693a8 fix(core): make UI side effects and provider reads safe during build
Errors handled while the widget tree is building crashed or wedged the
app in three related ways:

- FlutterError.onError showed dialogs and snackbars synchronously.
  Pushing a route mid-build trips the navigator's !_debugLocked
  assertion, and because the one-dialog guard was set before showDialog
  threw, its release never attached: every later error dialog was then
  silently suppressed while nothing was on screen, leaving a blank,
  unresponsive app until restart. Snackbars crashed outright via the
  messenger's setState.
- The sync status and barcode dialogs did ref.read inside their route
  builders, which run during build. With the provider chain dirty (any
  token refresh dirties wgerBase -> auth), the read flushed it there and
  Riverpod scheduled a scope refresh mid-build. The barcode builder also
  created its search future inline, re-firing the search on every dialog
  rebuild.
- Provider create bodies that widgets watch during build read providers
  synchronously: the dashboard's routine hydration chain crashed on cold
  start right after a token refresh, and TrophyStateNotifier.build()
  has the same shape in the post-login window, where invalidation order
  left networkStatusProvider dirty while its dependents rebuilt.

lib/core/build_safety.dart adds the two idioms as helpers: runAfterFrame
defers UI side effects past the build phase, yieldPastBuild yields
provider create bodies past their synchronous phase (a microtask, not a
timer, since widget tests assert !timersPending at teardown). The error
dialog guard is released when the context is gone or the push fails, the
snackbar helpers re-resolve the messenger inside the callback, the
dialog builders snapshot their providers in the tap handler, and
post-login invalidation runs leaf-first. Regression tests cover each
shape.
2026-08-16 17:29:43 -05:00
Roland Geider
2374e1b0ba Replace flutter_svg_icons with a local SvgIcon widget 2026-08-15 21:52:07 +02:00
Roland Geider
d3749ac37c Report the local sync counters in bug reports 2026-08-15 20:22:19 +02:00
Roland Geider
fb88facda9 Report the local sync counters in bug reports 2026-08-15 20:20:19 +02:00
Roland Geider
5e866de396 Let a probe misfire not restart the stall detection 2026-08-15 20:16:06 +02:00
Roland Geider
9a97202dd4 Cleanup 2026-08-14 17:37:47 +02:00
Roland Geider
23291513dc Fix logger name 2026-08-14 16:10:20 +02:00
Roland Geider
6e5555fe2f Mark the probe as in flight before the connectivity lookup 2026-08-14 16:09:32 +02:00
Roland Geider
fdee8e6935 Tell "connecting" apart from "offline" in the sync icon 2026-08-14 15:47:56 +02:00
Roland Geider
e794ee6bba Let user actions try the server instead of trusting a cached status 2026-08-14 15:42:14 +02:00
Roland Geider
a986091ab8 Make the network status follow real traffic instead of a 1s probe 2026-08-14 15:20:45 +02:00
Roland Geider
5e332e18aa Connect PowerSync on the adapter state, not on the reachability probe 2026-08-14 14:52:49 +02:00