Skip to content

Commit

Permalink
ui name
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Nov 10, 2023
1 parent f09e963 commit c17102b
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ assignees: ''
<!-- Bug reports that do not contain logs may be closed without warning. -->

```
Show the Homebridge / Homebridge Config UI X logs here.
Show the Homebridge / Homebridge UI logs here.
```

**Homebridge Config:**
Expand All @@ -39,7 +39,7 @@ Show your homebridge config.json here
* **Node.js Version**: <!-- node -v -->
* **NPM Version**: <!-- npm -v -->
* **Homebridge Version**: <!-- homebridge -V -->
* **Homebridge Config UI X Version**:
* **Homebridge UI Version**:
* **Operating System**: Raspbian / Ubuntu / Debian / Windows / macOS / Docker
* **Process Supervisor**: Docker / Systemd / init.d / pm2 / launchctl / hb-service / other / none

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

Supported Languages: :gb: :de: :fr: :poland: :czech_republic: :ru: :cn: :hungary: :jp: :es: :netherlands: :tr: :it: :bulgaria: :sweden: :norway: :slovenia: :brazil: :portugal: :indonesia: :kr: :macedonia: :thailand: :israel: :ukraine:

# Homebridge Config UI X
# Homebridge UI

[Homebridge Config UI X](https://www.npmjs.com/package/homebridge-config-ui-x) is a web based management tool for [Homebridge](https://github.com/homebridge/homebridge) that allows you to manage all aspects of your Homebridge setup.
[Homebridge UI](https://www.npmjs.com/package/homebridge-config-ui-x) is a web based management tool for [Homebridge](https://github.com/homebridge/homebridge) that allows you to manage all aspects of your Homebridge setup.

* Install and configure Homebridge plugins
* Edit the Homebridge `config.json` with advanced JSON syntax checking and structure validation
Expand All @@ -20,13 +20,13 @@ Supported Languages: :gb: :de: :fr: :poland: :czech_republic: :ru: :cn: :hungary
* Set up and manage your Homebridge plugins as [child bridges](https://github.com/homebridge/homebridge/wiki/Child-Bridges)
* and more...

Homebridge Config UI X also provides a tool called [`hb-service`](https://github.com/homebridge/homebridge-config-ui-x/wiki/Homebridge-Service-Command) which makes it easy to set up Homebridge as a service on Linux/Raspbian, macOS and Windows 10.
Homebridge UI also provides a tool called [`hb-service`](https://github.com/homebridge/homebridge-config-ui-x/wiki/Homebridge-Service-Command) which makes it easy to set up Homebridge as a service on Linux/Raspbian, macOS and Windows 10.

[![Status](screenshots/homebridge-config-ui-x-darkmode-status.png?2020-01-07)](#usage)

# Installation Instructions

For detailed instructions on how to set up Node.js and Homebridge with Homebridge Config UI X as a service, see the guides on the wiki:
For detailed instructions on how to set up Node.js and Homebridge with Homebridge UI as a service, see the guides on the wiki:

* <img src="https://user-images.githubusercontent.com/3979615/78118327-9853f200-7452-11ea-88aa-5e57ebcf3070.png" alt="homebridge-raspbian-image" height="16px" width="16px"/> [Setup Homebridge using the official Homebridge Raspberry Pi Image](https://github.com/homebridge/homebridge-raspbian-image/wiki/Getting-Started)
* <img src="https://user-images.githubusercontent.com/3979615/59594350-07b45b80-9137-11e9-85fd-e75093ba91a4.png" alt="raspbian" height="16px" width="16px"/> [Setup Homebridge on a Raspberry Pi (Raspbian)](https://github.com/homebridge/homebridge/wiki/Install-Homebridge-on-Raspbian)
Expand Down Expand Up @@ -138,4 +138,4 @@ Join the [Official Homebridge Discord](https://discord.gg/C87Pvq3) community and

# Credit

Homebridge Config UI X was originally created by [oznu](https://github.com/oznu).
Homebridge UI was originally created by [oznu](https://github.com/oznu).
3 changes: 1 addition & 2 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"pluginAlias": "config",
"pluginType": "platform",
"singular": true,
"footerDisplay": "[REST API Documentation <i class='fas fa-fw fa-external-link-alt'></i>](/swagger)",
"schema": {
"type": "object",
"properties": {
Expand All @@ -21,7 +20,7 @@
"required": true
},
"auth": {
"title": "Homebridge Config UI X Authentication",
"title": "Homebridge UI Authentication",
"type": "string",
"default": "form",
"oneOf": [
Expand Down
2 changes: 1 addition & 1 deletion src/bin/hb-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ export class HomebridgeServiceHelper {
// correct the port
if (uiConfigBlock.port !== this.uiPort) {
uiConfigBlock.port = this.uiPort;
this.logger(`WARNING: HOMEBRIDGE CONFIG UI PORT IN ${process.env.UIX_CONFIG_PATH} CHANGED TO ${this.uiPort}`, 'warn');
this.logger(`WARNING: HOMEBRIDGE UI PORT IN ${process.env.UIX_CONFIG_PATH} CHANGED TO ${this.uiPort}`, 'warn');
}
// delete unnecessary config
delete uiConfigBlock.restart;
Expand Down
2 changes: 1 addition & 1 deletion src/bin/platforms/darwin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class DarwinInstaller extends BasePlatform {
}

/**
* Rebuilds the Node.js modules for Homebridge Config UI X
* Rebuilds the Node.js modules for Homebridge UI
*/
public async rebuild(all = false) {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/bin/platforms/freebsd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class FreeBSDInstaller extends BasePlatform {
}

/**
* Rebuilds the Node.js modules for Homebridge Config UI X
* Rebuilds the Node.js modules for Homebridge UI
*/
public async rebuild(all = false) {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/bin/platforms/linux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class LinuxInstaller extends BasePlatform {
}

/**
* Rebuilds the Node.js modules for Homebridge Config UI X
* Rebuilds the Node.js modules for Homebridge UI
*/
public async rebuild(all = false) {
try {
Expand Down
2 changes: 1 addition & 1 deletion src/bin/platforms/win32.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class Win32Installer extends BasePlatform {
}

/**
* Rebuilds the Node.js modules for Homebridge Config UI X
* Rebuilds the Node.js modules for Homebridge UI
*/
public async rebuild(all = false) {
this.checkIsAdmin();
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ async function bootstrap(): Promise<NestFastifyApplication> {
// serve spa on all 404
app.useGlobalFilters(new SpaFilter());

logger.warn(`Homebridge Config UI X v${configService.package.version} is listening on ${startupConfig.host} port ${configService.ui.port}`);
logger.warn(`Homebridge UI v${configService.package.version} is listening on ${startupConfig.host} port ${configService.ui.port}`);
await app.listen(configService.ui.port, startupConfig.host);

return app;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/backup/backup.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export class BackupService {
// display backup archive information
client.emit('stdout', color.cyan('Backup Archive Information\r\n'));
client.emit('stdout', `Source Node.js Version: ${backupInfo.node}\r\n`);
client.emit('stdout', `Source Homebridge Config UI X Version: v${backupInfo.uix}\r\n`);
client.emit('stdout', `Source Homebridge UI Version: v${backupInfo.uix}\r\n`);
client.emit('stdout', `Source Platform: ${backupInfo.platform}\r\n`);
client.emit('stdout', `Created: ${backupInfo.timestamp}\r\n`);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class SettingsPluginsModalComponent implements OnInit {
this.activeModal.close(configBlocks.length ? this.schema : null);
this.$notification.configUpdated.next(undefined);

// reload app settings if the config was changed for Homebridge Config UI X
// reload app settings if the config was changed for Homebridge UI
if (this.plugin.name === 'homebridge-config-ui-x') {
this.$settings.getAppSettings().catch();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ export class ConfigEditorComponent implements OnInit, OnDestroy {
properties: {
platform: {
type: 'string',
description: 'Homebridge Config UI X platform name must be set to "config".\nDo Not Change!',
description: 'Homebridge UI platform name must be set to "config".\nDo Not Change!',
oneOf: [
{ enum: 'config' },
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
<div class="modal-footer">
<div class="w-100 text-center">
<p class="small">
<a href="https://github.com/homebridge/homebridge/wiki/Donation-Links"
target="_blank" rel="noopener noreferrer" translate="plugins.donate.message_learn_more">
<a href="https://github.com/homebridge/homebridge/wiki/Donation-Links" target="_blank" rel="noopener noreferrer">
{{ 'plugins.donate.message_learn_more' | translate}} <i class='fas fa-fw fa-external-link-alt'></i>
</a>
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ <h4 class="card-title mb-0">
<i *ngIf="!plugin.links.homepage && plugin.links.npm" class="fab fa-fw fa-npm"></i>
{{ 'plugins.button_homepage' | translate }}
</a>
<a ngbDropdownItem target="_blank" rel="noopener noreferrer" class="text-decoration-none"
*ngIf="plugin.name === 'homebridge-config-ui-x'" href="/swagger">
<i class="fas fa-fw fa-passport"></i> API Documentation
</a>
</div>
</span>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/modules/users/users.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="row mb-3">
<div class="col-sm-9 d-none d-sm-block">
<h3 class="primary-text m-0"><span class="d-none d-md-inline">Homebridge Config UI</span>
<h3 class="primary-text m-0"><span class="d-none d-md-inline">Homebridge UI</span>
{{'users.title_users' | translate}}</h3>
</div>
<div class="col-sm-3 text-right">
Expand Down Expand Up @@ -32,4 +32,4 @@ <h4 class="mr-auto mt-0 mb-0" [innerText]="user.username"></h4>
</div>
</div>
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion ui/src/i18n/ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
"plugins.settings.custom.homebridge-gsh.message_homebridge_restart_required": "Homebridge necessita reiniciar perquè els canvis tinguin efecte.",
"plugins.settings.label_open_config_editor": "Obrir editor de configuració",
"plugins.settings.message_consult_documentation": "Si us plau consulte la documentació del plugin per a més informació i instruccions de com configurar aquest plugin correctament.",
"plugins.settings.message_manual_config_required": "Aquest plugin s'ha de configurar manualment usant l'Editor de Homebridge Config UI.",
"plugins.settings.message_manual_config_required": "Aquest plugin s'ha de configurar manualment usant l'Editor de Homebridge UI.",
"plugins.settings.title_settings": "Ajustos",
"plugins.settings.toast_plugin_config_saved": "Configuració del plugin guardada",
"plugins.settings.toast_restart_required": "Reiniciar Homebridge per aplicar els canvis.",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/i18n/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"backup.message_backup_restored": "Varnostno kopiranje arhiva obnovljeno",
"backup.message_backup_warning": "Rezervni arhivi vsebujejo občutljive podatke in jih ne smete deliti z drugimi.",
"backup.message_restore_failed": "Obnovitev ni uspela",
"backup.message_restore_help_one": "Obnovite arhiv varnostnih kopij, ki ste ga predhodno ustvarili s pomočjo uporabniškega vmesnika Homebridge Config U. X. Obnovljeno bo: konfiguracija, predpomnjeni dodatki, HomeKit in uporabniški računi Homebridge UI. Vsi vtičniki Homebridge, ki ste jih namestili, se bodo prenesli tudi iz registra npm.",
"backup.message_restore_help_one": "Obnovite arhiv varnostnih kopij, ki ste ga predhodno ustvarili s pomočjo uporabniškega vmesnika Homebridge UI. Obnovljeno bo: konfiguracija, predpomnjeni dodatki, HomeKit in uporabniški računi Homebridge UI. Vsi vtičniki Homebridge, ki ste jih namestili, se bodo prenesli tudi iz registra npm.",
"backup.message_restore_help_two": "Po obnovitvi z uporabo poverilnic obnovljenega primerka se boste morali prijaviti v domači Bridge Config UI X.",
"backup.message_restore_warning": "Obnovitev varnostne kopije bo nepovratno prepisala trenutno konfiguracijo Homebridgea.",
"backup.message_scheduled_backup_none_yet": "Ustvarjene še niso nobene načrtovane varnostne kopije. Naslednje avtomatizirano varnostno kopiranje naj bi bilo izvedeno ob {{ backupTime }} času strežnika.",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/scss/themes/themes-light.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Homebridge Config UI X Themes */
/* Homebridge UI Themes */

@mixin make-theme($name, $primary, $primary-dark) {
.config-ui-x-#{$name} {
Expand Down

0 comments on commit c17102b

Please sign in to comment.