ebab610a50
Fix polling issue and possible change in schema
Build and Publish Docker Container / build (push) Successful in 6m14s
2024-07-04 08:54:33 +01:00
4761428f33
Fix issue with running time entries causing crashes when saving
Build and Publish Docker Container / build (push) Successful in 3m14s
2024-03-04 09:57:08 +00:00
ad20c602b7
Fix image tag
Build and Publish Docker Container / build (push) Successful in 3m13s
2024-03-03 21:11:32 +00:00
63637c0f4e
Fix dockerfile
Build and Publish Docker Container / build (push) Successful in 3m37s
2024-03-03 21:05:41 +00:00
c2b8b36499
Add debug to poll
Build and Publish Docker Container / build (push) Failing after 1m59s
2024-03-03 20:55:34 +00:00
5f2120ea18
Fix build label
2024-03-03 20:54:00 +00:00
b7102e12a6
Run rustfmt and fix some clippy lints
2024-03-03 20:53:41 +00:00
479389dde6
Report update statistics
2024-03-03 20:49:27 +00:00
7759632848
Migrate database updates to use TimeEntrys over ReportRows
2024-03-03 20:35:53 +00:00
62657f2bdd
Refactor poll to use the time_entry based approach from now on
2024-03-03 19:53:44 +00:00
889859dbae
Run rustfmt and move cache_report into sync_service.rs
2024-03-03 19:53:20 +00:00
73b3e2cb96
Update Datetime handling in API and DB layers
...
Changed the handling of start, stop, and update timestamp fields in ReportRowInnerTimeEntry data structure from strings to DateTime objects in the API layer. Also updated the data persisting in DB layer to use these new datetime objects and introduced additional columns for server_updated_at, server_deleted_at and tags.
2024-03-03 18:21:00 +00:00
ce60eaf310
Add time_entry columns
2024-03-03 18:15:40 +00:00
573d7f8635
Update columns on conflict
2024-03-02 17:13:22 +00:00
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
84b4c747f5
Add project fields
2024-03-02 16:54:15 +00:00
b722b21a75
Add time entries handling functions in Toggl API client
2024-03-02 10:21:33 +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
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