Commit graph

238 commits

Author SHA1 Message Date
838082e95a fix: manually initialize systemd logger to fix build error
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 20:33:14 +01:00
9f39fb3739 fix: remove incorrect x86_64 target configuration
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 20:28:00 +01:00
56e6071e3a build: add aarch64 target for Raspberry Pi
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 20:24:14 +01:00
d983d632f8 build: set linker for x86_64-unknown-linux-gnu target 2025-07-21 20:23:57 +01:00
Chris Frankland-Wright
c1587e8ce6
Update README.md 2025-07-21 20:12:24 +01:00
Chris Frankland-Wright
d9e51888bb
Update README.md
added John as co-author
2025-07-21 20:12:02 +01:00
b2f50be611 fix: correct systemd logger initialization for Linux builds
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 20:10:49 +01:00
183fdc0725 fix: use init_with_level for systemd logger initialization
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 20:03:45 +01:00
b1a0483d6c fix: Correct systemd logger initialization
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 19:58:51 +01:00
154c07f613 fix: update logger call and remove unused import
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 19:54:46 +01:00
12065a08c2 fix: Conditionally compile systemd features for Linux only
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 19:46:16 +01:00
b854d29015 refactor: Extract system and status logic from UI module
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 19:44:10 +01:00
1d9bc1e25e feat: add daemon mode and systemd service
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 19:42:46 +01:00
d55a11b074
Merge pull request #10 from cjfranko/portal
Portal
2025-07-21 19:27:38 +01:00
fecfed04e7 fix: remove unused imports
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 19:20:29 +01:00
777a202877 feat: add timeturner for time offsets and migrate config to YAML
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 19:16:06 +01:00
08577f5064 json2yml 2025-07-21 19:12:33 +01:00
c48ef1cf3f feat: add web frontend to control the API
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 19:00:19 +01:00
666ce4308f
Merge pull request #9 from cjfranko/api
Api
2025-07-21 18:53:28 +01:00
19a7ac14fb test: remove non-functional manual_sync test
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 18:47:22 +01:00
03468d7568 test: fix failing manual_sync test assertion
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 18:41:46 +01:00
0a9f9c6612 fix: Add macOS support for time sync command
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 18:39:48 +01:00
ac08ffb54f test: add integration tests for API endpoints
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 17:18:41 +01:00
aa1973603e docs: add API documentation
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 17:00:58 +01:00
32b307b935 fix: Embed default config to resolve build failure
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 16:58:56 +01:00
6eda9149ca api 2025-07-21 16:58:21 +01:00
2d6f65046a fix: run API server in LocalSet to fix spawn_local panic
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 16:55:17 +01:00
c94e1ea4b0 fix: use spawn_local to run non-Send API server task
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 16:49:35 +01:00
0325c3b570 fix: Set tokio runtime to current_thread to fix !Send errors
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 16:48:09 +01:00
8ad553aaee feat: add web API for status, sync, and configuration
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 16:44:41 +01:00
a124aae424 test: add tests for ensure_config function
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 16:31:28 +01:00
3cbe95bd6a test: add tests for serial input processing
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 16:18:17 +01:00
0b8fa0fbf8 fix: Calculate clock delta using median to resist outliers
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 16:10:40 +01:00
30fb752cbb test: add tests for UI status helpers
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 16:06:22 +01:00
39ba5d90bb fix(ci): install dependencies in release workflow
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 15:56:24 +01:00
3f3663221b ci: add workflow to build and release binary on tag
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 15:49:06 +01:00
Chris Frankland-Wright
a1a09b9201
Merge pull request #6 from cjfranko/chris_check
merged fixes for sync and delta calculations
2025-07-21 15:38:57 +01:00
Chris Frankland-Wright
80a4fbe538
force commit of ui.rs 2025-07-21 15:38:29 +01:00
Chris Frankland-Wright
635b8fdf92 expanded boundaries for Sync Status 2025-07-21 15:36:25 +01:00
Chris Frankland-Wright
7527a30aa9 fixed issues around delta 2025-07-21 15:30:49 +01:00
a0115b556b fixed to accept incoming changes, 2025-07-21 14:43:04 +01:00
Chris Frankland-Wright
14a4083b20 updated ui.rs 2025-07-21 14:35:17 +01:00
Chris Frankland-Wright
5cfdf46955 merge into John's work 2025-07-21 14:35:04 +01:00
Chris Frankland-Wright
2d57d05908 updated ui.rs to localise the system clock from ssh clock 2025-07-21 14:33:09 +01:00
d55d64ee5f
Merge pull request #2 from Johnr24/withmergeresolve
Feat: Add CI Workflow, Unit Tests, and Fix Sync Logic, update two dependencies to most recent version,
2025-07-21 14:25:39 +01:00
bbb5334202
Merge branch 'master' into withmergeresolve 2025-07-21 14:25:00 +01:00
fe98dad764 merged ui.rs for PR merge 2025-07-21 14:23:35 +01:00
16e5a7e3a5
Delete release directory
this doesnt need to exist and will be included in future git-ignore, it is best to leave builds outside of version control as they are deleratives of code controlled version control,(git)
2025-07-21 14:08:08 +01:00
Chris Frankland-Wright
d40d3e5b13 upload frameworks test build 2025-07-21 14:03:53 +01:00
Chris Frankland-Wright
1f509c3934 Merge branch 'master' of https://github.com/cjfranko/NTP-Timeturner 2025-07-21 13:59:32 +01:00