Commit Graph

12 Commits

Author SHA1 Message Date
b7da62536d Improve time types 2024-03-02 17:12:46 +00:00
0f3c031b7a Link up db types 2024-03-02 16:59:04 +00:00
90457155aa Refactor Toggl API types
Significant renaming and data type changes to Toggl API types occurred to improve identification and consistency. For example, 'Current' is renamed to 'TimeEntry', 'ProjectClient' is renamed to 'Client', and 'TogglQuery' is renamed to 'TogglReportQuery'. Changes affected multiple sections of the codebase, including routes and DB access.
2024-03-02 10:10:30 +00:00
9cfe56b3ce Refactor ReportEntry to ReportRow and enhance request builder
Changed the name of 'ReportEntry' to 'ReportRow' for clarity. Also simplified the request builder in the TogglApiClient by implementing a 'make_request' function which helps in handling rate limiting. The function is then used in various methods of the TogglApiClient.
2024-03-02 10:00:15 +00:00
b9b211723e Fix a bunch of warnings 2024-03-02 09:22:47 +00:00
ee21753411 Centralise files related to talking to the Toggl apis to the toggl_api module 2024-03-01 21:21:33 +00:00
1288d72678 Prep import of csv files 2024-02-22 13:49:17 +00:00
cc838ef145 (toggl-portal): Fix issue with start and stop transitioning to from raw to database types. I really need to write some tests 2023-11-06 21:41:00 +00:00
8e2356ac85 (toggl-portal): Fetch projects and clients when there is an update. 2023-11-06 20:30:35 +00:00
64570190c8 (toggl-portal): Add project caching 2023-11-06 20:10:10 +00:00
84cb5f5379 (toggl-portal): Cache clients in database 2023-11-06 14:14:26 +00:00
d47174efee (toggl-portal): Database work 2023-11-02 16:00:55 +00:00