Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Restart Homebridge to menu #1683

Closed
wants to merge 114 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
e8cf82c
validate node version before ui install/update
bwp91 Nov 4, 2023
9f21c7c
update deps
bwp91 Nov 4, 2023
82384c4
more lint rules
bwp91 Nov 5, 2023
babaaca
Update fr.json (#1629)
SonnyT72 Nov 5, 2023
3d09163
Update pl.json (#1633)
grzegorz914 Nov 6, 2023
35e94b9
Update es.json (Improves Spanish localization) (#1632)
AxelDreemurr Nov 6, 2023
672a127
Update CHANGELOG.md
donavanbecker Nov 6, 2023
85d5f52
Merge branch 'beta-4.52.2' of https://github.com/homebridge/homebridg…
donavanbecker Nov 6, 2023
8ad2f51
dependencies, changelog (#1635)
bwp91 Nov 6, 2023
b873663
update commander (#1636)
bwp91 Nov 6, 2023
d937c67
show glibc row
bwp91 Nov 7, 2023
df46598
update ui / xterm
bwp91 Nov 7, 2023
e3463a4
glibc warning
bwp91 Nov 7, 2023
1f8ce6a
translations, nouislider
bwp91 Nov 7, 2023
e43035c
fix translations
bwp91 Nov 7, 2023
306f4fc
Add link to Homebridge in footer (#1639)
mkz212 Nov 7, 2023
0d8aa29
Small changes in widgets (#1637)
mkz212 Nov 7, 2023
32aa7b6
widgets
bwp91 Nov 7, 2023
1eac32c
fiz
bwp91 Nov 7, 2023
b5d6128
Default widget layout (#1641)
mkz212 Nov 7, 2023
3087249
updates
bwp91 Nov 7, 2023
74ac8fb
Update homebridge-status-widget.component.html
bwp91 Nov 7, 2023
650744e
corrections
bwp91 Nov 7, 2023
ca4cb22
Update themes-dark.scss (#1644)
mkz212 Nov 7, 2023
bb69bd8
Merge branch 'latest' into beta-4.52.2
bwp91 Nov 7, 2023
06df4e1
glibc changes
bwp91 Nov 7, 2023
1be636f
test - always show plugin path
bwp91 Nov 7, 2023
99da34f
Update plugins-settings-ui.service.ts
bwp91 Nov 7, 2023
de8f5c5
Update default-dashboard-layout.json
donavanbecker Nov 7, 2023
1cf5fce
Revert "Update default-dashboard-layout.json"
donavanbecker Nov 7, 2023
425dad5
Update themes-dark.scss
donavanbecker Nov 7, 2023
15fc84d
Update homebridge-status-widget.component.html (#1646)
mkz212 Nov 7, 2023
df326d5
Update homebridge-status-widget.component.html (#1648)
mkz212 Nov 7, 2023
c0ec82c
Port translation (#1647)
mkz212 Nov 7, 2023
80312b5
Remove border from Child Bridge widget (#1649)
mkz212 Nov 7, 2023
4d4335c
Small fix in footer and in Status page (#1650)
mkz212 Nov 7, 2023
12d2098
Added ability to scroll Homebridge widget (#1651)
mkz212 Nov 7, 2023
e39be08
Footer fix (#1652)
mkz212 Nov 7, 2023
a7e8f54
Minor corrections in the menu (#1631)
mkz212 Nov 7, 2023
831c3c9
Enabled disabled translation (#1645)
mkz212 Nov 7, 2023
1d258da
fix menu
donavanbecker Nov 7, 2023
7e2c806
Reorder in System info widget (#1654)
mkz212 Nov 7, 2023
057a83d
small layout fix (#1655)
mkz212 Nov 8, 2023
40583db
add s to log
donavanbecker Nov 8, 2023
7f28e1f
glibc issue as modal
bwp91 Nov 8, 2023
851af89
other translation files
bwp91 Nov 8, 2023
48d3e56
fix code scan alert
bwp91 Nov 8, 2023
2eef4ff
add child bridge restart
donavanbecker Nov 8, 2023
72b344f
Revert "add child bridge restart"
donavanbecker Nov 8, 2023
935176d
Update homebridge-status-widget.component.html
bwp91 Nov 8, 2023
ed31fef
try some changes
bwp91 Nov 8, 2023
ecc7be1
next
bwp91 Nov 8, 2023
46035d2
icons fixed width
bwp91 Nov 8, 2023
713b00c
Update plugin-card.component.html
bwp91 Nov 8, 2023
e295e6a
Update external-link-icon.pipe.ts
bwp91 Nov 8, 2023
fb458ec
Fix pl translations (#1656)
mkz212 Nov 8, 2023
8506501
Fix menu on mobile (#1657)
mkz212 Nov 8, 2023
6129848
Update homebridge-status-widget.component.html
bwp91 Nov 8, 2023
1b0731f
Update plugin-card.component.html
bwp91 Nov 8, 2023
c331caf
some updates
bwp91 Nov 8, 2023
de064b6
add child bridge restart
donavanbecker Nov 8, 2023
35d52c7
Menu position (#1659)
mkz212 Nov 8, 2023
8059868
Darker dropdown (#1660)
mkz212 Nov 8, 2023
a00f029
translation, deps
bwp91 Nov 8, 2023
430589b
Remove underline from links (#1661)
mkz212 Nov 8, 2023
a2649a2
Update manage-plugins-modal.component.html
donavanbecker Nov 8, 2023
9f9cf4b
Merge branch 'beta-4.52.2' of https://github.com/homebridge/homebridg…
donavanbecker Nov 8, 2023
9ba9675
Restart server with confirmation. Username next to Logout. (#1658)
mkz212 Nov 9, 2023
353cbb0
Revert "Restart server with confirmation. Username next to Logout. (…
donavanbecker Nov 9, 2023
fab4b24
pl lang small fix (#1662)
mkz212 Nov 9, 2023
eb3767c
Add username next to Logout (#1664)
mkz212 Nov 9, 2023
25cb794
Update manage-plugins-modal.component.ts
donavanbecker Nov 9, 2023
216a74f
Restart with confirmation (#1663)
mkz212 Nov 9, 2023
957b5b1
Update manage-plugins-modal.component.ts
donavanbecker Nov 9, 2023
ce66517
Merge branch 'beta-4.52.2' of https://github.com/homebridge/homebridg…
donavanbecker Nov 9, 2023
bb89a2c
Update manage-plugins-modal.component.ts
donavanbecker Nov 9, 2023
863990f
Update layout.component.html
donavanbecker Nov 9, 2023
02d4584
Plugins - dropdown menu placement (#1665)
mkz212 Nov 9, 2023
6e0a278
fix triangle next to 3 dots (#1666)
mkz212 Nov 9, 2023
a0a6100
pl translation (#1667)
mkz212 Nov 9, 2023
2fc09ca
Addes language names (#1669)
mkz212 Nov 9, 2023
d4f187d
Child bridge start stop translation (#1668)
mkz212 Nov 9, 2023
103f239
Plugins - dropdown margin (#1672)
mkz212 Nov 9, 2023
c581d90
fix translation child bridge start stop (#1671)
mkz212 Nov 9, 2023
daf7a1d
fix? (#1673)
mkz212 Nov 9, 2023
85faf6d
remove triangle next to 3 dots (#1674)
mkz212 Nov 9, 2023
c0e77a3
Update plugin-card.component.html
donavanbecker Nov 9, 2023
3ea959e
small change (#1675)
mkz212 Nov 9, 2023
2947bf9
Auto close toolbar (about update) (#1677)
mkz212 Nov 9, 2023
1f4b742
tooltip position (#1676)
mkz212 Nov 9, 2023
9977e0b
donate modal text
bwp91 Nov 9, 2023
31b393c
deps
bwp91 Nov 9, 2023
71c7ade
populate standalone text
bwp91 Nov 9, 2023
1bc0bb3
rename label
bwp91 Nov 9, 2023
4003946
verified modal
bwp91 Nov 9, 2023
2660dbf
chld bridge text
bwp91 Nov 9, 2023
c2a358a
fix icons
bwp91 Nov 9, 2023
85029c8
push
bwp91 Nov 9, 2023
c101948
next
bwp91 Nov 9, 2023
db56899
next
bwp91 Nov 10, 2023
661f319
try child bridge detect again
bwp91 Nov 10, 2023
347e5e9
Update manage-plugins-modal.component.ts
bwp91 Nov 10, 2023
c653088
show correct buttons
bwp91 Nov 10, 2023
f09e963
i18n
bwp91 Nov 10, 2023
c17102b
ui name
bwp91 Nov 10, 2023
9207332
try restart child bridge
bwp91 Nov 10, 2023
5e78543
Update manage-plugins-modal.component.ts
bwp91 Nov 10, 2023
6af5503
Update layout.component.html
donavanbecker Nov 10, 2023
8b02979
cleanup
bwp91 Nov 10, 2023
27c3fd3
test restart screen after config update
bwp91 Nov 10, 2023
f5e82ae
revert test restart screen after config update
bwp91 Nov 10, 2023
beafc92
Update layout.component.html
mkz212 Nov 10, 2023
65cefca
Update layout.component.html
mkz212 Nov 10, 2023
9434d2c
Update layout.component.html
mkz212 Nov 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

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

## Beta-4.52.2 (2023-11-XX)

### 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

### Other Changes

- **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))
- Updated dependencies, including `@homebridge/node-pty-prebuilt-multiarch` to `0.11.10`

## 4.52.1 (2023-11-04)

### Other Changes
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
Loading