Siyuan
8527c7cb45
update translations
2025-11-14 12:14:00 +00:00
Siyuan
1abf1f03b7
clean up comments and add default API URL
2025-11-14 12:11:50 +00:00
Siyuan
1d7f8ddc29
clean up comments
2025-11-14 12:08:31 +00:00
Siyuan
0eff994878
fix: update custom version update logic
2025-11-14 12:07:01 +00:00
Siyuan
4411c45cd5
fix: defer updating state update to after update is complete
2025-11-14 12:04:22 +00:00
Siyuan
68bc480537
fix: remove duplicate triggerOTAStateUpdate call
2025-11-14 11:58:20 +00:00
Aveline
fe9523b1a7
Merge branch 'dev' into r/ota
2025-11-14 12:57:05 +01:00
Siyuan
8d085a6071
refactor(ota): improve OTA state management
2025-11-14 11:55:22 +00:00
Adam Shiervani
b074462ee7
feat: wait for channel to open before triggering initial state updates ( #963 )
2025-11-13 10:48:03 +01:00
Aveline
5fb4c629dd
feat: failsafe mode ( #952 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Adam Shiervani <adam.shiervani@gmail.com>
Co-authored-by: Marc Brooks <IDisposable@gmail.com>
2025-11-11 13:13:42 +01:00
Aveline
cf629bed46
feat: add remote IP address to connection stats sidebar ( #944 )
2025-11-11 12:00:37 +01:00
Siyuan
005505a2da
chore(ota): use []string instead of comma-separated string
2025-11-10 17:00:31 +00:00
Marc Brooks
31ea366e51
chore: upgrade UI packages (except vite) ( #954 )
2025-11-10 14:53:18 +01:00
Siyuan
0cc84f0c54
fix(ui): shouldn't pass custom version to onConfirmCustomUpdate if not available
2025-11-10 13:48:23 +00:00
Siyuan
3fab951d43
fix(ota): should only check update if target version is specified
2025-11-10 13:19:21 +00:00
Aveline
740d9b61a0
Merge branch 'dev' into r/ota
2025-11-10 13:00:33 +01:00
Marc Brooks
7f2dcc84b4
fix: don't reload page if we didn't attempt an upgrade. ( #955 )
2025-11-10 12:58:57 +01:00
Siyuan
9832be29ef
refactor: remove downgrade attributes from ota state and jsonrpc
2025-11-07 17:13:04 +00:00
Siyuan
8bd3d4cfcf
fix: undefined custom update versions
2025-11-07 16:31:44 +00:00
Siyuan
a246ef1213
chore(ui): rename custom update query parameters
2025-11-07 16:21:04 +00:00
Siyuan
9372afed6b
fix(ui): correct custom update components order
2025-11-07 16:16:58 +00:00
Siyuan
ba76d5bbc9
refactor(ui): simplify update dialog
2025-11-07 16:01:09 +00:00
Adam Shiervani
882eb703c5
refactor: update version handling and simplify downgrade logic
2025-11-07 15:41:35 +01:00
Marc Brooks
6e1b84f39b
chore: clean up logger messaging
2025-11-07 13:21:38 +01:00
Siyuan
1bca0c5e26
refactor: simplify version check and downgrade
2025-11-07 12:20:57 +00:00
Siyuan
329ad025bf
fix: should return error if version is not available
2025-11-07 09:01:55 +00:00
Siyuan
252dcba7a1
fix: rename redirectUrl to redirectTo
2025-11-07 08:06:42 +00:00
Siyuan
7c5dfd9e50
chore: update messages
2025-11-07 08:04:23 +00:00
Adam Shiervani
e0ff6716f1
feat: add acknowledgment checkbox for version changes in advanced settings
2025-11-07 08:04:23 +00:00
Adam Shiervani
32c66a3897
Apply suggestion from @Copilot
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-07 08:04:23 +00:00
Adam Shiervani
daeb9e3599
Apply suggestion from @Copilot
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-07 08:04:23 +00:00
Adam Shiervani
ef7e662fdf
Apply suggestion from @Copilot
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-07 08:04:23 +00:00
Siyuan
95e5e15226
feat: redirect to setup page after config reset
2025-11-07 08:04:23 +00:00
Adam Shiervani
aa7c6fe082
feat: enhance version update settings with reset configuration option
2025-11-07 08:04:23 +00:00
Siyuan
1e9dcc1986
feat: allow configuration to be reset during update
2025-11-07 08:04:23 +00:00
Siyuan
f6b0b7297d
fix: update components
2025-11-07 08:04:23 +00:00
Siyuan
2b3f392f0f
cleanup: ota state
2025-11-07 08:03:43 +00:00
Siyuan
0a98a73275
feat: downgrade
2025-11-07 08:03:43 +00:00
Adam Shiervani
ab06e376d0
feat: add version update functionality to advanced settings
2025-11-07 08:03:18 +00:00
Adam Shiervani
b0e659b76e
refactor: mprove UI settings structure with NestedSettingsGroup
2025-11-07 08:03:18 +00:00
Siyuan
85f7f60618
WIP: OTA refactor
2025-11-07 08:03:18 +00:00
tadic-luka
36f06a064a
feat: add web route for sending WOL package to given mac addr ( #945 )
...
* feat: add web route for sending WOL package to given mac addr
```
adds a new route /device/send-wol/:mac-addr to send the magic WOL package
to the specified mac-addr.
Method is POST and is protected.
Useful for custom wake up scripts: example is sending HTTP request through iOS shortcut
Test plan:
calling the API with curl
```
$ curl -X POST http://<jetkvm-ip>/device/send-wol/xx:xx:xx:xx:xx:xx
WOL sent to xx:xx:xx:xx:xx:xx
```
and observing the magic packet on my laptop/PC:
```
$ ncat -u -l 9 -k | xxd
00000000: ffff ffff ffff d050 9978 a620 d050 9978 .......P.x. .P.x
00000010: a620 d050 9978 a620 d050 9978 a620 d050 . .P.x. .P.x. .P
00000020: 9978 a620 d050 9978 a620 d050 9978 a620 .x. .P.x. .P.x.
00000030: d050 9978 a620 d050 9978 a620 d050 9978 .P.x. .P.x. .P.x
00000040: a620 d050 9978 a620 d050 9978 a620 d050 . .P.x. .P.x. .P
00000050: 9978 a620 d050 9978 a620 d050 9978 a620 .x. .P.x. .P.x.
```
calling the api with invalid mac addr returns HTTP 400 error
```
$ curl -X POST -v http://<jetkvm-ip>/device/send-wol/abcd
...
* Request completely sent off
< HTTP/1.1 400 Bad Request
...
...
Invalid mac address provided
* Resolve golint complaint
---------
Co-authored-by: Marc Brooks <IDisposable@gmail.com>
2025-11-06 21:39:22 +01:00
Adam Shiervani
5f15d8b2f6
refactor: More robust handling of jsonrpc calls ( #915 )
...
Co-authored-by: Marc Brooks <IDisposable@gmail.com>
2025-11-06 11:12:19 +01:00
Aveline
28919bf37c
fix: await sleep needs to be called inside async function ( #946 )
2025-11-05 13:25:13 -06:00
Marc Brooks
4090592112
chore: add delay before forced page-reload ( #916 )
2025-11-04 15:12:03 +01:00
dependabot[bot]
1d1e58f036
build(deps): bump github.com/prometheus/common from 0.66.1 to 0.67.2 ( #932 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 14:29:20 +01:00
dependabot[bot]
09ddd21610
build(deps): bump github.com/go-co-op/gocron/v2 from 2.16.6 to 2.17.0 ( #933 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 14:29:13 +01:00
dependabot[bot]
10c4c959a8
build(deps): bump react-router from 7.9.4 to 7.9.5 in /ui ( #931 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 14:27:14 +01:00
dependabot[bot]
69b7682002
build(deps-dev): bump @eslint/compat from 1.4.0 to 1.4.1 in /ui ( #924 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 14:27:03 +01:00
dependabot[bot]
92758c6337
build(deps-dev): bump @eslint/js from 9.38.0 to 9.39.0 in /ui ( #936 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 14:26:36 +01:00