From fc9b3a6d69cb5325814f5a4af00afb2aeb6348c6 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Sat, 16 Jan 2021 10:22:57 -0700 Subject: [PATCH] enable and disable auto check for updates --- .../update-os-banner.component.html | 2 +- .../update-os-banner.component.ts | 4 +-- .../modals/os-welcome/os-welcome.page.html | 28 ++++++++++--------- .../dev-ssh-keys/dev-ssh-keys.page.html | 7 ----- .../server-config/server-config.page.html | 4 +++ .../server-show/server-show.page.html | 2 +- .../server-show/server-show.page.ts | 2 +- ui/src/app/services/api/mock-api.service.ts | 2 +- ui/src/app/services/server-config.service.ts | 11 ++++++++ ui/src/app/services/sync.notifier.ts | 2 +- 10 files changed, 37 insertions(+), 27 deletions(-) diff --git a/ui/src/app/components/update-os-banner/update-os-banner.component.html b/ui/src/app/components/update-os-banner/update-os-banner.component.html index 87f0f27e6..53124a1de 100644 --- a/ui/src/app/components/update-os-banner/update-os-banner.component.html +++ b/ui/src/app/components/update-os-banner/update-os-banner.component.html @@ -1,5 +1,5 @@ - New Embassy OS Version {{version | displayEmver}} Available! + New EmbassyOS Version {{version | displayEmver}} Available! \ No newline at end of file diff --git a/ui/src/app/components/update-os-banner/update-os-banner.component.ts b/ui/src/app/components/update-os-banner/update-os-banner.component.ts index 4b407d951..bd8637940 100644 --- a/ui/src/app/components/update-os-banner/update-os-banner.component.ts +++ b/ui/src/app/components/update-os-banner/update-os-banner.component.ts @@ -23,8 +23,8 @@ export class UpdateOsBannerComponent { async confirmUpdate (versionLatest: string) { const alert = await this.alertCtrl.create({ - header: `Update Embassy OS`, - message: `Are you sure you want to update your Embassy OS to version ${versionLatest}?`, + header: `Update EmbassyOS`, + message: `Update EmbassyOS to version ${versionLatest}?`, buttons: [ { text: 'Cancel', diff --git a/ui/src/app/modals/os-welcome/os-welcome.page.html b/ui/src/app/modals/os-welcome/os-welcome.page.html index 4e4e71754..e2bb774ef 100644 --- a/ui/src/app/modals/os-welcome/os-welcome.page.html +++ b/ui/src/app/modals/os-welcome/os-welcome.page.html @@ -6,27 +6,29 @@ - Welcome to {{ version }} + Welcome to EmbassyOS {{ version }}! -
-

Overview

-

- 0.2.8 is a small but important update designed to enhance awareness around potential pitfalls of using certain services. - It introduces warnings for installing, uninstalling, backing up, and restoring backups of stateful services such as LND or c-lightning. - 0.2.8 also draws a distinction between services that can be launched inside the browser and those that are designed to run in the background. -

-
+

Highlights

+

+ 0.2.8 is a small but important update designed to enhance awareness around potential pitfalls of using certain services. + It introduces warnings for installing, uninstalling, backing up, and restoring backups of stateful services such as LND or c-lightning. + 0.2.8 introduces automatic checks for updates, a setting that can be enabled or disabled in your Embassy config, and it also draws a distinction between services that are designed to be launched inside the browser and those that are designed to run in the background. +

-
Critical - Read Carefully
+
Important

- If you have LND or c-lightning installed, it is critical that you update them to the latest version. - An oversight in Start9’s USB backups system has created a situation where restoring a LND or c-lightning backup can result in permanent loss of channel funds. - To be clear, DO NOT attempt to restore a LND or c-lightning backup until you have updated these services to the latest versions. + If you have LND or c-lightning installed, please update them to the latest versions. + An oversight in Start9’s USB backups system has created a situation where restoring a LND or c-lightning backup could potentially result in permanent loss of channel funds. + To be clear, DO NOT attempt to restore a LND or c-lightning backup until you have updated to the latest versions.

+ + + Close +
\ No newline at end of file diff --git a/ui/src/app/pages/server-routes/developer-routes/dev-ssh-keys/dev-ssh-keys.page.html b/ui/src/app/pages/server-routes/developer-routes/dev-ssh-keys/dev-ssh-keys.page.html index 608230d20..9d1cad54b 100644 --- a/ui/src/app/pages/server-routes/developer-routes/dev-ssh-keys/dev-ssh-keys.page.html +++ b/ui/src/app/pages/server-routes/developer-routes/dev-ssh-keys/dev-ssh-keys.page.html @@ -21,13 +21,6 @@ - Description - - -

Add SSH keys to your Embassy to gain root access from the command line.

-
-
- Saved Keys diff --git a/ui/src/app/pages/server-routes/server-config/server-config.page.html b/ui/src/app/pages/server-routes/server-config/server-config.page.html index ae0f75bdd..b81429cf1 100644 --- a/ui/src/app/pages/server-routes/server-config/server-config.page.html +++ b/ui/src/app/pages/server-routes/server-config/server-config.page.html @@ -20,6 +20,10 @@ Device Name {{ server.name | async }} + + Auto Check for Updates + {{ server.autoCheckUpdates | async }} +