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
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
Roland Geider
6eb6197923
Set the day on sessions created automatically for logs
...
See https://github.com/wger-project/wger/issues/2460
2026-08-13 14:05:30 +02:00
Roland Geider
e6c703cee9
Merge pull request #1313 from bentucker/fix/session-clear-deadlock
...
fix(auth): do not await PowerSync disconnect during session clear
2026-08-13 13:27:46 +02:00
Ben Tucker
57fe12677c
fix(auth): do not await PowerSync disconnect during session clear
...
A rejected refresh token runs clearSessionOnly inside the single-flight
refresh future. PowerSync's disconnect can block on an in-flight sync
fetch that is itself awaiting that same refresh future through
AuthHttpClient's pre-emptive refresh, closing a three-party cycle
(refresh -> disconnect -> sync fetch -> refresh) that permanently wedges
every authenticated request behind the never-completing refresh. The
session-expired message never appears because it is sequenced after the
hanging call, and an app restart re-triggers the same rejected refresh
during startup revalidation, so the deadlock re-forms immediately.
On the keep-data path the DB is not wiped, so there is no re-attach race
to guard against; the disconnect is only a courtesy stop of the sync
loop and is now fire-and-forget. The wipe path (explicit logout) keeps
its ordering. The disconnect hook is injectable for tests because
PowerSyncDatabase is a base class that cannot be faked.
2026-08-12 19:08:24 -05:00
Github-Actions
9799448ede
Bump version to 2.0.4
2.0.4
2026-08-11 19:20:57 +00:00
Roland Geider
5ebda174cd
Add missing title
2026-08-11 21:03:10 +02:00
Roland Geider
5903dc205a
Update Gemfile.lock
2026-08-11 20:55:51 +02:00
Roland Geider
19e4c2ef90
Merge pull request #1311 from wger-project/feature/weblate
...
Translations update from Hosted Weblate
2026-08-11 20:55:41 +02:00
Ninguém Mesmo
3866b2668a
Translated using Weblate (Portuguese)
...
Currently translated at 83.0% (388 of 467 strings)
Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2026-08-11 12:51:24 +00:00
Roland Geider
7e3a84b82e
Bump flutter version
2026-08-10 13:50:26 +02:00
Roland Geider
33e8cb1f0a
Bump dependencies
2026-08-10 13:43:22 +02:00
Roland Geider
39b3d8822d
Merge pull request #1308 from wger-project/dependabot/pub/flutter_secure_storage-11.0.0
...
Bump flutter_secure_storage from 10.3.1 to 11.0.0
2026-08-10 13:42:45 +02:00
Roland Geider
3aa8a6c628
Compile against SDK 37 for flutter_secure_storage 11
2026-08-10 13:36:21 +02:00
Roland Geider
aaf9abf40e
Make the offline create guard in the routine form falsifiable
2026-08-10 13:08:02 +02:00
Roland Geider
d2556d38fa
Cover the offline gates on the routine list and slot form
2026-08-10 12:57:14 +02:00
Roland Geider
024d6f246c
Consolidate the test helpers in test/helpers/
2026-08-10 12:40:16 +02:00
Roland Geider
6536f2ce26
Consolidate the test fixtures and stop leaking the test surface size
2026-08-10 12:29:14 +02:00
Roland Geider
019622d182
Cover the 2FA screen's edges
2026-08-10 12:14:04 +02:00
Roland Geider
bb5eb344b0
Repair tests that could not fail
2026-08-10 11:43:23 +02:00
Roland Geider
2ca6644994
Cover the extended exercise search and the submit error paths
2026-08-10 11:42:02 +02:00
Roland Geider
15fd579d15
Repair tests that could not fail
2026-08-10 11:04:23 +02:00
Roland Geider
98373438ab
Cover the routine carry-forward, supersets and the resume path
2026-08-10 10:29:22 +02:00
Roland Geider
e1af4c7ae7
Count calendar days in daysInRange
2026-08-10 10:09:21 +02:00
Roland Geider
3a05492528
Pin the watchdog replay case and the 403 auth semantics
2026-08-10 09:58:53 +02:00
Roland Geider
8df72293b5
Test the persistence base layer
2026-08-10 09:46:27 +02:00
Roland Geider
7ac0a1ebeb
Include measurements taken on the end day of a chart window
2026-08-10 09:24:16 +02:00
Roland Geider
8178d2bcaf
Persist cleared fields when editing local rows
2026-08-10 09:24:01 +02:00
dependabot[bot]
fc9d1f1324
Bump flutter_secure_storage from 10.3.1 to 11.0.0
...
Bumps [flutter_secure_storage](https://github.com/mogol/flutter_secure_storage ) from 10.3.1 to 11.0.0.
- [Release notes](https://github.com/mogol/flutter_secure_storage/releases )
- [Commits](https://github.com/mogol/flutter_secure_storage/compare/v10.3.1...flutter_secure_storage-v11.0.0 )
---
updated-dependencies:
- dependency-name: flutter_secure_storage
dependency-version: 11.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-10 00:54:54 +00:00
Roland Geider
a582ae9a03
Remove dead RiR placeholder and log target status code
2026-08-10 00:21:10 +02:00
Roland Geider
5aad78ce25
Merge pull request #1295 from wger-project/feature/weblate
...
Translations update from Hosted Weblate
2026-08-09 22:57:05 +02:00