Joshua Coles
5286c49bd3
Bump dep versions
2025-02-01 19:19:36 +00:00
cfadd9f0aa
Add some comments and add the fetch sub command
Build and Publish / Build and Test (push) Successful in 6m39s
2024-09-30 22:20:13 +01:00
2acc699020
Make the .env file optional
Rust CI / Build and Test (push) Successful in 6m10s
2024-08-02 09:38:47 +01:00
166d0720dd
Move to rust-tls
2024-07-29 08:13:53 +01:00
d78d82f8fa
Convert to proper CLI and add SQLX prepare statements
2024-07-28 13:59:21 +01:00
b62d6db866
Migrate secrets all the env file
2024-07-28 09:59:40 +01:00
9806a970da
rustfmt
2024-07-27 21:19:03 +01:00
7f445a24e0
Add a basic sync route
2024-07-27 21:18:36 +01:00
5ecd691e41
Server!
2024-07-27 21:13:31 +01:00
67827bd051
Server!
2024-07-27 21:08:54 +01:00
eca0a825dc
Move worker into its own module also
2024-07-27 21:05:35 +01:00
6d64044296
Run migrations on launch
2024-07-27 21:04:17 +01:00
02a5593411
Split toggl module into multiple files
2024-07-27 21:02:38 +01:00
29b2dbd69b
Since it takes a NaiveDate, don't lie
2024-07-27 21:02:28 +01:00
cd3d14c7de
Use macros to make the code a little less ugly
2024-07-27 20:59:11 +01:00
25a52fa0e5
rustfmt
2024-07-27 20:51:30 +01:00
71f9ed3312
Move all to SOA and tag time entries to join table as this should be how it works and also UNNEST doesn't support nested arrays
2024-07-27 20:51:14 +01:00
6f7db97ab6
Convert more to SOA
2024-07-27 20:41:43 +01:00
300ee37cf5
Workspace SOA UNNEST
2024-07-27 20:29:58 +01:00
4efbb95204
SOA for batch inserts using UNNEST as per docs
2024-07-27 20:28:39 +01:00
ce46739f30
Try bulk insert with query builder
2024-07-27 20:03:26 +01:00
ead22776c3
Refactor API and add 'fetch_within' method
...
Changed `workspace_id` type to `u64` for broader compatibility. Introduced `fetch_within` to allow fetching time entries within a given date range and abstracted database update logic into `update_database`.
2024-07-27 19:34:48 +01:00
7fb0ab06e1
Add limit to look_back
2024-07-27 18:41:01 +01:00
3f2bbdd229
Make description field optional and allow for a fixed lookback
2024-07-27 18:39:31 +01:00
3f17c45297
Allow zero time_entries
2024-07-27 18:32:40 +01:00
a72acbc42f
Complete set
2024-07-27 18:18:10 +01:00
5b4f850b8f
Stash sync logic
2024-07-27 18:15:15 +01:00
5887ae4946
Initial db sync work
2024-07-27 17:58:34 +01:00
4cbb60b5ac
Add workspaces
2024-07-16 17:22:57 +01:00
2658f8f26f
Add some missing fields to the TogglReportFilters type
2024-07-16 08:38:02 +01:00
6f629a5976
Stash
2024-07-16 08:35:06 +01:00
45f1497df2
Stash
2024-07-16 08:30:02 +01:00
c1b8636407
Add /me/time_entries
2024-07-16 08:16:01 +01:00
9c20dc09ec
Add Tags
2024-07-15 16:46:08 +01:00
29a8865bd5
Add Clients
2024-07-15 16:42:18 +01:00
f447cabed1
Add Projects
2024-07-15 16:38:05 +01:00
06de91a6fd
Improve duration deserialization
2024-07-15 16:05:42 +01:00
5539b7706d
Initial impl
2024-07-15 15:59:30 +01:00
bd5608a1de
Move API client to its own file
2024-07-15 13:28:16 +01:00
72aaf40f4b
Move retry and rate limiting to a library
2024-07-15 13:26:26 +01:00
d8206cd99b
Initial work
2024-07-15 13:12:43 +01:00