Commit Graph

173 Commits

Author SHA1 Message Date
Aveline 886b58d105
Merge branch 'dev' into chore/network-enhancement 2025-04-15 17:22:06 +02:00
Siyuan Miao e504276447 chore: fix linter issues 2025-04-15 17:08:40 +02:00
Siyuan Miao db2ce258ae refactor(native): move platform-specific code to different files 2025-04-15 16:48:09 +02:00
Siyuan Miao daa7185883 refactor(nbd): move platform-specific code to different files 2025-04-15 16:47:23 +02:00
Siyuan Miao cf9e90c4a6 fix(dhcp): watch directory instead of file to catch fsnotify.Create event 2025-04-15 07:52:08 +02:00
Siyuan Miao ea350a63f3 fix(mdns): scopedLogger SIGSEGV 2025-04-15 06:50:26 +02:00
Siyuan Miao 4643af011e fix(network): handle errors when net.IPAddr is nil 2025-04-15 06:48:16 +02:00
Siyuan Miao 8a55ea35f2 feat(network): allow users to update network settings from ui 2025-04-15 06:33:40 +02:00
Siyuan Miao 3d84008217 fix(mdns): do not start mdns until network is up 2025-04-15 02:41:21 +02:00
Siyuan Miao d5950f1485 feat(logging): add a simple logging streaming endpoint 2025-04-15 02:36:06 +02:00
Siyuan Miao 58605718d0 feat(developer): add pprof endpoint 2025-04-15 01:05:30 +02:00
Siyuan Miao b24191d14e refactor(mdms): move mdns to internal/mdns package 2025-04-15 00:46:46 +02:00
Siyuan Miao 08021f912e refactor(log): move log to internal/logging package 2025-04-15 00:46:16 +02:00
Siyuan Miao 5614b26a38 feat(timesync): add metrics 2025-04-15 00:46:01 +02:00
Siyuan Miao 4fe8cb4789 refactor(network): move to internal/network package 2025-04-14 18:04:25 +02:00
Siyuan Miao e470371d23 feat(timesync): query servers in parallel 2025-04-14 17:25:44 +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 d136a90106 fix(display): cloud connecting animation 2025-04-13 15:54:24 +02:00
Ben Kochie 009b0abbe9
refactor: update golintci-lint and linter issues
* Update golangci-lint

Update golangci-lint to v2.

Signed-off-by: SuperQ <superq@gmail.com>

* Fixup various linter issues.

Signed-off-by: SuperQ <superq@gmail.com>

---------

Signed-off-by: SuperQ <superq@gmail.com>
2025-04-13 03:55:30 +02:00
Siyuan Miao fd3a8cb553 feat(ui): add network settings tab 2025-04-13 03:53:20 +02:00
Siyuan Miao d9eae340bf fix(ota): validate root certificate when downloading update 2025-04-13 03:13:35 +02:00
Siyuan Miao 8eecb315f6 chore(websecure): update log message 2025-04-13 03:11:17 +02:00
Siyuan Miao 338d8fd55e chore: change logging verbosity 2025-04-13 03:11:15 +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 951e673e0c chore(ntp): add logging for time sync errors 2025-04-11 18:55:31 +02:00
Siyuan Miao edca8a4cb5 fix(log): segmentation violation when err is nil 2025-04-11 18:49:08 +02:00
Aveline 87ee954e70
chore(log): move each component to its own logger (#353) 2025-04-11 18:38:34 +02:00
Siyuan Miao 94e83249ef chore(cloud): use request id from the cloud 2025-04-11 16:03:46 +02:00
Siyuan Miao f98eaddf15 chore(log): ntp logger 2025-04-11 13:12:14 +02:00
Siyuan Miao 8888d13824 chore(log): add nbdLogger 2025-04-11 13:08:52 +02:00
Siyuan Miao 334b3bee60 chore: fix linting issue 2025-04-11 13:05:03 +02:00
Siyuan Miao 0ba7902f82 chore: update logging 2025-04-11 12:55:36 +02:00
Siyuan Miao 924b55059f chore(log): add wolLogger 2025-04-11 08:14:44 +02:00
Siyuan Miao 6489421605 fix(ota): verifyFile missing arguments 2025-04-11 08:05:35 +02:00
Siyuan Miao e08ff425c3 chore(log): add webRtcLogger 2025-04-11 08:05:04 +02:00
Siyuan Miao d5f8e51a14 chore(log): add terminalLogger 2025-04-11 07:58:11 +02:00
Siyuan Miao 612c50bfe2 chore(log): add serialLogger 2025-04-11 07:56:18 +02:00
Siyuan Miao 48a917fd76 chore(log): add otaLogger 2025-04-11 07:49:03 +02:00
Siyuan Miao 5f7dded973 chore(log): add watchdogLogger 2025-04-11 07:42:47 +02:00
Siyuan Miao 04aa35249a chore(log): add jsonRpcLogger 2025-04-11 07:41:21 +02:00
Siyuan Miao 82c018a2f6 feat(tls): #330 2025-04-11 00:43:58 +02:00
Siyuan Miao 4c37f7e079 refactor: use structured logging 2025-04-11 00:43:46 +02:00
Andrew Davis 8f6e64fd9c Add keyboard macros (#305)
* add jsonrpc keyboard macro get/set

* add ui keyboard macros settings and macro bar

* use notifications component and handle jsonrpc errors

* cleanup settings menu

* return error rather than truncate steps in validation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feat(ui): add className prop to Checkbox component to allow custom styling

* use existing components and CTA

* extract display key mappings

* create generic combobox component

* remove macro description

* cleanup styles and macro list

* create sortable list component

* split up macro routes

* remove sortable list and simplify

* cleanup macrobar

* use and add info to fieldlabel

* add useCallback optimizations

* add confirm dialog component

* cleanup delete buttons

* revert info on field label

* cleanup combobox focus

* cleanup icons

* set default label for delay

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-11 00:43:46 +02:00
Adam Shiervani 76efa56083 chore(dev_deploy): update logging for websocket in deployment script (#348) 2025-04-11 00:43:46 +02:00
Aveline dc1ce03697 chore(websocket): logging and metrics improvement (#347)
* chore(websocket): only show warning if websocket is closed abnormally

* chore(websocket): add counter for ping requests received
2025-04-11 00:43:46 +02:00
Aveline 66a3352e5d feat(websocket): handle ping messages sent from react and add logging (#346) 2025-04-11 00:43:46 +02:00
Adam Shiervani 9c758b6d57 fix(ui): adjust layout and z-index for improved UI consistency in KvmIdRoute (#345) 2025-04-11 00:43:46 +02:00