matterbridge 3.1.8-dev-20250726-aa58df5 → 3.1.8-dev-20250727-c823a89

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.
package/CHANGELOG.md CHANGED
@@ -21,6 +21,7 @@ If you like this project and find it useful, please consider giving it a star on
21
21
  - [frontend]: Added Changelog button that appears in the frontend when a new version is installed and the frontend needs to be updated (page refresh).
22
22
  - [frontend]: Added restart plugin in childbridge mode.
23
23
  - [frontend]: Added update to stable and update to dev banner. The update to dev pops up only if you are on the dev.
24
+ - [frontend]: Added new menu item for manual update check.
24
25
 
25
26
  ### Changed
26
27
 
package/dist/frontend.js CHANGED
@@ -969,9 +969,9 @@ export class Frontend extends EventEmitter {
969
969
  });
970
970
  }
971
971
  else {
972
- this.wssSendSnackbarMessage(`Restart required`, 0);
972
+ this.matterbridge.matterbridgeInformation.fixedRestartRequired = true;
973
973
  this.wssSendRefreshRequired('plugins');
974
- this.wssSendRestartRequired();
974
+ this.wssSendRestartRequired(true, true);
975
975
  }
976
976
  return;
977
977
  })
@@ -979,13 +979,13 @@ export class Frontend extends EventEmitter {
979
979
  });
980
980
  }
981
981
  else {
982
+ this.matterbridge.matterbridgeInformation.fixedRestartRequired = true;
982
983
  if (this.matterbridge.restartMode !== '') {
983
984
  this.wssSendSnackbarMessage(`Restarting matterbridge...`, 0);
984
985
  this.matterbridge.shutdownProcess();
985
986
  }
986
987
  else {
987
- this.wssSendSnackbarMessage(`Restart required`, 0);
988
- this.wssSendRestartRequired();
988
+ this.wssSendRestartRequired(true, true);
989
989
  }
990
990
  }
991
991
  return;
@@ -1690,14 +1690,15 @@ export class Frontend extends EventEmitter {
1690
1690
  }
1691
1691
  });
1692
1692
  }
1693
- wssSendRestartRequired(snackbar = true) {
1693
+ wssSendRestartRequired(snackbar = true, fixed = false) {
1694
1694
  this.log.debug('Sending a restart required message to all connected clients');
1695
1695
  this.matterbridge.matterbridgeInformation.restartRequired = true;
1696
+ this.matterbridge.matterbridgeInformation.fixedRestartRequired = fixed;
1696
1697
  if (snackbar === true)
1697
1698
  this.wssSendSnackbarMessage(`Restart required`, 0);
1698
1699
  this.webSocketServer?.clients.forEach((client) => {
1699
1700
  if (client.readyState === WebSocket.OPEN) {
1700
- client.send(JSON.stringify({ id: WS_ID_RESTART_NEEDED, src: 'Matterbridge', dst: 'Frontend', method: 'restart_required', params: {} }));
1701
+ client.send(JSON.stringify({ id: WS_ID_RESTART_NEEDED, src: 'Matterbridge', dst: 'Frontend', method: 'restart_required', params: { fixed } }));
1701
1702
  }
1702
1703
  });
1703
1704
  }
@@ -78,6 +78,7 @@ export class Matterbridge extends EventEmitter {
78
78
  matterDiscriminator: undefined,
79
79
  matterPasscode: undefined,
80
80
  restartRequired: false,
81
+ fixedRestartRequired: false,
81
82
  updateRequired: false,
82
83
  };
83
84
  homeDirectory = '';
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "files": {
3
3
  "main.css": "./static/css/main.944b63c3.css",
4
- "main.js": "./static/js/main.3dc9a7f7.js",
4
+ "main.js": "./static/js/main.4611e8da.js",
5
5
  "static/js/453.d855a71b.chunk.js": "./static/js/453.d855a71b.chunk.js",
6
6
  "static/media/roboto-latin-700-normal.woff2": "./static/media/roboto-latin-700-normal.c4d6cab43bec89049809.woff2",
7
7
  "static/media/roboto-latin-500-normal.woff2": "./static/media/roboto-latin-500-normal.599f66a60bdf974e578e.woff2",
@@ -77,11 +77,11 @@
77
77
  "static/media/roboto-greek-ext-300-normal.woff": "./static/media/roboto-greek-ext-300-normal.60729cafbded24073dfb.woff",
78
78
  "index.html": "./index.html",
79
79
  "main.944b63c3.css.map": "./static/css/main.944b63c3.css.map",
80
- "main.3dc9a7f7.js.map": "./static/js/main.3dc9a7f7.js.map",
80
+ "main.4611e8da.js.map": "./static/js/main.4611e8da.js.map",
81
81
  "453.d855a71b.chunk.js.map": "./static/js/453.d855a71b.chunk.js.map"
82
82
  },
83
83
  "entrypoints": [
84
84
  "static/css/main.944b63c3.css",
85
- "static/js/main.3dc9a7f7.js"
85
+ "static/js/main.4611e8da.js"
86
86
  ]
87
87
  }
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="./"><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.3dc9a7f7.js"></script><link href="./static/css/main.944b63c3.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="./"><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.4611e8da.js"></script><link href="./static/css/main.944b63c3.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>