mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
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 <matthewonthemoon@gmail.com> Co-authored-by: Matt Hill <MattDHill@users.noreply.github.com> Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
This commit is contained in:
@@ -14,17 +14,16 @@
|
||||
<app-actions-item
|
||||
[action]="{
|
||||
name: 'Uninstall',
|
||||
description: 'This will uninstall the service from your Embassy and delete all data permanently.',
|
||||
description: 'This will uninstall the service from StartOS and delete all data permanently.',
|
||||
icon: 'trash-outline'
|
||||
}"
|
||||
(click)="tryUninstall(pkg)"
|
||||
>
|
||||
</app-actions-item>
|
||||
></app-actions-item>
|
||||
|
||||
<!-- ** specific actions ** -->
|
||||
<ion-item-divider *ngIf="!(pkg.manifest.actions | empty)"
|
||||
>Actions for {{ pkg.manifest.title }}</ion-item-divider
|
||||
>
|
||||
<ion-item-divider *ngIf="!(pkg.manifest.actions | empty)">
|
||||
Actions for {{ pkg.manifest.title }}
|
||||
</ion-item-divider>
|
||||
<app-actions-item
|
||||
*ngFor="let action of pkg.manifest.actions | keyvalue: asIsOrder"
|
||||
[action]="{
|
||||
@@ -33,7 +32,6 @@
|
||||
icon: 'play-circle-outline'
|
||||
}"
|
||||
(click)="handleAction(pkg, action)"
|
||||
>
|
||||
</app-actions-item>
|
||||
></app-actions-item>
|
||||
</ion-item-group>
|
||||
</ion-content>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<ng-container *ngIf="pkgs$ | async as pkgs; else loading">
|
||||
<ng-container *ngIf="!pkgs.length; else list">
|
||||
<div class="welcome-header">
|
||||
<h1>Welcome to embassyOS</h1>
|
||||
<h1>Welcome to StartOS</h1>
|
||||
</div>
|
||||
<widget-list></widget-list>
|
||||
</ng-container>
|
||||
@@ -38,6 +38,6 @@
|
||||
|
||||
<!-- loading -->
|
||||
<ng-template #loading>
|
||||
<text-spinner text="Connecting to Embassy"></text-spinner>
|
||||
<text-spinner text="Connecting to server"></text-spinner>
|
||||
</ng-template>
|
||||
</ion-content>
|
||||
|
||||
@@ -63,8 +63,10 @@
|
||||
<a
|
||||
[routerLink]="['/system', 'lan']"
|
||||
style="color: var(--ion-color-dark)"
|
||||
>download and trust your Embassy's certificate</a
|
||||
>.
|
||||
>
|
||||
download and trust your server's certificate
|
||||
</a>
|
||||
.
|
||||
</p>
|
||||
<ion-button (click)="launchHttps()">
|
||||
Open https
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<ion-card class="card">
|
||||
<ion-card-header>
|
||||
<ion-card-title class="title">Embassy Login</ion-card-title>
|
||||
<ion-card-title class="title">StartOS Login</ion-card-title>
|
||||
</ion-card-header>
|
||||
|
||||
<ion-card-content class="ion-margin">
|
||||
|
||||
@@ -60,8 +60,8 @@
|
||||
name="mail-outline"
|
||||
></ion-icon>
|
||||
<h4 style="color: #767676; margin-top: 0px; font-weight: 600">
|
||||
Important system alerts and notifications from your Embassy will
|
||||
display here
|
||||
Important system alerts and notifications from StartOS will display
|
||||
here
|
||||
</h4>
|
||||
</div>
|
||||
</ion-item-group>
|
||||
|
||||
@@ -18,14 +18,15 @@
|
||||
href="https://docs.start9.com/latest/user-manual/connecting/connecting-lan"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>follow instructions</a
|
||||
>
|
||||
to download and trust your Embassy's Root Certificate Authority
|
||||
follow instructions
|
||||
</a>
|
||||
to download and trust your server's Root Certificate Authority
|
||||
</h2>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
|
||||
<ion-item button (click)="installCert()">
|
||||
<ion-item button (click)="installCert()" [disabled]="!(crtName$ | async)">
|
||||
<ion-icon slot="start" name="download-outline" size="large"></ion-icon>
|
||||
<ion-label>
|
||||
<h1>Download Certificate</h1>
|
||||
@@ -37,6 +38,6 @@
|
||||
<a
|
||||
id="install-cert"
|
||||
href="/public/eos/local.crt"
|
||||
download="Embassy Local CA.crt"
|
||||
[download]="crtName$ | async"
|
||||
></a>
|
||||
</ion-content>
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core'
|
||||
import { ChangeDetectionStrategy, Component, Input } from '@angular/core'
|
||||
import { PatchDB } from 'patch-db-client'
|
||||
import { map } from 'rxjs'
|
||||
import { DataModel } from 'src/app/services/patch-db/data-model'
|
||||
|
||||
@Component({
|
||||
selector: 'lan',
|
||||
@@ -7,6 +10,12 @@ import { ChangeDetectionStrategy, Component } from '@angular/core'
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class LANPage {
|
||||
readonly crtName$ = this.patch
|
||||
.watch$('server-info', 'lan-address')
|
||||
.pipe(map(addr => `${new URL(addr).hostname}.crt`))
|
||||
|
||||
constructor(private readonly patch: PatchDB<DataModel>) {}
|
||||
|
||||
installCert(): void {
|
||||
document.getElementById('install-cert')?.click()
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ export class ServerBackupPage {
|
||||
.pipe(skip(1), takeUntil(this.destroy$))
|
||||
.subscribe(isBackingUp => {
|
||||
if (!isBackingUp) {
|
||||
this.navCtrl.navigateRoot('/embassy')
|
||||
this.navCtrl.navigateRoot('/system')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<ion-header>
|
||||
<ion-toolbar>
|
||||
<ion-title> System </ion-title>
|
||||
<ion-title>System</ion-title>
|
||||
<ion-buttons slot="end">
|
||||
<badge-menu-button></badge-menu-button>
|
||||
</ion-buttons>
|
||||
@@ -10,7 +10,7 @@
|
||||
<ion-content class="ion-padding with-widgets">
|
||||
<!-- loading -->
|
||||
<ng-template #loading>
|
||||
<text-spinner text="Connecting to Embassy"></text-spinner>
|
||||
<text-spinner text="Connecting to server"></text-spinner>
|
||||
</ng-template>
|
||||
|
||||
<!-- loaded -->
|
||||
@@ -22,7 +22,7 @@
|
||||
<p style="font-weight: 600">
|
||||
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
|
||||
</p>
|
||||
</ion-label>
|
||||
|
||||
@@ -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.<br /><br />If you have a speaker, your Embassy will <b>♫ play a melody ♫</b> before shutting down. Your Embassy will then become unreachable${message}`,
|
||||
message: `Stopping all services gracefully. This can take a while.<br /><br />If you have a speaker, your server will <b>♫ play a melody ♫</b> 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(
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
<ion-content class="with-widgets">
|
||||
<ion-item-group *ngIf="server$ | async as server">
|
||||
<ion-item-divider>embassyOS Info</ion-item-divider>
|
||||
<ion-item-divider>StartOS Info</ion-item-divider>
|
||||
<ion-item>
|
||||
<ion-label>
|
||||
<h2>Version</h2>
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
<ion-item>
|
||||
<ion-label>
|
||||
<h2>
|
||||
Adding SSH keys to your Embassy is useful for command line access, as
|
||||
well as for debugging purposes.
|
||||
<a [href]="docsUrl" target="_blank" rel="noreferrer"
|
||||
>View instructions</a
|
||||
>
|
||||
Adding SSH keys to StartOS is useful for command line access, as well
|
||||
as for debugging purposes.
|
||||
<a [href]="docsUrl" target="_blank" rel="noreferrer">
|
||||
View instructions
|
||||
</a>
|
||||
</h2>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -19,15 +19,16 @@
|
||||
<ion-item>
|
||||
<ion-label>
|
||||
<h2>
|
||||
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.
|
||||
<a
|
||||
href="https://docs.start9.com/latest/user-manual/wifi"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>View instructions</a
|
||||
>
|
||||
View instructions
|
||||
</a>
|
||||
</h2>
|
||||
</ion-label>
|
||||
</ion-item>
|
||||
@@ -42,9 +43,9 @@
|
||||
[disabled]="loading"
|
||||
>
|
||||
<ion-icon slot="start" name="earth-outline" size="large"></ion-icon>
|
||||
<ion-label *ngIf="wifi.country"
|
||||
>{{ wifi.country }} - {{ this.countries[wifi.country] }}</ion-label
|
||||
>
|
||||
<ion-label *ngIf="wifi.country">
|
||||
{{ wifi.country }} - {{ this.countries[wifi.country] }}
|
||||
</ion-label>
|
||||
<ion-label *ngIf="!wifi.country">Select Country</ion-label>
|
||||
</ion-item>
|
||||
|
||||
@@ -79,9 +80,9 @@
|
||||
|
||||
<!-- not loading -->
|
||||
<ng-container *ngIf="!loading && wifi.country">
|
||||
<ion-item-divider *ngIf="!(wifi.ssids | empty)"
|
||||
>Saved Networks</ion-item-divider
|
||||
>
|
||||
<ion-item-divider *ngIf="!(wifi.ssids | empty)">
|
||||
Saved Networks
|
||||
</ion-item-divider>
|
||||
<ion-item
|
||||
button
|
||||
detail="false"
|
||||
|
||||
@@ -61,7 +61,7 @@ export class WifiPage {
|
||||
const alert = await this.alertCtrl.create({
|
||||
header: 'Cannot Complete Action',
|
||||
message:
|
||||
'You must be connected to your Embassy via LAN to change the country.',
|
||||
'You must be connected to your server via LAN to change the country.',
|
||||
buttons: [
|
||||
{
|
||||
text: 'OK',
|
||||
@@ -89,7 +89,7 @@ export class WifiPage {
|
||||
const alert = await this.alertCtrl.create({
|
||||
header: 'Select Country',
|
||||
subHeader:
|
||||
'Warning: Changing the country will delete all saved networks from the Embassy.',
|
||||
'Warning: Changing the country will delete all saved networks from StartOS.',
|
||||
inputs,
|
||||
buttons: [
|
||||
{
|
||||
@@ -225,7 +225,7 @@ export class WifiPage {
|
||||
const alert = await this.alertCtrl.create({
|
||||
header: `Connected to "${ssid}"`,
|
||||
message:
|
||||
'Note. It may take several minutes to an hour for your Embassy to reconnect over Tor.',
|
||||
'Note. It may take several minutes to an hour for StartOS to reconnect over Tor.',
|
||||
buttons: [
|
||||
{
|
||||
text: 'Ok',
|
||||
|
||||
Reference in New Issue
Block a user