Skip to content

Commit

Permalink
4.0.0 (#257)
Browse files Browse the repository at this point in the history
* The code base has been refactored
* Client side changes include:
  * Swapped from `ui-router` to `@angular/router` for page routing
  * Now using `socket.io` for WebSockets
  * Split code into modules
  * Lazy load modules on demand
* Server side changes include:
  * Swapped from Express to the [Nest.js](https://nestjs.com/) framework with Fastify
  * Swapped from `ws` to `socket.io` for WebSockets - while I do prefer to use the `ws` library, the syntastic sugar provided by Socket.io simplified the code base
  * Split code into modules
  * Packaged code is now combined with Webpack, this should reduce startup times on slow I/O systems like the Raspberry Pi
  • Loading branch information
oznu committed Apr 16, 2019
1 parent 6cc3ef5 commit d2c5781
Show file tree
Hide file tree
Showing 304 changed files with 11,017 additions and 7,886 deletions.
6 changes: 6 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ tsconfig.json
tslint.json
yarn.lock
webpack.config.js
tsconfig.build.json
nodemon-debug.json
nodemon.json
nest-cli.json
.prettierrc
.vscode/settings.json

# Logs
logs
Expand Down
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singleQuote": true,
"trailingComma": "all"
}
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"editor.tabSize": 2,
"editor.insertSpaces": true,
"files.eol": "\n",
"tslint.enable": true,
"tslint.autoFixOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.tslint": true
},
"editor.formatOnSave": true
}
35 changes: 34 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,44 @@

All notable changes to this project will be documented in this file. This project uses [Semantic Versioning](https://semver.org/).

## 4.0.0 (2019-04-16)

### Breaking Changes

* **Auth:** The Basic Authentication option has been removed. Users who have Basic Authentication enabled will be swapped to Form Authentication
* **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`
* *If you are using the reverse proxy templates from the [wiki](https://github.com/oznu/homebridge-config-ui-x/wiki/) no changes are required*
* **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

### Notable Changes

* **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/pull/233))
* **Plugins:** A corrupt plugin will no longer prevent all the installed plugins from being displayed ([#252](https://github.com/oznu/homebridge-config-ui-x/pull/252))
* **i18n:** Turkish language translation added by [@btutal](https://github.com/btutal)
* **Theme:** The default theme for new installs is now `teal` instead of `red`
* **Auth:** Ability to customise the session timeout
* **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
* Previously this has only been supported, and the default setup, when running in Docker ([oznu/homebridge](https://github.com/oznu/docker-homebridge))

### Other Changes

* The code base has been refactored
* Client side changes include:
* Swapped from `ui-router` to `@angular/router` for page routing
* Now using `socket.io` for WebSockets
* Split code into modules
* Lazy load modules on demand
* Server side changes include:
* Swapped from Express to the [Nest.js](https://nestjs.com/) framework with Fastify
* Swapped from `ws` to `socket.io` for WebSockets - while I do prefer to use the `ws` library, the syntastic sugar provided by Socket.io simplified the code base
* Split code into modules
* Packaged code is now combined with Webpack, this should reduce startup times on slow I/O systems like the Raspberry Pi

## 3.11.0 (2019-04-03)

### Notable Changes

* **Auth:** The Basic Authentication option has been depreciated. Users should switch to Form Authentication instead (the default).
* **Auth:** The Basic Authentication option has been depreciated. Users should switch to Form Authentication instead (the default)

### Other Changes

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![npm](https://img.shields.io/npm/dt/homebridge-config-ui-x.svg)](https://www.npmjs.com/package/homebridge-config-ui-x)
[![Donate](https://img.shields.io/badge/donate-paypal-yellowgreen.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZEW8TFQCU2MSJ&source=url)

Supported Languages: :gb: :de: :fr: :poland: :czech_republic: :ru: :cn: :hungary: :jp: :es: :netherlands:
Supported Languages: :gb: :de: :fr: :poland: :czech_republic: :ru: :cn: :hungary: :jp: :es: :netherlands: :tr:

# Homebridge Config UI X

Expand Down
14 changes: 13 additions & 1 deletion config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"theme": {
"title": "UI Theme",
"type": "string",
"default": "red",
"default": "teal",
"oneOf": [
{
"title": "Red",
Expand Down Expand Up @@ -182,6 +182,18 @@
"title": "Do not run the Config UI web server in a seperate process/thread",
"type": "boolean"
},
"debug": {
"title": "Enable / disable debug logging",
"type": "boolean"
},
"standalone": {
"title": "Tell Homebridge the plugin is operating in standalone mode",
"type": "boolean"
},
"sessionTimeout": {
"title": "Session timeout in seconds",
"type": "integer"
},
"log": {
"type": "object",
"properties": {
Expand Down
5 changes: 5 additions & 0 deletions nest-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"language": "ts",
"collection": "@nestjs/schematics",
"sourceRoot": "src"
}
10 changes: 10 additions & 0 deletions nodemon-debug.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"watch": [
"src"
],
"ext": "ts",
"ignore": [
"src/**/*.spec.ts"
],
"exec": "node --inspect-brk -r ts-node/register -r tsconfig-paths/register src/main.ts"
}
10 changes: 10 additions & 0 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"watch": [
"src"
],
"ext": "ts",
"ignore": [
"src/**/*.spec.ts"
],
"exec": "UIX_INSECURE_MODE=1 ts-node -r tsconfig-paths/register src/main.ts"
}
Loading

0 comments on commit d2c5781

Please sign in to comment.