Roland Geider
eb9032e964
Pass lastAppliedCheckpoint to the test SyncStatus builders
2026-09-26 21:58:34 +02:00
Roland Geider
520504a1b2
Merge branch 'master' into feature/health-sync
2026-08-10 15:13:43 +02:00
Roland Geider
024d6f246c
Consolidate the test helpers in test/helpers/
2026-08-10 12:40:16 +02:00
Roland Geider
4f2265907e
Give the distribution chart the height it is drawn in
2026-08-07 14:22:22 +02:00
Roland Geider
3c4cc4e770
Move the chart maths out of the widgets
...
These changes mirror the structure in the react app
2026-08-07 11:12:46 +02:00
Roland Geider
473ffbe235
Drop entries from the measurement category model
2026-08-06 22:09:38 +02:00
Roland Geider
52eab30a86
Read the measurement lists a page at a time
2026-08-06 18:18:14 +02:00
Roland Geider
34f3d1db00
Read a group's chart points from one aggregated query
2026-08-06 14:38:28 +02:00
Roland Geider
c490bdb5fc
Aggregate measurement chart points in SQL
2026-08-06 14:38:28 +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
b5847b4f84
Adapt the code to changes in powersync 2.3.2
2026-07-28 15:18:55 +02:00
Roland Geider
60c9f67282
Move shared infra to lib/core/
2026-07-01 20:28:06 +02:00
Roland Geider
ae513e3566
Move trophies feature to lib/features/trophies/
2026-07-01 17:21:18 +02:00
Roland Geider
e29c120d7f
Add more validators
...
Otherwise the server might reject the values (this was already the case)
2026-06-04 21:42:02 +02:00
Roland Geider
5b9be7440c
Add more validators to the slot configs
...
Otherwise the server might reject the values (this was already the case)
2026-06-04 21:26:56 +02:00
Roland Geider
87a40fd4e6
Switch the pasted-token field from DRF tokens to refresh tokens
2026-05-22 20:08:43 +02:00
Roland Geider
26722a49be
Start implementing JWT support
2026-05-22 20:04:42 +02:00
Roland Geider
51730e956e
Make more widgets online-aware
2026-05-22 16:49:59 +02:00
Roland Geider
848ba17d54
Format number inputs according to locale
...
Due to some idiosyncrasies of the on-screen keyboards where we can neither control nor
know what separator it shows, and the way intl parses work (in the "de" locale 80.5 is
parsed to 805.0), we need to roll our own
2026-05-21 14:51:05 +02:00
Roland Geider
52364ebafc
Merge branch 'master' into feature/offline-mode
...
# Conflicts:
# lib/helpers/errors.dart
# lib/main.dart
# lib/widgets/nutrition/forms.dart
# lib/widgets/routines/forms/slot_entry.dart
2026-05-21 12:26:53 +02:00
Roland Geider
0741fd4bb8
Better error handling
...
We can now distinguish between errors that should block the application, (hopefully)
transient ones that only warrant a snackbar and others that are only logged.
2026-05-21 12:09:51 +02:00
Roland Geider
ff9b7572d0
Handle github's max URL limit
...
If the application had too many logs, we could reach this limit and the issue
would be blank
2026-05-21 11:25:01 +02:00
Roland Geider
e56d5a8861
Add missing tests for the new repositories and states
2026-05-01 19:03:28 +02:00
Roland Geider
25d2353cd2
Limit the number of logs sent when reporting issues to github
...
This was reaching the GET parameter length, see #2246
2026-03-08 13:09:58 +01:00
Roland Geider
077dcaf742
Handle HTML errors in WgerHttpException
...
These need to be handled separately when the server encounters an error and
returns HTML instead of JSON.
2025-12-17 18:59:45 +01:00
Roland Geider
fc881c4929
Properly handle timezones
...
This should (hopefully 🤞 ) take care of problems saving entries with timezone
information.
2025-11-18 16:30:52 +01:00
Roland Geider
8199205b02
Don't dump all the debug info to the error reporting
2025-10-08 14:42:58 +02:00
Roland Geider
a7ee4ff5b3
Merge pull request #855 from wger-project/nutrition-plan-stats
...
Nutrition plan stats
2025-09-22 16:19:04 +02:00
Roland Geider
d9b4d66c0f
Add tests for interpolation logic
2025-09-12 15:03:33 +02:00
Roland Geider
5a4d4c7208
Save the application logs
...
This allows us to show the logs to the user and also send them along with any
bug reports. This is a simple system that just keeps the last entries in memory
and nothing is stored permanently, but that's ok for our use case and can be
changed in the future if the need arises.
2025-09-06 22:08:35 +02:00
Roland Geider
70fba34f0c
Better handling of time zones
...
We now send the current time zone to the server when serializing datetime objects.
This was causing entries to be saved some hours wrong or depending on the time, on
a different day.
2025-05-26 11:13:53 +02:00
Roland Geider
88d66b336c
Properly update the UI when deleting workout logs
...
The problem was that we were passing the exercises and session from the
calendar events, which wasn't being reloaded when the logs were deleted. Now
we only pass the selected date and fetch the logs from the routine.
2025-04-17 10:26:44 +02:00
Roland Geider
a35336f57c
Allow editing the fit in week toggle as well as start and end dates
2024-11-12 13:31:56 +01:00
Bassam A
36f9d1651e
modify generateChartColors() test cases to use _iterator_ instead of toList() since it's been used in the original code.
2024-02-03 11:55:33 +03:00
Bassam A
1764147c18
test: add unit test for generateChartColors() function in colors.dart file
2024-02-03 11:38:46 +03:00
Bassam A
6012075658
test: add unit test for all json.dart file functions
2024-01-30 18:41:00 +03:00