Version 0.7.64

Ylian Saint-Hilaire committed Feb 7, 2021 at 12:04 UTC b6e66a0bc0301ddbddb210661e6778baf3b74804
4 files changed +7 -5
meshcentral-config-schema.json
+2 -1
@@ -65,7 +65,8 @@
65 "npmPath": { "type": "string" },
66 "npmProxy": { "type": "string", "format": "uri" },
67 "allowHighQualityDesktop": { "type": "boolean", "default": true },
68 - "desktopMultiplex": { "type": "boolean", "default": false },
68 + "publicPushNotifications": { "type": "boolean", "default": false, "description": "When true, this server uses MeshCentral.com a push notification relay for Android notifications. Push notifications work even if the Android app is not open." },
69 + "desktopMultiplex": { "type": "boolean", "default": false, "description": "When true, enabled a server modules that efficiently splits a remote desktop stream to multiple browsers. Also allows slow browsers to not slow down the session for fast ones, this comes at the cost of extra server memory and processing for all remote desktop sessions." },
70 "userAllowedIP": { "type": [ "string", "array" ] },
71 "userBlockedIP": { "type": [ "string", "array" ] },
72 "agentAllowedIP": { "type": [ "string", "array" ] },
meshcentral.js
+3 -3
@@ -1551,9 +1551,9 @@ function CreateMeshCentralServer(config, args) {
1551 } else if ((typeof config.firebaserelay == 'object') && (typeof config.firebaserelay.url == 'string')) {
1552 // Setup the push messaging relay
1553 obj.firebase = require('./firebase').CreateFirebaseRelay(obj, config.firebaserelay.url, config.firebaserelay.key);
1554 - } else if (typeof config.firebaserelay == true) {
1555 - // Setup the push messaging relay using https://meshcentral.com
1556 - obj.firebase = require('./firebase').CreateFirebaseRelay(obj, 'https://central.mesh.meshcentral.com/firebaserelay.aspx');
1554 + } else if (obj.config.settings.publicpushnotifications === true) {
1555 + // Setup the Firebase push messaging relay using https://meshcentral.com, this is the public push notification server.
1556 + obj.firebase = require('./firebase').CreateFirebaseRelay(obj, 'https://meshcentral.com/firebaserelay.aspx');
1557 }
1558
1559 // Start periodic maintenance
package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "meshcentral",
3 - "version": "0.7.63",
3 + "version": "0.7.64",
4 "keywords": [
5 "Remote Device Management",
6 "Remote Device Monitoring",
sample-config-advanced.json
+1
@@ -51,6 +51,7 @@
51 "_npmPath": "c:\\npm.exe",
52 "_npmProxy": "http://1.2.3.4:80",
53 "_allowHighQualityDesktop": true,
54 + "_publicPushNotifications": true,
55 "_desktopMultiplex": true,
56 "_userAllowedIP": "127.0.0.1,192.168.1.0/24",
57 "_userBlockedIP": "127.0.0.1,::1,192.168.0.100",