Skip to content

Commit

Permalink
Release 1.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Apr 18, 2024
1 parent 69a62e9 commit 646795d
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 87 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
### Added

- [frontend]: Added colors to the logs in the Home page and in the Log page.
- [frontend]: Frontend updated to 0.8.7.

### Fixed

Expand All @@ -20,7 +21,7 @@ All notable changes to this project will be documented in this file.
### Added

- [frontend]: Added logs in the Home page and in the Log page.
- [frontend]: Frontend got updated to 0.8.5.
- [frontend]: Frontend got updated to 0.8.6.
- [frontend]: Added log for update and plugin install.
- [extension]: Started implementation of zigbee2MQTT internal extension.

Expand Down
6 changes: 3 additions & 3 deletions frontend/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"files": {
"main.css": "/static/css/main.4c325919.css",
"main.js": "/static/js/main.f603c298.js",
"main.js": "/static/js/main.e1f73723.js",
"static/js/453.d855a71b.chunk.js": "/static/js/453.d855a71b.chunk.js",
"index.html": "/index.html",
"main.4c325919.css.map": "/static/css/main.4c325919.css.map",
"main.f603c298.js.map": "/static/js/main.f603c298.js.map",
"main.e1f73723.js.map": "/static/js/main.e1f73723.js.map",
"453.d855a71b.chunk.js.map": "/static/js/453.d855a71b.chunk.js.map"
},
"entrypoints": [
"static/css/main.4c325919.css",
"static/js/main.f603c298.js"
"static/js/main.e1f73723.js"
]
}
2 changes: 1 addition & 1 deletion frontend/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/matterbridge 32x32.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Matterbridge</title><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.f603c298.js"></script><link href="/static/css/main.4c325919.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/matterbridge 32x32.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Matterbridge</title><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.e1f73723.js"></script><link href="/static/css/main.4c325919.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

21 changes: 0 additions & 21 deletions frontend/certificates/laptop5_luca.crt

This file was deleted.

28 changes: 0 additions & 28 deletions frontend/certificates/laptop5_luca.key

This file was deleted.

21 changes: 0 additions & 21 deletions frontend/certificates/laptop5_luca.pem

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "0.8.6",
"version": "0.8.7",
"private": true,
"dependencies": {
"@emotion/react": "^11.11.4",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/useWebSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ function useWebSocket(url) {
case 'warn':
return 'black';
default:
return 'white'; // Default color if none of the cases match
return 'white'; // Default color if none of the cases match#27509b 09516d
}
};
const coloredSubType = `<span style="background-color: ${getsubTypeMessageBgColor(msg.subType)}; color: ${getsubTypeMessageColor(msg.subType)}; padding: 1px 5px; font-size: 12px; border-radius: 3px;">${msg.subType}</span>`;
const newMessage = `${coloredSubType} - ${timeString} <span style="color: #27509b;">[${msg.type}]</span>: ${msg.message}`;
const newMessage = `${coloredSubType} - ${timeString} <span style="color: #09516d;">[${msg.type}]</span>: ${msg.message}`;
const newMessages = [...prevMessages, newMessage];
// Check if the new array length exceeds the maximum allowed
if (newMessages.length > maxMessages) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "matterbridge",
"version": "1.2.8",
"version": "1.2.9",
"description": "Matterbridge plugin manager for Matter",
"author": "https://github.com/Luligu",
"license": "Apache-2.0",
Expand Down
8 changes: 4 additions & 4 deletions src/matterbridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2507,10 +2507,10 @@ export class Matterbridge extends EventEmitter {
// openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout mykey.key -out mycert.pem -config openssl.cnf
// For wss connect the browser to https://laptop5_luca:8284/ https://192.168.1.189/log and accept the certificate
const serverOptions: https.ServerOptions = {
// cert: await fs.readFile(path.join(this.rootDirectory, 'frontend/certificates/mycert.pem')), // Ensure the path is correct
// key: await fs.readFile(path.join(this.rootDirectory, 'frontend/certificates/mykey.key')), // Ensure the path is correct
cert: await fs.readFile(path.join(this.rootDirectory, 'frontend/certificates/laptop5_luca.pem')), // Ensure the path is correct
key: await fs.readFile(path.join(this.rootDirectory, 'frontend/certificates/laptop5_luca.key')), // Ensure the path is correct
cert: await fs.readFile(path.join(this.rootDirectory, 'frontend/certificates/mycert.pem')), // Ensure the path is correct
key: await fs.readFile(path.join(this.rootDirectory, 'frontend/certificates/mykey.key')), // Ensure the path is correct
// cert: await fs.readFile(path.join(this.rootDirectory, 'frontend/certificates/laptop5_luca.pem')), // Ensure the path is correct
// key: await fs.readFile(path.join(this.rootDirectory, 'frontend/certificates/laptop5_luca.key')), // Ensure the path is correct
};
// Create an HTTPS server
const httpsServer = https.createServer(serverOptions);
Expand Down

0 comments on commit 646795d

Please sign in to comment.