homebridge-config-ui-x 4.52.0-test.0 → 4.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +82 -52
  2. package/config.schema.json +24 -0
  3. package/dist/bin/hb-service.js +2 -2
  4. package/dist/bin/platforms/darwin.js +2 -2
  5. package/dist/bin/platforms/darwin.js.map +1 -1
  6. package/dist/bin/platforms/linux.js +6 -9
  7. package/dist/bin/platforms/linux.js.map +1 -1
  8. package/dist/index.js +2 -2
  9. package/dist/main.js +200 -51
  10. package/dist/modules/accessories/accessories.service.js +1 -2
  11. package/dist/modules/accessories/accessories.service.js.map +1 -1
  12. package/dist/modules/backup/backup.service.js +6 -8
  13. package/dist/modules/backup/backup.service.js.map +1 -1
  14. package/dist/modules/config-editor/config-editor.service.js +2 -3
  15. package/dist/modules/config-editor/config-editor.service.js.map +1 -1
  16. package/dist/modules/custom-plugins/custom-plugins.module.js +2 -0
  17. package/dist/modules/custom-plugins/custom-plugins.module.js.map +1 -1
  18. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.controller.d.ts +7 -0
  19. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.controller.js +43 -0
  20. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.controller.js.map +1 -0
  21. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.module.d.ts +2 -0
  22. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.module.js +35 -0
  23. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.module.js.map +1 -0
  24. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.service.d.ts +7 -0
  25. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.service.js +34 -0
  26. package/dist/modules/custom-plugins/homebridge-deconz/homebridge-deconz.service.js.map +1 -0
  27. package/dist/modules/plugins/plugins.service.js +51 -32
  28. package/dist/modules/plugins/plugins.service.js.map +1 -1
  29. package/dist/modules/server/server.service.js +3 -4
  30. package/dist/modules/server/server.service.js.map +1 -1
  31. package/dist/modules/status/status.service.js +2 -2
  32. package/dist/modules/status/status.service.js.map +1 -1
  33. package/package.json +10 -10
  34. package/public/433.1eb0f92b9b15582f.js +1 -0
  35. package/public/{796.03dbd69beff6fc3a.js → 796.4e1fd5e9dad78515.js} +1 -1
  36. package/public/index.html +1 -1
  37. package/public/main.d79be4dba515e2af.js +1 -0
  38. package/public/{runtime.87089a0c07c12694.js → runtime.a2edc3e69b5dae3f.js} +1 -1
  39. package/public/433.86e0c0420ec5bde3.js +0 -1
  40. package/public/main.483c7b3231c08909.js +0 -1
package/CHANGELOG.md CHANGED
@@ -2,19 +2,49 @@
2
2
 
3
3
  All notable changes to homebridge-config-ui-x will be documented in this file.
4
4
 
