Commit Graph

11 Commits

Author SHA1 Message Date
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