Commit Graph

17 Commits

Author SHA1 Message Date
Siyuan Miao b24191d14e refactor(mdms): move mdns to internal/mdns package 2025-04-15 00:46:46 +02:00
Siyuan Miao 4fe8cb4789 refactor(network): move to internal/network package 2025-04-14 18:04:25 +02:00
Siyuan Miao 73b83557af feat: add network settings tab 2025-04-14 06:00:00 +02:00
Siyuan Miao eb8bac4013 fix: golintci issues 2025-04-13 16:09:31 +02:00
Siyuan Miao fd3a8cb553 feat(ui): add network settings tab 2025-04-13 03:53:20 +02:00
Siyuan Miao edba5c94f5 feat(display): show cloud connection status 2025-04-12 22:46:48 +02:00
Siyuan Miao f712cb1719 refactor(network): rewrite network and timesync component 2025-04-12 18:46:03 +02:00
Siyuan Miao 7ebf7ba9fb chore(network): improve connectivity check 2025-04-11 19:18:30 +02:00
Siyuan Miao 0ba7902f82 chore: update logging 2025-04-11 12:55:36 +02:00
Siyuan Miao 4c37f7e079 refactor: use structured logging 2025-04-11 00:43:46 +02:00
SuperQ 75296b4b7e
Chore: Enable golangci-lint
Add a GitHub actions workflow to run golangci-lint.

Signed-off-by: SuperQ <superq@gmail.com>
2025-03-11 18:35:12 +01:00
SuperQ 34e33e45bf
Cleanup logging
Make sure all logging output is called via the main logger instead of
stdlib `"log"` or `fmt.Print(f|ln)`.

Signed-off-by: SuperQ <superq@gmail.com>
2025-03-11 16:53:54 +01:00
Aveline 554121a20b
chore: ensure config is loaded before init functions (#226) 2025-03-04 11:32:54 +01:00
Aveline 806792203f
feat(ntp): add delay between sync attempts and support NTP servers from DHCP (#162)
* feat(ntp): use ntp server from dhcp info

* feat(ntp): use ntp server from dhcp info

* feat(ntp): add delay between time sync attempts

* chore(ntp): more logging
2025-02-17 11:02:28 +01:00
Andrew 951173ba19
Restart mDNS every time the connection information changes (#155) 2025-02-13 18:10:47 +01:00
Cameron Fleming 2a99c2db9d
fix(net): stop dhcp client and release all v4 addr on linkdown (#16)
This commit fixes jetkvm/kvm#12 by disabling the udhcpc client when the
link goes down, it then removes all the active IPv4 addresses from the
deivce.

Once the link comes back up, it re-activates the udhcpc client so it can
fetch a new IPv4 address for the device.

This doesn't make any changes to the IPv6 side of things yet.
2025-02-13 15:41:10 +01:00
Adam Shiervani 20780b65db Release 202412292127 2024-12-29 21:27:42 +01:00