Commit Graph

184 Commits

Author SHA1 Message Date
Aveline 810e3783d6
Merge 005505a2da into 31ea366e51 2025-11-10 18:00:50 +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
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
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 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
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
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] 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
Marc Brooks 7955ee9d35
Improves OTA update reporting and process (#838) 2025-10-29 23:10:23 +01:00
Adam Shiervani 4b6e796a0e
fix: ensure proper redirection and page reload (#909) 2025-10-29 02:04:58 +01:00
Adam Shiervani 50fc88aae1
bug: fix null pointer in wakeDisplay (#907) 2025-10-28 18:48:30 +01:00
Marc Brooks b1c788cc5e
chore/Automatically sort language files after machine-translate run (#902)
This should ensure that newly added strings are kept in their correct location so later changes yield clean GIT diffs.
Also bumped a couple minor dependencies
2025-10-27 16:34:07 +01:00
Adam Shiervani 71fe95bf57
More UI translations (#899)
* Enhance localization for reboot messages in multiple languages, including descriptions for device rebooting, IP address changes, and reconnection prompts in Danish, German, English, Spanish, French, Italian, Norwegian, Swedish, and Chinese.

* Update Swedish localization strings

* Update German localization strings

* Update Spanish localization strings

* Update Danish localization strings

* Update French localization strings

* Update Italian localization strings

* Update Norwegian localization strings

* Update Chinese localization strings

* sort translation keys

---------

Co-authored-by: Adam Shiervani <adamshiervani@fastmail.com>
2025-10-27 16:33:58 +01:00
Adam Shiervani ce9f95b8c8
refactor: ota redirecting (#898)
* refactor: improve URL handling in RebootingOverlay component

* refactor: enhance redirect URL handling in TryUpdate function

* refactor: disable old ota rebooting method in new version

* refactor: streamline version retrieval logic and enhance error handling in useVersion hook

* refactor: rename to RedirectTo

* fix: force page reload when redirecting from reboot actions

* refactor: consolidate sleep utility and update usages across components

* refactor: update JsonRpcCallOptions to use maxAttempts and attemptTimeoutMs, implement exponential backoff for retries

---------

Co-authored-by: Adam Shiervani <adamshiervani@fastmail.com>
2025-10-27 16:21:11 +01:00
Marc Brooks 9a4d061034
Localize the client/browser UI with inlang paraglide-js (#864) 2025-10-23 14:27:29 +02:00
Aveline 2444817455
chore: disable sleep mode when detecting video format (#887)
Co-authored-by: Adam Shiervani <adam.shiervani@gmail.com>
Co-authored-by: Adam Shiervani <adamshiervani@fastmail.com>
2025-10-17 17:51:02 +02:00
Aveline c775979ccb
feat: refactoring network stack (#878)
Co-authored-by: Adam Shiervani <adam.shiervani@gmail.com>
2025-10-15 18:32:58 +02:00
Adam Shiervani 403141c96a
refactor: safe Comboxbox onChange (#886) 2025-10-14 22:45:48 -05:00
Aylen e755a6e1b1
Update openSUSE image reference to Leap 16.0 (#865) 2025-10-07 11:57:10 +02:00
Marc Brooks 437f0b854a
upgrade ui packages (#861) 2025-10-01 21:43:46 +02:00
Marc Brooks 9438ab7778
Fix the lazy loading for the settings page. (#837)
Move SettingsItem into it's own page

Packages upgraded
@headlessui/react 2.2.8 -> 2.2.9
framer-motion 12.23.18 -> 12/23/22
react-router 7.9.1 -> 7.9.3
@tailwindcss/typography 0.6.18 -> 0.5.19
@types/react 19.1.13 -> 19.1.14
eslint-plugin-react-refresh 0.4.21 -> 0.4.22
2025-10-01 11:43:15 +02:00
Alexander 12d31a3d8e
Add da_DK keyboard Layout (#839) 2025-09-30 14:27:17 +02:00
Aveline 657a177462
feat: jetkvm native in cGo 2025-09-29 14:09:30 +02:00
Adam Shiervani 703625d59a
fix: faster paste speed (#824)
* fix: update delay handling in PasteModal component

- Changed default delay value to 20 and adjusted validation to allow values between 0 and 65534.
- Cleaned up code formatting for better readability.

* fix: formatting
2025-09-25 10:26:11 +02:00
Marc Brooks cb24ef6d4f
Update UI dependencies (#819) 2025-09-24 12:16:02 +02:00