Skip to content

Commit

Permalink
beta -> latest (#1628)
Browse files Browse the repository at this point in the history
Co-authored-by: SonnyT72 <julien.prangere+github@gmail.com>
Co-authored-by: Grzegorz <grzegorz914@icloud.com>
Co-authored-by: Axel Silva Martínez <56647475+AxelDreemurr@users.noreply.github.com>
Co-authored-by: Donavan Becker <beckersmarthome@icloud.com>
Co-authored-by: mkz212 <82271669+mkz212@users.noreply.github.com>
  • Loading branch information
6 people committed Nov 11, 2023
1 parent ed64da4 commit 1a5efc7
Show file tree
Hide file tree
Showing 216 changed files with 4,107 additions and 2,128 deletions.
26 changes: 16 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,37 @@ module.exports = {
'dist/**/*',
'.eslintrc.js'
],
plugins: ['@typescript-eslint/eslint-plugin'],
plugins: ['@typescript-eslint/eslint-plugin', 'import', 'prettier', 'import-newlines', 'sort-exports'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'airbnb-typescript/base',
'plugin:@typescript-eslint/recommended',
'prettier'
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'quotes': ['error', 'single'],
'comma-dangle': ['error', 'only-multiline'],
'no-multiple-empty-lines': ['warn', { max: 1, maxEOF: 0 }],
'eol-last': ['error', 'always'],
'space-before-function-paren': ['error', { named: 'never' }],
'@typescript-eslint/lines-between-class-members': ['warn', 'always', { exceptAfterOverload: true, exceptAfterSingleLine: true }],
'@typescript-eslint/interface-name-prefix': 'off',
'import-newlines/enforce': ['error', 3],
'import/no-extraneous-dependencies': 'off',
'import/order': ['warn', { alphabetize: { order: 'asc' }, 'newlines-between': 'never' }],
'indent': ['error', 2, { SwitchCase: 1 }],
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/semi': ['warn'],
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/lines-between-class-members': ['warn', 'always', { exceptAfterOverload: true, exceptAfterSingleLine: true }],
'@typescript-eslint/member-delimiter-style': ['warn'],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none', vars: 'local', varsIgnorePattern: 'key' }],
'@typescript-eslint/semi': ['warn'],
'quotes': ['error', 'single'],
'sort-exports/sort-exports': ['warn', { sortDir: 'asc' }],
'sort-imports': ['warn', { ignoreDeclarationSort: true }],
'space-before-function-paren': ['error', { named: 'never' }],

},
overrides: [
{
Expand Down
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
97 changes: 93 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,100 @@

All notable changes to homebridge-config-ui-x will be documented in this file.

## 4.52.2 (2023-11-11)

### Notable Changes

- Prevent the UI from updating when running an unsupported version of Node.js
- This mimics the behaviour of updating Homebridge itself
- The option of 'Update Anyway' will still appear for other plugins when running an unsupported version of Node.js
- GLIBC Version is now cached
- When uninstalling a plugin, it will also be removed from the disabled plugin list if it was previously disabled

### UI Changes

#### General

- Fixed icon widths throughout UI
- Updated menu (thanks [@mkz212](https://github.com/mkz212)!)
- Added links to main dropdown menu: 'Logs' and 'Restart Homebridge' + reordered list
- Changed the menu layout order
- Made the dropdown darker in dark mode ([#1660](https://github.com/homebridge/homebridge-config-ui-x/pull/1660))
- Username is now displayed by logout Menu option

#### Status Page

- Updated default layout
- **System Information Widget**
- Update ordering of rows
- Added `Node.js Path` and `Plugin Path` rows
- Added alert icon and modal when running an older OS that cannot update to Node.js 18/20
- Added alert icon and modal when not running in service mode
- **Homebridge Widget**
- Added ability to scroll Homebridge widget ([#1651](https://github.com/homebridge/homebridge-config-ui-x/pull/1651))
- 'Update available' icons are now up-arrows to match plugins page

#### Plugins Page

- Enhanced the 'Restart Homebridge Now' modal to now Show 'Restart Child Bridges' modal after any plugin update if that plugin is set up as a child bridge
- Change plugin options dropdown icon to vertical ellipsis for consistency with restart Homebridge icon in top menu
- Move plugin homepage link to plugin options dropdown
- Move Homebridge UI API link to plugin options dropdown
- Hide 'Donate' and 'Verified' text (on plugin tiles) on small screens
- 'Verified' text on plugin tile now opens a modal rather than linking to Homebridge wiki
- When `Update Availble`/`Beta Update Available` are available an arrow icon is now displayed by Plugin menu icon
- Added icons to plugin statuses: 'Installed' and 'Not Installed'

### i18n Changes

- The following new language strings have been added to each language file - calling on all our translators to continue your hard work!
- ADDED:
- `child_bridge.label_child_start`
- `child_bridge.label_child_stop`
- `menu.hbrestart.confirm_button`
- `menu.hbrestart.confirmation`
- `menu.hbrestart.title`
- `menu.linux.label_logs`
- `plugins.button_api_documentation`
- `plugins.button_homepage`
- `plugins.manage.child_bridge_button_restart_now`
- `plugins.manage.child_bridge_button_restart_now_one`
- `plugins.manage.child_bridge_restart_success`
- `plugins.manage.child_bridge_restart_failed`
- `plugins.manage.message_thanks_for_updating_restart_child_bridges`
- `plugins.manage.modal_verified_cta`
- `plugins.manage.modal_verified_message`
- `plugins.manage.modal_verified_title`
- `plugins.node_update_homebridge_ui_upgrade_and_try_again`
- `status.widget.systeminfo.label_disabled`
- `status.widget.systeminfo.label_enabled`
- `status.widget.systeminfo.label_glibc_warning`
- `status.widget.systeminfo.label_no`
- `status.widget.systeminfo.label_nodejs_path`
- `status.widget.systeminfo.label_yes`
- `status.widget.systeminfo.modal_glibc_cta`
- `status.widget.systeminfo.modal_glibc_message`
- `status.widget.systeminfo.modal_glibc_title`
- `status.widget.systeminfo.modal_servicemode_cta`
- `status.widget.systeminfo.modal_servicemode_message`
- `status.widget.systeminfo.modal_servicemode_title`
- UPDATED:
- `plugins.manage.message_thanks_for_updating_restart`
- `plugins.donate.message_learn_more`
- `status.message_code_scan_instructions`
- **i18n:** Update pl.json ([#1633](https://github.com/homebridge/homebridge-config-ui-x/pull/1633))
- **i18n:** Update fr.json ([#1629](https://github.com/homebridge/homebridge-config-ui-x/pull/1629))
- **i18n:** Update es.json (Improves Spanish localization) ([#1632](https://github.com/homebridge/homebridge-config-ui-x/pull/1632))

### Other Changes

- Updated dependencies, including `@homebridge/node-pty-prebuilt-multiarch` to `0.11.10` (thanks [@NorthernMan54](https://github.com/NorthernMan54)!)

## 4.52.1 (2023-11-04)

### Other Changes

- **i18n:** Update de.json ([1627](https://github.com/homebridge/homebridge-config-ui-x/pull/1627))
- **i18n:** Update de.json ([#1627](https://github.com/homebridge/homebridge-config-ui-x/pull/1627))

### Bug Fixes

Expand Down Expand Up @@ -38,10 +127,10 @@ All notable changes to homebridge-config-ui-x will be documented in this file.
- `hb-service` will now refuse to install `node` versions less than `16.18.0`
- Plugin node warning screen will appear when running a version of `node` lower than `18.15.0` (bumped up from `14.15.0`)
- UI node warning screen will appear when running a version of `node` lower than `18.15.0` (bumped up from `10.17.0`)
- Obtain correct beta branch name for Homebridge (and UI) (https://github.com/homebridge/homebridge-config-ui-x/commit/212b3eb1d5cb3ccda01fe2c3be711b80af4d5bf6)
- Rename pre-release npm tag from `test` to `beta` for consistency with other Homebridge repositories (https://github.com/homebridge/homebridge-config-ui-x/commit/86ea73ffd0b35f372a164ee42e17a996905cffb6)
- Obtain correct beta branch name for Homebridge (and UI) ([#212b3eb](https://github.com/homebridge/homebridge-config-ui-x/commit/212b3eb1d5cb3ccda01fe2c3be711b80af4d5bf6))
- Rename pre-release npm tag from `test` to `beta` for consistency with other Homebridge repositories ([#86ea73f](https://github.com/homebridge/homebridge-config-ui-x/commit/86ea73ffd0b35f372a164ee42e17a996905cffb6))
- Updated dependencies
- Update @homebridge/node-pty-prebuilt-multiarch to version v0.11.8 ( Updated build process and back-level support for Synology DSM devices )
- Update `@homebridge/node-pty-prebuilt-multiarch` to version v0.11.8 (updated build process and back-level support for Synology DSM devices)

## 4.51.2 (2023-10-27)

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-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 nodemon.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
],
"exec": "sleep 2 && UIX_INSECURE_MODE=1 UIX_SERVICE_MODE=1 HOMEBRIDGE_CONFIG_UI_TERMINAL=1 ts-node -r tsconfig-paths/register src/bin/hb-service.ts run --stdout",
"signal": "SIGTERM"
}
}
Loading

0 comments on commit 1a5efc7

Please sign in to comment.