Aveline
189b84380b
network enhanecment / refactor ( #361 )
...
* chore(network): improve connectivity check
* refactor(network): rewrite network and timesync component
* feat(display): show cloud connection status
* chore: change logging verbosity
* chore(websecure): update log message
* fix(ota): validate root certificate when downloading update
* feat(ui): add network settings tab
* fix(display): cloud connecting animation
* fix: golintci issues
* feat: add network settings tab
* feat(timesync): query servers in parallel
* refactor(network): move to internal/network package
* feat(timesync): add metrics
* refactor(log): move log to internal/logging package
* refactor(mdms): move mdns to internal/mdns package
* feat(developer): add pprof endpoint
* feat(logging): add a simple logging streaming endpoint
* fix(mdns): do not start mdns until network is up
* feat(network): allow users to update network settings from ui
* fix(network): handle errors when net.IPAddr is nil
* fix(mdns): scopedLogger SIGSEGV
* fix(dhcp): watch directory instead of file to catch fsnotify.Create event
* refactor(nbd): move platform-specific code to different files
* refactor(native): move platform-specific code to different files
* chore: fix linter issues
* chore(dev_deploy): allow to override PION_LOG_TRACE
2025-04-16 01:39:23 +02:00
Siyuan Miao
94e83249ef
chore(cloud): use request id from the cloud
2025-04-11 16:03:46 +02:00
Siyuan Miao
0ba7902f82
chore: update logging
2025-04-11 12:55:36 +02:00
Siyuan Miao
e08ff425c3
chore(log): add webRtcLogger
2025-04-11 08:05:04 +02:00
Siyuan Miao
4c37f7e079
refactor: use structured logging
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
98af805089
refactor: remove unnecessary whitespace in setupRouter function
2025-04-11 00:43:45 +02:00
Adam Shiervani
84b35d5deb
re-add old signaling for when upgrading
2025-04-11 00:43:45 +02:00
Adam Shiervani
1a30977085
Feat/Trickle ice ( #336 )
...
* feat(cloud): Use Websocket signaling in cloud mode
* refactor: Enhance WebRTC signaling and connection handling
* refactor: Improve WebRTC connection management and logging in KvmIdRoute
* refactor: Update PeerConnectionDisconnectedOverlay to use Card component for better UI structure
* refactor: Standardize metric naming and improve websocket logging
* refactor: Rename WebRTC signaling functions and update deployment script for debug version
* fix: Handle error when writing new ICE candidate to WebRTC signaling channel
* refactor: Rename signaling handler function for clarity
* refactor: Remove old http local http endpoint
* refactor: Improve metric help text and standardize comparison operator in KvmIdRoute
* chore(websocket): use MetricVec instead of Metric to store metrics
* fix conflicts
* fix: use wss when the page is served over https
* feat: Add app version header and update WebRTC signaling endpoint
* fix: Handle error when writing device metadata to WebRTC signaling channel
---------
Co-authored-by: Siyuan Miao <i@xswan.net>
2025-04-09 00:10:38 +02:00
SuperQ
aed453cc8c
chore: Enable more linters
...
Enable more golangci-lint linters.
* `forbidigo` to stop use of non-logger console printing.
* `goimports` to make sure `import` blocks are formatted nicely.
* `misspell` to catch spelling mistakes.
* `whitespace` to catch whitespace issues.
Signed-off-by: SuperQ <superq@gmail.com>
2025-03-26 18:41:09 +01:00
Siyuan Miao
8b59a3e387
chore(prometheus): move prometheus to a new file
2025-03-10 13:49:20 +01:00
Adam Shiervani
e4bb4f288c
feat(cloud): Add support for custom cloud app URL configuration ( #207 )
...
* feat(cloud): Add support for custom cloud app URL configuration
- Extend CloudState and Config to include CloudAppURL
- Update RPC methods to handle both API and app URLs
- Modify cloud adoption and settings routes to support custom app URLs
- Remove hardcoded cloud app URL environment file
- Simplify cloud URL configuration in UI
* fix(cloud): Improve cloud URL configuration and adoption flow
- Update error handling in cloud URL configuration RPC method
- Modify cloud adoption route to support dynamic cloud URLs
- Remove hardcoded default cloud URLs in device access settings
- Refactor cloud adoption click handler to be more flexible
* refactor(cloud): Simplify cloud URL configuration RPC method
- Update rpcSetCloudUrl to return only an error
- Remove unnecessary boolean return value
- Improve error handling consistency
* refactor(ui): Simplify cloud provider configuration and URL handling
2025-02-28 13:48:52 +01:00
SuperQ
e1ea783fc7
Feature: Add a metrics endpoint
...
Add a basic Prometheus Monitoring metrics endpoint.
* Include a `jetkvm_build_info` metric.
* `go mod tidy`
Signed-off-by: SuperQ <superq@gmail.com>
2025-02-23 15:18:46 +01:00
Aveline
69461140e3
chore(config): merge userConfig with defaultConfig and add a lock ( #164 )
...
* chore(config): merge userConfig with defaultConfig and add a lock
* chore(config): remove lock for LoadConfig
2025-02-17 20:12:34 +01:00
Aveline
f3b4dbce49
feat: use the api url from device config ( #161 )
2025-02-17 11:34:38 +01:00
Aveline
0d7efe5c0e
feat: add ICE servers and local IP address returned by the API to fix connectivity issues behind NAT ( #146 )
...
Add ICE servers and local IP address returned by the API to fix connectivity issues behind NAT
2025-02-11 15:45:14 +01:00
Adam Shiervani
e445039cb8
Don't allow empty tokens ( #13 )
2025-01-02 21:44:26 +01:00
Adam Shiervani
20780b65db
Release 202412292127
2024-12-29 21:27:42 +01:00