Commit Graph

63 Commits

Author SHA1 Message Date
Joshua Coles
e08c9c8f99 Bump the lock file to try fix build
All checks were successful
Build and Publish / Build and Test (push) Successful in 17m14s
2025-02-01 19:58:14 +00:00
Joshua Coles
3f439c8a31 Add additional validation
Some checks failed
Build and Publish / Build and Test (push) Failing after 10m39s
2025-02-01 19:45:43 +00:00
Joshua Coles
5286c49bd3 Bump dep versions 2025-02-01 19:19:36 +00:00
cfadd9f0aa Add some comments and add the fetch sub command
All checks were successful
Build and Publish / Build and Test (push) Successful in 6m39s
2024-09-30 22:20:13 +01:00
8e8fc6a64f Change CMD to ENTRYPOINT
All checks were successful
Build and Publish / Build and Test (push) Successful in 6m3s
2024-09-18 07:50:55 +01:00
ad91412661 Change to alpine images
All checks were successful
Build and Publish / Build and Test (push) Successful in 5m49s
2024-09-17 23:28:54 +01:00
a27aeb0f10 Bump Docker build
Some checks failed
Build and Publish / Build and Test (push) Failing after 6m19s
2024-09-17 23:14:02 +01:00
d8430587b8 Test build process didn't break with auth changes
All checks were successful
Rust CI / Build and Test (push) Successful in 26m52s
2024-08-09 13:28:07 +01:00
30b50c862b Bump debian version
All checks were successful
Rust CI / Build and Test (push) Successful in 5m52s
2024-08-02 16:40:39 +01:00
2acc699020 Make the .env file optional
All checks were successful
Rust CI / Build and Test (push) Successful in 6m10s
2024-08-02 09:38:47 +01:00
3d229a4906 Fix secret names
All checks were successful
Rust CI / Build and Test (push) Successful in 21m24s
From phone
2024-08-02 07:32:59 +00:00
682cc3014d Add registry to docker login action
Some checks failed
Rust CI / Build and Test (push) Failing after 20m7s
2024-08-02 07:06:02 +00:00
3996b3b2d4 Try to fix QEMU issues
Some checks failed
Rust CI / Build and Test (push) Failing after 18m51s
2024-08-01 23:20:05 +01:00
ff31e6ab8f Make simple docker containers from the build artefact
Some checks failed
Rust CI / Build and Test (push) Failing after 10m16s
2024-08-01 23:03:11 +01:00
76df9e46f3 Remove sudo
All checks were successful
Rust CI / Build and Test (push) Successful in 8m47s
2024-08-01 22:43:16 +01:00
fa252dbe8f Add ntfy notifications
Some checks failed
Rust CI / Build and Test (push) Failing after 38s
2024-08-01 22:42:02 +01:00
fe45ebe5e7 Add cross compilation
Some checks failed
Rust CI / Build and Test (push) Failing after 50s
2024-08-01 22:41:03 +01:00
2dac06cf8e Remove unused steps
All checks were successful
Rust CI / Build and Test (push) Successful in 14m54s
2024-08-01 18:34:47 +01:00
cbb1d4605f Add a simple build pipeline
Some checks failed
Rust CI / Build and Test (push) Failing after 14m12s
2024-08-01 17:22:51 +01:00
d22363a20e Move to rust-tls over openssl 2024-07-29 09:00:19 +01:00
8d31dde9bd Add README 2024-07-29 09:00:02 +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
b35c79761f Drop the public from table references as we won't be in the public schema 2024-07-27 21:19:44 +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
5969a1b3d8 Add initial sql tables 2024-07-16 19:04:12 +01:00
08ed00a555 Add initial sql tables 2024-07-16 17:25:01 +01:00
4cbb60b5ac Add workspaces 2024-07-16 17:22:57 +01:00