Skip to content

Commit 1a5efc7

Browse files
bwp91SonnyT72grzegorz914AxelDreemurrdonavanbecker
authored
beta -> latest (#1628)
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>
1 parent ed64da4 commit 1a5efc7

File tree

216 files changed

+4107
-2128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+4107
-2128
lines changed

.eslintrc.js

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,37 @@ module.exports = {
1010
'dist/**/*',
1111
'.eslintrc.js'
1212
],
13-
plugins: ['@typescript-eslint/eslint-plugin'],
13+
plugins: ['@typescript-eslint/eslint-plugin', 'import', 'prettier', 'import-newlines', 'sort-exports'],
1414
extends: [
15-
'plugin:@typescript-eslint/eslint-recommended',
15+
'airbnb-typescript/base',
1616
'plugin:@typescript-eslint/recommended',
17-
'prettier'
17+
'prettier',
1818
],
1919
root: true,
2020
env: {
2121
node: true,
2222
jest: true,
2323
},
2424
rules: {
25-
'quotes': ['error', 'single'],
2625
'comma-dangle': ['error', 'only-multiline'],
27-
'no-multiple-empty-lines': ['warn', { max: 1, maxEOF: 0 }],
2826
'eol-last': ['error', 'always'],
29-
'space-before-function-paren': ['error', { named: 'never' }],
30-
'@typescript-eslint/lines-between-class-members': ['warn', 'always', { exceptAfterOverload: true, exceptAfterSingleLine: true }],
31-
'@typescript-eslint/interface-name-prefix': 'off',
27+
'import-newlines/enforce': ['error', 3],
28+
'import/no-extraneous-dependencies': 'off',
29+
'import/order': ['warn', { alphabetize: { order: 'asc' }, 'newlines-between': 'never' }],
30+
'indent': ['error', 2, { SwitchCase: 1 }],
3231
'@typescript-eslint/explicit-function-return-type': 'off',
3332
'@typescript-eslint/explicit-module-boundary-types': 'off',
34-
'@typescript-eslint/no-explicit-any': 'off',
35-
'@typescript-eslint/semi': ['warn'],
33+
'@typescript-eslint/interface-name-prefix': 'off',
34+
'@typescript-eslint/lines-between-class-members': ['warn', 'always', { exceptAfterOverload: true, exceptAfterSingleLine: true }],
3635
'@typescript-eslint/member-delimiter-style': ['warn'],
36+
'@typescript-eslint/no-explicit-any': 'off',
3737
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none', vars: 'local', varsIgnorePattern: 'key' }],
38+
'@typescript-eslint/semi': ['warn'],
39+
'quotes': ['error', 'single'],
40+
'sort-exports/sort-exports': ['warn', { sortDir: 'asc' }],
41+
'sort-imports': ['warn', { ignoreDeclarationSort: true }],
42+
'space-before-function-paren': ['error', { named: 'never' }],
43+
3844
},
3945
overrides: [
4046
{

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ assignees: ''
2222
<!-- Bug reports that do not contain logs may be closed without warning. -->
2323

2424
```
25-
Show the Homebridge / Homebridge Config UI X logs here.
25+
Show the Homebridge / Homebridge UI logs here.
2626
```
2727

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

CHANGELOG.md

Lines changed: 93 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,100 @@
22

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

5+
## 4.52.2 (2023-11-11)
6+
7+
### Notable Changes
8+
9+
- Prevent the UI from updating when running an unsupported version of Node.js
10+
- This mimics the behaviour of updating Homebridge itself
11+
- The option of 'Update Anyway' will still appear for other plugins when running an unsupported version of Node.js
12+
- GLIBC Version is now cached
13+
- When uninstalling a plugin, it will also be removed from the disabled plugin list if it was previously disabled
14+
15+
### UI Changes
16+
17+
#### General
18+
19+
- Fixed icon widths throughout UI
20+
- Updated menu (thanks [@mkz212](https://github.com/mkz212)!)
21+
- Added links to main dropdown menu: 'Logs' and 'Restart Homebridge' + reordered list
22+
- Changed the menu layout order
23+
- Made the dropdown darker in dark mode ([#1660](https://github.com/homebridge/homebridge-config-ui-x/pull/1660))
24+
- Username is now displayed by logout Menu option
25+
26+
#### Status Page
27+
28+
- Updated default layout
29+
- **System Information Widget**
30+
- Update ordering of rows
31+
- Added `Node.js Path` and `Plugin Path` rows
32+
- Added alert icon and modal when running an older OS that cannot update to Node.js 18/20
33+
- Added alert icon and modal when not running in service mode
34+
- **Homebridge Widget**
35+
- Added ability to scroll Homebridge widget ([#1651](https://github.com/homebridge/homebridge-config-ui-x/pull/1651))
36+
- 'Update available' icons are now up-arrows to match plugins page
37+
38+
#### Plugins Page
39+
40+
- 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
41+
- Change plugin options dropdown icon to vertical ellipsis for consistency with restart Homebridge icon in top menu
42+
- Move plugin homepage link to plugin options dropdown
43+
- Move Homebridge UI API link to plugin options dropdown
44+
- Hide 'Donate' and 'Verified' text (on plugin tiles) on small screens
45+
- 'Verified' text on plugin tile now opens a modal rather than linking to Homebridge wiki
46+
- When `Update Availble`/`Beta Update Available` are available an arrow icon is now displayed by Plugin menu icon
47+
- Added icons to plugin statuses: 'Installed' and 'Not Installed'
48+
49+
### i18n Changes
50+
51+
- The following new language strings have been added to each language file - calling on all our translators to continue your hard work!
52+
- ADDED:
53+
- `child_bridge.label_child_start`
54+
- `child_bridge.label_child_stop`
55+
- `menu.hbrestart.confirm_button`
56+
- `menu.hbrestart.confirmation`
57+
- `menu.hbrestart.title`
58+
- `menu.linux.label_logs`
59+
- `plugins.button_api_documentation`
60+
- `plugins.button_homepage`
61+
- `plugins.manage.child_bridge_button_restart_now`
62+
- `plugins.manage.child_bridge_button_restart_now_one`
63+
- `plugins.manage.child_bridge_restart_success`
64+
- `plugins.manage.child_bridge_restart_failed`
65+
- `plugins.manage.message_thanks_for_updating_restart_child_bridges`
66+
- `plugins.manage.modal_verified_cta`
67+
- `plugins.manage.modal_verified_message`
68+
- `plugins.manage.modal_verified_title`
69+
- `plugins.node_update_homebridge_ui_upgrade_and_try_again`
70+
- `status.widget.systeminfo.label_disabled`
71+
- `status.widget.systeminfo.label_enabled`
72+
- `status.widget.systeminfo.label_glibc_warning`
73+
- `status.widget.systeminfo.label_no`
74+
- `status.widget.systeminfo.label_nodejs_path`
75+
- `status.widget.systeminfo.label_yes`
76+
- `status.widget.systeminfo.modal_glibc_cta`
77+
- `status.widget.systeminfo.modal_glibc_message`
78+
- `status.widget.systeminfo.modal_glibc_title`
79+
- `status.widget.systeminfo.modal_servicemode_cta`
80+
- `status.widget.systeminfo.modal_servicemode_message`
81+
- `status.widget.systeminfo.modal_servicemode_title`
82+
- UPDATED:
83+
- `plugins.manage.message_thanks_for_updating_restart`
84+
- `plugins.donate.message_learn_more`
85+
- `status.message_code_scan_instructions`
86+
- **i18n:** Update pl.json ([#1633](https://github.com/homebridge/homebridge-config-ui-x/pull/1633))
87+
- **i18n:** Update fr.json ([#1629](https://github.com/homebridge/homebridge-config-ui-x/pull/1629))
88+
- **i18n:** Update es.json (Improves Spanish localization) ([#1632](https://github.com/homebridge/homebridge-config-ui-x/pull/1632))
89+
90+
### Other Changes
91+
92+
- Updated dependencies, including `@homebridge/node-pty-prebuilt-multiarch` to `0.11.10` (thanks [@NorthernMan54](https://github.com/NorthernMan54)!)
93+
594
## 4.52.1 (2023-11-04)
695

796
### Other Changes
897

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

11100
### Bug Fixes
12101

@@ -38,10 +127,10 @@ All notable changes to homebridge-config-ui-x will be documented in this file.
38127
- `hb-service` will now refuse to install `node` versions less than `16.18.0`
39128
- Plugin node warning screen will appear when running a version of `node` lower than `18.15.0` (bumped up from `14.15.0`)
40129
- UI node warning screen will appear when running a version of `node` lower than `18.15.0` (bumped up from `10.17.0`)
41-
- Obtain correct beta branch name for Homebridge (and UI) (https://github.com/homebridge/homebridge-config-ui-x/commit/212b3eb1d5cb3ccda01fe2c3be711b80af4d5bf6)
42-
- 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)
130+
- Obtain correct beta branch name for Homebridge (and UI) ([#212b3eb](https://github.com/homebridge/homebridge-config-ui-x/commit/212b3eb1d5cb3ccda01fe2c3be711b80af4d5bf6))
131+
- 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))
43132
- Updated dependencies
44-
- Update @homebridge/node-pty-prebuilt-multiarch to version v0.11.8 ( Updated build process and back-level support for Synology DSM devices )
133+
- Update `@homebridge/node-pty-prebuilt-multiarch` to version v0.11.8 (updated build process and back-level support for Synology DSM devices)
45134

46135
## 4.51.2 (2023-10-27)
47136

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55

66
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:
77

8-
# Homebridge Config UI X
8+
# Homebridge UI
99

10-
[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.
10+
[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.
1111

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

23-
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.
23+
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.
2424

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

2727
# Installation Instructions
2828

29-
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:
29+
For detailed instructions on how to set up Node.js and Homebridge with Homebridge UI as a service, see the guides on the wiki:
3030

3131
* <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)
3232
* <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)
@@ -138,4 +138,4 @@ Join the [Official Homebridge Discord](https://discord.gg/C87Pvq3) community and
138138

139139
# Credit
140140

141-
Homebridge Config UI X was originally created by [oznu](https://github.com/oznu).
141+
Homebridge UI was originally created by [oznu](https://github.com/oznu).

config.schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"pluginAlias": "config",
33
"pluginType": "platform",
44
"singular": true,
5-
"footerDisplay": "[REST API Documentation <i class='fas fa-external-link-alt'></i>](/swagger)",
65
"schema": {
76
"type": "object",
87
"properties": {
@@ -21,7 +20,7 @@
2120
"required": true
2221
},
2322
"auth": {
24-
"title": "Homebridge Config UI X Authentication",
23+
"title": "Homebridge UI Authentication",
2524
"type": "string",
2625
"default": "form",
2726
"oneOf": [

nodemon.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
],
99
"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",
1010
"signal": "SIGTERM"
11-
}
11+
}

0 commit comments

Comments
 (0)