From 4a8f323be7b0441503a514e588c8d5678333c0df Mon Sep 17 00:00:00 2001
From: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
Date: Thu, 11 May 2023 16:48:52 -0600
Subject: [PATCH] external rename (#2265)
* backend rename
* rename embassy and closes #2179
* update root ca name on disk
* update MOTD
* update readmes
* your server typo
* another tiny typo
* fix png name
* Update backend/src/net/wifi.rs
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
* changes needed due to rebase
---------
Co-authored-by: Matt Hill
Co-authored-by: Matt Hill
Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
---
.github/ISSUE_TEMPLATE/bug-report.yml | 16 +-
.github/ISSUE_TEMPLATE/feature-request.yml | 8 +-
CONTRIBUTING.md | 49 ++--
README.md | 38 +--
assets/{embassyOS.png => StartOS.png} | Bin
assets/{eOS-ghost.png => ghost.png} | Bin
.../{eOS-preferences.png => preferences.png} | Bin
assets/{eOS-sideload.png => sideload.png} | Bin
...lth-check.png => synapse-health-check.png} | Bin
backend/Cargo.toml | 4 +-
backend/README.md | 10 +-
backend/src/bin/embassy-init.rs | 4 +-
backend/src/disk/main.rs | 4 +-
backend/src/init.rs | 2 +-
backend/src/net/cert-local.csr.conf.template | 2 +-
backend/src/net/ssl.rs | 8 +-
backend/src/net/wifi.rs | 2 +-
backend/src/os_install/mod.rs | 2 +-
backend/src/setup.rs | 4 +-
build/README.md | 22 +-
build/lib/motd | 18 +-
build/lib/scripts/enable-kiosk | 4 +-
build/lib/scripts/firefox-trust-cert | 2 +-
frontend/README.md | 14 +-
frontend/package-lock.json | 8 +-
frontend/package.json | 4 +-
.../src/app/pages/home/home.page.html | 26 +-
.../src/app/pages/home/home.page.ts | 10 +-
.../src/app/services/api/mock-api.service.ts | 2 +-
.../projects/diagnostic-ui/src/index.html | 31 +--
.../src/app/pages/home/home.page.html | 8 +-
.../src/app/pages/home/home.page.ts | 8 +-
.../projects/install-wizard/src/index.html | 2 +-
.../src/app/app-routing.module.ts | 2 +-
.../app/modals/cifs-modal/cifs-modal.page.ts | 12 +-
.../app/modals/password/password.page.html | 6 +-
.../src/app/pages/attach/attach.page.html | 11 +-
.../src/app/pages/embassy/embassy.page.html | 6 +-
.../src/app/pages/home/home.page.html | 20 +-
.../src/app/pages/loading/loading.page.html | 2 +-
.../src/app/pages/loading/loading.page.ts | 2 +-
.../pages/recover/drive-status.component.html | 4 +-
.../src/app/pages/recover/recover.page.html | 8 +-
.../src/app/pages/recover/recover.page.ts | 4 +-
.../download-doc/download-doc.component.html | 12 +-
.../download-doc/download-doc.component.ts | 11 +-
.../src/app/pages/success/success.page.html | 18 +-
.../src/app/pages/success/success.page.ts | 2 +-
.../src/app/pages/transfer/transfer.page.html | 2 +-
.../src/app/services/api/api.service.ts | 8 +-
.../src/app/services/api/live-api.service.ts | 4 +-
.../src/app/services/api/mock-api.service.ts | 2 +-
frontend/projects/setup-wizard/src/index.html | 35 +--
frontend/projects/shared/src/types/api.ts | 4 +-
frontend/projects/ui/src/app/app.component.ts | 2 +-
.../backup-drives-status.component.html | 12 +-
.../backup-drives.component.html | 25 +-
.../notifications-toast.component.html | 2 +-
.../update-toast/update-toast.component.html | 4 +-
.../widget-list/widget-list.component.ts | 10 +-
.../app-recover-select.page.html | 2 +-
.../app/modals/os-update/os-update.page.html | 6 +-
.../modals/os-welcome/os-welcome.page.html | 30 ++-
.../app-actions/app-actions.page.html | 14 +-
.../apps-routes/app-list/app-list.page.html | 4 +-
.../apps-routes/app-show/app-show.page.html | 6 +-
.../developer-menu/form-info.ts | 2 +-
.../ui/src/app/pages/login/login.page.html | 2 +-
.../notifications/notifications.page.html | 4 +-
.../app/pages/server-routes/lan/lan.page.html | 9 +-
.../app/pages/server-routes/lan/lan.page.ts | 11 +-
.../server-backup/server-backup.page.ts | 2 +-
.../server-show/server-show.page.html | 6 +-
.../server-show/server-show.page.ts | 26 +-
.../server-specs/server-specs.page.html | 2 +-
.../server-routes/ssh-keys/ssh-keys.page.html | 10 +-
.../server-routes/ssh-keys/ssh-keys.page.ts | 2 +-
.../pages/server-routes/wifi/wifi.page.html | 19 +-
.../app/pages/server-routes/wifi/wifi.page.ts | 6 +-
.../ui/src/app/services/api/api.fixures.ts | 10 +-
.../ui/src/app/services/api/api.types.ts | 6 +-
.../ui/src/app/services/api/mock-patch.ts | 6 +-
frontend/projects/ui/src/index.html | 2 +-
index.html | 4 +-
libs/artifacts/types.d.ts | 249 +++++++++---------
libs/models/src/errors.rs | 2 +-
86 files changed, 516 insertions(+), 468 deletions(-)
rename assets/{embassyOS.png => StartOS.png} (100%)
rename assets/{eOS-ghost.png => ghost.png} (100%)
rename assets/{eOS-preferences.png => preferences.png} (100%)
rename assets/{eOS-sideload.png => sideload.png} (100%)
rename assets/{eOS-synapse-health-check.png => synapse-health-check.png} (100%)
diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
index 1d0766f8e..33032115b 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -1,6 +1,6 @@
name: 🐛 Bug Report
-description: Create a report to help us improve embassyOS
-title: '[bug]: '
+description: Create a report to help us improve StartOS
+title: "[bug]: "
labels: [Bug, Needs Triage]
assignees:
- MattDHill
@@ -10,19 +10,19 @@ body:
label: Prerequisites
description: Please confirm you have completed the following.
options:
- - label: I have searched for [existing issues](https://github.com/start9labs/embassy-os/issues) that already report this problem.
+ - label: I have searched for [existing issues](https://github.com/start9labs/start-os/issues) that already report this problem.
required: true
- type: input
attributes:
- label: embassyOS Version
- description: What version of embassyOS are you running?
- placeholder: e.g. 0.3.0
+ label: StartOS Version
+ description: What version of StartOS are you running?
+ placeholder: e.g. 0.3.4.2
validations:
required: true
- type: dropdown
attributes:
label: Device
- description: What device are you using to connect to Embassy?
+ description: What device are you using to connect to your server?
options:
- Phone/tablet
- Laptop/Desktop
@@ -52,7 +52,7 @@ body:
- type: dropdown
attributes:
label: Browser
- description: What browser are you using to connect to Embassy?
+ description: What browser are you using to connect to your server?
options:
- Firefox
- Brave
diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml
index 4714b7a8b..250f15b07 100644
--- a/.github/ISSUE_TEMPLATE/feature-request.yml
+++ b/.github/ISSUE_TEMPLATE/feature-request.yml
@@ -1,6 +1,6 @@
name: 💡 Feature Request
-description: Suggest an idea for embassyOS
-title: '[feat]: '
+description: Suggest an idea for StartOS
+title: "[feat]: "
labels: [Enhancement]
assignees:
- MattDHill
@@ -10,7 +10,7 @@ body:
label: Prerequisites
description: Please confirm you have completed the following.
options:
- - label: I have searched for [existing issues](https://github.com/start9labs/embassy-os/issues) that already suggest this feature.
+ - label: I have searched for [existing issues](https://github.com/start9labs/start-os/issues) that already suggest this feature.
required: true
- type: textarea
attributes:
@@ -27,7 +27,7 @@ body:
- type: textarea
attributes:
label: Describe Preferred Solution
- description: How you want this feature added to embassyOS?
+ description: How you want this feature added to StartOS?
- type: textarea
attributes:
label: Describe Alternatives
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 380ff51a3..76dfec490 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,6 +1,6 @@
-# Contributing to Embassy OS
+# Contributing to StartOS
First off, thanks for taking the time to contribute! ❤️
@@ -19,7 +19,7 @@ forward to your contributions. 🎉
> - Tweet about it
> - Refer this project in your project's readme
> - Mention the project at local meetups and tell your friends/colleagues
-> - Buy an [Embassy](https://start9labs.com)
+> - Buy a [Start9 server](https://start9.com)
@@ -49,7 +49,7 @@ forward to your contributions. 🎉
> [Documentation](https://docs.start9labs.com).
Before you ask a question, it is best to search for existing
-[Issues](https://github.com/Start9Labs/embassy-os/issues) that might help you.
+[Issues](https://github.com/Start9Labs/start-os/issues) that might help you.
In case you have found a suitable issue and still need clarification, you can
write your question in this issue. It is also advisable to search the internet
for answers first.
@@ -57,7 +57,7 @@ for answers first.
If you then still feel the need to ask a question and need clarification, we
recommend the following:
-- Open an [Issue](https://github.com/Start9Labs/embassy-os/issues/new).
+- Open an [Issue](https://github.com/Start9Labs/start-os/issues/new).
- Provide as much context as you can about what you're running into.
- Provide project and platform versions, depending on what seems relevant.
@@ -105,7 +105,7 @@ steps in advance to help us fix any potential bug as fast as possible.
- To see if other users have experienced (and potentially already solved) the
same issue you are having, check if there is not already a bug report existing
for your bug or error in the
- [bug tracker](https://github.com/Start9Labs/embassy-os/issues?q=label%3Abug).
+ [bug tracker](https://github.com/Start9Labs/start-os/issues?q=label%3Abug).
- Also make sure to search the internet (including Stack Overflow) to see if
users outside of the GitHub community have discussed the issue.
- Collect information about the bug:
@@ -131,7 +131,7 @@ steps in advance to help us fix any potential bug as fast as possible.
We use GitHub issues to track bugs and errors. If you run into an issue with the
project:
-- Open an [Issue](https://github.com/Start9Labs/embassy-os/issues/new/choose)
+- Open an [Issue](https://github.com/Start9Labs/start-os/issues/new/choose)
selecting the appropriate type.
- Explain the behavior you would expect and the actual behavior.
- Please provide as much context as possible and describe the _reproduction
@@ -155,8 +155,7 @@ Once it's filed:
### Suggesting Enhancements
-This section guides you through submitting an enhancement suggestion for Embassy
-OS, **including completely new features and minor improvements to existing
+This section guides you through submitting an enhancement suggestion for StartOS, **including completely new features and minor improvements to existing
functionality**. Following these guidelines will help maintainers and the
community to understand your suggestion and find related suggestions.
@@ -168,7 +167,7 @@ community to understand your suggestion and find related suggestions.
- Read the [documentation](https://start9.com/latest/user-manual) carefully and
find out if the functionality is already covered, maybe by an individual
configuration.
-- Perform a [search](https://github.com/Start9Labs/embassy-os/issues) to see if
+- Perform a [search](https://github.com/Start9Labs/start-os/issues) to see if
the enhancement has already been suggested. If it has, add a comment to the
existing issue instead of opening a new one.
- Find out whether your idea fits with the scope and aims of the project. It's
@@ -182,7 +181,7 @@ community to understand your suggestion and find related suggestions.
#### How Do I Submit a Good Enhancement Suggestion?
Enhancement suggestions are tracked as
-[GitHub issues](https://github.com/Start9Labs/embassy-os/issues).
+[GitHub issues](https://github.com/Start9Labs/start-os/issues).
- Use a **clear and descriptive title** for the issue to identify the
suggestion.
@@ -197,7 +196,7 @@ Enhancement suggestions are tracked as
macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast)
or [this tool](https://github.com/GNOME/byzanz) on Linux.
-- **Explain why this enhancement would be useful** to most Embassy OS users. You
+- **Explain why this enhancement would be useful** to most StartOS users. You
may also want to point out the other projects that solved it better and which
could serve as inspiration.
@@ -205,24 +204,24 @@ Enhancement suggestions are tracked as
### Project Structure
-embassyOS is composed of the following components. Please visit the README for
+StartOS is composed of the following components. Please visit the README for
each component to understand the dependency requirements and installation
instructions.
- [`backend`](backend/README.md) (Rust) is a command line utility, daemon, and
software development kit that sets up and manages services and their
environments, provides the interface for the ui, manages system state, and
- provides utilities for packaging services for embassyOS.
+ provides utilities for packaging services for StartOS.
- [`build`](build/README.md) contains scripts and necessary for deploying
- embassyOS to a debian/raspbian system.
+ StartOS to a debian/raspbian system.
- [`frontend`](frontend/README.md) (Typescript Ionic Angular) is the code that
- is deployed to the browser to provide the user interface for embassyOS.
- - `projects/ui` - Code for the user interface that is displayed when embassyOS
+ is deployed to the browser to provide the user interface for StartOS.
+ - `projects/ui` - Code for the user interface that is displayed when StartOS
is running normally.
- `projects/setup-wizard`(frontend/README.md) - Code for the user interface
- that is displayed during the setup and recovery process for embassyOS.
+ that is displayed during the setup and recovery process for StartOS.
- `projects/diagnostic-ui` - Code for the user interface that is displayed
- when something has gone wrong with starting up embassyOS, which provides
+ when something has gone wrong with starting up StartOS, which provides
helpful debugging tools.
- `libs` (Rust) is a set of standalone crates that were separated out of
`backend` for the purpose of portability
@@ -232,18 +231,18 @@ instructions.
[client](https://github.com/Start9Labs/patch-db/tree/master/client) with its
own dependency and installation requirements.
- `system-images` - (Docker, Rust) A suite of utility Docker images that are
- preloaded with embassyOS to assist with functions relating to services (eg.
+ preloaded with StartOS to assist with functions relating to services (eg.
configuration, backups, health checks).
### Your First Code Contribution
#### Setting Up Your Development Environment
-First, clone the embassyOS repository and from the project root, pull in the
+First, clone the StartOS repository and from the project root, pull in the
submodules for dependent libraries.
```sh
-git clone https://github.com/Start9Labs/embassy-os.git
+git clone https://github.com/Start9Labs/start-os.git
git submodule update --init --recursive
```
@@ -254,7 +253,7 @@ to, follow the installation requirements listed in that component's README
#### Building The Raspberry Pi Image
This step is for setting up an environment in which to test your code changes if
-you do not yet have a embassyOS.
+you do not yet have a StartOS.
- Requirements
- `ext4fs` (available if running on the Linux kernel)
@@ -262,7 +261,7 @@ you do not yet have a embassyOS.
- GNU Make
- Building
- see setup instructions [here](build/README.md)
- - run `make embassyos-raspi.img ARCH=aarch64` from the project root
+ - run `make startos-raspi.img ARCH=aarch64` from the project root
### Improving The Documentation
@@ -286,7 +285,7 @@ seamless and intuitive experience.
### Formatting
-Each component of embassyOS contains its own style guide. Code must be formatted
+Each component of StartOS contains its own style guide. Code must be formatted
with the formatter designated for each component. These are outlined within each
component folder's README.
@@ -306,7 +305,7 @@ component. i.e. `backend: update to tokio v0.3`.
The body of a pull request should contain sufficient description of what the
changes do, as well as a justification. You should include references to any
-relevant [issues](https://github.com/Start9Labs/embassy-os/issues).
+relevant [issues](https://github.com/Start9Labs/start-os/issues).
### Rebasing Changes
diff --git a/README.md b/README.md
index 04bd6b3f7..23df51e80 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-# embassyOS
-[](https://github.com/Start9Labs/embassy-os/releases)
-[](https://github.com/Start9Labs/embassy-os/actions/workflows/product.yaml)
+# StartOS
+[](https://github.com/Start9Labs/start-os/releases)
+[](https://github.com/Start9Labs/start-os/actions/workflows/product.yaml)
[](https://matrix.to/#/#community:matrix.start9labs.com)
[](https://t.me/start9_labs)
[](https://docs.start9.com)
@@ -12,16 +12,16 @@
### _Welcome to the era of Sovereign Computing_ ###
-embassyOS is a browser-based, graphical operating system for a personal server. embassyOS facilitates the discovery, installation, network configuration, service configuration, data backup, dependency management, and health monitoring of self-hosted software services. It is the most advanced, secure, reliable, and user friendly personal server OS in the world.
+StartOS is a browser-based, graphical operating system for a personal server. StartOS facilitates the discovery, installation, network configuration, service configuration, data backup, dependency management, and health monitoring of self-hosted software services. It is the most advanced, secure, reliable, and user friendly personal server OS in the world.
-## Running embassyOS
-There are multiple ways to get your hands on embassyOS.
+## Running StartOS
+There are multiple ways to get your hands on StartOS.
-### :moneybag: Buy an Embassy
-This is the most convenient option. Simply [buy an Embassy](https://start9.com) from Start9 and plug it in. Depending on where you live, shipping costs and import duties will vary.
+### :moneybag: Buy a Start9 server
+This is the most convenient option. Simply [buy a server](https://start9.com) from Start9 and plug it in. Depending on where you live, shipping costs and import duties will vary.
-### :construction_worker: Build your own Embassy
-While not as convenient as buying an Embassy, this option is easier than you might imagine, and there are 4 reasons why you might prefer it:
+### :construction_worker: Build your own server
+This option is easier than you might imagine, and there are 4 reasons why you might prefer it:
1. You already have your own hardware.
1. You want to save on shipping costs.
1. You prefer not to divulge your physical address.
@@ -29,23 +29,23 @@ While not as convenient as buying an Embassy, this option is easier than you mig
To pursue this option, follow one of our [DIY guides](https://start9.com/latest/diy).
-### :hammer_and_wrench: Build embassyOS from Source
+### :hammer_and_wrench: Build StartOS from Source
-embassyOS can be built from source, for personal use, for free.
-A detailed guide for doing so can be found [here](https://github.com/Start9Labs/embassy-os/blob/master/build/README.md).
+StartOS can be built from source, for personal use, for free.
+A detailed guide for doing so can be found [here](https://github.com/Start9Labs/start-os/blob/master/build/README.md).
## :heart: Contributing
-There are multiple ways to contribute: work directly on embassyOS, package a service for the marketplace, or help with documentation and guides. To learn more about contributing, see [here](https://docs.start9.com/latest/contribute/) or [here](https://github.com/Start9Labs/embassy-os/blob/master/CONTRIBUTING.md).
+There are multiple ways to contribute: work directly on StartOS, package a service for the marketplace, or help with documentation and guides. To learn more about contributing, see [here](https://docs.start9.com/latest/contribute/) or [here](https://github.com/Start9Labs/start-os/blob/master/CONTRIBUTING.md).
## UI Screenshots
-
+
-
-
+
+
-
-
+
+
diff --git a/assets/embassyOS.png b/assets/StartOS.png
similarity index 100%
rename from assets/embassyOS.png
rename to assets/StartOS.png
diff --git a/assets/eOS-ghost.png b/assets/ghost.png
similarity index 100%
rename from assets/eOS-ghost.png
rename to assets/ghost.png
diff --git a/assets/eOS-preferences.png b/assets/preferences.png
similarity index 100%
rename from assets/eOS-preferences.png
rename to assets/preferences.png
diff --git a/assets/eOS-sideload.png b/assets/sideload.png
similarity index 100%
rename from assets/eOS-sideload.png
rename to assets/sideload.png
diff --git a/assets/eOS-synapse-health-check.png b/assets/synapse-health-check.png
similarity index 100%
rename from assets/eOS-synapse-health-check.png
rename to assets/synapse-health-check.png
diff --git a/backend/Cargo.toml b/backend/Cargo.toml
index 7fac446a9..2c5a74daf 100644
--- a/backend/Cargo.toml
+++ b/backend/Cargo.toml
@@ -1,6 +1,6 @@
[package]
authors = ["Aiden McClelland "]
-description = "The core of the Start9 Embassy Operating System"
+description = "The core of StartOS"
documentation = "https://docs.rs/embassy-os"
edition = "2021"
keywords = [
@@ -13,7 +13,7 @@ keywords = [
]
name = "embassy-os"
readme = "README.md"
-repository = "https://github.com/Start9Labs/embassy-os"
+repository = "https://github.com/Start9Labs/start-os"
version = "0.3.4-rev.1"
[lib]
diff --git a/backend/README.md b/backend/README.md
index 36a27eb49..8734e6f70 100644
--- a/backend/README.md
+++ b/backend/README.md
@@ -1,4 +1,4 @@
-# embassyOS Backend
+# StartOS Backend
- Requirements:
- [Install Rust](https://rustup.rs)
@@ -12,16 +12,16 @@
## Structure
-The embassyOS backend is broken up into 4 different binaries:
+The StartOS backend is broken up into 4 different binaries:
-- embassyd: This is the main workhorse of embassyOS - any new functionality you
+- embassyd: This is the main workhorse of StartOS - any new functionality you
want will likely go here
- embassy-init: This is the component responsible for allowing you to set up
your device, and handles system initialization on startup
- embassy-cli: This is a CLI tool that will allow you to issue commands to
embassyd and control it similarly to the UI
- embassy-sdk: This is a CLI tool that aids in building and packaging services
- you wish to deploy to the Embassy
+ you wish to deploy to StartOS
Finally there is a library `embassy` that supports all four of these tools.
@@ -30,7 +30,7 @@ See [here](/backend/Cargo.toml) for details.
## Building
You can build the entire operating system image using `make` from the root of
-the embassyOS project. This will subsequently invoke the build scripts above to
+the StartOS project. This will subsequently invoke the build scripts above to
actually create the requisite binaries and put them onto the final operating
system image.
diff --git a/backend/src/bin/embassy-init.rs b/backend/src/bin/embassy-init.rs
index aceeb6e83..1bc079c58 100644
--- a/backend/src/bin/embassy-init.rs
+++ b/backend/src/bin/embassy-init.rs
@@ -31,7 +31,7 @@ async fn setup_or_init(cfg_path: Option) -> Result<(), Error> {
.arg("ssh")
.invoke(crate::ErrorKind::OpenSsh)
.await?;
- embassy::hostname::sync_hostname(&embassy::hostname::Hostname("embassy".into())).await?;
+ embassy::hostname::sync_hostname(&embassy::hostname::Hostname("start".into())).await?;
let ctx = InstallContext::init(cfg_path).await?;
@@ -55,7 +55,7 @@ async fn setup_or_init(cfg_path: Option) -> Result<(), Error> {
.await
.is_err()
{
- embassy::hostname::sync_hostname(&embassy::hostname::Hostname("embassy".into())).await?;
+ embassy::hostname::sync_hostname(&embassy::hostname::Hostname("start".into())).await?;
let ctx = SetupContext::init(cfg_path).await?;
diff --git a/backend/src/disk/main.rs b/backend/src/disk/main.rs
index 35852505a..f9ec4bf08 100644
--- a/backend/src/disk/main.rs
+++ b/backend/src/disk/main.rs
@@ -213,7 +213,7 @@ pub async fn import>(
.is_none()
{
return Err(Error::new(
- eyre!("Embassy disk not found."),
+ eyre!("StartOS disk not found."),
crate::ErrorKind::DiskNotAvailable,
));
}
@@ -223,7 +223,7 @@ pub async fn import>(
.any(|id| id == guid)
{
return Err(Error::new(
- eyre!("An Embassy disk was found, but it is not the correct disk for this device."),
+ eyre!("A StartOS disk was found, but it is not the correct disk for this device."),
crate::ErrorKind::IncorrectDisk,
));
}
diff --git a/backend/src/init.rs b/backend/src/init.rs
index e1b415a6c..68ac2365d 100644
--- a/backend/src/init.rs
+++ b/backend/src/init.rs
@@ -258,7 +258,7 @@ pub async fn init(cfg: &RpcContextConfig) -> Result {
// write to ca cert store
tokio::fs::write(
- "/usr/local/share/ca-certificates/embassy-root-ca.crt",
+ "/usr/local/share/ca-certificates/startos-root-ca.crt",
account.root_ca_cert.to_pem()?,
)
.await?;
diff --git a/backend/src/net/cert-local.csr.conf.template b/backend/src/net/cert-local.csr.conf.template
index 8f725478f..223dd61bf 100644
--- a/backend/src/net/cert-local.csr.conf.template
+++ b/backend/src/net/cert-local.csr.conf.template
@@ -7,4 +7,4 @@ prompt = no
[req_distinguished_name]
CN = {hostname}.local
O = Start9 Labs
-OU = Embassy
\ No newline at end of file
+OU = StartOS
\ No newline at end of file
diff --git a/backend/src/net/ssl.rs b/backend/src/net/ssl.rs
index 16b8cf6f1..13179da1d 100644
--- a/backend/src/net/ssl.rs
+++ b/backend/src/net/ssl.rs
@@ -173,7 +173,7 @@ pub fn make_root_cert(root_key: &PKey, hostname: &Hostname) -> Result Result<(
let is_current_removed_and_no_hardwire =
is_current_being_removed && !interface_connected(&ctx.ethernet_interface).await?;
if is_current_removed_and_no_hardwire {
- return Err(Error::new(color_eyre::eyre::eyre!("Forbidden: Deleting this Network would make your Embassy Unreachable. Either connect to ethernet or connect to a different WiFi network to remedy this."), ErrorKind::Wifi));
+ return Err(Error::new(color_eyre::eyre::eyre!("Forbidden: Deleting this network would make your server unreachable. Either connect to ethernet or connect to a different WiFi network to remedy this."), ErrorKind::Wifi));
}
wpa_supplicant
diff --git a/backend/src/os_install/mod.rs b/backend/src/os_install/mod.rs
index 8b32acf20..4bf3333c7 100644
--- a/backend/src/os_install/mod.rs
+++ b/backend/src/os_install/mod.rs
@@ -232,7 +232,7 @@ pub async fn execute(
.invoke(crate::ErrorKind::OpenSsh)
.await?;
- tokio::fs::write(current.join("etc/hostname"), "embassy\n").await?;
+ tokio::fs::write(current.join("etc/hostname"), "start\n").await?;
Command::new("chroot")
.arg(¤t)
diff --git a/backend/src/setup.rs b/backend/src/setup.rs
index dd8b8af61..0ac21cce2 100644
--- a/backend/src/setup.rs
+++ b/backend/src/setup.rs
@@ -135,7 +135,7 @@ pub async fn attach(
crate::disk::main::export(&*guid, &ctx.datadir).await?;
return Err(Error::new(
eyre!(
- "Errors were corrected with your disk, but the Embassy must be restarted in order to proceed"
+ "Errors were corrected with your disk, but the server must be restarted in order to proceed"
),
ErrorKind::DiskManagement,
));
@@ -294,7 +294,7 @@ pub async fn execute(
}));
}
Err(e) => {
- tracing::error!("Error Setting Up Embassy: {}", e);
+ tracing::error!("Error Setting Up Server: {}", e);
tracing::debug!("{:?}", e);
*ctx.setup_status.write().await = Some(Err(e.into()));
}
diff --git a/build/README.md b/build/README.md
index 7a1e9afb6..3bab01866 100644
--- a/build/README.md
+++ b/build/README.md
@@ -1,4 +1,4 @@
-# Building Embassy OS
+# Building StartOS
⚠️ The commands given assume a Debian or Ubuntu-based environment. _Building in
a VM is NOT yet supported_ ⚠️
@@ -42,15 +42,15 @@ a VM is NOT yet supported_ ⚠️
2. Clone the latest repo with required submodules
> :information_source: You chan check latest available version
- > [here](https://github.com/Start9Labs/embassy-os/releases)
+ > [here](https://github.com/Start9Labs/start-os/releases)
```
- git clone --recursive https://github.com/Start9Labs/embassy-os.git --branch latest
+ git clone --recursive https://github.com/Start9Labs/start-os.git --branch latest
```
## Build Raspberry Pi Image
```
-cd embassy-os
+cd start-os
make embassyos-raspi.img ARCH=aarch64
```
@@ -62,7 +62,7 @@ We recommend [Balena Etcher](https://www.balena.io/etcher/)
## Setup
-Visit http://embassy.local from any web browser - We recommend
+Visit http://start.local from any web browser - We recommend
[Firefox](https://www.mozilla.org/firefox/browsers)
Enter your product key. This is generated during the build process and can be
@@ -70,11 +70,11 @@ found in `product_key.txt`, located in the root directory.
## Troubleshooting
-1. I just flashed my SD card, fired up my Embassy, bootup sounds and all, but my
- browser is saying "Unable to connect" with embassy.local.
+1. I just flashed my SD card, fired up StartOS, bootup sounds and all, but my
+ browser is saying "Unable to connect" with start.local.
- Try doing a hard refresh on your browser, or opening the url in a
- private/incognito window. If you've ran an instance of Embassy before,
+ private/incognito window. If you've ran an instance of StartOS before,
sometimes you can have a stale cache that will block you from navigating to
the page.
@@ -91,14 +91,14 @@ found in `product_key.txt`, located in the root directory.
- Find the IP of your device
- Run `nc 8080` and it will print the logs
-4. I need to ssh into my Embassy to fix something, but I cannot get to the
+4. I need to ssh into my server to fix something, but I cannot get to the
console to add ssh keys normally.
- During the Build step, instead of running just
`make embassyos-raspi.img ARCH=aarch64` run
`ENVIRONMENT=dev make embassyos-raspi.img ARCH=aarch64`. Flash like normal,
- and insert into your Embassy. Boot up your Embassy, and on another computer on
- the same network, ssh into the Embassy with the username `start9` password
+ and insert into your server. Boot up StartOS, then on another computer on
+ the same network, ssh into the the server with the username `start9` password
`embassy`.
4. I need to reset my password, how can I do that?
diff --git a/build/lib/motd b/build/lib/motd
index 9b66cdfd2..fc07a2ceb 100644
--- a/build/lib/motd
+++ b/build/lib/motd
@@ -2,14 +2,20 @@
printf "\n"
printf "Welcome to\n"
cat << "ASCII"
- | ,---.,---.
-,---.,-.-.|---.,---.,---.,---., .| |`---.
-|---'| | || |,---|`---.`---.| || | |
-`---'` ' '`---'`---^`---'`---'`---|`---'`---'
- `---'
+╭ ━ ━ ━ ╮ ╭ ╮ ╱ ╱ ╱ ╱ ╱ ╭ ╮ ╭ ━ ━ ━ ┳ ━ ━ ━ ╮
+┃ ╭ ━ ╮ ┣ ╯ ╰ ╮ ╱ ╱ ╱ ╭ ╯ ╰ ┫ ╭ ━ ╮ ┃ ╭ ━ ╮ ┃
+┃ ╰ ━ ━ ╋ ╮ ╭ ╋ ━ ━ ┳ ┻ ╮ ╭ ┫ ┃ ╱ ┃ ┃ ╰ ━ ━ ╮
+╰ ━ ━ ╮ ┃ ┃ ┃ ┃ ╭ ╮ ┃ ╭ ┫ ┃ ┃ ┃ ╱ ┃ ┣ ━ ━ ╮ ┃
+┃ ╰ ━ ╯ ┃ ┃ ╰ ┫ ╭ ╮ ┃ ┃ ┃ ╰ ┫ ╰ ━ ╯ ┃ ╰ ━ ╯ ┃
+╰ ━ ━ ━ ╯ ╰ ━ ┻ ╯ ╰ ┻ ╯ ╰ ━ ┻ ━ ━ ━ ┻ ━ ━ ━ ╯
ASCII
printf " %s (%s %s)\n" "$(uname -o)" "$(uname -r)" "$(uname -m)"
-printf " $(embassy-cli --version | sed 's/Embassy CLI /embassyOS v/g') - $(embassy-cli git-info)\n"
+printf " $(embassy-cli --version | sed 's/Embassy CLI /StartOS v/g') - $(embassy-cli git-info)"
+if [ -n "$(cat /usr/lib/embassy/ENVIRONMENT.txt)" ]; then
+ printf " ~ $(cat /usr/lib/embassy/ENVIRONMENT.txt)\n"
+else
+ printf "\n"
+fi
printf "\n"
printf " * Documentation: https://start9.com\n"
diff --git a/build/lib/scripts/enable-kiosk b/build/lib/scripts/enable-kiosk
index 9a3eb0d61..3e6d0992d 100755
--- a/build/lib/scripts/enable-kiosk
+++ b/build/lib/scripts/enable-kiosk
@@ -10,8 +10,8 @@ set -e
cat > /home/start9/kiosk.sh << 'EOF'
#!/bin/sh
PROFILE=$(mktemp -d)
-if [ -f /usr/local/share/ca-certificates/embassy-root-ca.crt ]; then
- certutil -A -n "Embassy Local Root CA" -t "TCu,Cuw,Tuw" -i /usr/local/share/ca-certificates/embassy-root-ca.crt -d $PROFILE
+if [ -f /usr/local/share/ca-certificates/startos-root-ca.crt ]; then
+ certutil -A -n "StartOS Local Root CA" -t "TCu,Cuw,Tuw" -i /usr/local/share/ca-certificates/startos-root-ca.crt -d $PROFILE
fi
cat >> $PROFILE/prefs.js << EOT
user_pref("network.proxy.autoconfig_url", "file:///usr/lib/embassy/proxy.pac");
diff --git a/build/lib/scripts/firefox-trust-cert b/build/lib/scripts/firefox-trust-cert
index 545b1722b..8f2f21bca 100755
--- a/build/lib/scripts/firefox-trust-cert
+++ b/build/lib/scripts/firefox-trust-cert
@@ -3,6 +3,6 @@
for mozilladir in $(find /home -name ".mozilla"); do
for certDB in $(find ${mozilladir} -name "cert9.db"); do
certDir=$(dirname ${certDB});
- certutil -A -n "Embassy Local Root CA" -t "TCu,Cuw,Tuw" -i /usr/local/share/ca-certificates/embassy-root-ca.crt -d ${certDir}
+ certutil -A -n "StartOS Local Root CA" -t "TCu,Cuw,Tuw" -i /usr/local/share/ca-certificates/startos-root-ca.crt -d ${certDir}
done
done
\ No newline at end of file
diff --git a/frontend/README.md b/frontend/README.md
index 03ff38a9c..fe77ff363 100644
--- a/frontend/README.md
+++ b/frontend/README.md
@@ -1,11 +1,11 @@
-# embassyOS Frontend
+# StartOS Frontend
-embassyOS has three user interfaces and a shared library, all written in Ionic/Angular/Typescript using an Angular workspace environment:
+StartOS has three user interfaces and a shared library, all written in Ionic/Angular/Typescript using an Angular workspace environment:
1. **ui**: the main user interface
-1. **install-wizard**: used to install embassyOS
+1. **install-wizard**: used to install StartOS
1. **setup-wizard**: used to facilitate initial setup
-1. **diagnostic-ui**: used to display certain diagnostic information in the event embassyOS fails to initialize
+1. **diagnostic-ui**: used to display certain diagnostic information in the event StartOS fails to initialize
1. **marketplace**: abstracted ui elements to search for, list and display details for packages and their dependencies
1. **shared**: contains components, types, and functions shared amongst all of the UIs.
@@ -30,8 +30,8 @@ v8.0.0
1. Clone the repository
```sh
-git clone https://github.com/Start9Labs/embassy-os.git
-cd embassy-os
+git clone https://github.com/Start9Labs/start-os.git
+cd start-os
git submodule update --init --recursive
cd frontend
npm ci
@@ -58,7 +58,7 @@ npm run start:diagnostic-ui
## Running locally with proxied backend
-This section enables you to run a local frontend with a remote backend (eg. hosted on a live Embassy). It assumes you have completed Step 1 and Step 2 in the [section above](#running-locally-with-mocks)
+This section enables you to run a local frontend with a remote backend (eg. hosted on a live Start9 server). It assumes you have completed Step 1 and Step 2 in the [section above](#running-locally-with-mocks)
1. Set `useMocks: false` in `config.json`
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index c84d2e88f..28abcdad9 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -1,12 +1,12 @@
{
- "name": "embassy-os",
- "version": "0.3.4.1",
+ "name": "start-os",
+ "version": "0.3.4.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
- "name": "embassy-os",
- "version": "0.3.4.1",
+ "name": "start-os",
+ "version": "0.3.4.2",
"dependencies": {
"@angular/animations": "^14.1.0",
"@angular/common": "^14.1.0",
diff --git a/frontend/package.json b/frontend/package.json
index a7b6b297d..4a5179142 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -1,6 +1,6 @@
{
- "name": "embassy-os",
- "version": "0.3.4.1",
+ "name": "start-os",
+ "version": "0.3.4.2",
"author": "Start9 Labs, Inc",
"homepage": "https://start9.com/",
"scripts": {
diff --git a/frontend/projects/diagnostic-ui/src/app/pages/home/home.page.html b/frontend/projects/diagnostic-ui/src/app/pages/home/home.page.html
index 47823ff77..9cba08258 100644
--- a/frontend/projects/diagnostic-ui/src/app/pages/home/home.page.html
+++ b/frontend/projects/diagnostic-ui/src/app/pages/home/home.page.html
@@ -5,7 +5,7 @@
class="ion-text-center"
style="padding-bottom: 36px; font-size: calc(2vw + 14px)"
>
- embassyOS - Diagnostic Mode
+ StartOS - Diagnostic Mode
@@ -16,7 +16,7 @@
font-weight: bold;
"
>
- embassyOS launch error:
+ StartOS launch error:
@@ -28,7 +28,7 @@
- View Logs
+ View Logs
{{ error.solution }}
- Restart Embassy
+ Restart Server
- System Rebuild
+
+ System Rebuild
+
- Repair Drive
+
+ Repair Drive
+
@@ -70,12 +70,12 @@
class="ion-text-center"
style="padding-bottom: 36px; font-size: calc(2vw + 12px)"
>
- Embassy is restarting
+ Server is restarting
- Wait for Embassy restart, then refresh this page or click REFRESH below.
+ Wait for the server to restart, then refresh this page.
- Refresh
+ Refresh
diff --git a/frontend/projects/diagnostic-ui/src/app/pages/home/home.page.ts b/frontend/projects/diagnostic-ui/src/app/pages/home/home.page.ts
index 920775b31..bbda6939f 100644
--- a/frontend/projects/diagnostic-ui/src/app/pages/home/home.page.ts
+++ b/frontend/projects/diagnostic-ui/src/app/pages/home/home.page.ts
@@ -32,7 +32,7 @@ export class HomePage {
code: 15,
problem: 'Unknown storage drive detected',
solution:
- 'To use a different storage drive, replace the current one and click RESTART EMBASSY below. To use the current storage drive, click USE CURRENT DRIVE below, then follow instructions. No data will be erased during this process.',
+ 'To use a different storage drive, replace the current one and click RESTART SERVER below. To use the current storage drive, click USE CURRENT DRIVE below, then follow instructions. No data will be erased during this process.',
details: error.data?.details,
}
// no drive
@@ -41,7 +41,7 @@ export class HomePage {
code: 20,
problem: 'Storage drive not found',
solution:
- 'Insert your embassyOS storage drive and click RESTART EMBASSY below.',
+ 'Insert your StartOS storage drive and click RESTART SERVER below.',
details: error.data?.details,
}
// drive corrupted
@@ -60,7 +60,7 @@ export class HomePage {
code: 2,
problem: 'Filesystem I/O error.',
solution:
- 'Repairing the disk could help resolve this issue. Please DO NOT unplug the drive or Embassy during this time or the situation will become worse.',
+ 'Repairing the disk could help resolve this issue. Please DO NOT unplug the drive or server during this time or the situation will become worse.',
details: error.data?.details,
}
// disk management error - disk needs repair
@@ -69,7 +69,7 @@ export class HomePage {
code: 48,
problem: 'Disk management error.',
solution:
- 'Repairing the disk could help resolve this issue. Please DO NOT unplug the drive or Embassy during this time or the situation will become worse.',
+ 'Repairing the disk could help resolve this issue. Please DO NOT unplug the drive or server during this time or the situation will become worse.',
details: error.data?.details,
}
} else {
@@ -122,7 +122,7 @@ export class HomePage {
const alert = await this.alertCtrl.create({
header: 'Warning',
message:
- '
This action will tear down all service containers and rebuild them from scratch. No data will be deleted.
A system rebuild can be useful if your system gets into a bad state, and it should only be performed if you are experiencing general performance or reliability issues.
It may take up to an hour to complete. During this time, you will lose all connectivity to your Embassy.
',
+ '
This action will tear down all service containers and rebuild them from scratch. No data will be deleted.
A system rebuild can be useful if your system gets into a bad state, and it should only be performed if you are experiencing general performance or reliability issues.
It may take up to an hour to complete. During this time, you will lose all connectivity to your Start9 server.
diff --git a/frontend/projects/install-wizard/src/app/pages/home/home.page.ts b/frontend/projects/install-wizard/src/app/pages/home/home.page.ts
index e367d19bc..c3764a976 100644
--- a/frontend/projects/install-wizard/src/app/pages/home/home.page.ts
+++ b/frontend/projects/install-wizard/src/app/pages/home/home.page.ts
@@ -56,7 +56,7 @@ export class HomePage {
private async install(overwrite: boolean) {
const loader = await this.loadingCtrl.create({
- message: 'Installing embassyOS...',
+ message: 'Installing StartOS...',
})
await loader.present()
@@ -80,7 +80,7 @@ export class HomePage {
header: 'Warning',
message: `This action will COMPLETELY erase the disk ${
vendor || 'Unknown Vendor'
- } - ${model || 'Unknown Model'} and install embassyOS in its place`,
+ } - ${model || 'Unknown Model'} and install StartOS in its place`,
buttons: [
{
text: 'Cancel',
@@ -102,7 +102,7 @@ export class HomePage {
const alert = await this.alertCtrl.create({
header: 'Install Success',
message:
- 'Remove the USB stick and reboot your device to begin using your new Embassy',
+ 'Remove the USB stick and reboot your device to begin using your new Start9 server',
buttons: [
{
text: 'Reboot',
@@ -133,7 +133,7 @@ export class HomePage {
private async presentAlertComplete() {
const alert = await this.alertCtrl.create({
header: 'Rebooting',
- message: 'Please wait for embassyOS to restart, then refresh this page',
+ message: 'Please wait for StartOS to restart, then refresh this page',
buttons: ['OK'],
})
await alert.present()
diff --git a/frontend/projects/install-wizard/src/index.html b/frontend/projects/install-wizard/src/index.html
index 4849401fb..ab121c687 100644
--- a/frontend/projects/install-wizard/src/index.html
+++ b/frontend/projects/install-wizard/src/index.html
@@ -2,7 +2,7 @@
- embassyOS Install Wizard
+ StartOS Install Wizard
diff --git a/frontend/projects/setup-wizard/src/app/app-routing.module.ts b/frontend/projects/setup-wizard/src/app/app-routing.module.ts
index ccc184340..aa56c382d 100644
--- a/frontend/projects/setup-wizard/src/app/app-routing.module.ts
+++ b/frontend/projects/setup-wizard/src/app/app-routing.module.ts
@@ -26,7 +26,7 @@ const routes: Routes = [
),
},
{
- path: 'embassy',
+ path: 'storage',
loadChildren: () =>
import('./pages/embassy/embassy.module').then(m => m.EmbassyPageModule),
},
diff --git a/frontend/projects/setup-wizard/src/app/modals/cifs-modal/cifs-modal.page.ts b/frontend/projects/setup-wizard/src/app/modals/cifs-modal/cifs-modal.page.ts
index 1f15c4468..7f293f5e0 100644
--- a/frontend/projects/setup-wizard/src/app/modals/cifs-modal/cifs-modal.page.ts
+++ b/frontend/projects/setup-wizard/src/app/modals/cifs-modal/cifs-modal.page.ts
@@ -5,7 +5,7 @@ import {
ModalController,
} from '@ionic/angular'
import { ApiService, CifsBackupTarget } from 'src/app/services/api/api.service'
-import { EmbassyOSDiskInfo } from '@start9labs/shared'
+import { StartOSDiskInfo } from '@start9labs/shared'
import { PasswordPage } from '../password/password.page'
@Component({
@@ -41,7 +41,7 @@ export class CifsModal {
await loader.present()
try {
- const embassyOS = await this.api.verifyCifs({
+ const diskInfo = await this.api.verifyCifs({
...this.cifs,
password: this.cifs.password
? await this.api.encrypt(this.cifs.password)
@@ -50,20 +50,18 @@ export class CifsModal {
await loader.dismiss()
- this.presentModalPassword(embassyOS)
+ this.presentModalPassword(diskInfo)
} catch (e) {
await loader.dismiss()
this.presentAlertFailed()
}
}
- private async presentModalPassword(
- embassyOS: EmbassyOSDiskInfo,
- ): Promise {
+ private async presentModalPassword(diskInfo: StartOSDiskInfo): Promise {
const target: CifsBackupTarget = {
...this.cifs,
mountable: true,
- 'embassy-os': embassyOS,
+ 'embassy-os': diskInfo,
}
const modal = await this.modalController.create({
diff --git a/frontend/projects/setup-wizard/src/app/modals/password/password.page.html b/frontend/projects/setup-wizard/src/app/modals/password/password.page.html
index 003b1132c..d779077c6 100644
--- a/frontend/projects/setup-wizard/src/app/modals/password/password.page.html
+++ b/frontend/projects/setup-wizard/src/app/modals/password/password.page.html
@@ -1,8 +1,6 @@
-
- {{ storageDrive ? 'Set Password' : 'Unlock Drive' }}
-
+ {{ storageDrive ? 'Set Password' : 'Unlock Drive' }}
@@ -13,7 +11,7 @@
- Choose a password for your Embassy.
+ Choose a password for your server.
Make it good. Write it down.
diff --git a/frontend/projects/setup-wizard/src/app/pages/attach/attach.page.html b/frontend/projects/setup-wizard/src/app/pages/attach/attach.page.html
index ae39312dd..2c10d9545 100644
--- a/frontend/projects/setup-wizard/src/app/pages/attach/attach.page.html
+++ b/frontend/projects/setup-wizard/src/app/pages/attach/attach.page.html
@@ -6,10 +6,9 @@
Use existing drive
- Select the physical drive containing your Embassy
- data
+
+ Select the physical drive containing your StartOS data
+
@@ -24,8 +23,8 @@
- No valid Embassy data drives found. Please make sure the drive
- is a valid Embassy data drive (not a backup) and is firmly
+ No valid StartOS data drives found. Please make sure the drive
+ is a valid StartOS data drive (not a backup) and is firmly
connected, then refresh the page.
- This is the drive where your Embassy data will be stored.
+ This is the drive where your StartOS data will be stored.
@@ -23,8 +23,8 @@
No drives found
- Please connect an external storage drive to your Embassy, if
- applicable. Next, click "Refresh".
+ Please connect a storage drive to your server. Then click
+ "Refresh".
Attach an existing embassyOS data drive (not a backup)
+
+ Attach an existing StartOS data drive (
+ not
+ a backup)
+
@@ -95,7 +99,7 @@
Transfer
- Transfer data from an existing embassyOS data drive (not a
+ Transfer data from an existing StartOS data drive (not a
backup) to a new, preferred drive
@@ -116,7 +120,7 @@
Restore From Backup (Disaster Recovery)
-
- Restore your Embassy from a folder on another computer that is
- connected to the same network as your Embassy.
+ Restore StartOS data from a folder on another computer that is
+ connected to the same network as your server.
@@ -42,8 +42,8 @@
Physical Drive
- Restore your Embassy from a physical drive that is plugged
- directly into your Embassy.
+ Restore StartOS data from a physical drive that is plugged
+ directly into your server.
Visit the address below when you are connected to the same WiFi or
- Local Area Network (LAN) as your Embassy:
+ Local Area Network (LAN) as your server:
diff --git a/frontend/projects/ui/src/app/components/toast-container/notifications-toast/notifications-toast.component.html b/frontend/projects/ui/src/app/components/toast-container/notifications-toast/notifications-toast.component.html
index c37d38a33..6e7f7c6fa 100644
--- a/frontend/projects/ui/src/app/components/toast-container/notifications-toast/notifications-toast.component.html
+++ b/frontend/projects/ui/src/app/components/toast-container/notifications-toast/notifications-toast.component.html
@@ -1,6 +1,6 @@
diff --git a/frontend/projects/ui/src/app/components/toast-container/update-toast/update-toast.component.html b/frontend/projects/ui/src/app/components/toast-container/update-toast/update-toast.component.html
index cc54ff1eb..b7a4af51b 100644
--- a/frontend/projects/ui/src/app/components/toast-container/update-toast/update-toast.component.html
+++ b/frontend/projects/ui/src/app/components/toast-container/update-toast/update-toast.component.html
@@ -1,10 +1,10 @@
- Restart your Embassy for these updates to take effect. It can take several
+ Restart your server for these updates to take effect. It can take several
minutes to come back online.
diff --git a/frontend/projects/ui/src/app/components/widget-list/widget-list.component.ts b/frontend/projects/ui/src/app/components/widget-list/widget-list.component.ts
index d9275c768..cec5aacc4 100644
--- a/frontend/projects/ui/src/app/components/widget-list/widget-list.component.ts
+++ b/frontend/projects/ui/src/app/components/widget-list/widget-list.component.ts
@@ -49,28 +49,28 @@ export class WidgetListComponent {
title: 'Secure LAN',
icon: 'home-outline',
color: 'var(--alt-orange)',
- description: `Download and trust your Embassy's certificate`,
+ description: `Download and trust your server's certificate`,
link: '/system/lan',
},
{
title: 'Create Backup',
icon: 'duplicate-outline',
color: 'var(--alt-purple)',
- description: 'Back up your Embassy and service data',
+ description: 'Back up StartOS and service data',
link: '/system/backup',
},
{
- title: 'Embassy Info',
+ title: 'Server Info',
icon: 'information-circle-outline',
color: 'var(--alt-green)',
- description: 'View basic information about your Embassy',
+ description: 'View basic information about your server',
link: '/system/specs',
},
{
title: 'User Manual',
icon: 'map-outline',
color: 'var(--alt-yellow)',
- description: 'Discover what your Embassy can do',
+ description: 'Discover what StartOS can do',
link: 'https://docs.start9.com/latest/user-manual/index',
},
{
diff --git a/frontend/projects/ui/src/app/modals/app-recover-select/app-recover-select.page.html b/frontend/projects/ui/src/app/modals/app-recover-select/app-recover-select.page.html
index a77b288f7..09a055650 100644
--- a/frontend/projects/ui/src/app/modals/app-recover-select/app-recover-select.page.html
+++ b/frontend/projects/ui/src/app/modals/app-recover-select/app-recover-select.page.html
@@ -29,7 +29,7 @@
- Unavailable. Backup was made on a newer version of embassyOS.
+ Unavailable. Backup was made on a newer version of StartOS.
@@ -38,6 +38,6 @@
-
+
diff --git a/frontend/projects/ui/src/app/pages/apps-routes/app-show/app-show.page.html b/frontend/projects/ui/src/app/pages/apps-routes/app-show/app-show.page.html
index a2b8f7664..bc57dd27b 100644
--- a/frontend/projects/ui/src/app/pages/apps-routes/app-show/app-show.page.html
+++ b/frontend/projects/ui/src/app/pages/apps-routes/app-show/app-show.page.html
@@ -63,8 +63,10 @@
download and trust your Embassy's certificate.
+ >
+ download and trust your server's certificate
+
+ .
Open https
diff --git a/frontend/projects/ui/src/app/pages/developer-routes/developer-menu/form-info.ts b/frontend/projects/ui/src/app/pages/developer-routes/developer-menu/form-info.ts
index e585cbc68..b8a848f12 100644
--- a/frontend/projects/ui/src/app/pages/developer-routes/developer-menu/form-info.ts
+++ b/frontend/projects/ui/src/app/pages/developer-routes/developer-menu/form-info.ts
@@ -46,7 +46,7 @@ export function getBasicInfoSpec(devData: DevProjectData): ConfigSpec {
type: 'string',
name: 'Service Version',
description:
- 'Service version - accepts up to four digits, where the last confirms to revisions necessary for embassyOS - see documentation: https://github.com/Start9Labs/emver-rs. This value will change with each release of the service',
+ 'Service version - accepts up to four digits, where the last confirms to revisions necessary for StartOS - see documentation: https://github.com/Start9Labs/emver-rs. This value will change with each release of the service',
placeholder: 'e.g. 0.1.2.3',
nullable: false,
masked: false,
diff --git a/frontend/projects/ui/src/app/pages/login/login.page.html b/frontend/projects/ui/src/app/pages/login/login.page.html
index bca5833c9..8719b360a 100644
--- a/frontend/projects/ui/src/app/pages/login/login.page.html
+++ b/frontend/projects/ui/src/app/pages/login/login.page.html
@@ -6,7 +6,7 @@
- Embassy Login
+ StartOS Login
diff --git a/frontend/projects/ui/src/app/pages/notifications/notifications.page.html b/frontend/projects/ui/src/app/pages/notifications/notifications.page.html
index 6ad13607e..f9e697107 100644
--- a/frontend/projects/ui/src/app/pages/notifications/notifications.page.html
+++ b/frontend/projects/ui/src/app/pages/notifications/notifications.page.html
@@ -60,8 +60,8 @@
name="mail-outline"
>
- Important system alerts and notifications from your Embassy will
- display here
+ Important system alerts and notifications from StartOS will display
+ here
diff --git a/frontend/projects/ui/src/app/pages/server-routes/lan/lan.page.html b/frontend/projects/ui/src/app/pages/server-routes/lan/lan.page.html
index 5357584a0..5c11fea02 100644
--- a/frontend/projects/ui/src/app/pages/server-routes/lan/lan.page.html
+++ b/frontend/projects/ui/src/app/pages/server-routes/lan/lan.page.html
@@ -18,14 +18,15 @@
href="https://docs.start9.com/latest/user-manual/connecting/connecting-lan"
target="_blank"
rel="noreferrer"
- >follow instructions
- to download and trust your Embassy's Root Certificate Authority
+ follow instructions
+
+ to download and trust your server's Root Certificate Authority
-
+
Click the button on the right to switch to https. Your browser may
warn you that the page is insecure. You can safely bypass this
- warning. It will go away after you download and trust your Embassy's
+ warning. It will go away after you download and trust your server's
certificate
diff --git a/frontend/projects/ui/src/app/pages/server-routes/server-show/server-show.page.ts b/frontend/projects/ui/src/app/pages/server-routes/server-show/server-show.page.ts
index 6373791fb..bdadd9e69 100644
--- a/frontend/projects/ui/src/app/pages/server-routes/server-show/server-show.page.ts
+++ b/frontend/projects/ui/src/app/pages/server-routes/server-show/server-show.page.ts
@@ -65,7 +65,7 @@ export class ServerShowPage {
message: `This value will be displayed as the title of your browser tab.`,
label: 'Device Name',
useMask: false,
- placeholder: 'embassyOS',
+ placeholder: 'StartOS',
nullable: true,
initialValue: chosenName,
buttonText: 'Save',
@@ -113,7 +113,7 @@ export class ServerShowPage {
const alert = await this.alertCtrl.create({
header: 'Restart',
message:
- 'Are you sure you want to restart your Embassy? It can take several minutes to come back online.',
+ 'Are you sure you want to restart your server? It can take several minutes to come back online.',
buttons: [
{
text: 'Cancel',
@@ -135,7 +135,7 @@ export class ServerShowPage {
const alert = await this.alertCtrl.create({
header: 'Warning',
message:
- 'Are you sure you want to power down your Embassy? This can take several minutes, and your Embassy will not come back online automatically. To power on again, You will need to physically unplug your Embassy and plug it back in',
+ 'Are you sure you want to power down your server? This can take several minutes, and your server will not come back online automatically. To power on again, You will need to physically unplug your server and plug it back in',
buttons: [
{
text: 'Cancel',
@@ -159,7 +159,7 @@ export class ServerShowPage {
const minutes = Object.keys(localPkgs).length * 2
const alert = await this.alertCtrl.create({
header: 'Warning',
- message: `This action will tear down all service containers and rebuild them from scratch. No data will be deleted. This action is useful if your system gets into a bad state, and it should only be performed if you are experiencing general performance or reliability issues. It may take up to ${minutes} minutes to complete. During this time, you will lose all connectivity to your Embassy.`,
+ message: `This action will tear down all service containers and rebuild them from scratch. No data will be deleted. This action is useful if your system gets into a bad state, and it should only be performed if you are experiencing general performance or reliability issues. It may take up to ${minutes} minutes to complete. During this time, you will lose all connectivity to your server.`,
buttons: [
{
text: 'Cancel',
@@ -325,7 +325,7 @@ export class ServerShowPage {
private async presentAlertLatest() {
const alert = await this.alertCtrl.create({
header: 'Up to date!',
- message: 'You are on the latest version of embassyOS.',
+ message: 'You are on the latest version of StartOS.',
buttons: [
{
text: 'OK',
@@ -341,7 +341,7 @@ export class ServerShowPage {
private async presentAlertInProgress(verb: string, message: string) {
const alert = await this.alertCtrl.create({
header: `${verb} In Progress...`,
- message: `Stopping all services gracefully. This can take a while.
If you have a speaker, your Embassy will ♫ play a melody ♫ before shutting down. Your Embassy will then become unreachable${message}`,
+ message: `Stopping all services gracefully. This can take a while.
If you have a speaker, your server will ♫ play a melody ♫ before shutting down. Your server will then become unreachable${message}`,
buttons: [
{
text: 'OK',
@@ -357,7 +357,7 @@ export class ServerShowPage {
Backups: [
{
title: 'Create Backup',
- description: 'Back up your Embassy and service data',
+ description: 'Back up StartOS and service data',
icon: 'duplicate-outline',
action: () =>
this.navCtrl.navigateForward(['backup'], { relativeTo: this.route }),
@@ -380,7 +380,7 @@ export class ServerShowPage {
Manage: [
{
title: 'Software Update',
- description: 'Get the latest version of embassyOS',
+ description: 'Get the latest version of StartOS',
icon: 'cloud-download-outline',
action: () =>
this.eosService.updateAvailable$.getValue()
@@ -399,7 +399,7 @@ export class ServerShowPage {
},
{
title: 'LAN',
- description: `Download and trust your Embassy's certificate for a secure local connection`,
+ description: `Download and trust your server's certificate for a secure local connection`,
icon: 'home-outline',
action: () =>
this.navCtrl.navigateForward(['lan'], { relativeTo: this.route }),
@@ -409,7 +409,7 @@ export class ServerShowPage {
{
title: 'SSH',
description:
- 'Manage your SSH keys to access your Embassy from the command line',
+ 'Manage your SSH keys to access your server from the command line',
icon: 'terminal-outline',
action: () =>
this.navCtrl.navigateForward(['ssh'], { relativeTo: this.route }),
@@ -440,7 +440,7 @@ export class ServerShowPage {
Insights: [
{
title: 'About',
- description: 'Basic information about your Embassy',
+ description: 'Basic information about your server',
icon: 'information-circle-outline',
action: () =>
this.navCtrl.navigateForward(['specs'], { relativeTo: this.route }),
@@ -492,7 +492,7 @@ export class ServerShowPage {
Support: [
{
title: 'User Manual',
- description: 'Discover what your Embassy can do',
+ description: 'Discover what StartOS can do',
icon: 'map-outline',
action: () =>
window.open(
@@ -518,7 +518,7 @@ export class ServerShowPage {
},
{
title: 'Donate to Start9',
- description: `Support embassyOS development`,
+ description: `Support StartOS development`,
icon: 'logo-bitcoin',
action: () =>
this.document.defaultView?.open(
diff --git a/frontend/projects/ui/src/app/pages/server-routes/server-specs/server-specs.page.html b/frontend/projects/ui/src/app/pages/server-routes/server-specs/server-specs.page.html
index 695254c03..ab4618820 100644
--- a/frontend/projects/ui/src/app/pages/server-routes/server-specs/server-specs.page.html
+++ b/frontend/projects/ui/src/app/pages/server-routes/server-specs/server-specs.page.html
@@ -9,7 +9,7 @@
- embassyOS Info
+ StartOS Info
- Adding SSH keys to your Embassy is useful for command line access, as
- well as for debugging purposes.
- View instructions
+ Adding SSH keys to StartOS is useful for command line access, as well
+ as for debugging purposes.
+
+ View instructions
+
diff --git a/frontend/projects/ui/src/app/pages/server-routes/ssh-keys/ssh-keys.page.ts b/frontend/projects/ui/src/app/pages/server-routes/ssh-keys/ssh-keys.page.ts
index f28a32ae2..f2336586c 100644
--- a/frontend/projects/ui/src/app/pages/server-routes/ssh-keys/ssh-keys.page.ts
+++ b/frontend/projects/ui/src/app/pages/server-routes/ssh-keys/ssh-keys.page.ts
@@ -119,7 +119,7 @@ const sshSpec = {
type: 'string',
name: 'SSH Key',
description:
- 'Enter the SSH public key you would like to authorize for root access to your Embassy.',
+ 'Enter the SSH public key you would like to authorize for root access to your server.',
nullable: false,
masked: false,
copyable: false,
diff --git a/frontend/projects/ui/src/app/pages/server-routes/wifi/wifi.page.html b/frontend/projects/ui/src/app/pages/server-routes/wifi/wifi.page.html
index f6d0136d7..588756b91 100644
--- a/frontend/projects/ui/src/app/pages/server-routes/wifi/wifi.page.html
+++ b/frontend/projects/ui/src/app/pages/server-routes/wifi/wifi.page.html
@@ -19,15 +19,16 @@
- Adding WiFi credentials to your Embassy allows you to remove the
- Ethernet cable and move the device anywhere you want. Embassy will
+ Adding WiFi credentials to your StartOS allows you to remove the
+ Ethernet cable and move the device anywhere you want. StartOS will
automatically connect to available networks.
View instructions
+ View instructions
+
This process can take up to several minutes to complete.
diff --git a/libs/artifacts/types.d.ts b/libs/artifacts/types.d.ts
index f8b0f58db..ccf7acd42 100644
--- a/libs/artifacts/types.d.ts
+++ b/libs/artifacts/types.d.ts
@@ -1,38 +1,39 @@
export namespace ExpectedExports {
- /** Set configuration is called after we have modified and saved the configuration in the embassy ui. Use this to make a file for the docker to read from for configuration. */
+ /** Set configuration is called after we have modified and saved the configuration in the StartOS ui. Use this to make a file for the docker to read from for configuration. */
export type setConfig = (
effects: Effects,
- input: Config,
+ input: Config
) => Promise>;
- /** Get configuration returns a shape that describes the format that the embassy ui will generate, and later send to the set config */
+ /** Get configuration returns a shape that describes the format that the StartOS ui will generate, and later send to the set config */
export type getConfig = (effects: Effects) => Promise>;
/** These are how we make sure the our dependency configurations are valid and if not how to fix them. */
export type dependencies = Dependencies;
/** Properties are used to get values from the docker, like a username + password, what ports we are hosting from */
export type properties = (
- effects: Effects,
+ effects: Effects
) => Promise>;
export type health = {
/** Should be the health check id */
[id: string]: (
effects: Effects,
- dateMs: number,
+ dateMs: number
) => Promise>;
};
export type migration = (
effects: Effects,
- version: string,
+ version: string
) => Promise>;
}
-
/** Used to reach out from the pure js runtime */
export type Effects = {
/** Usable when not sandboxed */
- writeFile(
- input: { path: string; volumeId: string; toWrite: string },
- ): Promise;
+ writeFile(input: {
+ path: string;
+ volumeId: string;
+ toWrite: string;
+ }): Promise;
readFile(input: { volumeId: string; path: string }): Promise;
metadata(input: { volumeId: string; path: string }): Promise;
/** Create a directory. Usable when not sandboxed */
@@ -42,9 +43,11 @@ export type Effects = {
removeFile(input: { volumeId: string; path: string }): Promise;
/** Write a json file into an object. Usable when not sandboxed */
- writeJsonFile(
- input: { volumeId: string; path: string; toWrite: object },
- ): Promise;
+ writeJsonFile(input: {
+ volumeId: string;
+ path: string;
+ toWrite: object;
+ }): Promise;
/** Read a json file into an object */
readJsonFile(input: { volumeId: string; path: string }): Promise