Chris Frankland-Wright
ec29655ff3
Add files via upload
...
slight variant to cope with single mismatch lines, this version will only go into free mode after 1 second of no LTC timecode. This improves reading in NTP-Timeturner where it would read a very bad timecode and panic with delta/sync status
2025-07-21 22:32:22 +01:00
1150fa20c3
cargo fix
2025-07-21 22:07:16 +01:00
7bf45c43c9
feat: add daemonization with the daemonize crate
...
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 22:05:11 +01:00
e243d87018
cargo update for daemonizeation
2025-07-21 22:04:29 +01:00
fb45a2e168
actually you do effectively build them twice
2025-07-21 21:36:58 +01:00
2dc82c34cb
You only build twice, (well you usedt too)
2025-07-21 21:31:36 +01:00
8864bef1db
fix: import DateTime and remove unused Datelike import
...
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 21:24:01 +01:00
060cff4089
fix: Resolve serde lifetime error in ApiStatus struct
...
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 21:21:41 +01:00
6ed1fc31e7
refactor: extract time calculation logic and add tests
...
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 21:16:38 +01:00
6afe6580fb
gone
2025-07-21 21:14:41 +01:00
ec132a2840
refactor: replace systemd logger with env_logger
...
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 20:52:55 +01:00
cd737b895e
build: vendor systemd to support cross-compilation
...
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 20:47:43 +01:00
4ebe8b597a
fix: switch to systemd crate to resolve build failure
...
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 20:43:39 +01:00
2ac14c8d5b
fix: Enable systemd feature to correctly initialize logger
...
Co-authored-by: aider (gemini/gemini-2.5-pro-preview-05-06) <aider@aider.chat>
2025-07-21 20:40:18 +01:00
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