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
Roland Geider
aaacb6484c
Keep the application logs across a restart
2026-08-09 22:49:04 +02:00
Roland Geider
a460d2ea33
Let the sync watchdog fire on a permanent error loop
2026-08-09 22:48:28 +02:00
Roland Geider
b5cf828cb0
Add a setting for detailed logging
2026-08-09 22:47:48 +02:00
Roland Geider
9fdb13428b
Add a filter and copy buttons to the log overview
2026-08-09 22:46:18 +02:00
Roland Geider
fb05d1e872
Log network state changes and the sync connection
2026-08-09 22:43:40 +02:00
Roland Geider
cc79af6188
Add exception text and UTC timestamps to the application logs
2026-08-09 22:42:36 +02:00
Roland Geider
9f8e27b2f2
Updated goldens
2026-08-04 13:01:36 +02:00
Roland Geider
5c77a99bfc
Apply dynamic color to the high contrast themes too
2026-08-04 12:19:52 +02:00
Roland Geider
762b679eac
Only offer dynamic color where the platform supports it
2026-08-04 12:10:34 +02:00
Roland Geider
07aa325ec5
Generate chart colors from the scheme instead of a fixed palette
2026-08-04 11:24:10 +02:00
Roland Geider
f3b5ccc481
Re-seed the dynamic palette instead of using it verbatim
2026-08-03 23:49:34 +02:00
Praharsha2007
d2dacb116d
feat : implemented dynamic colour support
2026-08-03 21:15:00 +05:30
Roland Geider
c334ce6695
Wait for the user profile before hydrating a routine
2026-07-30 22:15:44 +02:00
Roland Geider
88f72a64bd
Fix the unit dropdowns in the slot entry form discarding the selection
2026-07-30 21:50:41 +02:00
Roland Geider
fe6d0a59df
Default the weight unit from the profile for app-created entries and ad-hoc exercises
2026-07-30 21:47:01 +02:00
Roland Geider
ee0313b458
Merge remote-tracking branch 'origin/master' into default-weight-profile
...
# Conflicts:
# lib/features/routines/providers/routines_notifier.dart
# lib/features/routines/providers/routines_notifier.g.dart
# test/features/exercises/providers/exercise_filters_notifier_test.mocks.dart
# test/features/routines/helpers/routine_form_test_overrides.dart
# test/features/routines/models/log_test.dart
# test/features/routines/providers/routines_notifier_test.dart
# test/features/routines/providers/routines_notifier_test.mocks.dart
# test/features/routines/widgets/forms/routine_form_test.dart
2026-07-30 21:14:16 +02:00
Roland Geider
914e9ac575
Surface involuntary logouts and revalidate the session on app resume
...
This makes it obvious why users are redirected to the auth screen, since the
snackbar could be easily missed.
See #1265
2026-07-30 15:47:04 +02:00
Roland Geider
1a58dd8f71
Warn in the settings while certificates are not being verified
2026-07-30 14:23:37 +02:00
Roland Geider
0ecd06ff3c
Read the certificate setting from the provider instead of mirroring it
2026-07-30 14:06:19 +02:00
Roland Geider
3a57479585
Scope the self-signed setting to one host and apply without a restart
2026-07-30 13:57:41 +02:00
Roland Geider
41378988d0
Merge branch 'master' into feat/allow-self-signed-certs
...
# Conflicts:
# lib/core/app_settings_notifier.dart
# lib/core/app_settings_notifier.g.dart
# lib/core/http_overrides.dart
# lib/features/auth/widgets/auth_card.dart
# lib/main.dart
# test/features/account/widgets/settings_test.dart
2026-07-30 13:20:33 +02:00
Roland Geider
fb43a9fdd2
Allow setting the meal when logging individual ingredients
2026-07-30 12:30:02 +02:00
Roland Geider
24c3a93d97
Filter out empty logs
...
Closes #1293
2026-07-30 11:38:57 +02:00
Roland Geider
9e446e0b94
Allow users to submit issues to github with full stackstrace and sync debug info
2026-07-29 17:23:09 +02:00
Roland Geider
718fa05d1b
Add sync diagnostics to the "submit to github" error dialog
2026-07-29 17:06:05 +02:00
Roland Geider
30f44ad471
Show more sync information on the sync status dialog
...
Also, make it stateful so it shows live data for sync queue size, etc.
2026-07-29 16:50:14 +02:00
Roland Geider
d72a0ccf93
Allow users to force-reconnect to the powersync service
2026-07-29 16:22:30 +02:00
Roland Geider
4f4b32e61d
Make exerciseObj in SlotEntry hydration-safe
2026-07-29 14:46:54 +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
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
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