5
+ ## 4.52.0 (2023-11-04)
6
+
7
+ ### Notable Changes
8
+
9
+ - Show UI and plugin updates for newer beta versions when already running a beta version of the plugin
10
+ - Note: this only works when a plugin uses a `beta` NPM tag for beta releases
11
+ - Show 'Restart Homebridge Now' modal (with additional messaging for child bridges) after any plugin update, not just the UI
12
+ - Update HomeKit Setup Code Format: 1234-5678, making it more consistent with the Home App [#1612](https://github.com/homebridge/homebridge-config-ui-x/issues/1612)
13
+
14
+ ### i18n Changes
15
+
16
+ - The following new language strings have been added/updated to each language file - calling on all our translators to continue your hard work!
17
+ - ADDED:
18
+ - `plugins.manage.label_release_notes`
19
+ - `plugins.manage.label_release_notes_beta`
20
+ - `plugins.manage.message_thanks_for_updating_restart`
21
+ - `plugins.status_update_beta_available`
22
+ - UPDATED:
23
+ - `plugins.manage.message_thanks_for_updating`
24
+
25
+ ### Other Changes
26
+
27
+ - `hb-service` will now refuse to install `node` versions less than `16.18.0`
28
+ - Plugin node warning screen will appear when running a version of `node` lower than `18.15.0` (bumped up from `14.15.0`)
29
+ - UI node warning screen will appear when running a version of `node` lower than `18.15.0` (bumped up from `10.17.0`)
30
+ - Obtain correct beta branch name for Homebridge (and UI) (https://github.com/homebridge/homebridge-config-ui-x/commit/212b3eb1d5cb3ccda01fe2c3be711b80af4d5bf6)
31
+ - 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)
32
+ - Updated dependencies
33
+ - Update @homebridge/node-pty-prebuilt-multiarch to version v0.11.8 ( Updated build process and back-level support for Synology DSM devices )
34
+
5
35
  ## 4.51.2 (2023-10-27)
6
36
 
7
37
  ### Bug Fixes
8
38
 
9
- - Improved guard rails around the NodeJS 20 update for environments that can not support NodeJS 20 (#1604)
10
- - Include commentary in the release notes about the possiblity of needing to run `sudo hb-service rebuild` after updating, and how to determine if your system is compatible with NodeJS 20.
39
+ - Improved guard rails around the Node.js 20 update for environments that can not support Node.js 20 (#1604)
40
+ - Include commentary in the release notes about the possibility of needing to run `sudo hb-service rebuild` after updating, and how to determine if your system is compatible with Node.js 20.
11
41
 
12
42
  ## 4.51.1 (2023-10-25)
13
43
 
14
44
  ### Bug Fixes
15
45
 
16
46
  - Blocks update-node from updating to version 20 on versions of Linux that don't support it and prevents this issue `node: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version 'GLIBCXX_3.4.26' not found (required by node)` ([#3453](https://github.com/homebridge/homebridge/issues/3453))
17
- - Fix for unable to update NodeSource based nodejs version ([#1603](https://github.com/homebridge/homebridge-config-ui-x/pull/1603))
47
+ - Fix for unable to update NodeSource based Node.js version ([#1603](https://github.com/homebridge/homebridge-config-ui-x/pull/1603))
18
48
  - Colon Markdown emojis are not parsed as they are on GitHub ([#1601](https://github.com/homebridge/homebridge-config-ui-x/pull/1601))
19
49
  - Prevent tooltip from displaying after Node.js modal ([#1600](https://github.com/homebridge/homebridge-config-ui-x/pull/1600))
20
50
 
@@ -104,9 +134,9 @@ All notable changes to homebridge-config-ui-x will be documented in this file.
104
134
 
105
135
  ### Bug Fixes
106
136
 
107
- - **Dashboard**: Fix an issue displaying the log viewer and termial widgets on Chrome > 104 ([#1400](https://github.com/oznu/homebridge-config-ui-x/issues/1400))
137
+ - **Dashboard**: Fix an issue displaying the log viewer and terminal widgets on Chrome > 104 ([#1400](https://github.com/oznu/homebridge-config-ui-x/issues/1400))
108
138
  - **Backups:** Fixed an issue restoring backups when the Homebridge storage directory is a symbolic link
109
- - **Backups:** All symbolic links are dereferenced when performing a backup (the raw symlink is backed up, not what it pointed to)
139
+ - **Backups:** All symbolic links are de-referenced when performing a backup (the raw symlink is backed up, not what it pointed to)
110
140
 
111
141
  ### Other Changes
112
142
 
@@ -144,7 +174,7 @@ All notable changes to homebridge-config-ui-x will be documented in this file.
144
174
  - Debian-based Linux (via apt package): requires apt package update (=>1.0.27)
145
175
  - Docker: requires image update (=>2022-07-08)
146
176
  - Synology DSM 7: requires package update via DSM Package Center (=>3.0.7)
147
- - If the new install / update process fails, it will automatically fallback to using the standard `npm` update method
177
+ - If the new install / update process fails, it will automatically fall back to using the standard `npm` update method
148
178
 
149
179
  ### Other Changes
150
180
 
@@ -154,8 +184,8 @@ All notable changes to homebridge-config-ui-x will be documented in this file.
154
184
 
155
185
  ### Bug Fixes
156
186
 
157
- - **Backups:** Fixed an issue that could prevent backups being created on Synology DSM due to not being able read the `#recycle` directory
158
- - **System:** Set a 60 second timeout on the pre-start job to clean up stale temporary npm directories on Linux running via `hb-service`; this should fix the errors some users were seeing when the task took more than the 90 seconds systemd allows by default ([#1371](https://github.com/oznu/homebridge-config-ui-x/issues/1371))
187
+ - **Backups:** Fixed an issue that could prevent backups being created on Synology DSM due to not being able to read the `#recycle` directory
188
+ - **System:** Set a 60-second timeout on the pre-start job to clean up stale temporary npm directories on Linux running via `hb-service`; this should fix the errors some users were seeing when the task took more than the 90 seconds systemd allows by default ([#1371](https://github.com/oznu/homebridge-config-ui-x/issues/1371))
159
189
 
160
190
  ## 4.48.1 (2022-06-24)
161
191
 
@@ -163,7 +193,7 @@ All notable changes to homebridge-config-ui-x will be documented in this file.
163
193
 
164
194
  - **System** Faster, and hopefully more reliable, updater for the Homebridge UI on macOS, Linux, Docker and FreeBSD
165
195
  - This will only apply to updates after v4.48.0, not updating to v4.48.0
166
- - If the new update process fails, it will fallback to using the standard `npm` update method automatically
196
+ - If the new update process fails, it will fall back to using the standard `npm` update method automatically
167
197
  - Linux (via apt package): requires apt package update (=>1.0.25)
168
198
  - Linux / macOS / FreeBSD (setup via `hb-service install`): no changes required
169
199
  - Docker: may require image update (=>2022-06-24)
@@ -194,7 +224,7 @@ All notable changes to homebridge-config-ui-x will be documented in this file.
194
224
  ### Notable Changes
195
225
 
196
226
  - **System:** [@ohmantics](https://github.com/ohmantics) added FreeBSD support to [`hb-service`](https://github.com/oznu/homebridge-config-ui-x/wiki/Homebridge-Service-Command) ([#1349](https://github.com/oznu/homebridge-config-ui-x/pull/1349))
197
- - Users running FreeBSD can now setup Homebridge as a service using the `hb-service install` command
227
+ - Users running FreeBSD can now set up Homebridge as a service using the `hb-service install` command
198
228
  - Also supports running inside TrueNAS Jails (tested with a FreeBSD 13.1 Jail)
199
229
 
200
230
  ### Bug Fixes
@@ -214,8 +244,8 @@ The following features have been added, but will not be active until the **upcom
214
244
 
215
245
  - **Plugins:** If a child bridge is not paired with HomeKit, a pairing icon will show on the plugin tile
216
246
  - **Plugins:** Add ability to stop / start a plugin's child bridges
217
- - **Plugins:** When disabling a plugin, any of it's child bridges will be stopped
218
- - **Plugins:** When enabling a plugin, any of it's child bridges already registered in the current Homebridge process will be re-started
247
+ - **Plugins:** When disabling a plugin, any of its child bridges will be stopped
248
+ - **Plugins:** When enabling a plugin, any of its child bridges already registered in the current Homebridge process will be re-started
219
249
 
220
250
  ### Other changes
221
251
 
@@ -265,7 +295,7 @@ The following features have been added, but will not be active until the **upcom
265
295
  - **Dashboard:** Start showing Node.js update warning icon for users running < Node.js v14.15.0
266
296
  - **Dashboard:** Removed npm version from the System Information widget
267
297
  - **System:** Changes to support Homebridge `apt` package installation
268
- - **System:** Fresh installs on Linux will have the default mdns advertiser set to `avahi` if the `avahi-daemon` service is running
298
+ - **System:** Fresh installations on Linux will have the default mdns advertiser set to `avahi` if the `avahi-daemon` service is running
269
299
 
270
300
  ## 4.43.1 (2022-04-23)
271
301
 
@@ -354,7 +384,7 @@ The following features have been added, but will not be active until the **upcom
354
384
  ### Other Changes
355
385
 
356
386
  - **i18n:** Improvements to Catalan language translations ([#1138](https://github.com/oznu/homebridge-config-ui-x/pull/1138))
357
- - **i18n:** Improvements to Brazillian Portuguese language translations ([#1139](https://github.com/oznu/homebridge-config-ui-x/pull/1139))
387
+ - **i18n:** Improvements to Brazilian Portuguese language translations ([#1139](https://github.com/oznu/homebridge-config-ui-x/pull/1139))
358
388
  - **i18n:** Improvements to Thai language translations ([#1141](https://github.com/oznu/homebridge-config-ui-x/pull/1141))
359
389
  - **i18n:** Improvements to Simplified Chinese language translations ([#1153](https://github.com/oznu/homebridge-config-ui-x/pull/1153))
360
390
  - **Accessory Control:** Updated accessory categories ([#1154](https://github.com/oznu/homebridge-config-ui-x/issues/1154))
@@ -469,7 +499,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed ([cur
469
499
  - **i18n:** Macedonian (mk) language added by [@dimovskidamjan](https://github.com/dimovskidamjan) ([#1011](https://github.com/oznu/homebridge-config-ui-x/pull/1011))
470
500
  - The Homebridge UI is now available in 24 different languages!
471
501
  - **Plugins:** The following features have been added to assist plugin developers building [custom plugin user interfaces](https://github.com/homebridge/plugin-ui-utils):
472
- - Added an option to retrive a list of cached accessories for the plugin using the `homebridge.getCachedAccessories` method
502
+ - Added an option to retrieve a list of cached accessories for the plugin using the `homebridge.getCachedAccessories` method
473
503
 
474
504
  ### Other Changes
475
505
 
@@ -504,7 +534,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
504
534
 
505
535
  ### Bug Fixes
506
536
 
507
- - **Auth:** Fix an issue that prevented the "Login" button from being enabled when auto filling credentials on iOS ([#993](https://github.com/oznu/homebridge-config-ui-x/pull/993))
537
+ - **Auth:** Fix an issue that prevented the "Login" button from being enabled when autofilling credentials on iOS ([#993](https://github.com/oznu/homebridge-config-ui-x/pull/993))
508
538
 
509
539
  ## 4.35.0 (2020-11-30)
510
540
 
@@ -558,7 +588,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
558
588
  - **i18n:** Improvements to Simplified Chinese language translations ([#942](https://github.com/oznu/homebridge-config-ui-x/pull/942))
559
589
  - **i18n:** Improvements to German language translations ([#946](https://github.com/oznu/homebridge-config-ui-x/pull/946))
560
590
  - **i18n:** Improvements to Spanish language translations ([#950](https://github.com/oznu/homebridge-config-ui-x/pull/950))
561
- - **API**: Added REST API endpoints to lookup and update the config for a single plugin, see the [Swagger API documentation](https://github.com/oznu/homebridge-config-ui-x/wiki/API-Reference) for details
591
+ - **API**: Added REST API endpoints to look up and update the config for a single plugin, see the [Swagger API documentation](https://github.com/oznu/homebridge-config-ui-x/wiki/API-Reference) for details
562
592
  - **System**: Display a warning in the UI when the client (browser) is running a newer version than the server - this can happen if the service is not restarted after updating the Homebridge UI
563
593
 
564
594
  ## 4.32.0 (2020-11-06)
@@ -592,7 +622,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
592
622
 
593
623
  - **Backup/Restore:** Full instance backups are now automatically made daily (01:15) ([#660](https://github.com/oznu/homebridge-config-ui-x/issues/660))
594
624
  - Backup archives will be kept for 7 days before being removed
595
- - Backup archives will stored in your Homebridge config folder (`./backups/instance-backups`)
625
+ - Backup archives will be stored in your Homebridge config folder (`./backups/instance-backups`)
596
626
  - Users can customise the directory that backups are saved to by setting the [`scheduledBackupPath`](https://github.com/oznu/homebridge-config-ui-x/wiki/Config-Options#scheduledbackuppath) option - this allows you to have the automated backups archives saved to a network share or backup drive
597
627
  - Users can download these scheduled backups by opening the existing [Backup / Restore](https://github.com/homebridge/homebridge/wiki/Backup-and-Restore) tool
598
628
  - Added [REST API endpoints](https://github.com/oznu/homebridge-config-ui-x/wiki/API-Reference) for getting the list of automated backups, and downloading an existing backup archive
@@ -620,7 +650,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
620
650
 
621
651
  - **System:** Initial support for Node.js v15 and npm v7, however please stay on the current LTS version of Node.js (currently v12.19.0) ([#904](https://github.com/oznu/homebridge-config-ui-x/issues/904))
622
652
  - **Config Editor:** Fixed a bug that prevented the purging of config.json backups ([#898](https://github.com/oznu/homebridge-config-ui-x/issues/898))
623
- - **Ring Plugin:** Fixed an issue that prevented two factor authentication codes with leading zeros from being accepted when linking a Ring Account ([#dgreif/ring#471](https://github.com/dgreif/ring/issues/471))
653
+ - **Ring Plugin:** Fixed an issue that prevented two-factor authentication codes with leading zeros from being accepted when linking a Ring Account ([#dgreif/ring#471](https://github.com/dgreif/ring/issues/471))
624
654
 
625
655
  ### Other Changes
626
656
 
@@ -637,15 +667,15 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
637
667
 
638
668
  ### Notable Changes
639
669
 
640
- - **Plugins:** Added the ability to rollback to a previous version of a plugin, or install the beta/test version of a plugin
641
- - **Homebridge:** Added the ability to rollback to a previous version of Homebridge, or install the latest beta version of Homebridge ([#877](https://github.com/oznu/homebridge-config-ui-x/issues/877))
670
+ - **Plugins:** Added the ability to roll back to a previous version of a plugin, or install the beta/test version of a plugin
671
+ - **Homebridge:** Added the ability to roll back to a previous version of Homebridge, or install the latest beta version of Homebridge ([#877](https://github.com/oznu/homebridge-config-ui-x/issues/877))
642
672
  - Click the Homebridge version on the status dashboard to access this feature
643
673
  - **Config Editor:** Automatic backups of the `config.json` file are now saved to `./backups/config-backups/` to reduce clutter in the Homebridge storage folder ([#732](https://github.com/oznu/homebridge-config-ui-x/pull/732))
644
674
  - Existing config backup files will be moved on next restart
645
675
  - **Restart:** Made it more obvious which button to click when you need to restart Homebridge
646
676
  - **Restart:** The restart page now shows separate statues for the UI and Homebridge
647
677
  - **Restart:** Users running with [`hb-service`](https://github.com/oznu/homebridge-config-ui-x/wiki/Homebridge-Service-Command) will now be prompted to view the Homebridge logs if the Homebridge service is taking a long time to come back online after a restart
648
- - **i18n:** Brazillian Portuguese (pt-BR) language added by [@zearthur99](https://github.com/zearthur99) ([#880](https://github.com/oznu/homebridge-config-ui-x/pull/880))
678
+ - **i18n:** Brazilian Portuguese (pt-BR) language added by [@zearthur99](https://github.com/zearthur99) ([#880](https://github.com/oznu/homebridge-config-ui-x/pull/880))
649
679
  - The Homebridge UI is now available in 21 different languages!
650
680
 
651
681
  ### Other Changes
@@ -680,7 +710,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
680
710
 
681
711
  ### Other Changes
682
712
 
683
- - **API**: Added REST API endpoints to lookup the plugin type and plugin alias that are needed to configure the plugin, see the [Swagger API documentation](https://github.com/oznu/homebridge-config-ui-x/wiki/API-Reference) for details
713
+ - **API**: Added REST API endpoints to look up the plugin type and plugin alias that are needed to configure the plugin, see the [Swagger API documentation](https://github.com/oznu/homebridge-config-ui-x/wiki/API-Reference) for details
684
714
 
685
715
  ## 4.27.2 (2020-09-25)
686
716
 
@@ -693,7 +723,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
693
723
  - **i18n:** Improvements to Spanish language translations ([#837](https://github.com/oznu/homebridge-config-ui-x/pull/837))
694
724
  - **i18n:** Improvements to German language translations ([#834](https://github.com/oznu/homebridge-config-ui-x/pull/834))
695
725
  - **i18n:** Improvements to Swedish language translations ([#850](https://github.com/oznu/homebridge-config-ui-x/pull/850))
696
- - **API**: Added REST API endpoints to lookup a single plugin from NPM, see the [Swagger API documentation](https://github.com/oznu/homebridge-config-ui-x/wiki/API-Reference) for details
726
+ - **API**: Added REST API endpoints to look up a single plugin from NPM, see the [Swagger API documentation](https://github.com/oznu/homebridge-config-ui-x/wiki/API-Reference) for details
697
727
 
698
728
  ### Bug Fixes
699
729
 
@@ -792,8 +822,8 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
792
822
 
793
823
  ### Notable Changes
794
824
 
795
- - **Auth:** Two Factor Authentication codes are now only valid for a single login only
796
- - **Auth:** Two Factor Authentication codes are now valid for a window of +1
825
+ - **Auth:** Two-Factor Authentication codes are now only valid for a single login only
826
+ - **Auth:** Two-Factor Authentication codes are now valid for a window of +1
797
827
 
798
828
  ### Other Changes
799
829
 
@@ -838,7 +868,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
838
868
  ### Notable Changes
839
869
 
840
870
  - **API:** Added Swagger API Documentation; you can access this via `/swagger` (this is the same API already in use by the web client)
841
- - **Auth:** Added the ability to secure your Homebridge UI user account with **Two Factor Authentication**, drop-down menu -> _User Accounts_ -> _Setup 2FA_
871
+ - **Auth:** Added the ability to secure your Homebridge UI user account with **Two-Factor Authentication**, drop-down menu -> _User Accounts_ -> _Setup 2FA_
842
872
  - **Login:** Custom wallpaper can now be added by added a `ui-wallpaper.jpg` file in your Homebridge storage directory (and leaving the `loginWallpaper` config option blank) ([#697](https://github.com/oznu/homebridge-config-ui-x/issues/690))
843
873
  - **Login:** Custom wallpaper changes will now break the browser cache ([#700](https://github.com/oznu/homebridge-config-ui-x/issues/700))
844
874
  - **i18n:** Portuguese language translation added by [@SamuelMagano](https://github.com/SamuelMagano) ([#698](https://github.com/oznu/homebridge-config-ui-x/pull/698), [#708](https://github.com/oznu/homebridge-config-ui-x/pull/708))
@@ -859,7 +889,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
859
889
 
860
890
  ### Notable Changes
861
891
 
862
- - **Server:** Added the ability to unpair selected bridges / cameras / TVs without needed to reset the main Homebridge instance, this feature is available from the drop down menu -> _Homebridge Settings_
892
+ - **Server:** Added the ability to unpair selected bridges / cameras / TVs without needed to reset the main Homebridge instance, this feature is available from the drop-down menu -> _Homebridge Settings_
863
893
  - **hb-service:** Users can now remove individual accessories from the accessory cache, drop-down menu -> _Homebridge Settings_ -> _Remove Single Cached Accessory_ ([#202](https://github.com/oznu/homebridge-config-ui-x/issues/202))
864
894
  - **i18n:** Slovenian language translation added by [@mitchoklemen](https://github.com/mitchoklemen) ([#694](https://github.com/oznu/homebridge-config-ui-x/pull/694))
865
895
 
@@ -903,7 +933,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
903
933
 
904
934
  ### Bug Fixes
905
935
 
906
- - **Plugins:** Fixed a bug that prevented the plugins from loading when there was an bad file in the global node_modules directory ([#657](https://github.com/oznu/homebridge-config-ui-x/issues/657))
936
+ - **Plugins:** Fixed a bug that prevented the plugins from loading when there was a bad file in the global node_modules directory ([#657](https://github.com/oznu/homebridge-config-ui-x/issues/657))
907
937
 
908
938
  ## 4.17.1 (2020-04-29)
909
939
 
@@ -977,7 +1007,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
977
1007
 
978
1008
  ### Other Changes
979
1009
 
980
- - **Plugins:** The service will not longer attempt to check if updates are available for plugins that have `"private": true` set in their `package.json` file
1010
+ - **Plugins:** The service will no longer attempt to check if updates are available for plugins that have `"private": true` set in their `package.json` file
981
1011
  - Updated npm dependencies
982
1012
 
983
1013
  ### Bug Fixes
@@ -992,7 +1022,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
992
1022
 
993
1023
  ### Bug Fixes
994
1024
 
995
- - **System:** When updating Homebridge, the release notes will now be shown prior to the update occuring
1025
+ - **System:** When updating Homebridge, the release notes will now be shown prior to the update occurring
996
1026
  - **hb-service:** improved discovery of Homebridge install path
997
1027
 
998
1028
  ## 4.13.0 (2020-03-18)
@@ -1005,7 +1035,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
1005
1035
 
1006
1036
  - **i18n:** The display of dates (in the Clock widget for example) are now localised ([#528](https://github.com/oznu/homebridge-config-ui-x/issues/528))
1007
1037
  - **Accessory Control:** If controlling an accessory fails, the error message is now shown in the UI as a toast notification
1008
- - **hb-service:** Linux only: Updated the generated systemd unit file, `homebridge.service`, to allow the UI to listen on ports below 1024 (requires service re-install for existing [`hb-service`](https://github.com/oznu/homebridge-config-ui-x/wiki/Homebridge-Service-Command) users) ([#584](https://github.com/oznu/homebridge-config-ui-x/pull/584))
1038
+ - **hb-service:** Linux only: Updated the generated systemd unit file, `homebridge.service`, to allow the UI to listen on ports below 1024 (requires service re-installation for existing [`hb-service`](https://github.com/oznu/homebridge-config-ui-x/wiki/Homebridge-Service-Command) users) ([#584](https://github.com/oznu/homebridge-config-ui-x/pull/584))
1009
1039
  - **i18n:** Improvements to Traditional Chinese language translations ([#585](https://github.com/oznu/homebridge-config-ui-x/pull/585))
1010
1040
  - **i18n:** Improvements to Dutch language translations ([#588](https://github.com/oznu/homebridge-config-ui-x/pull/588))
1011
1041
  - Updated the loading spinner to match the set theme
@@ -1042,7 +1072,7 @@ These features will appear in once Homebridge v1.3.0 or later is installed (curr
1042
1072
 
1043
1073
  ### Backup / Restore Feature
1044
1074
 
1045
- This release comes with a new feature that allows users to backup and restore their entire Homebridge instance.
1075
+ This release comes with a new feature that allows users to back up and restore their entire Homebridge instance.
1046
1076
 
1047
1077
  The backup and restore process works in such a way that users should be able to use the feature roll back to a previous state, or transfer their current Homebridge setup to a new server without the need to re-pair with HomeKit.
1048
1078
 
@@ -1113,7 +1143,7 @@ Highlights:
1113
1143
 
1114
1144
  - **Plugins:** Added a confirmation box when uninstalling plugins
1115
1145
  - **Plugins:** Added an option to have a plugin's config removed from the `config.json` when the plugin is being uninstalled (only plugins that implement the [Plugins Settings GUI](https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Plugin-Settings-GUI) support this feature)
1116
- - **System:** The UI will now attempt to rebuild it's own modules after a Node.js upgrade
1146
+ - **System:** The UI will now attempt to rebuild its own modules after a Node.js upgrade
1117
1147
  - **System:** Added the ability for [`hb-service`](https://github.com/oznu/homebridge-config-ui-x/wiki/Homebridge-Service-Command) users to clear the Homebridge cached accessories from the UI (without doing a full Homebridge reset)
1118
1148
  - **Dashboard:** Weather widget now supports local translations of the current weather description ([#515](https://github.com/oznu/homebridge-config-ui-x/issues/515))
1119
1149
 
@@ -1165,7 +1195,7 @@ https://user-images.githubusercontent.com/3979615/72317538-b92b6780-36ed-11ea-80
1165
1195
  - **i18n:** Improvements to Swedish language translations ([#476](https://github.com/oznu/homebridge-config-ui-x/pull/476))
1166
1196
  - **i18n:** Improvements to German language translations ([#482](https://github.com/oznu/homebridge-config-ui-x/pull/482))
1167
1197
  - **Dashboard:** Node.js / npm version warning icons will now only show up if you are using an unsupported version of Node.js, the latest available version can still be viewed by hovering over the current version
1168
- - **Plugins**: Added seemless account linking support for the [Homebridge Honeywell Home](https://github.com/donavanbecker/homebridge-honeywell-home#readme) plugin
1198
+ - **Plugins**: Added seamless account linking support for the [Homebridge Honeywell Home](https://github.com/donavanbecker/homebridge-honeywell-home#readme) plugin
1169
1199
  - **Plugins**: Added the ability for [Homebridge Ring](https://github.com/dgreif/ring/tree/master/homebridge) users to get their Ring account `refreshToken` directly from the UI ([#486](https://github.com/oznu/homebridge-config-ui-x/pull/486))
1170
1200
 
1171
1201
  ### Bug Fixes
@@ -1175,13 +1205,13 @@ https://user-images.githubusercontent.com/3979615/72317538-b92b6780-36ed-11ea-80
1175
1205
  - **System:** Fixed a bug that caused the UI to crash when running in debug mode in production ([#469](https://github.com/oznu/homebridge-config-ui-x/issues/469))
1176
1206
  - **Dashboard:** Fixed a bug where the "Plugin Status" icon was not changing when there were updates available ([#443](https://github.com/oznu/homebridge-config-ui-x/issues/443))
1177
1207
  - **Auth:** Fixed a warning about a depreciated option that was in use ([#473](https://github.com/oznu/homebridge-config-ui-x/issues/473))
1178
- - **Config Editor:** Fixed a issue that prevented the on-screen keyboard from being able to be displayed after it was dismissed on an iPad Pro ([#480](https://github.com/oznu/homebridge-config-ui-x/issues/480))
1208
+ - **Config Editor:** Fixed an issue that prevented the on-screen keyboard from being able to be displayed after it was dismissed on an iPad Pro ([#480](https://github.com/oznu/homebridge-config-ui-x/issues/480))
1179
1209
 
1180
1210
  ## 4.7.0 (2020-01-11)
1181
1211
 
1182
1212
  ### New Dashboard
1183
1213
 
1184
- This release comes with a brand new status dashboard that features a fully customisable, widget-based design. Users can decide which widgets they wish to enable and position and resize them as they like.
1214
+ This release comes with a brand-new status dashboard that features a fully customisable, widget-based design. Users can decide which widgets they wish to enable and position and resize them as they like.
1185
1215
 
1186
1216
  https://user-images.githubusercontent.com/3979615/71886653-b16d3f80-3190-11ea-9ff8-49dc4ae4fff0.png
1187
1217
 
@@ -1200,9 +1230,9 @@ New widgets include:
1200
1230
 
1201
1231
  ### Simple Service Installer
1202
1232
 
1203
- This release expands the `hb-service` command to support macOS and Linux in addition to Windows 10. This command allows you to setup a Homebridge instance as a service in seconds.
1233
+ This release expands the `hb-service` command to support macOS and Linux in addition to Windows 10. This command allows you to set up a Homebridge instance as a service in seconds.
1204
1234
 
1205
- Running `hb-service install` will setup Homebridge and Homebridge Config UI X to run as a service with auto-start on boot. The same command works across Linux, macOS and Windows 10.
1235
+ Running `hb-service install` will set up Homebridge and Homebridge Config UI X to run as a service with auto-start on boot. The same command works across Linux, macOS and Windows 10.
1206
1236
 
1207
1237
  https://user-images.githubusercontent.com/3979615/71888439-4291e580-3194-11ea-8687-a3d58f94ba47.gif
1208
1238
 
@@ -1217,7 +1247,7 @@ Notable Features:
1217
1247
 
1218
1248
  The config editor (non-mobile) has had the Ace Editor replaced with the [Microsoft Monaco Editor](https://microsoft.github.io/monaco-editor/) (the code editor that powers VS Code).
1219
1249
 
1220
- This allow for much more powerful JSON syntax checking, more helpful error messages and the new ability to detect duplicate keys in object (like when a second platforms[] array is added by mistake!).
1250
+ This allows for much more powerful JSON syntax checking, more helpful error messages and the new ability to detect duplicate keys in object (like when a second platforms[] array is added by mistake!).
1221
1251
 
1222
1252
  https://user-images.githubusercontent.com/3979615/71890579-b635f180-3198-11ea-98ab-cc7b7263afd9.gif
1223
1253
 
@@ -1331,14 +1361,14 @@ In addition:
1331
1361
  - All instances you want to control must have the same PIN, be on the same network, and running in insecure mode
1332
1362
  - Your other instances are automatically discovered, however you can blacklist instances you don't want to control using the plugin settings
1333
1363
  - Due to the changes required to identify accessories across multiple instances your room/accessory layout will be reset after upgrading
1334
- - **System:** Added a new feature to help setup and run Homebridge and Homebridge Config UI X as a service on Windows 10
1364
+ - **System:** Added a new feature to help set up and run Homebridge and Homebridge Config UI X as a service on Windows 10
1335
1365
 
1336
1366
  ### Notable Changes
1337
1367
 
1338
1368
  - **Plugins:** The "last updated" date is now displayed when searching for plugins to install ([#336](https://github.com/oznu/homebridge-config-ui-x/pull/336))
1339
1369
  - **Logs:** Increased the default number of lines to show for the "Log from File" method from 200 to 500 ([#339](https://github.com/oznu/homebridge-config-ui-x/issues/339))
1340
1370
  - **Accessory Control:** Accessory tiles now animate when clicked/pressed, similar to how they behave in the native iOS Home app
1341
- - **Accessory Control:** Accessory characteristics (on, off, brightness etc) now update immediately when changed in HomeKit (previously there was up to a 3 second delay)
1371
+ - **Accessory Control:** Accessory characteristics (on, off, brightness etc.) now update immediately when changed in HomeKit (previously there was up to a 3-second delay)
1342
1372
  - **i18n:** Bulgarian language translation added by [@mafyata](https://github.com/mafyata)
1343
1373
  - **i18n:** Added translation support for accessory states and labels ([#342](https://github.com/oznu/homebridge-config-ui-x/pull/342))
1344
1374
  - If you're still seeing English labels, we need your help translating the new values for your language, [get started here](https://github.com/oznu/homebridge-config-ui-x/tree/master/ui/src/i18n)
@@ -1406,7 +1436,7 @@ In addition:
1406
1436
  ### Other Changes
1407
1437
 
1408
1438
  - Add an on-screen warning when attempting to install/update/uninstall a plugin, or view the logs on unsupported versions of Node.js ([#305](https://github.com/oznu/homebridge-config-ui-x/issues/305))
1409
- - Added some more detailed log message to help when users are not able to login, need to reset their password, are unable to view accessories
1439
+ - Added some more detailed log message to help when users are not able to log in, need to reset their password, are unable to view accessories
1410
1440
 
1411
1441
  ## 4.4.2 (2019-05-19)
1412
1442
 
@@ -1414,7 +1444,7 @@ In addition:
1414
1444
 
1415
1445
  - **Plugins:** Added extra logging to try and investigate the cause of [#299](https://github.com/oznu/homebridge-config-ui-x/issues/299)
1416
1446
  - Provide a more detailed error with steps to resolve if the `node-pty` module fails to load (after a Node.js update for example)
1417
- - Added a warning message in the logs letting the user know if their Node.js version is to low (anything less than 8.15.1)
1447
+ - Added a warning message in the logs letting the user know if their Node.js version is too low (anything less than 8.15.1)
1418
1448
  - Updated npm dependencies
1419
1449
 
1420
1450
  ## 4.4.1 (2019-05-16)
@@ -1454,7 +1484,7 @@ In addition:
1454
1484
 
1455
1485
  ### Notable Changes
1456
1486
 
1457
- - **Homebridge:** Added `homebridgePackagePath` to allow users to defined where the Homebridge module is installed if it's not installed globally ([#280](https://github.com/oznu/homebridge-config-ui-x/issues/280))
1487
+ - **Homebridge:** Added `homebridgePackagePath` to allow users to define where the Homebridge module is installed if it's not installed globally ([#280](https://github.com/oznu/homebridge-config-ui-x/issues/280))
1458
1488
 
1459
1489
  ### Other Changes
1460
1490
 
@@ -1532,7 +1562,7 @@ In addition:
1532
1562
  ### Breaking Changes
1533
1563
 
1534
1564
  - **Auth:** The Basic Authentication option has been removed. Users who have Basic Authentication enabled will be swapped to Form Authentication
1535
- - **Reverse Proxy:** Some users who have setup a reverse proxy and defined the websocket path will need to swap the WebSocket endpoint from `/wsocket` to `/socket.io`
1565
+ - **Reverse Proxy:** Some users who have set up a reverse proxy and defined the websocket path will need to swap the WebSocket endpoint from `/wsocket` to `/socket.io`
1536
1566
  - _If you are using the reverse proxy templates from the [wiki](https://github.com/oznu/homebridge-config-ui-x/wiki/) no changes are required_
1537
1567
  - **Node.js Version:** Dropping support for Node 7 and below, this plugin now requires Node.js v8.15.1 or higher on Linux and v10 or higher on Windows
1538
1568
 
@@ -1541,7 +1571,7 @@ In addition:
1541
1571
  - **Plugins:** Before updating a Homebridge plugin the release notes from GitHub will be shown where possible ([#233](https://github.com/oznu/homebridge-config-ui-x/issues/233))
1542
1572
  - **Plugins:** A corrupt plugin will no longer prevent all the installed plugins from being displayed ([#252](https://github.com/oznu/homebridge-config-ui-x/issues/252))
1543
1573
  - **i18n:** Turkish language translation added by [@btutal](https://github.com/btutal)
1544
- - **Theme:** The default theme for new installs is now `teal` instead of `red`
1574
+ - **Theme:** The default theme for new installations is now `teal` instead of `red`
1545
1575
  - **Auth:** Ability to customise the session timeout
1546
1576
  - **System:** Added the ability for the plugin to run as a separate service rather than a Homebridge plugin, this will allow users who have configured this feature to manage their server even if Homebridge is crashing due to a bad config / other issue
1547
1577
  - Previously this has only been supported, and the default setup, when running in Docker ([oznu/homebridge](https://github.com/oznu/docker-homebridge))
@@ -1712,7 +1742,7 @@ In addition:
1712
1742
 
1713
1743
  ### Notable Changes
1714
1744
 
1715
- - **Accessory Control:** Long-clicking a lightbulb with no additional characteristics (eg. brightness) no longer opens a modal ([#47#issuecomment-405089113](https://github.com/oznu/homebridge-config-ui-x/issues/47#issuecomment-405089113))
1745
+ - **Accessory Control:** Long-clicking a lightbulb with no additional characteristics (e.g. brightness) no longer opens a modal ([#47#issuecomment-405089113](https://github.com/oznu/homebridge-config-ui-x/issues/47#issuecomment-405089113))
1716
1746
  - **Accessory Control:** Right-clicking an accessory on a non-mobile device will bring up a modal showing all accessory characteristics and other information
1717
1747
  - **i18n:** Polish language translation added by [@mientki](https://github.com/mientki)
1718
1748
  - User contributions to the non-english translations are always welcome, [click here](https://github.com/oznu/homebridge-config-ui-x/blob/master/CONTRIBUTING.md#contributing-to-translations) for details on how you can help
@@ -1818,7 +1848,7 @@ In addition:
1818
1848
 
1819
1849
  - **Beta Feature**: Initial implementation of GUI/form based setup for supported plugins
1820
1850
  - Added support for optional native HTTPS / SSL ([#68](https://github.com/oznu/homebridge-config-ui-x/issues/68), [#35](https://github.com/oznu/homebridge-config-ui-x/issues/35))
1821
- - The Log Viewer config options have changed, existing options have been have depreciated, see [README](https://github.com/oznu/homebridge-config-ui-x#log-viewer-configuration) for details
1851
+ - The Log Viewer config options have changed, existing options have been depreciated, see [README](https://github.com/oznu/homebridge-config-ui-x#log-viewer-configuration) for details
1822
1852
  - Docker users may now configure this plugin using the `config.json` or the new plugin GUI/form config method
1823
1853
  - Added metadata tag allow using plugin as a full screen web app on iOS ([#88](https://github.com/oznu/homebridge-config-ui-x/issues/88))
1824
1854
  - Added ability to restore and cleanup `config.json` backups ([#77](https://github.com/oznu/homebridge-config-ui-x/issues/77))
@@ -1827,7 +1857,7 @@ In addition:
1827
1857
 
1828
1858
  - Added [Content-Security-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) headers
1829
1859
  - Links to external sites now have `rel="noopener noreferrer"`
1830
- - Links in plugin-author generated markdown (eg. change logs, plugin config) are now opened in a new tab
1860
+ - Links in plugin-author generated markdown (e.g. change logs, plugin config) are now opened in a new tab
1831
1861
  - When on the status page, the browser will refresh automatically if the client version does not match the server version
1832
1862
  - Updated npm dependencies
1833
1863
 
@@ -1871,7 +1901,7 @@ In addition:
1871
1901
 
1872
1902
  ### Notable Changes
1873
1903
 
1874
- - This plugin now runs in a seperate thread to the main homebridge process ([#75](https://github.com/oznu/homebridge-config-ui-x/issues/75))
1904
+ - This plugin now runs in a separate thread to the main homebridge process ([#75](https://github.com/oznu/homebridge-config-ui-x/issues/75))
1875
1905
  - This can be disabled by setting `noFork` to `true` in the plugin config
1876
1906
  - Added ability to set a custom image for the login screen using the `loginWallpaper` option ([#34](https://github.com/oznu/homebridge-config-ui-x/issues/34))
1877
1907
  - Updated npm dependencies
@@ -1913,7 +1943,7 @@ In addition:
1913
1943
 
1914
1944
  ### Notable Changes
1915
1945
 
1916
- - Added ability for Linux users to shutdown and restart the server Homebridge is running on ([#39](https://github.com/oznu/homebridge-config-ui-x/issues/39))
1946
+ - Added ability for Linux users to shut down and restart the server Homebridge is running on ([#39](https://github.com/oznu/homebridge-config-ui-x/issues/39))
1917
1947
  - Updated npm dependencies
1918
1948
 
1919
1949
  ## 3.2.1 (2018-03-13)
@@ -672,6 +672,30 @@
672
672
  "key": "loginWallpaper",
673
673
  "notitle": true,
674
674
  "placeholder": "eg. /home/pi/mywallpaper.jpg"
675
+ },
676
+ {
677
+ "ref": "ssl",
678
+ "type": "fieldset",
679
+ "expandable": true,
680
+ "title": "SSL Setup",
681
+ "items": [
682
+ {
683
+ "key": "ssl.key",
684
+ "placeholder": "eg. /Users/homebridge/.homebridge/certs/server.key"
685
+ },
686
+ {
687
+ "key": "ssl.cert",
688
+ "placeholder": "eg. /Users/homebridge/.homebridge/certs/server.crt"
689
+ },
690
+ {
691
+ "key": "ssl.pfx",
692
+ "placeholder": "eg. /Users/homebridge/.homebridge/certs/server.pfx"
693
+ },
694
+ {
695
+ "key": "ssl.passphrase",
696
+ "placeholder": "eg. mypassphrase"
697
+ }
698
+ ]
675
699
  }
676
700
  ]
677
701
  }
@@ -800,8 +800,8 @@ class HomebridgeServiceHelper {
800
800
  if (requestedVersion) {
801
801
  const wantedVersion = versionList.find(x => x.version.startsWith('v' + requestedVersion));
802
802
  if (wantedVersion) {
803
- if (!semver.gte(wantedVersion.version, '14.15.0')) {
804
- this.logger('Refusing to install Node.js version lower than v14.15.0.', 'fail');
803
+ if (!semver.gte(wantedVersion.version, '16.18.2')) {
804
+ this.logger('Refusing to install Node.js version lower than v16.18.2.', 'fail');
805
805
  return { update: false };
806
806
  }
807
807
  this.logger(`Installing Node.js ${wantedVersion.version} over ${process.version}...`, 'info');
@@ -190,8 +190,8 @@ class DarwinInstaller extends base_platform_1.BasePlatform {
190
190
  this.hbService.logger(`Architecture not supported: ${process.arch}.`, 'fail');
191
191
  process.exit(1);
192
192
  }
193
- if (process.arch === 'arm64' && semver.lt(job.target, '16.0.0')) {
194
- this.hbService.logger('macOS M1 / arm64 support is only available from Node.js 16 onwards', 'fail');
193
+ if (process.arch === 'arm64' && semver.lt(job.target, '18.0.0')) {
194
+ this.hbService.logger('macOS M1 / arm64 support is only available from Node.js v18 or later', 'fail');
195
195
  process.exit(1);
196
196
  }
197
197
  if (semver.lt(os.release(), '19.0.0') && semver.gte(job.target, '18.0.0')) {
@@ -1 +1 @@
1
- {"version":3,"file":"darwin.js","sourceRoot":"","sources":["../../../src/bin/platforms/darwin.ts"],"names":[],"mappings":";;;AAAA,yBAAyB;AACzB,6BAA6B;AAC7B,+CAA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