Commit Graph

444 Commits

Author SHA1 Message Date
Siyuan Miao 97bc1be7c1 add script to automate pushing 2025-11-20 00:15:43 +01:00
Siyuan Miao 2bd9867d25 fix 2025-11-19 21:36:34 +01:00
Siyuan Miao c563a28613 feat: OTA test 2025-11-19 19:45:20 +01:00
Siyuan Miao 64a514520c feat: add e2e test for OTA process 2025-11-19 16:06:38 +01:00
Adam Shiervani 5e87d792d8 fix(ota): trigger OTA state update on channel open in newSession function 2025-11-19 00:58:26 +01:00
Adam Shiervani ac79724448 chore: increase reboot delay to 7 seconds 2025-11-19 00:58:11 +01:00
Siyuan 892e5f4195 chore: reduce reboot delay to 3 seconds 2025-11-18 16:17:45 +00:00
Siyuan b8af39cae9 fix: set updating flag to false when update is complete 2025-11-18 15:59:30 +00:00
Adam Shiervani 999c8c79b0 fix(ota): update redirect URL from /device/setup to /welcome in doUpdate function 2025-11-18 16:57:18 +01:00
Siyuan f580631f0a fix: hwReboot delay should be delayMs 2025-11-18 15:49:09 +00:00
Adam Shiervani 013e73b371 fix(localization): update auto-update description for clarity across multiple languages 2025-11-18 16:35:49 +01:00
Adam Shiervani 8113cd40ad feat(ota): set updating immediately 2025-11-18 16:28:58 +01:00
Siyuan 5f76e30e55 chore: remove unused function readOtpEntropy 2025-11-18 14:49:03 +00:00
Siyuan ae3b2b7628 fix(hwReboot): only wait for extra settle time if delay is greater than 1 second 2025-11-18 14:48:39 +00:00
Siyuan ad8acd0902 chore(ota): only show selected TLS connection state fields in trace logging 2025-11-18 14:33:12 +00:00
Siyuan fc8cfadb9f chore(ota): add trace logging to HTTP requests 2025-11-18 14:26:45 +00:00
Siyuan 88becfeed1 chore(ota): rename component->downloadComponent in trace logging 2025-11-18 14:13:57 +00:00
Siyuan e79f03d0db feat: add trace logging to OTA download 2025-11-18 14:07:59 +00:00
Adam Shiervani 6aa740d3b2 chore: remove early return in doUpdate when custom update is set 2025-11-18 15:04:05 +01:00
Siyuan f1eb38fd5e chore: disable retry for checkUpdateComponents RPC 2025-11-18 13:49:29 +00:00
Siyuan 95be473608 chore: increase update status RPC timeout and max attempts for bad network connection 2025-11-18 13:46:02 +00:00
Siyuan 7c79b3e514 chore: remove redundant s.updating = false assignment, as it's already set in the componentUpdateError function 2025-11-18 13:37:04 +00:00
Adam Shiervani aee9940476 feat: mark updating state during app and system updates 2025-11-18 11:28:31 +01:00
Adam Shiervani d8ee8b4d94 Send error the frontend and reset updating state 2025-11-18 11:27:00 +01:00
Siyuan d205df50e9 chore: add requestID to update status API calls and increase timeout to 10s 2025-11-18 03:38:42 +00:00
Siyuan d9f8054906 feat: disable auto-update when custom version update is detected 2025-11-17 14:53:47 +00:00
Siyuan 176b7d2f06 cleanup: remove CheckOnly from UpdateParams 2025-11-17 13:34:21 +00:00
Siyuan eff4920a06 fix: remove mutex from updateApp & updateSystem 2025-11-17 13:33:18 +00:00
Siyuan e1943c89e8 fix: do not set zero values in RPCState 2025-11-17 13:16:54 +00:00
Siyuan c19bd0d46b fix: set updating to false when checking for updates failed 2025-11-17 12:27:07 +00:00
Siyuan 3b0efa7d20 chore: use json schema for ota test data 2025-11-17 12:22:57 +00:00
Siyuan 1880d5bfbc fix: set components to default components if not set 2025-11-17 10:42:18 +00:00
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