Commit Graph

32 Commits

Author SHA1 Message Date
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
991e7fd746 Make the auth HeaderValue sensitive 2024-03-02 09:24:54 +00:00
b9b211723e Fix a bunch of warnings 2024-03-02 09:22:47 +00:00
43399c28b1 Separate out routes 2024-03-02 09:18:37 +00:00
ac049beff7 Stash changes 2024-03-02 09:14:27 +00:00
f08397ab15 Fix build issue due to csv parsing 2024-03-01 21:23:51 +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
1df76ea573 Rename TogglClient to TogglApiClient 2024-03-01 21:18:16 +00:00
82d9cf5c87 Add CSV column mapping and reconstruction of basic information 2024-03-01 21:11:01 +00:00
8b2f0102c4 Incorporate beachhead files from the previous mono-repo 2024-03-01 20:04:00 +00:00
50709621fd Fix build issue 2024-02-22 14:10:39 +00:00
1288d72678 Prep import of csv files 2024-02-22 13:49:17 +00:00
2b7cc00fb6 Allow for removing now deleted entries on refresh 2024-02-22 12:55:29 +00:00
bc95081399 Add a bunch of debugging 2024-02-04 17:30:56 +00:00
5d9184df32 Fix error when caching zero results 2024-02-04 17:30:47 +00:00
d5dfb47aea (toggl-portal): Add manul fresh endpoint 2023-12-19 20:38:53 +00:00
eca0a2cd44 (toggl-portal): Remove toggl_portal_seaql_migrations from exported tables 2023-11-29 20:49:03 +00:00
19acabd3da (toggl-portal): Add periodic polling config 2023-11-29 13:53:09 +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
3eb3316c31 (toggl-portal): Add project <-> time_entry fk relation 2023-11-06 20:13:13 +00:00
64570190c8 (toggl-portal): Add project caching 2023-11-06 20:10:10 +00:00
8e9f8538de (toggl-portal): Add projects to database 2023-11-06 20:03:26 +00:00
84cb5f5379 (toggl-portal): Cache clients in database 2023-11-06 14:14:26 +00:00
100ef25044 (toggl-portal): Add clients and projects routes 2023-11-06 13:48:46 +00:00
6971e4a874 (toggl-portal): Scheduling pain 2023-11-05 15:56:45 +00:00
1d726b76c4 (toggl-portal): Make poll accessible 2023-11-03 19:53:41 +00:00
7e2848a0c1 (toggl-portal): Poll 2023-11-03 19:50:43 +00:00
d47174efee (toggl-portal): Database work 2023-11-02 16:00:55 +00:00
8f39bf7d23 Initial work re-implementing model for TimeEntries 2023-11-01 17:32:26 +00:00
31b322d643 Move toggl-portal to its own package 2023-10-29 10:33:07 +00:00