iobroker.eos-admin 7.10.7 → 7.10.9
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/NEXOWATT_EOS_BUILD_INFO.json +18 -18
- package/NEXOWATT_EOS_PREBUILT_MANIFEST.json +25 -24
- package/adminWww/css/nexowatt-native-shell.css +236 -0
- package/adminWww/index.html +14 -14
- package/adminWww/js/eos-role-bootstrap.js +4 -3
- package/adminWww/js/eos-role-ui.js +11 -8
- package/adminWww/js/nexowatt-native-shell.js +51 -2
- package/adminWww/static/js/{nexowatt-stable-v7107.js → nexowatt-stable-v7109.js} +2 -2
- package/io-package.json +5 -5
- package/package.json +7 -5
- package/tools/nexowatt-clean-legacy-runtime.cjs +31 -3
- package/tools/nexowatt-installer-ems-selftest.cjs +1 -1
- package/tools/nexowatt-role-security-selftest.cjs +4 -4
- package/tools/nexowatt-runtime-cleanup-selftest.cjs +5 -0
- package/tools/nexowatt-stable-v7103-selftest.cjs +2 -2
- package/tools/nexowatt-user-area-selftest.cjs +1 -1
- package/tools/nexowatt-v7109-clean-core-selftest.cjs +67 -0
- package/tools/nexowatt-validate-package.cjs +1 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "7.10.
|
|
2
|
+
"version": "7.10.9",
|
|
3
3
|
"channel": "stable-latest",
|
|
4
|
-
"baseFrontend": "validated v84 runtime with
|
|
4
|
+
"baseFrontend": "validated v84 runtime with clean modern Services, Datapoints and System Logs surfaces",
|
|
5
5
|
"runtimeEntry": "v84",
|
|
6
|
-
"releaseType": "stable-
|
|
7
|
-
"release": "stable-
|
|
8
|
-
"label": "v7-10-
|
|
6
|
+
"releaseType": "stable-clean-ui-foundation",
|
|
7
|
+
"release": "stable-clean-ui-foundation",
|
|
8
|
+
"label": "v7-10-9",
|
|
9
9
|
"notes": [
|
|
10
|
-
"Administrator
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
10
|
+
"Administrator, Installer and End User role behavior from 7.10.8 remains unchanged.",
|
|
11
|
+
"Services, Datapoints and System Logs retain the modern NexoWatt EOS styling.",
|
|
12
|
+
"Redundant title, description and role information panels were removed from the self-explanatory core tabs.",
|
|
13
|
+
"Structure remains hidden for every role and Installer service controls remain native and operable."
|
|
14
14
|
],
|
|
15
15
|
"changes": [
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"Kept
|
|
19
|
-
"Raised
|
|
16
|
+
"Removed the generated technical information header from Services, Datapoints and System Logs.",
|
|
17
|
+
"Preserved modern toolbars, rows, state tables and log severity accents.",
|
|
18
|
+
"Kept all role permissions, navigation protection and native service controls unchanged.",
|
|
19
|
+
"Raised release and browser cache identity to 7.10.9 / 7109."
|
|
20
20
|
],
|
|
21
|
-
"brandingCacheVersion":
|
|
22
|
-
"shellCacheVersion":
|
|
23
|
-
"nativeShellVersion":
|
|
24
|
-
"shellCacheTag": "
|
|
25
|
-
"repositoryEntry": "nexowatt-eos-admin-repository-entry-v7-10-
|
|
21
|
+
"brandingCacheVersion": 7109,
|
|
22
|
+
"shellCacheVersion": 7109,
|
|
23
|
+
"nativeShellVersion": 7109,
|
|
24
|
+
"shellCacheTag": "7109",
|
|
25
|
+
"repositoryEntry": "nexowatt-eos-admin-repository-entry-v7-10-9.json",
|
|
26
26
|
"autoUpdateCacheVersion": 7103,
|
|
27
27
|
"autoUpdateCacheTag": "7103"
|
|
28
28
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": 1,
|
|
3
3
|
"package": "iobroker.eos-admin",
|
|
4
|
-
"version": "7.10.
|
|
4
|
+
"version": "7.10.9",
|
|
5
5
|
"algorithm": "sha256",
|
|
6
|
-
"fileCount":
|
|
6
|
+
"fileCount": 1392,
|
|
7
7
|
"trackedRoots": [
|
|
8
8
|
"src",
|
|
9
9
|
"build",
|
|
@@ -527,7 +527,7 @@
|
|
|
527
527
|
"adminWww/css/images/marker-icon.png": "574c3a5cca85f4114085b6841596d62f00d7c892c7b03f28cbfa301deb1dc437",
|
|
528
528
|
"adminWww/css/images/marker-shadow.png": "264f5c640339f042dd729062cfc04c17f8ea0f29882b538e3848ed8f10edb4da",
|
|
529
529
|
"adminWww/css/leaflet.css": "7a30116fa3852c0ff7e556bb2e80b0dc89c5bca8e725bbe3948af1746ca55103",
|
|
530
|
-
"adminWww/css/nexowatt-native-shell.css": "
|
|
530
|
+
"adminWww/css/nexowatt-native-shell.css": "f26fa7593b2853860c17470627377513624006ff61c5973c22c6c8900a98b2b6",
|
|
531
531
|
"adminWww/favicon.ico": "3a357e949ab04b9f7bb1539764419ade50d1b4fc7caa51b8f33202a3f57a1f74",
|
|
532
532
|
"adminWww/img/admin.png": "7f93d65d9e1d795bf127e1af31d88d7468ccb70b026f98351d0abbc3f3bd4df6",
|
|
533
533
|
"adminWww/img/admin.svg": "1167118074ff84d8cef82ad80c38609719dacfde9417126e46966c1ec986534b",
|
|
@@ -552,7 +552,7 @@
|
|
|
552
552
|
"adminWww/img/le.png": "ef5ebb7112926f646e781a326b639f56888fafe0891b9b000178091b4f8ed9dd",
|
|
553
553
|
"adminWww/img/logo.svg": "1167118074ff84d8cef82ad80c38609719dacfde9417126e46966c1ec986534b",
|
|
554
554
|
"adminWww/img/no-image.svg": "25fc382f4ad3a36f8a637cd966b9107368e1f11906d706102ad5f37db6f57f34",
|
|
555
|
-
"adminWww/index.html": "
|
|
555
|
+
"adminWww/index.html": "238e8351962e206600a391cd9e3fee9e6d6baacad3a887859657d05561b37e57",
|
|
556
556
|
"adminWww/js/adapter-settings.js": "fb2e538a3385899f7fd47275ec588051c735d8f778a44b89f40f5eb820a31dbc",
|
|
557
557
|
"adminWww/js/eos-account-management.js": "dbba398605b2391ac1a7ec97cf7eb84da7f929ea16bfb6761750cd700a687fbe",
|
|
558
558
|
"adminWww/js/eos-assistant.js": "be43f49fd5310d2962365035556c37109d4868856e874e1f964c4b2f05bb6beb",
|
|
@@ -563,11 +563,11 @@
|
|
|
563
563
|
"adminWww/js/eos-manual-write-policy.js": "3c93487146b4fd5f681aa45a6bb137d9a91c3fa145ebfa94ec5ccb6b15498e8b",
|
|
564
564
|
"adminWww/js/eos-native-security.js": "33098b98164623fc133314658bca2f622d19971795dd8bd3c90aca68598aab90",
|
|
565
565
|
"adminWww/js/eos-policy-client.js": "5ffd32270307137fbec69a9b9bea57ca1d2e27ede987ce1eb37ff1df6677d8d2",
|
|
566
|
-
"adminWww/js/eos-role-bootstrap.js": "
|
|
567
|
-
"adminWww/js/eos-role-ui.js": "
|
|
566
|
+
"adminWww/js/eos-role-bootstrap.js": "9d994cbfc551ed72a4b0217ec3ca938d0e1732a5f2c56521c2279949b7a9eb2a",
|
|
567
|
+
"adminWww/js/eos-role-ui.js": "2cb2f087afaebe8dd077d42f3e87f847d58aee45f76dfaec0ff82b9807810b7e",
|
|
568
568
|
"adminWww/js/license.js": "13798e577c82d7a5549b07a244b8b8453ef43e53fc7789f565c35b56e6654007",
|
|
569
569
|
"adminWww/js/listHeader.js": "ed336a68a64e16a062d1af2269428fd20a08a4b695f17635f55a18bc1ef693a4",
|
|
570
|
-
"adminWww/js/nexowatt-native-shell.js": "
|
|
570
|
+
"adminWww/js/nexowatt-native-shell.js": "30bf5bcc271fad753e3c73b89ef0cd34c75fd1beb31117504c2a76e28d64c9ce",
|
|
571
571
|
"adminWww/js/tableEditor.js": "5508044619fec70071895d0ae3ab6ff75dd03bd936e7b133f98d098d4245ec20",
|
|
572
572
|
"adminWww/js/translate.js": "264442c0f42a10148057125532bf55b7672c4cc051c28e7cbb922984a558f8d3",
|
|
573
573
|
"adminWww/js/treeTable.js": "8abde0b7880a89f6f927a87bb041945dea1502f51bc9870d8ba0be9d3dd9eed8",
|
|
@@ -747,7 +747,7 @@
|
|
|
747
747
|
"adminWww/static/js/html.js": "159b7192459d73d92761dab8c4d48e138e94e4d8e7bf99004bac257e403a0c3b",
|
|
748
748
|
"adminWww/static/js/javascript.js": "6287a6b820c8707a0cd7b9e4545bcb023a8b9228569cfd21be6635d1409aabf4",
|
|
749
749
|
"adminWww/static/js/nexowatt-stable-login.js": "ff0c6d4dc2086f3ab4be8ef455e5891a2ccb5f534bddfacbef2f5cd6ce65489e",
|
|
750
|
-
"adminWww/static/js/nexowatt-stable-
|
|
750
|
+
"adminWww/static/js/nexowatt-stable-v7109.js": "624cd530ad1915bda9eafa4b2e310d943271cedbab38abe656c4f08ecfbd8750",
|
|
751
751
|
"adminWww/static/js/worker-css.js": "83c767cacd6b190e2f083b139cb3f124d1b560afbd7a6dbb74bf5539aa4cadee",
|
|
752
752
|
"adminWww/static/js/worker-html.js": "661d2448443c0089fba31d2829d77761a5fc042035c38433eff0e20707f17457",
|
|
753
753
|
"adminWww/static/js/worker-javascript.js": "73fcf007e2d19eacba8f365719ee92d14345505b03f9cf66e6338aef02fccd21",
|
|
@@ -817,7 +817,7 @@
|
|
|
817
817
|
"src-admin/public/css/images/marker-icon.png": "574c3a5cca85f4114085b6841596d62f00d7c892c7b03f28cbfa301deb1dc437",
|
|
818
818
|
"src-admin/public/css/images/marker-shadow.png": "264f5c640339f042dd729062cfc04c17f8ea0f29882b538e3848ed8f10edb4da",
|
|
819
819
|
"src-admin/public/css/leaflet.css": "7a30116fa3852c0ff7e556bb2e80b0dc89c5bca8e725bbe3948af1746ca55103",
|
|
820
|
-
"src-admin/public/css/nexowatt-native-shell.css": "
|
|
820
|
+
"src-admin/public/css/nexowatt-native-shell.css": "f26fa7593b2853860c17470627377513624006ff61c5973c22c6c8900a98b2b6",
|
|
821
821
|
"src-admin/public/favicon.ico": "3a357e949ab04b9f7bb1539764419ade50d1b4fc7caa51b8f33202a3f57a1f74",
|
|
822
822
|
"src-admin/public/img/admin.png": "f4c004482fa2623bea6f7e83df40fdda2e07334f61d5ae27eb0aba186c10ca97",
|
|
823
823
|
"src-admin/public/img/admin.svg": "1167118074ff84d8cef82ad80c38609719dacfde9417126e46966c1ec986534b",
|
|
@@ -850,11 +850,11 @@
|
|
|
850
850
|
"src-admin/public/js/eos-manual-write-policy.js": "3c93487146b4fd5f681aa45a6bb137d9a91c3fa145ebfa94ec5ccb6b15498e8b",
|
|
851
851
|
"src-admin/public/js/eos-native-security.js": "33098b98164623fc133314658bca2f622d19971795dd8bd3c90aca68598aab90",
|
|
852
852
|
"src-admin/public/js/eos-policy-client.js": "5ffd32270307137fbec69a9b9bea57ca1d2e27ede987ce1eb37ff1df6677d8d2",
|
|
853
|
-
"src-admin/public/js/eos-role-bootstrap.js": "
|
|
854
|
-
"src-admin/public/js/eos-role-ui.js": "
|
|
853
|
+
"src-admin/public/js/eos-role-bootstrap.js": "9d994cbfc551ed72a4b0217ec3ca938d0e1732a5f2c56521c2279949b7a9eb2a",
|
|
854
|
+
"src-admin/public/js/eos-role-ui.js": "2cb2f087afaebe8dd077d42f3e87f847d58aee45f76dfaec0ff82b9807810b7e",
|
|
855
855
|
"src-admin/public/js/license.js": "13798e577c82d7a5549b07a244b8b8453ef43e53fc7789f565c35b56e6654007",
|
|
856
856
|
"src-admin/public/js/listHeader.js": "ed336a68a64e16a062d1af2269428fd20a08a4b695f17635f55a18bc1ef693a4",
|
|
857
|
-
"src-admin/public/js/nexowatt-native-shell.js": "
|
|
857
|
+
"src-admin/public/js/nexowatt-native-shell.js": "30bf5bcc271fad753e3c73b89ef0cd34c75fd1beb31117504c2a76e28d64c9ce",
|
|
858
858
|
"src-admin/public/js/tableEditor.js": "5508044619fec70071895d0ae3ab6ff75dd03bd936e7b133f98d098d4245ec20",
|
|
859
859
|
"src-admin/public/js/translate.js": "264442c0f42a10148057125532bf55b7672c4cc051c28e7cbb922984a558f8d3",
|
|
860
860
|
"src-admin/public/js/treeTable.js": "8abde0b7880a89f6f927a87bb041945dea1502f51bc9870d8ba0be9d3dd9eed8",
|
|
@@ -975,7 +975,7 @@
|
|
|
975
975
|
"src-admin/public/manifest.json": "15244d5d50f08420fc5d4793e5699e99c7b900b6908cfbc00a7182f4d4db55bd",
|
|
976
976
|
"src-admin/public/robots.txt": "90d24bc3bf698ac1e173739502298ccca72adf1f564fab05f484b8c48d1cadd2",
|
|
977
977
|
"src-admin/public/static/js/nexowatt-stable-login.js": "ff0c6d4dc2086f3ab4be8ef455e5891a2ccb5f534bddfacbef2f5cd6ce65489e",
|
|
978
|
-
"src-admin/public/static/js/nexowatt-stable-
|
|
978
|
+
"src-admin/public/static/js/nexowatt-stable-v7109.js": "624cd530ad1915bda9eafa4b2e310d943271cedbab38abe656c4f08ecfbd8750",
|
|
979
979
|
"src-admin/src/App.tsx": "8ab367389c604d5face72cc71da49b08021ffa2e566db4d32df9ad98f9fe762a",
|
|
980
980
|
"src-admin/src/Workers/AdaptersWorker.tsx": "3a2cdeb8010598c901df0e3cffcdae913e62e7ac7c84fcadf15cb7f961dc6ed9",
|
|
981
981
|
"src-admin/src/Workers/GenericWorker.tsx": "3b3c6e7856602477c54d1dc085aa23b5cfcac7784cc73710b00622ac04ed5a97",
|
|
@@ -1191,7 +1191,7 @@
|
|
|
1191
1191
|
"src-admin/src/components/CustomPopper.tsx": "07f924ece634d54f1bc5c3d41ffb2702ea89d289c28d98221a5617eaba7cae3d",
|
|
1192
1192
|
"src-admin/src/components/CustomSelectButton.tsx": "1547393f97fba81b13331a3df4457509f239735bad9d17713eeecd48acd420db",
|
|
1193
1193
|
"src-admin/src/components/DragWrapper.tsx": "c417b1cc7786398c1d467d98db10d49e5b81d28ba9a6b0a55f6d9f5b6ad9a035",
|
|
1194
|
-
"src-admin/src/components/Drawer.tsx": "
|
|
1194
|
+
"src-admin/src/components/Drawer.tsx": "5b1bdd38516cce1b84e22e82b4f32da61ce8853c8930da586db413dad6e0a25d",
|
|
1195
1195
|
"src-admin/src/components/DrawerItem.tsx": "41a011ccfb84258b7e113d0ff2c8f3f12f12cc555eb34e5decd474c71f70453a",
|
|
1196
1196
|
"src-admin/src/components/EasyModeCard.tsx": "403e8f47532cf469f42f91a7c40c8f9d9c09f66cc4486177ac49fc5aa230b80c",
|
|
1197
1197
|
"src-admin/src/components/Editor.tsx": "47bc1dd26ab86317d7f65560b10e9611b138be8b0f13c90d78166debcd2ed4ee",
|
|
@@ -1323,7 +1323,7 @@
|
|
|
1323
1323
|
"src-admin/src/tabs/Objects.tsx": "2b87a8a7e771e10e1cce49019c4be62578f10096eee5abd17d2685f5f41cc67c",
|
|
1324
1324
|
"src-admin/src/tabs/Users.tsx": "45ed37e57b66f7e23eb465aef9ad9db55613b40bf44530ab81d6206806de102d",
|
|
1325
1325
|
"src-admin/src/types.d.ts": "3cfac48af5f8416b55b89c0daca78499dbbd402c0b44cc661112b76953ba3344",
|
|
1326
|
-
"src-admin/src/version.json": "
|
|
1326
|
+
"src-admin/src/version.json": "13e2e9e60edcce1f853695a845884a61b78a64a415a70c4341251bffd750ea87",
|
|
1327
1327
|
"src/i18n/de.json": "85d4ecfedf15d78984922b05377063b808ae8c5a75944af323e72a2c3a483d50",
|
|
1328
1328
|
"src/i18n/en.json": "6a0156a1b026903821d395ef2ceef845e90531f323a218f97f5abefaabb46a23",
|
|
1329
1329
|
"src/i18n/es.json": "54369f8044dfa222779849d2f158eb100188a43816d6c42a64575122cb528a30",
|
|
@@ -1362,7 +1362,7 @@
|
|
|
1362
1362
|
"tools/nexowatt-auto-update-selftest.cjs": "1c7500ca3f0264658aa778758dc14d10353dc3857ef7c9803591654cba9b13d5",
|
|
1363
1363
|
"tools/nexowatt-backend-runtime-selftest.cjs": "22eaeef2fe80c71af7e86db66e049612faf6285b47c69d9d446e2d1231d2c21f",
|
|
1364
1364
|
"tools/nexowatt-branding-selftest.cjs": "3aa00be3716fb5349c45ef761ddab639c51381a265ec086ddda45ecee89d39d5",
|
|
1365
|
-
"tools/nexowatt-clean-legacy-runtime.cjs": "
|
|
1365
|
+
"tools/nexowatt-clean-legacy-runtime.cjs": "bfad004370eb83df101cf69e86fc62c97a8649b9e0bca31a318ab0540a2e5045",
|
|
1366
1366
|
"tools/nexowatt-datapoint-interaction-selftest.cjs": "3931d59d8a116c791096a5d1f5b36ab4c343b7ba8587f59ac4d46fadb24efa1c",
|
|
1367
1367
|
"tools/nexowatt-datapoint-selftest.cjs": "357db8a875fb24fd0050c9bd9dbba17d3f330b67a1b50ba72f8d9fc5fe7fb0c5",
|
|
1368
1368
|
"tools/nexowatt-default-port-selftest.cjs": "0e555a1e6cd8e05c7df7fcc482964310f86feb6ad4aa88e98a2e487975688411",
|
|
@@ -1375,7 +1375,7 @@
|
|
|
1375
1375
|
"tools/nexowatt-generate-eos-admin-repo-entry.cjs": "a8b55d6001b0ed6d97221448b194748945f2e8382cdaf0b11ea91c63fb517139",
|
|
1376
1376
|
"tools/nexowatt-generate-repo-entry.cjs": "4e98acc7db74546bd942cfa36d57015673c6f1514758494753e7339068f7eb68",
|
|
1377
1377
|
"tools/nexowatt-import-integrity-selftest.cjs": "f46951126a237a6010c3c0949c25e2415ebe9af568d29411d10691951cb3ed87",
|
|
1378
|
-
"tools/nexowatt-installer-ems-selftest.cjs": "
|
|
1378
|
+
"tools/nexowatt-installer-ems-selftest.cjs": "7a1ba771f6f69cebb0f1eea9f0e90d0521c4bea879e1f37f06cfd64df8edff22",
|
|
1379
1379
|
"tools/nexowatt-internal-reserve-selftest.cjs": "f027a2272a4277d65167d68d4ca4428cd0c28a6c6c2b610eda575abd3f2bc90a",
|
|
1380
1380
|
"tools/nexowatt-login-layout-selftest.cjs": "7d4baae82f1d53fc14446b8ef80aaffa39b0b3529821599f4a6e2c27fbc7a7f2",
|
|
1381
1381
|
"tools/nexowatt-manual-write-policy-selftest.cjs": "a41057610972d681120bf35e0321029facc08b098c79da9b131980f80bd3fdce",
|
|
@@ -1392,21 +1392,22 @@
|
|
|
1392
1392
|
"tools/nexowatt-publish-channel-selftest.cjs": "c4efd1104ebe471ce1dc63195f322cffe760af295bf60f13b9766491acd0280e",
|
|
1393
1393
|
"tools/nexowatt-release-defaults-selftest.cjs": "3e3c96ca774200461978c546d1a937cbae18d7f11497ed84dda639c2358f6e16",
|
|
1394
1394
|
"tools/nexowatt-repair-eos-admin-update.cjs": "f28c1999b0f75139e582770ad649d17d11f9e909ac49d13c31be5fa5b36253e3",
|
|
1395
|
-
"tools/nexowatt-role-access-selftest.cjs": "
|
|
1396
|
-
"tools/nexowatt-role-security-selftest.cjs": "
|
|
1397
|
-
"tools/nexowatt-runtime-cleanup-selftest.cjs": "
|
|
1398
|
-
"tools/nexowatt-stability-check.cjs": "
|
|
1395
|
+
"tools/nexowatt-role-access-selftest.cjs": "8966982b39012819ec10eff0a7e567d70cdb23ef332c3a9452f4f1dda34cec4a",
|
|
1396
|
+
"tools/nexowatt-role-security-selftest.cjs": "5a1f919f2ecde943500bafd2e628cd32b88b9fb9e1d10e673201a33b5ab3bdfe",
|
|
1397
|
+
"tools/nexowatt-runtime-cleanup-selftest.cjs": "35e9e730bda54690204d097176bfcc978af95c3eab325ddcfbf023656cbbbb8d",
|
|
1398
|
+
"tools/nexowatt-stability-check.cjs": "9776f83e8e2265742cbe8d8bb96bc08f6c1993a6d52d50fb463c434d5dfde6ae",
|
|
1399
1399
|
"tools/nexowatt-stable-v7101-selftest.cjs": "817d09861ef29c52a67f64ec5b8f4ad4654ce7e6486eded786bb16f3c773eaf8",
|
|
1400
1400
|
"tools/nexowatt-stable-v7102-selftest.cjs": "75baab5f8069569ad4896e5018f3c5ccbbda2c2297aca5c5146bce94f9cf795d",
|
|
1401
|
-
"tools/nexowatt-stable-v7103-selftest.cjs": "
|
|
1401
|
+
"tools/nexowatt-stable-v7103-selftest.cjs": "332be2733403d7e61d0465be4f532cbe88ffa31b291f33eeba7feb818107d272",
|
|
1402
1402
|
"tools/nexowatt-stable-v94-selftest.cjs": "5226881b3ad8918c67921ffb37716490f053ec88e7c0f24827a5eda7c75d4019",
|
|
1403
1403
|
"tools/nexowatt-stable-v95-selftest.cjs": "0b15fcd329eb2994e64c407ab04eaafab7c38c4688136c197bf9601e1c35ee07",
|
|
1404
1404
|
"tools/nexowatt-stable-v97-selftest.cjs": "4f50ad6e53b8de7eb045d56657cccd846883eacd8a877d51240d78153ba53d80",
|
|
1405
1405
|
"tools/nexowatt-sync-release-version.cjs": "2478d714533ece21a275071ef6e5467f73c2fa33d0a63d76f408dc048a86c6f6",
|
|
1406
1406
|
"tools/nexowatt-ui-overview-runtime-selftest.cjs": "83255e5d3c9a548013f6e9a74706644d15d98450d0bfa2eb3da83c740d8618ea",
|
|
1407
1407
|
"tools/nexowatt-update-selftest.cjs": "c38c454135f98de683de8fa15fc4b9032063823f0f55fcfc8b675f551fd342f5",
|
|
1408
|
-
"tools/nexowatt-user-area-selftest.cjs": "
|
|
1409
|
-
"tools/nexowatt-
|
|
1408
|
+
"tools/nexowatt-user-area-selftest.cjs": "0c06a21ba8629b904ea5012b9273d02e831bf7cd1b86c48cd499196aebb982bf",
|
|
1409
|
+
"tools/nexowatt-v7109-clean-core-selftest.cjs": "9f2f863b7e1ccf9d66f157724de693df510fb14bc9bbd6efd86b034869edf720",
|
|
1410
|
+
"tools/nexowatt-validate-package.cjs": "f7928547ef14d6704541b585ab661230ceddbe80d6e31a5efbe876272481aaa5",
|
|
1410
1411
|
"tools/nexowatt-value-column-selftest.cjs": "29d0a9bbea05a87dcf8ee09c86cc81acb6c59e1e34801890768f5e342083871a",
|
|
1411
1412
|
"tools/nexowatt-version-sync-selftest.cjs": "65d7c8634b6d5581f337365e13a1a9432c7d47dbf5aebc237886730c32ba5e94",
|
|
1412
1413
|
"tsconfig.build.json": "d3a31263975a13de77b97af9ff246d89931f3abb594047be2739cf11378b97f5",
|
|
@@ -1550,3 +1550,239 @@ html.eos-app.eos-route-intro #app-paper {
|
|
|
1550
1550
|
html.eos-route-intro .eos-native-intro-grid { position: relative !important; width:100% !important; padding-bottom:72px !important; overflow:visible !important; }
|
|
1551
1551
|
html.eos-route-intro .eos-overview-edit-controls { position:absolute !important; right:16px !important; bottom:16px !important; z-index:3 !important; padding:6px !important; border:1px solid rgba(0,229,138,.24) !important; border-radius:16px !important; background:rgba(3,23,34,.94) !important; }
|
|
1552
1552
|
html.eos-route-intro .eos-overview-edit-controls .MuiFab-root { position:static !important; inset:auto !important; margin:0 !important; }
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
|
|
1557
|
+
/* NexoWatt EOS 7.10.9 – clean modern core operating surfaces.
|
|
1558
|
+
These rules are presentation-only: native ioBroker/EOS event handlers,
|
|
1559
|
+
accordions, state editors and virtualized tables remain authoritative. */
|
|
1560
|
+
|
|
1561
|
+
/* Structure is intentionally unavailable in this EOS foundation release. */
|
|
1562
|
+
html.eos-app [data-eos-tab="tab-enums"],
|
|
1563
|
+
html.eos-app a[href="#tab-enums"],
|
|
1564
|
+
html.eos-app a[href="#/tab-enums"],
|
|
1565
|
+
html.eos-app .nexowatt-native-nav-item:has(a[href*="tab-enums"]) {
|
|
1566
|
+
display: none !important;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
/* Shared technical toolbars. */
|
|
1571
|
+
html.eos-app #app-paper[data-eos-technical-surface] .MuiToolbar-root,
|
|
1572
|
+
html.eos-app #app-paper[data-eos-technical-surface] [role="toolbar"] {
|
|
1573
|
+
min-height: 54px !important;
|
|
1574
|
+
margin: 0 14px 10px !important;
|
|
1575
|
+
padding: 7px 10px !important;
|
|
1576
|
+
gap: 7px !important;
|
|
1577
|
+
color: #eaf9ff !important;
|
|
1578
|
+
border: 1px solid rgba(133, 193, 218, .13) !important;
|
|
1579
|
+
border-radius: 15px !important;
|
|
1580
|
+
background: linear-gradient(180deg, rgba(9, 31, 47, .94), rgba(4, 18, 30, .95)) !important;
|
|
1581
|
+
box-shadow: 0 10px 24px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.035) !important;
|
|
1582
|
+
}
|
|
1583
|
+
html.eos-app #app-paper[data-eos-technical-surface] .MuiToolbar-root .MuiIconButton-root,
|
|
1584
|
+
html.eos-app #app-paper[data-eos-technical-surface] [role="toolbar"] button {
|
|
1585
|
+
min-width: 38px;
|
|
1586
|
+
min-height: 38px;
|
|
1587
|
+
color: #dff8ff !important;
|
|
1588
|
+
border: 1px solid rgba(133, 193, 218, .12) !important;
|
|
1589
|
+
border-radius: 11px !important;
|
|
1590
|
+
background: rgba(255,255,255,.025) !important;
|
|
1591
|
+
}
|
|
1592
|
+
html.eos-app #app-paper[data-eos-technical-surface] .MuiToolbar-root .MuiIconButton-root:hover,
|
|
1593
|
+
html.eos-app #app-paper[data-eos-technical-surface] [role="toolbar"] button:hover {
|
|
1594
|
+
color: #fff !important;
|
|
1595
|
+
border-color: rgba(0,229,138,.30) !important;
|
|
1596
|
+
background: rgba(0,229,138,.085) !important;
|
|
1597
|
+
}
|
|
1598
|
+
html.eos-app #app-paper[data-eos-technical-surface] .MuiToolbar-root .MuiInputBase-root,
|
|
1599
|
+
html.eos-app #app-paper[data-eos-technical-surface] [role="toolbar"] input {
|
|
1600
|
+
min-height: 38px !important;
|
|
1601
|
+
border-radius: 10px !important;
|
|
1602
|
+
background: rgba(2, 13, 23, .72) !important;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
/* Dienste & Instanzen – modern operating cards while preserving every native action. */
|
|
1606
|
+
html.eos-route-instances #app-paper .MuiAccordion-root {
|
|
1607
|
+
margin: 7px 14px !important;
|
|
1608
|
+
overflow: hidden !important;
|
|
1609
|
+
border: 1px solid rgba(133, 193, 218, .14) !important;
|
|
1610
|
+
border-radius: 14px !important;
|
|
1611
|
+
background: linear-gradient(180deg, rgba(10, 32, 48, .94), rgba(5, 20, 32, .95)) !important;
|
|
1612
|
+
box-shadow: 0 9px 22px rgba(0, 0, 0, .17) !important;
|
|
1613
|
+
}
|
|
1614
|
+
html.eos-route-instances #app-paper .MuiAccordion-root::before { display: none !important; }
|
|
1615
|
+
html.eos-route-instances #app-paper .MuiAccordionSummary-root {
|
|
1616
|
+
min-height: 52px !important;
|
|
1617
|
+
padding: 0 14px !important;
|
|
1618
|
+
transition: background .15s ease, border-color .15s ease !important;
|
|
1619
|
+
}
|
|
1620
|
+
html.eos-route-instances #app-paper .MuiAccordionSummary-root:hover {
|
|
1621
|
+
background: rgba(0, 229, 138, .045) !important;
|
|
1622
|
+
}
|
|
1623
|
+
html.eos-route-instances #app-paper .MuiAccordionSummary-root.Mui-expanded {
|
|
1624
|
+
min-height: 54px !important;
|
|
1625
|
+
background: linear-gradient(90deg, rgba(0,229,138,.08), rgba(69,213,255,.035)) !important;
|
|
1626
|
+
}
|
|
1627
|
+
html.eos-route-instances #app-paper .MuiAccordionDetails-root {
|
|
1628
|
+
padding: 15px 18px 18px !important;
|
|
1629
|
+
border-top: 1px solid rgba(133, 193, 218, .12) !important;
|
|
1630
|
+
background: rgba(2, 14, 24, .54) !important;
|
|
1631
|
+
}
|
|
1632
|
+
html.eos-route-instances #app-paper .eos-service-row {
|
|
1633
|
+
transition: filter .14s ease, box-shadow .14s ease, transform .14s ease !important;
|
|
1634
|
+
}
|
|
1635
|
+
html.eos-route-instances #app-paper .eos-service-row:hover {
|
|
1636
|
+
filter: brightness(1.07);
|
|
1637
|
+
}
|
|
1638
|
+
html.eos-route-instances #app-paper tr.eos-service-row > td {
|
|
1639
|
+
border-top: 1px solid rgba(133, 193, 218, .09) !important;
|
|
1640
|
+
border-bottom: 1px solid rgba(1, 8, 14, .35) !important;
|
|
1641
|
+
}
|
|
1642
|
+
html.eos-route-instances #app-paper tr.eos-service-row > td:first-child { border-radius: 10px 0 0 10px; }
|
|
1643
|
+
html.eos-route-instances #app-paper tr.eos-service-row > td:last-child { border-radius: 0 10px 10px 0; }
|
|
1644
|
+
html.eos-route-instances #app-paper .eos-service-row-expanded {
|
|
1645
|
+
box-shadow: inset 3px 0 0 rgba(0,229,138,.62) !important;
|
|
1646
|
+
}
|
|
1647
|
+
html.eos-route-instances #app-paper .MuiTableContainer-root,
|
|
1648
|
+
html.eos-route-instances #app-paper [role="grid"] {
|
|
1649
|
+
margin: 0 14px 14px !important;
|
|
1650
|
+
overflow: auto !important;
|
|
1651
|
+
border: 1px solid rgba(133, 193, 218, .12) !important;
|
|
1652
|
+
border-radius: 15px !important;
|
|
1653
|
+
background: rgba(2, 14, 24, .42) !important;
|
|
1654
|
+
}
|
|
1655
|
+
html.eos-route-instances #app-paper .MuiTableHead-root .MuiTableCell-root {
|
|
1656
|
+
position: sticky;
|
|
1657
|
+
top: 0;
|
|
1658
|
+
z-index: 4;
|
|
1659
|
+
background: rgba(7, 29, 43, .97) !important;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
/* Datenpunkte – calm, readable technical tree/grid. */
|
|
1663
|
+
html.eos-route-objects #app-paper [role="grid"],
|
|
1664
|
+
html.eos-route-objects #app-paper [role="treegrid"],
|
|
1665
|
+
html.eos-route-objects #app-paper .MuiDataGrid-root,
|
|
1666
|
+
html.eos-route-objects #app-paper .ReactVirtualized__Grid {
|
|
1667
|
+
border-color: rgba(133, 193, 218, .15) !important;
|
|
1668
|
+
background: linear-gradient(180deg, rgba(5, 21, 34, .82), rgba(2, 13, 23, .90)) !important;
|
|
1669
|
+
}
|
|
1670
|
+
html.eos-route-objects #app-paper .MuiDataGrid-columnHeaders,
|
|
1671
|
+
html.eos-route-objects #app-paper [role="columnheader"],
|
|
1672
|
+
html.eos-route-objects #app-paper thead th {
|
|
1673
|
+
color: #e8f8ff !important;
|
|
1674
|
+
font-weight: 850 !important;
|
|
1675
|
+
background: linear-gradient(180deg, rgba(13, 42, 59, .97), rgba(6, 25, 39, .97)) !important;
|
|
1676
|
+
border-bottom-color: rgba(0, 229, 138, .20) !important;
|
|
1677
|
+
}
|
|
1678
|
+
html.eos-route-objects #app-paper .eos-datapoint-row,
|
|
1679
|
+
html.eos-route-objects #app-paper .MuiDataGrid-row,
|
|
1680
|
+
html.eos-route-objects #app-paper [role="row"] {
|
|
1681
|
+
transition: background .12s ease, box-shadow .12s ease !important;
|
|
1682
|
+
}
|
|
1683
|
+
html.eos-route-objects #app-paper .eos-datapoint-row:hover,
|
|
1684
|
+
html.eos-route-objects #app-paper .MuiDataGrid-row:hover,
|
|
1685
|
+
html.eos-route-objects #app-paper [role="row"]:hover {
|
|
1686
|
+
background: rgba(69, 213, 255, .045) !important;
|
|
1687
|
+
}
|
|
1688
|
+
html.eos-route-objects #app-paper .Mui-selected,
|
|
1689
|
+
html.eos-route-objects #app-paper [aria-selected="true"] {
|
|
1690
|
+
color: #f4ffff !important;
|
|
1691
|
+
background: linear-gradient(90deg, rgba(0, 229, 138, .19), rgba(69, 213, 255, .08)) !important;
|
|
1692
|
+
box-shadow: inset 3px 0 0 #00e58a !important;
|
|
1693
|
+
}
|
|
1694
|
+
html.eos-route-objects #app-paper .eos-object-value-cell {
|
|
1695
|
+
min-height: 30px !important;
|
|
1696
|
+
padding: 3px 7px !important;
|
|
1697
|
+
border: 1px solid transparent !important;
|
|
1698
|
+
border-radius: 8px !important;
|
|
1699
|
+
font-variant-numeric: tabular-nums;
|
|
1700
|
+
}
|
|
1701
|
+
html.eos-route-objects #app-paper .eos-object-value-cell[data-eos-object-writable="1"] {
|
|
1702
|
+
border-color: rgba(0,229,138,.12) !important;
|
|
1703
|
+
background: rgba(0,229,138,.035) !important;
|
|
1704
|
+
}
|
|
1705
|
+
html.eos-route-objects #app-paper input,
|
|
1706
|
+
html.eos-route-objects #app-paper .MuiSelect-select {
|
|
1707
|
+
border-radius: 9px !important;
|
|
1708
|
+
}
|
|
1709
|
+
html.eos-role-enduser.eos-route-objects #app-paper[data-eos-datapoints-readonly]::before {
|
|
1710
|
+
content: 'NUR LESEN';
|
|
1711
|
+
position: sticky;
|
|
1712
|
+
top: 112px;
|
|
1713
|
+
z-index: 75;
|
|
1714
|
+
float: right;
|
|
1715
|
+
margin: 0 24px -32px 0;
|
|
1716
|
+
padding: 6px 10px;
|
|
1717
|
+
color: #89b5c5;
|
|
1718
|
+
font-size: 9px;
|
|
1719
|
+
font-weight: 950;
|
|
1720
|
+
letter-spacing: .13em;
|
|
1721
|
+
border: 1px solid rgba(133,193,218,.18);
|
|
1722
|
+
border-radius: 999px;
|
|
1723
|
+
background: rgba(3,17,28,.88);
|
|
1724
|
+
pointer-events: none;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
/* Systemlogs – diagnostic stream with severity accenting. */
|
|
1728
|
+
html.eos-route-logs #app-paper .MuiTableContainer-root,
|
|
1729
|
+
html.eos-route-logs #app-paper [role="grid"] {
|
|
1730
|
+
margin: 0 14px 14px !important;
|
|
1731
|
+
overflow: auto !important;
|
|
1732
|
+
border: 1px solid rgba(133, 193, 218, .13) !important;
|
|
1733
|
+
border-radius: 15px !important;
|
|
1734
|
+
background: rgba(2, 13, 22, .72) !important;
|
|
1735
|
+
}
|
|
1736
|
+
html.eos-route-logs #app-paper .MuiTableHead-root .MuiTableCell-root,
|
|
1737
|
+
html.eos-route-logs #app-paper [role="columnheader"] {
|
|
1738
|
+
position: sticky;
|
|
1739
|
+
top: 0;
|
|
1740
|
+
z-index: 5;
|
|
1741
|
+
color: #e9f9ff !important;
|
|
1742
|
+
font-weight: 850 !important;
|
|
1743
|
+
background: rgba(7, 29, 43, .98) !important;
|
|
1744
|
+
border-bottom: 1px solid rgba(0,229,138,.18) !important;
|
|
1745
|
+
}
|
|
1746
|
+
html.eos-route-logs #app-paper .eos-log-row {
|
|
1747
|
+
box-shadow: inset 3px 0 0 rgba(133,193,218,.25) !important;
|
|
1748
|
+
transition: background .12s ease, filter .12s ease !important;
|
|
1749
|
+
}
|
|
1750
|
+
html.eos-route-logs #app-paper .eos-log-row:hover { filter: brightness(1.08); }
|
|
1751
|
+
html.eos-route-logs #app-paper .eos-log-row-error {
|
|
1752
|
+
background: rgba(255, 77, 103, .075) !important;
|
|
1753
|
+
box-shadow: inset 3px 0 0 #ff4d67 !important;
|
|
1754
|
+
}
|
|
1755
|
+
html.eos-route-logs #app-paper .eos-log-row-warn {
|
|
1756
|
+
background: rgba(255, 201, 51, .06) !important;
|
|
1757
|
+
box-shadow: inset 3px 0 0 #ffc933 !important;
|
|
1758
|
+
}
|
|
1759
|
+
html.eos-route-logs #app-paper .eos-log-row-info {
|
|
1760
|
+
box-shadow: inset 3px 0 0 rgba(69, 213, 255, .55) !important;
|
|
1761
|
+
}
|
|
1762
|
+
html.eos-route-logs #app-paper .eos-log-row-debug {
|
|
1763
|
+
opacity: .78;
|
|
1764
|
+
box-shadow: inset 3px 0 0 rgba(157, 181, 193, .35) !important;
|
|
1765
|
+
}
|
|
1766
|
+
html.eos-route-logs #app-paper .eos-log-row td,
|
|
1767
|
+
html.eos-route-logs #app-paper .eos-log-row [role="cell"] {
|
|
1768
|
+
font-variant-numeric: tabular-nums;
|
|
1769
|
+
border-bottom-color: rgba(133,193,218,.075) !important;
|
|
1770
|
+
}
|
|
1771
|
+
html.eos-route-logs #app-paper pre,
|
|
1772
|
+
html.eos-route-logs #app-paper code {
|
|
1773
|
+
color: #dff7ff;
|
|
1774
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
@media (max-width: 850px) {
|
|
1778
|
+
html.eos-app #app-paper[data-eos-technical-surface] .MuiToolbar-root,
|
|
1779
|
+
html.eos-app #app-paper[data-eos-technical-surface] [role="toolbar"],
|
|
1780
|
+
html.eos-route-instances #app-paper .MuiAccordion-root,
|
|
1781
|
+
html.eos-route-instances #app-paper .MuiTableContainer-root,
|
|
1782
|
+
html.eos-route-instances #app-paper [role="grid"],
|
|
1783
|
+
html.eos-route-logs #app-paper .MuiTableContainer-root,
|
|
1784
|
+
html.eos-route-logs #app-paper [role="grid"] {
|
|
1785
|
+
margin-left: 9px !important;
|
|
1786
|
+
margin-right: 9px !important;
|
|
1787
|
+
}
|
|
1788
|
+
}
|
package/adminWww/index.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate" />
|
|
9
9
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
10
10
|
<meta http-equiv="Expires" content="0" />
|
|
11
|
-
<script src="./js/eos-manual-write-policy.js?v=
|
|
11
|
+
<script src="./js/eos-manual-write-policy.js?v=7109"></script>
|
|
12
12
|
<script type="module" src="./assets/hostInit-v84.js?v=84"></script>
|
|
13
13
|
|
|
14
14
|
<meta charset="utf-8" />
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
rel="stylesheet"
|
|
37
37
|
href="css/leaflet.css"
|
|
38
38
|
/>
|
|
39
|
-
<link rel="stylesheet" href="./css/nexowatt-native-shell.css?v=
|
|
40
|
-
<link rel="stylesheet" href="./css/eos-ems-overview.css?v=
|
|
39
|
+
<link rel="stylesheet" href="./css/nexowatt-native-shell.css?v=7109" />
|
|
40
|
+
<link rel="stylesheet" href="./css/eos-ems-overview.css?v=7109" />
|
|
41
41
|
<link rel="stylesheet" href="./css/eos-auto-update.css?v=7103" />
|
|
42
42
|
<link
|
|
43
43
|
rel="manifest"
|
|
@@ -160,22 +160,22 @@
|
|
|
160
160
|
</script>
|
|
161
161
|
<link rel="modulepreload" crossorigin href="./assets/preload-helper-BDBacUwf.js">
|
|
162
162
|
<link rel="modulepreload" crossorigin href="./assets/iobroker_admin__mf_v__runtimeInit__mf_v__-g2X2zhAf.js">
|
|
163
|
-
<script defer src="./js/eos-role-bootstrap.js?v=
|
|
164
|
-
<script defer src="./js/eos-policy-client.js?v=
|
|
165
|
-
<script defer src="./js/eos-branding-sanitizer.js?v=
|
|
166
|
-
<script defer src="./js/nexowatt-native-shell.js?v=
|
|
167
|
-
<script defer src="./js/eos-native-security.js?v=
|
|
168
|
-
<script defer src="./js/eos-basic-settings.js?v=
|
|
169
|
-
<script defer src="./js/eos-role-ui.js?v=
|
|
170
|
-
<script defer src="./js/eos-ems-overview.js?v=
|
|
163
|
+
<script defer src="./js/eos-role-bootstrap.js?v=7109" data-eos-entry="./assets/index-CQZugZ1z-v84.js?v=84"></script>
|
|
164
|
+
<script defer src="./js/eos-policy-client.js?v=7109"></script>
|
|
165
|
+
<script defer src="./js/eos-branding-sanitizer.js?v=7109"></script>
|
|
166
|
+
<script defer src="./js/nexowatt-native-shell.js?v=7109"></script>
|
|
167
|
+
<script defer src="./js/eos-native-security.js?v=7109"></script>
|
|
168
|
+
<script defer src="./js/eos-basic-settings.js?v=7109"></script>
|
|
169
|
+
<script defer src="./js/eos-role-ui.js?v=7109"></script>
|
|
170
|
+
<script defer src="./js/eos-ems-overview.js?v=7109"></script>
|
|
171
171
|
|
|
172
172
|
<script defer src="./js/eos-auto-update.js?v=7103"></script>
|
|
173
|
-
<script defer src="./js/eos-assistant.js?v=
|
|
173
|
+
<script defer src="./js/eos-assistant.js?v=7109"></script>
|
|
174
174
|
</head>
|
|
175
175
|
<body>
|
|
176
176
|
<noscript>Für NexoWatt EOS muss JavaScript aktiviert sein.</noscript>
|
|
177
177
|
<div id="root"></div>
|
|
178
|
-
<script defer src="static/js/nexowatt-stable-login.js?v=
|
|
179
|
-
<script defer src="static/js/nexowatt-stable-
|
|
178
|
+
<script defer src="static/js/nexowatt-stable-login.js?v=7109"></script>
|
|
179
|
+
<script defer src="static/js/nexowatt-stable-v7109.js?v=7109"></script>
|
|
180
180
|
</body>
|
|
181
181
|
</html>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
const VERSION = '
|
|
4
|
+
const VERSION = 'v7109-clean-core-surfaces-rbac';
|
|
5
5
|
const script = document.currentScript || document.querySelector('script[src*="eos-role-bootstrap.js"]');
|
|
6
6
|
const entry = script?.dataset?.eosEntry || '';
|
|
7
7
|
let launched = false;
|
|
@@ -25,11 +25,12 @@
|
|
|
25
25
|
const isCustomerBackupTab = tab => /^(?:tab-)?(?:nexowatt-backup|eos-backup|nexowatt-sicherung)(?:-|$)/.test(normalize(tab));
|
|
26
26
|
const isReleasedEndUserTab = tab => /^(?:tab-)?(?:nexowatt-ui|nexowatt-cockpit|eos-cockpit|eos-dashboard|kunden-cockpit|endkunden-cockpit|lovelace|jarvis|vis|iqontrol|material)(?:-|$)/.test(normalize(tab));
|
|
27
27
|
const isOfficialReserveTab = tab => /^(?:tab-)?(?:admin|backitup)(?:-\d+)?$/.test(normalize(tab));
|
|
28
|
+
const isGloballyHiddenTab = tab => normalize(tab) === 'tab-enums';
|
|
28
29
|
const isInstallerDenied = tab => /(?:tab-users|tab-hosts|tab-files|tab-xterm|tab-xtrem|tab-system|users|hosts|files|console|terminal|security)/.test(normalize(tab)) || isOfficialReserveTab(tab);
|
|
29
|
-
const isAllowed = (role, route) => route !== 'easy' && (role === 'admin'
|
|
30
|
+
const isAllowed = (role, route) => route !== 'easy' && !isGloballyHiddenTab(route) && (role === 'admin'
|
|
30
31
|
|| (role === 'installer'
|
|
31
32
|
? route === 'tab-intro' || isCustomerBackupTab(route) || !isInstallerDenied(route)
|
|
32
|
-
: route === 'tab-intro' || route === 'tab-
|
|
33
|
+
: route === 'tab-intro' || route === 'tab-objects' || isCustomerBackupTab(route) || isReleasedEndUserTab(route)));
|
|
33
34
|
const defaultTab = () => 'tab-intro';
|
|
34
35
|
const currentRoute = () => {
|
|
35
36
|
const hash = decodeURIComponent(window.location.hash || '').toLowerCase();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
const VERSION = '
|
|
4
|
+
const VERSION = 'v7109-clean-core-surfaces-rbac';
|
|
5
5
|
window.NEXOWATT_EOS_ROLE_UI_VERSION = VERSION;
|
|
6
6
|
|
|
7
7
|
const state = {
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
if (policy?.isInstaller || /installateur|installer|installation|inbetriebnahme|techniker|technician|integrator|partner/.test(raw)) return 'installer';
|
|
46
46
|
return 'enduser';
|
|
47
47
|
};
|
|
48
|
+
const isGloballyHiddenTab = tab => normalize(tab) === 'tab-enums';
|
|
48
49
|
const isOfficialAdminTab = tab => /^tab-admin(?:-\d+)?$/.test(normalize(tab));
|
|
49
50
|
const isOfficialBackupTab = tab => /^tab-backitup(?:-\d+)?$/.test(normalize(tab));
|
|
50
51
|
const isOfficialReserveTab = tab => isOfficialAdminTab(tab) || isOfficialBackupTab(tab);
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
const endUserDeniedByText = value => /(module|dienste|systemlogs|logs|zugange|rechte|benutzer|users|gruppen|groups|system hosts|system-hosts|hosts|dateien|files|konsole|console|terminal|xterm|adapter|instances?|instanzen|geraetesuche|discovery|systemschutz|security)/.test(normalize(value));
|
|
54
55
|
const isEndUserTab = (tab, label = '') => {
|
|
55
56
|
const clean = normalize(tab); const text = `${clean} ${normalize(label)}`;
|
|
56
|
-
if (clean === 'tab-intro' || clean === 'tab-
|
|
57
|
+
if (clean === 'tab-intro' || clean === 'tab-objects' || isCustomerBackupTab(clean)) return true;
|
|
57
58
|
if (/^tab-(nexowatt-ui|nexowatt-cockpit|eos-cockpit|eos-dashboard|kunden-cockpit|endkunden-cockpit|lovelace|jarvis|vis|iqontrol|material)(?:-|$)/.test(clean)) return true;
|
|
58
59
|
return !!clean && !endUserDeniedByText(text) && endUserAllowedByText(text);
|
|
59
60
|
};
|
|
@@ -64,7 +65,7 @@
|
|
|
64
65
|
return /(?:tab-users|tab-hosts|tab-files|tab-xterm|tab-xtrem|tab-system|users|benutzer|gruppen|groups|system-hosts|system hosts|hosts|dateien|files|konsole|console|terminal|xterm|systemschutz|security)/.test(text);
|
|
65
66
|
};
|
|
66
67
|
const isRouteAllowed = (role, route, label = '') => {
|
|
67
|
-
if (route === 'easy') return false;
|
|
68
|
+
if (route === 'easy' || isGloballyHiddenTab(route)) return false;
|
|
68
69
|
if (role === 'admin') return true;
|
|
69
70
|
if (isOfficialReserveTab(route)) return false;
|
|
70
71
|
if (role === 'installer') return route === 'tab-intro' || (route !== 'tab-users' && !isInstallerDenied(route, label));
|
|
@@ -136,6 +137,8 @@
|
|
|
136
137
|
return normalize(`${button?.getAttribute?.('aria-label') || ''} ${button?.getAttribute?.('title') || ''} ${testIds}`);
|
|
137
138
|
};
|
|
138
139
|
const isSystemSettingsButton = button => /buildicon|system settings|systemeinstellungen|systeeminstellingen/.test(toolbarButtonSignature(button));
|
|
140
|
+
const isHeaderSystemSettingsButton = button => button?.dataset?.eosSystemSettingsControl === '1'
|
|
141
|
+
&& !!button.closest?.('.eos-top-toolbar,.MuiAppBar-root .MuiToolbar-root');
|
|
139
142
|
const isExpertModeButton = button => button?.dataset?.eosExpertControl === '1' || /expert|experten/.test(toolbarButtonSignature(button));
|
|
140
143
|
const markAdminOnlyToolbarControls = () => safe(() => {
|
|
141
144
|
const toolbar = document.querySelector('.eos-top-toolbar,.MuiAppBar-root .MuiToolbar-root');
|
|
@@ -227,7 +230,6 @@
|
|
|
227
230
|
['Dienste', 'Instanzen starten, stoppen und diagnostizieren', 'tab-instances', 'services'],
|
|
228
231
|
['Module', 'Module installieren, aktualisieren und konfigurieren', 'tab-adapters', 'modules'],
|
|
229
232
|
['Datenpunkte', 'Messwerte prüfen und freigegebene Werte schreiben', 'tab-objects', 'datapoints'],
|
|
230
|
-
['Struktur', 'Räume und Funktionen für Smart Home zuordnen', 'tab-enums', 'structure'],
|
|
231
233
|
['Geräte', 'Geräteintegration und Inbetriebnahme öffnen', 'tab-devicemanager', 'devices'],
|
|
232
234
|
['Basis-Einstellungen', 'Standort, Sprache und Anlagenparameter', 'basic-settings', 'settings'],
|
|
233
235
|
...(backupTab ? [['NexoWatt Sicherung', 'Sicherung und Wiederherstellung des EOS-Systems', backupTab, 'backup']] : []),
|
|
@@ -237,7 +239,6 @@
|
|
|
237
239
|
return [
|
|
238
240
|
['EOS Cockpit', 'Energie, Laden und Gebäude bedienen', uiTab, 'eos'],
|
|
239
241
|
['Datenpunkte', 'Messwerte und Zustände ausschließlich lesen', 'tab-objects', 'datapoints'],
|
|
240
|
-
['Smart Home', 'Räume, Funktionen und freigegebene Geräte zuordnen', 'tab-enums', 'structure'],
|
|
241
242
|
...(backupTab ? [['NexoWatt Sicherung', 'Eigene Sicherungen ausführen und wiederherstellen', backupTab, 'backup']] : []),
|
|
242
243
|
];
|
|
243
244
|
};
|
|
@@ -559,7 +560,7 @@
|
|
|
559
560
|
const scrubInheritedUiAdminSession = () => safe(() => {
|
|
560
561
|
if (state.role !== 'enduser') return;
|
|
561
562
|
const user = String(state.policy?.user || state.policy?.userId || '').replace(/^system\.user\./, '') || state.role;
|
|
562
|
-
const key = `eosUiAdminSessionScrubbed:
|
|
563
|
+
const key = `eosUiAdminSessionScrubbed:v7109:${user}:${state.role}`;
|
|
563
564
|
if (sessionStorage.getItem(key) === '1') return;
|
|
564
565
|
sessionStorage.setItem(key, '1');
|
|
565
566
|
const frame = document.createElement('iframe');
|
|
@@ -689,7 +690,7 @@
|
|
|
689
690
|
if (clickedButton && isExpertModeButton(clickedButton)) {
|
|
690
691
|
event.preventDefault(); event.stopImmediatePropagation(); lockExpertMode(); return;
|
|
691
692
|
}
|
|
692
|
-
if (clickedButton &&
|
|
693
|
+
if (clickedButton && isHeaderSystemSettingsButton(clickedButton)) {
|
|
693
694
|
event.preventDefault(); event.stopImmediatePropagation();
|
|
694
695
|
if (state.role === 'installer') window.NEXOWATT_EOS_BASIC_SETTINGS?.open?.();
|
|
695
696
|
return;
|
|
@@ -701,7 +702,7 @@
|
|
|
701
702
|
const target = event.target?.closest?.('[data-eos-admin-only-control="1"],[data-eos-system-settings-control="1"],[data-eos-role-tab],a[href*="#tab-"],a[href*="#/tab-"]');
|
|
702
703
|
if (!target) return;
|
|
703
704
|
if (target.matches('[data-eos-admin-only-control="1"]')) { event.preventDefault(); event.stopImmediatePropagation(); return; }
|
|
704
|
-
if (target
|
|
705
|
+
if (isHeaderSystemSettingsButton(target) && state.role === 'installer') {
|
|
705
706
|
event.preventDefault(); event.stopImmediatePropagation(); window.NEXOWATT_EOS_BASIC_SETTINGS?.open?.(); return;
|
|
706
707
|
}
|
|
707
708
|
const roleTab = target.getAttribute('data-eos-role-tab');
|
|
@@ -722,6 +723,8 @@
|
|
|
722
723
|
getRole: () => state.role,
|
|
723
724
|
getPolicy: () => state.policy,
|
|
724
725
|
isRouteAllowed,
|
|
726
|
+
isGloballyHiddenTab,
|
|
727
|
+
isHeaderSystemSettingsButton,
|
|
725
728
|
defaultTab,
|
|
726
729
|
isOfficialReserveTab,
|
|
727
730
|
isCustomerBackupTab,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
const VERSION = '
|
|
4
|
+
const VERSION = 'v7109-nexowatt-native-shell-clean-core-surfaces';
|
|
5
5
|
const previous = window.NEXOWATT_NATIVE_SHELL;
|
|
6
6
|
if (previous?.version === VERSION) return;
|
|
7
7
|
previous?.destroy?.();
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
const safe = fn => {
|
|
26
26
|
try { return fn(); } catch (_) { return undefined; }
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
const TECHNICAL_SURFACE_KEYS = new Set(['instances', 'objects', 'logs']);
|
|
29
29
|
|
|
30
30
|
// Navigation labels and icons are rendered natively by Drawer.tsx.
|
|
31
31
|
// This runtime only positions the shell and never rewrites React content.
|
|
@@ -177,6 +177,52 @@
|
|
|
177
177
|
<div class="eos-overview-role" data-nexowatt-overview-role="${role}"><span class="eos-overview-status-dot"></span>${config.label}</div>`;
|
|
178
178
|
};
|
|
179
179
|
|
|
180
|
+
const classifyTechnicalRows = (paper, surface) => {
|
|
181
|
+
if (!paper || !surface) return;
|
|
182
|
+
if (surface === 'instances') {
|
|
183
|
+
paper.querySelectorAll('.MuiAccordion-root,tbody tr,.MuiTableRow-root,[role="row"]').forEach(row => {
|
|
184
|
+
if (row.classList.contains('MuiTableHead-root')) return;
|
|
185
|
+
row.classList.add('eos-service-row');
|
|
186
|
+
const expanded = row.classList.contains('Mui-expanded') || !!row.querySelector?.('[aria-expanded="true"]');
|
|
187
|
+
row.classList.toggle('eos-service-row-expanded', expanded);
|
|
188
|
+
});
|
|
189
|
+
return;
|
|
190
|
+
}
|
|
191
|
+
if (surface === 'objects') {
|
|
192
|
+
paper.querySelectorAll('[role="row"],.MuiTableRow-root,.MuiDataGrid-row').forEach(row => {
|
|
193
|
+
row.classList.add('eos-datapoint-row');
|
|
194
|
+
});
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
if (surface === 'logs') {
|
|
198
|
+
paper.querySelectorAll('tbody tr,.MuiTableRow-root,[role="row"]').forEach(row => {
|
|
199
|
+
const text = String(row.textContent || '').toLowerCase();
|
|
200
|
+
let level = 'info';
|
|
201
|
+
if (/\b(error|fatal|fehler|kritisch|critical)\b/.test(text)) level = 'error';
|
|
202
|
+
else if (/\b(warn|warning|warnung)\b/.test(text)) level = 'warn';
|
|
203
|
+
else if (/\b(debug|trace)\b/.test(text)) level = 'debug';
|
|
204
|
+
row.classList.remove('eos-log-row-error','eos-log-row-warn','eos-log-row-info','eos-log-row-debug');
|
|
205
|
+
row.classList.add('eos-log-row', `eos-log-row-${level}`);
|
|
206
|
+
row.dataset.eosLogLevel = level;
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
const ensureTechnicalSurface = () => {
|
|
212
|
+
const paper = document.getElementById('app-paper');
|
|
213
|
+
if (!paper || isLogin()) return;
|
|
214
|
+
const surface = routeKey(currentTab());
|
|
215
|
+
// The tabs are self-explanatory. Keep the modern route styling and row
|
|
216
|
+
// classification, but never insert a second title/description panel.
|
|
217
|
+
document.getElementById('eos-technical-surface-header')?.remove();
|
|
218
|
+
if (!TECHNICAL_SURFACE_KEYS.has(surface)) {
|
|
219
|
+
paper.removeAttribute('data-eos-technical-surface');
|
|
220
|
+
return;
|
|
221
|
+
}
|
|
222
|
+
paper.setAttribute('data-eos-technical-surface', surface);
|
|
223
|
+
classifyTechnicalRows(paper, surface);
|
|
224
|
+
};
|
|
225
|
+
|
|
180
226
|
const apply = () => {
|
|
181
227
|
if (destroyed) return;
|
|
182
228
|
setShellClasses();
|
|
@@ -184,8 +230,10 @@
|
|
|
184
230
|
ensureBrand();
|
|
185
231
|
ensureNavigationContainer();
|
|
186
232
|
ensureModernOverview();
|
|
233
|
+
ensureTechnicalSurface();
|
|
187
234
|
} else {
|
|
188
235
|
document.getElementById('eos-native-overview-hero')?.remove();
|
|
236
|
+
document.getElementById('eos-technical-surface-header')?.remove();
|
|
189
237
|
}
|
|
190
238
|
};
|
|
191
239
|
|
|
@@ -231,6 +279,7 @@
|
|
|
231
279
|
unsubscribeDom = null;
|
|
232
280
|
if (retryTimer) clearTimeout(retryTimer);
|
|
233
281
|
retryTimer = 0;
|
|
282
|
+
document.getElementById('eos-technical-surface-header')?.remove();
|
|
234
283
|
},
|
|
235
284
|
};
|
|
236
285
|
})();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
'use strict';
|
|
3
|
-
const VERSION = '
|
|
3
|
+
const VERSION = 'v7109-scroll-standard-password';
|
|
4
4
|
const ensureScroll = () => {
|
|
5
5
|
const root = document.documentElement;
|
|
6
6
|
const paper = document.getElementById('app-paper');
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
const schedule=()=>{if(scheduled)return;scheduled=true;requestAnimationFrame(()=>{scheduled=false;apply();});};
|
|
24
24
|
const start=()=>{apply();new MutationObserver(schedule).observe(document.documentElement,{subtree:true,childList:true});window.addEventListener('hashchange',schedule);window.addEventListener('resize',schedule,{passive:true});};
|
|
25
25
|
document.readyState==='loading'?document.addEventListener('DOMContentLoaded',start,{once:true}):start();
|
|
26
|
-
window.
|
|
26
|
+
window.NEXOWATT_EOS_STABLE_V7109=Object.freeze({version:VERSION,refresh:apply,ensureScroll});
|
|
27
27
|
})();
|
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "eos-admin",
|
|
4
|
-
"version": "7.10.
|
|
4
|
+
"version": "7.10.9",
|
|
5
5
|
"titleLang": {
|
|
6
6
|
"en": "NexoWatt EOS Admin",
|
|
7
7
|
"de": "NexoWatt EOS Admin",
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
"icon": "admin.svg",
|
|
365
365
|
"messagebox": true,
|
|
366
366
|
"enabled": true,
|
|
367
|
-
"extIcon": "https://unpkg.com/iobroker.eos-admin@7.10.
|
|
367
|
+
"extIcon": "https://unpkg.com/iobroker.eos-admin@7.10.9/admin/admin.svg",
|
|
368
368
|
"keywords": [
|
|
369
369
|
"NexoWatt",
|
|
370
370
|
"EOS",
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
"licensed"
|
|
376
376
|
],
|
|
377
377
|
"compact": true,
|
|
378
|
-
"readme": "https://unpkg.com/iobroker.eos-admin@7.10.
|
|
378
|
+
"readme": "https://unpkg.com/iobroker.eos-admin@7.10.9/README.md",
|
|
379
379
|
"authors": [
|
|
380
380
|
"NexoWatt"
|
|
381
381
|
],
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
"nondeletable": false,
|
|
444
444
|
"allowAdapterUpdate": true,
|
|
445
445
|
"allowAdapterDelete": false,
|
|
446
|
-
"meta": "https://unpkg.com/iobroker.eos-admin@7.10.
|
|
446
|
+
"meta": "https://unpkg.com/iobroker.eos-admin@7.10.9/io-package.json",
|
|
447
447
|
"npmPackage": "iobroker.eos-admin",
|
|
448
448
|
"packetName": "iobroker.eos-admin",
|
|
449
449
|
"publisher": "NexoWatt"
|
|
@@ -1220,5 +1220,5 @@
|
|
|
1220
1220
|
}
|
|
1221
1221
|
}
|
|
1222
1222
|
},
|
|
1223
|
-
"version": "7.10.
|
|
1223
|
+
"version": "7.10.9"
|
|
1224
1224
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iobroker.eos-admin",
|
|
3
3
|
"description": "NexoWatt EOS Admin – repaired stable baseline with restart-safe automatic updates, native account passwords and persistent cockpit scrolling.",
|
|
4
|
-
"version": "7.10.
|
|
4
|
+
"version": "7.10.9",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"bluefox <dogafox@gmail.com>",
|
|
7
7
|
"apollon77",
|
|
@@ -143,7 +143,8 @@
|
|
|
143
143
|
"tools/nexowatt-role-security-selftest.cjs",
|
|
144
144
|
"SECURITY_ROLE_MATRIX_V7.10.7.md",
|
|
145
145
|
"tools/nexowatt-user-area-selftest.cjs",
|
|
146
|
-
"tools/nexowatt-installer-ems-selftest.cjs"
|
|
146
|
+
"tools/nexowatt-installer-ems-selftest.cjs",
|
|
147
|
+
"tools/nexowatt-v7109-clean-core-selftest.cjs"
|
|
147
148
|
],
|
|
148
149
|
"scripts": {
|
|
149
150
|
"npm": "npm i -f && cd src-admin && npm i -f",
|
|
@@ -178,7 +179,7 @@
|
|
|
178
179
|
"nexowatt:repo-entry": "node tools/nexowatt-generate-repo-entry.cjs",
|
|
179
180
|
"nexowatt:patch-repo": "node tools/nexowatt-patch-repo.cjs",
|
|
180
181
|
"nexowatt:repair-update": "node tools/nexowatt-repair-eos-admin-update.cjs",
|
|
181
|
-
"check:eos-stability": "node tools/nexowatt-stability-check.cjs && node tools/nexowatt-esm-syntax-selftest.cjs && node tools/nexowatt-backend-runtime-selftest.cjs && node tools/nexowatt-prebuilt-release-selftest.cjs && node tools/nexowatt-import-integrity-selftest.cjs && node tools/nexowatt-entrypoint-smoke-selftest.cjs && node tools/nexowatt-frontend-graph-check.cjs && node tools/nexowatt-policy-selftest.cjs && node tools/nexowatt-publish-channel-selftest.cjs && node tools/nexowatt-release-defaults-selftest.cjs && node tools/nexowatt-role-access-selftest.cjs && node tools/nexowatt-internal-reserve-selftest.cjs && node tools/nexowatt-modern-ui-selftest.cjs && node tools/nexowatt-login-layout-selftest.cjs && node tools/nexowatt-branding-selftest.cjs && node tools/nexowatt-default-port-selftest.cjs && node tools/nexowatt-module-popup-selftest.cjs && node tools/nexowatt-datapoint-selftest.cjs && node tools/nexowatt-update-selftest.cjs && node tools/nexowatt-datapoint-interaction-selftest.cjs && node tools/nexowatt-manual-write-policy-selftest.cjs && node tools/nexowatt-value-column-selftest.cjs && node tools/nexowatt-native-shell-selftest.cjs && node tools/nexowatt-assistant-separation-selftest.cjs && node tools/nexowatt-runtime-cleanup-selftest.cjs && node tools/nexowatt-version-sync-selftest.cjs && node tools/nexowatt-merge-update-selftest.cjs && node tools/nexowatt-password-write-selftest.cjs && node tools/nexowatt-account-password-flow-selftest.cjs && npm run check:eos-stable-v7103 && node tools/nexowatt-ems-overview-selftest.cjs && node tools/nexowatt-ui-overview-runtime-selftest.cjs && node tools/nexowatt-auto-update-selftest.cjs && node tools/nexowatt-auto-update-placement-selftest.cjs && node tools/nexowatt-role-security-selftest.cjs && node tools/nexowatt-user-area-selftest.cjs && node tools/nexowatt-installer-ems-selftest.cjs",
|
|
182
|
+
"check:eos-stability": "node tools/nexowatt-stability-check.cjs && node tools/nexowatt-esm-syntax-selftest.cjs && node tools/nexowatt-backend-runtime-selftest.cjs && node tools/nexowatt-prebuilt-release-selftest.cjs && node tools/nexowatt-import-integrity-selftest.cjs && node tools/nexowatt-entrypoint-smoke-selftest.cjs && node tools/nexowatt-frontend-graph-check.cjs && node tools/nexowatt-policy-selftest.cjs && node tools/nexowatt-publish-channel-selftest.cjs && node tools/nexowatt-release-defaults-selftest.cjs && node tools/nexowatt-role-access-selftest.cjs && node tools/nexowatt-internal-reserve-selftest.cjs && node tools/nexowatt-modern-ui-selftest.cjs && node tools/nexowatt-login-layout-selftest.cjs && node tools/nexowatt-branding-selftest.cjs && node tools/nexowatt-default-port-selftest.cjs && node tools/nexowatt-module-popup-selftest.cjs && node tools/nexowatt-datapoint-selftest.cjs && node tools/nexowatt-update-selftest.cjs && node tools/nexowatt-datapoint-interaction-selftest.cjs && node tools/nexowatt-manual-write-policy-selftest.cjs && node tools/nexowatt-value-column-selftest.cjs && node tools/nexowatt-native-shell-selftest.cjs && node tools/nexowatt-assistant-separation-selftest.cjs && node tools/nexowatt-runtime-cleanup-selftest.cjs && node tools/nexowatt-version-sync-selftest.cjs && node tools/nexowatt-merge-update-selftest.cjs && node tools/nexowatt-password-write-selftest.cjs && node tools/nexowatt-account-password-flow-selftest.cjs && npm run check:eos-stable-v7103 && node tools/nexowatt-ems-overview-selftest.cjs && node tools/nexowatt-ui-overview-runtime-selftest.cjs && node tools/nexowatt-auto-update-selftest.cjs && node tools/nexowatt-auto-update-placement-selftest.cjs && node tools/nexowatt-role-security-selftest.cjs && node tools/nexowatt-user-area-selftest.cjs && node tools/nexowatt-installer-ems-selftest.cjs && node tools/nexowatt-v7109-clean-core-selftest.cjs",
|
|
182
183
|
"nexowatt:patch-built-frontend": "node tools/nexowatt-patch-built-frontend.cjs",
|
|
183
184
|
"clean:eos-runtime": "node tools/nexowatt-clean-legacy-runtime.cjs",
|
|
184
185
|
"precheck:eos-package": "npm run sync:eos-version && npm run prepare:eos-release-defaults && npm run clean:eos-runtime",
|
|
@@ -208,7 +209,8 @@
|
|
|
208
209
|
"check:eos-stable-v7103": "node tools/nexowatt-stable-v7103-selftest.cjs",
|
|
209
210
|
"test:eos-auto-update-placement": "node tools/nexowatt-auto-update-placement-selftest.cjs",
|
|
210
211
|
"check:eos-role-security": "node tools/nexowatt-role-security-selftest.cjs",
|
|
211
|
-
"test:eos-installer-ems": "node tools/nexowatt-installer-ems-selftest.cjs"
|
|
212
|
+
"test:eos-installer-ems": "node tools/nexowatt-installer-ems-selftest.cjs",
|
|
213
|
+
"check:eos-v7109-clean-core": "node tools/nexowatt-v7109-clean-core-selftest.cjs"
|
|
212
214
|
},
|
|
213
215
|
"author": "NexoWatt",
|
|
214
216
|
"private": false,
|
|
@@ -219,7 +221,7 @@
|
|
|
219
221
|
},
|
|
220
222
|
"nexowattReleasePolicy": {
|
|
221
223
|
"distTag": "latest",
|
|
222
|
-
"purpose": "
|
|
224
|
+
"purpose": "stable NexoWatt EOS Admin 7.10.9 clean modern core surfaces without redundant page information panels"
|
|
223
225
|
},
|
|
224
226
|
"publisher": "NexoWatt"
|
|
225
227
|
}
|
|
@@ -60,6 +60,28 @@ function shellNumber(root) {
|
|
|
60
60
|
throw new Error('Invalid shellCacheVersion in NEXOWATT_EOS_BUILD_INFO.json');
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
+
function releaseNumber(root) {
|
|
64
|
+
const pkg = readJson(path.join(root, 'package.json'));
|
|
65
|
+
const parts = String(pkg.version || '').split('.').slice(0, 3).map(part => {
|
|
66
|
+
const match = part.match(/^\d+/);
|
|
67
|
+
return match ? match[0] : '';
|
|
68
|
+
});
|
|
69
|
+
if (parts.length !== 3 || parts.some(part => !part)) {
|
|
70
|
+
throw new Error(`Invalid package version for release cleanup: ${pkg.version}`);
|
|
71
|
+
}
|
|
72
|
+
const value = Number(parts.join(''));
|
|
73
|
+
if (!Number.isFinite(value) || value <= 0) {
|
|
74
|
+
throw new Error(`Invalid package version for release cleanup: ${pkg.version}`);
|
|
75
|
+
}
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
function isLegacyVersionedTool(file, activeRelease) {
|
|
80
|
+
const name = path.basename(file);
|
|
81
|
+
const match = name.match(/^nexowatt-v(\d+)-.+-selftest\.cjs$/i);
|
|
82
|
+
return !!match && Number(match[1]) !== activeRelease;
|
|
83
|
+
}
|
|
84
|
+
|
|
63
85
|
function walkFiles(dir) {
|
|
64
86
|
if (!fs.existsSync(dir)) return [];
|
|
65
87
|
const result = [];
|
|
@@ -96,6 +118,7 @@ function isLegacyVersionedRuntime(file, activeRuntime, activeShell) {
|
|
|
96
118
|
function collectLegacyRuntimeFiles(root = DEFAULT_ROOT) {
|
|
97
119
|
const activeRuntime = runtimeNumber(root);
|
|
98
120
|
const activeShell = shellNumber(root);
|
|
121
|
+
const activeRelease = releaseNumber(root);
|
|
99
122
|
const scanRoots = [
|
|
100
123
|
path.join(root, 'adminWww', 'assets'),
|
|
101
124
|
path.join(root, 'adminWww'),
|
|
@@ -109,11 +132,14 @@ function collectLegacyRuntimeFiles(root = DEFAULT_ROOT) {
|
|
|
109
132
|
if (isLegacyVersionedRuntime(file, activeRuntime, activeShell)) files.add(file);
|
|
110
133
|
}
|
|
111
134
|
}
|
|
135
|
+
for (const file of walkFiles(path.join(root, 'tools'))) {
|
|
136
|
+
if (isLegacyVersionedTool(file, activeRelease)) files.add(file);
|
|
137
|
+
}
|
|
112
138
|
for (const rel of LEGACY_OVERLAYS) {
|
|
113
139
|
const file = path.join(root, rel);
|
|
114
140
|
if (fs.existsSync(file)) files.add(file);
|
|
115
141
|
}
|
|
116
|
-
return { activeRuntime, activeShell, files: [...files].sort() };
|
|
142
|
+
return { activeRuntime, activeShell, activeRelease, files: [...files].sort() };
|
|
117
143
|
}
|
|
118
144
|
|
|
119
145
|
function cleanLegacyRuntime(options = {}) {
|
|
@@ -121,7 +147,7 @@ function cleanLegacyRuntime(options = {}) {
|
|
|
121
147
|
const dryRun = options.dryRun === true;
|
|
122
148
|
const quiet = options.quiet === true;
|
|
123
149
|
const silent = options.silent === true;
|
|
124
|
-
const { activeRuntime, activeShell, files } = collectLegacyRuntimeFiles(root);
|
|
150
|
+
const { activeRuntime, activeShell, activeRelease, files } = collectLegacyRuntimeFiles(root);
|
|
125
151
|
const removed = [];
|
|
126
152
|
const failed = [];
|
|
127
153
|
|
|
@@ -159,7 +185,7 @@ function cleanLegacyRuntime(options = {}) {
|
|
|
159
185
|
}
|
|
160
186
|
}
|
|
161
187
|
|
|
162
|
-
return { activeRuntime, activeShell, removed };
|
|
188
|
+
return { activeRuntime, activeShell, activeRelease, removed };
|
|
163
189
|
}
|
|
164
190
|
|
|
165
191
|
if (require.main === module) {
|
|
@@ -176,5 +202,7 @@ module.exports = {
|
|
|
176
202
|
collectLegacyRuntimeFiles,
|
|
177
203
|
cleanLegacyRuntime,
|
|
178
204
|
isLegacyVersionedRuntime,
|
|
205
|
+
isLegacyVersionedTool,
|
|
206
|
+
releaseNumber,
|
|
179
207
|
shellNumber,
|
|
180
208
|
};
|
|
@@ -15,7 +15,7 @@ const runtimeRole = read('adminWww/js/eos-role-ui.js');
|
|
|
15
15
|
const sourceWeb = read('src/lib/web.ts');
|
|
16
16
|
const runtimeWeb = read('build/lib/web.js');
|
|
17
17
|
|
|
18
|
-
assert.equal(pkg.version, '7.10.
|
|
18
|
+
assert.equal(pkg.version, '7.10.9', 'Installer EMS release must use npm version 7.10.9');
|
|
19
19
|
assert.equal(runtimeRole, sourceRole, 'built and source role runtimes must be identical');
|
|
20
20
|
|
|
21
21
|
for (const code of [sourceRole, runtimeRole]) {
|
|
@@ -32,9 +32,9 @@ const cleanupSource = read('tools/nexowatt-clean-legacy-runtime.cjs');
|
|
|
32
32
|
// visible header happened to contain "user". Only authenticated backend policy may define the role.
|
|
33
33
|
for (const html of [index, sourceIndex]) {
|
|
34
34
|
assert.doesNotMatch(html, /nexowatt-role-security\.js/i, 'legacy heuristic role guard is still loaded');
|
|
35
|
-
assert.match(html, /eos-role-bootstrap\.js\?v=
|
|
36
|
-
assert.match(html, /eos-policy-client\.js\?v=
|
|
37
|
-
assert.match(html, /eos-role-ui\.js\?v=
|
|
35
|
+
assert.match(html, /eos-role-bootstrap\.js\?v=7109/, 'authoritative role bootstrap cache tag is missing');
|
|
36
|
+
assert.match(html, /eos-policy-client\.js\?v=7109/, 'authoritative policy client cache tag is missing');
|
|
37
|
+
assert.match(html, /eos-role-ui\.js\?v=7109/, 'authoritative role UI cache tag is missing');
|
|
38
38
|
}
|
|
39
39
|
assert.equal(fs.existsSync(path.join(root, 'adminWww/nexowatt-role-security.js')), false, 'legacy runtime still exists');
|
|
40
40
|
assert.equal(fs.existsSync(path.join(root, 'build/lib/eosRoleSecurity.js')), false, 'legacy backend heuristic still exists');
|
|
@@ -143,7 +143,7 @@ assert.ok((io.instanceObjects || []).some(object => object?._id === 'info.uiTabs
|
|
|
143
143
|
assert.match(drawerSource, /backupAdapters\.has\(adapterName\) && instance\.enabled !== true/);
|
|
144
144
|
assert.match(builtDrawer, /o\.has\(A\)&&d\.enabled!==!0/);
|
|
145
145
|
|
|
146
|
-
// 7.10.
|
|
146
|
+
// 7.10.9 End User cleanup: system information is read-only and object actions disappear only for End User.
|
|
147
147
|
for (const code of [webSource, webBuilt]) {
|
|
148
148
|
assert.match(code, /nexowatt\/readonly\/system-info/, 'authenticated read-only system-info route is missing');
|
|
149
149
|
assert.match(code, /authenticationRequired/, 'read-only system-info route must require an authenticated session');
|
|
@@ -16,7 +16,9 @@ try {
|
|
|
16
16
|
fs.mkdirSync(path.join(temp, 'src-admin', 'public', 'static', 'js'), { recursive: true });
|
|
17
17
|
fs.mkdirSync(path.join(temp, 'adminWww', 'static', 'js'), { recursive: true });
|
|
18
18
|
fs.mkdirSync(path.join(temp, 'build', 'lib'), { recursive: true });
|
|
19
|
+
fs.mkdirSync(path.join(temp, 'tools'), { recursive: true });
|
|
19
20
|
fs.writeFileSync(path.join(temp, 'NEXOWATT_EOS_BUILD_INFO.json'), JSON.stringify({ runtimeEntry: 'v82', shellCacheVersion: 98 }));
|
|
21
|
+
fs.writeFileSync(path.join(temp, 'package.json'), JSON.stringify({ name: 'iobroker.eos-admin', version: '7.10.9' }));
|
|
20
22
|
|
|
21
23
|
const keep = [
|
|
22
24
|
'adminWww/assets/bootstrap-current-v82.js',
|
|
@@ -26,6 +28,7 @@ try {
|
|
|
26
28
|
'adminWww/static/js/nexowatt-stable-v98.js',
|
|
27
29
|
'src-admin/public/static/js/nexowatt-stable-v98.js',
|
|
28
30
|
'adminWww/static/js/nexowatt-stable-login.js',
|
|
31
|
+
'tools/nexowatt-v7109-clean-core-selftest.cjs',
|
|
29
32
|
];
|
|
30
33
|
const remove = [
|
|
31
34
|
'adminWww/assets/bootstrap-old-v54.js',
|
|
@@ -40,6 +43,7 @@ try {
|
|
|
40
43
|
'adminWww/nexowatt-role-security.js',
|
|
41
44
|
'src-admin/nexowatt-role-security.js',
|
|
42
45
|
'build/lib/eosRoleSecurity.js',
|
|
46
|
+
'tools/nexowatt-v7108-ui-foundation-selftest.cjs',
|
|
43
47
|
];
|
|
44
48
|
for (const rel of [...keep, ...remove]) {
|
|
45
49
|
const file = path.join(temp, rel);
|
|
@@ -50,6 +54,7 @@ try {
|
|
|
50
54
|
const result = cleanLegacyRuntime({ root: temp, quiet: true, silent: true });
|
|
51
55
|
assert.strictEqual(result.activeRuntime, 82);
|
|
52
56
|
assert.strictEqual(result.activeShell, 98);
|
|
57
|
+
assert.strictEqual(result.activeRelease, 7109);
|
|
53
58
|
assert.strictEqual(result.removed.length, remove.length);
|
|
54
59
|
for (const rel of keep) assert.ok(fs.existsSync(path.join(temp, rel)), `current runtime removed: ${rel}`);
|
|
55
60
|
for (const rel of remove) assert.ok(!fs.existsSync(path.join(temp, rel)), `legacy file remained: ${rel}`);
|
|
@@ -31,7 +31,7 @@ const autoUi = read('adminWww/js/eos-auto-update.js');
|
|
|
31
31
|
const autoCss = read('adminWww/css/eos-auto-update.css');
|
|
32
32
|
const autoTag = String(info.autoUpdateCacheTag || info.autoUpdateCacheVersion || info.shellCacheTag || info.shellCacheVersion);
|
|
33
33
|
|
|
34
|
-
must(pkg.version === '7.10.
|
|
34
|
+
must(pkg.version === '7.10.9' && io.version === '7.10.9' && io.common.version === '7.10.9' && info.version === '7.10.9', 'version drift');
|
|
35
35
|
must(io.native.eosRequireFirstLoginPassword === false && io.native.eosRequireFirstLoginPasswordChange === false, 'forced first password still enabled');
|
|
36
36
|
must(!index.includes('eos-account-management.js'), 'custom reset UI still loaded');
|
|
37
37
|
must(!boot.includes('installIntegratedFirstLogin(base);') && !boot.includes('showFirstLoginPassword(resolved, base);'), 'forced first-login UI still active');
|
|
@@ -49,7 +49,7 @@ must(!autoBackend.includes('extendForeignObjectAsync(this.instanceId'), 'runtime
|
|
|
49
49
|
must(web.includes('this.nexowattStableUpdateManager?.stop();'), 'auto-update manager is not stopped with the web server');
|
|
50
50
|
must(fs.existsSync(path.join(root, 'build/lib/eosRequestSecurity.js')), 'eosRequestSecurity runtime module missing');
|
|
51
51
|
|
|
52
|
-
// 7.10.4 placement acceptance remains mandatory in 7.10.
|
|
52
|
+
// 7.10.4 placement acceptance remains mandatory in 7.10.9: System Settings only.
|
|
53
53
|
must(index.includes(`eos-auto-update.js?v=${autoTag}`), 'auto-update JavaScript cache key missing');
|
|
54
54
|
must(index.includes(`eos-auto-update.css?v=${autoTag}`), 'auto-update CSS cache key missing');
|
|
55
55
|
must(autoUi.includes('[role="dialog"][aria-labelledby="system-settings-dialog-title"]'), 'System Settings selector missing');
|
|
@@ -13,7 +13,7 @@ const runtimeRole = read('adminWww/js/eos-role-ui.js');
|
|
|
13
13
|
const sourceMain = read('src/main.ts');
|
|
14
14
|
const builtMain = read('build/main.js');
|
|
15
15
|
|
|
16
|
-
assert.equal(pkg.version, '7.10.
|
|
16
|
+
assert.equal(pkg.version, '7.10.9', 'release must use a new npm version');
|
|
17
17
|
for (const web of [sourceWeb, builtWeb]) {
|
|
18
18
|
assert.match(web, /nexowatt\/readonly\/system-info/, 'read-only system information endpoint missing');
|
|
19
19
|
assert.match(web, /sendEosReadonlySystemInfo/, 'read-only system information handler missing');
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const assert = require('node:assert/strict');
|
|
5
|
+
const fs = require('node:fs');
|
|
6
|
+
const path = require('node:path');
|
|
7
|
+
|
|
8
|
+
const root = path.resolve(__dirname, '..');
|
|
9
|
+
const read = relative => fs.readFileSync(path.join(root, relative), 'utf8');
|
|
10
|
+
const json = relative => JSON.parse(read(relative));
|
|
11
|
+
|
|
12
|
+
const pkg = json('package.json');
|
|
13
|
+
const sourceRole = read('src-admin/public/js/eos-role-ui.js');
|
|
14
|
+
const runtimeRole = read('adminWww/js/eos-role-ui.js');
|
|
15
|
+
const sourceBoot = read('src-admin/public/js/eos-role-bootstrap.js');
|
|
16
|
+
const runtimeBoot = read('adminWww/js/eos-role-bootstrap.js');
|
|
17
|
+
const sourceShell = read('src-admin/public/js/nexowatt-native-shell.js');
|
|
18
|
+
const runtimeShell = read('adminWww/js/nexowatt-native-shell.js');
|
|
19
|
+
const sourceCss = read('src-admin/public/css/nexowatt-native-shell.css');
|
|
20
|
+
const runtimeCss = read('adminWww/css/nexowatt-native-shell.css');
|
|
21
|
+
const drawer = read('src-admin/src/components/Drawer.tsx');
|
|
22
|
+
const index = read('adminWww/index.html');
|
|
23
|
+
|
|
24
|
+
assert.equal(pkg.version, '7.10.9', 'clean core release must use npm version 7.10.9');
|
|
25
|
+
assert.equal(sourceRole, runtimeRole, 'role source/runtime drift');
|
|
26
|
+
assert.equal(sourceBoot, runtimeBoot, 'bootstrap source/runtime drift');
|
|
27
|
+
assert.equal(sourceShell, runtimeShell, 'shell source/runtime drift');
|
|
28
|
+
assert.equal(sourceCss, runtimeCss, 'shell CSS source/runtime drift');
|
|
29
|
+
|
|
30
|
+
for (const code of [sourceRole, runtimeRole]) {
|
|
31
|
+
assert.match(code, /const isGloballyHiddenTab = tab => normalize\(tab\) === 'tab-enums'/, 'global Structure hide missing');
|
|
32
|
+
assert.match(code, /if \(route === 'easy' \|\| isGloballyHiddenTab\(route\)\) return false;/, 'direct Structure route is not denied');
|
|
33
|
+
assert.match(code, /const isHeaderSystemSettingsButton = button =>/, 'header-only System Settings classifier missing');
|
|
34
|
+
assert.match(code, /clickedButton && isHeaderSystemSettingsButton\(clickedButton\)/, 'service-row wrench/arrow can still be intercepted');
|
|
35
|
+
assert.doesNotMatch(code, /clickedButton && isSystemSettingsButton\(clickedButton\)/, 'broad BuildIcon click interception remains');
|
|
36
|
+
assert.doesNotMatch(code, /\['Struktur'.*tab-enums/s, 'Structure remains in role action definitions');
|
|
37
|
+
}
|
|
38
|
+
for (const code of [sourceBoot, runtimeBoot]) {
|
|
39
|
+
assert.match(code, /!isGloballyHiddenTab\(route\)/, 'bootstrap does not deny Structure globally');
|
|
40
|
+
assert.doesNotMatch(code, /route === 'tab-enums'/, 'End User bootstrap still releases Structure');
|
|
41
|
+
}
|
|
42
|
+
for (const code of [sourceShell, runtimeShell]) {
|
|
43
|
+
assert.match(code, /const TECHNICAL_SURFACE_KEYS = new Set\(\['instances', 'objects', 'logs'\]\)/, 'technical route set missing');
|
|
44
|
+
assert.match(code, /ensureTechnicalSurface\(\)/, 'technical surface styling is not applied');
|
|
45
|
+
assert.match(code, /classifyTechnicalRows\(paper, surface\)/, 'technical row classification missing');
|
|
46
|
+
assert.match(code, /eos-log-row-error/, 'log severity decoration missing');
|
|
47
|
+
assert.doesNotMatch(code, /Live-Protokoll für Adapter/, 'redundant System Logs information remains');
|
|
48
|
+
assert.doesNotMatch(code, /Messwerte, Status und freigegebene Steuerwerte/, 'redundant Datapoints information remains');
|
|
49
|
+
assert.doesNotMatch(code, /Laufzeit, Status, Ressourcen und Konfiguration/, 'redundant Services information remains');
|
|
50
|
+
assert.doesNotMatch(code, /header\.innerHTML/, 'technical page info header is still generated');
|
|
51
|
+
}
|
|
52
|
+
for (const css of [sourceCss, runtimeCss]) {
|
|
53
|
+
for (const marker of [
|
|
54
|
+
'html.eos-route-instances',
|
|
55
|
+
'html.eos-route-objects',
|
|
56
|
+
'html.eos-route-logs',
|
|
57
|
+
'.eos-log-row-error',
|
|
58
|
+
]) assert.ok(css.includes(marker), `missing modern CSS marker ${marker}`);
|
|
59
|
+
assert.ok(!css.includes('.eos-technical-surface-header'), 'unused technical information header CSS remains');
|
|
60
|
+
}
|
|
61
|
+
assert.doesNotMatch(drawer, /'tab-users',\s*'tab-enums'/, 'Structure is still part of readyToUse');
|
|
62
|
+
assert.match(drawer, /tab\.name !== 'tab-enums'/, 'Drawer does not hard-filter Structure');
|
|
63
|
+
assert.match(index, /nexowatt-native-shell\.css\?v=7109/, '7.10.9 CSS cache key missing');
|
|
64
|
+
assert.match(index, /eos-role-ui\.js\?v=7109/, '7.10.9 role cache key missing');
|
|
65
|
+
assert.match(index, /nexowatt-stable-v7109\.js\?v=7109/, '7.10.9 stable runtime missing');
|
|
66
|
+
|
|
67
|
+
console.log('[NexoWatt EOS v7109 clean core] OK (modern Services/Datapoints/Logs without redundant page information; Structure hidden; Installer controls native)');
|
|
@@ -176,7 +176,7 @@ for (const file of [
|
|
|
176
176
|
'tools/nexowatt-ui-overview-runtime-selftest.cjs',
|
|
177
177
|
'adminWww/js/eos-ems-overview.js',
|
|
178
178
|
'adminWww/css/eos-ems-overview.css',
|
|
179
|
-
'adminWww/static/js/nexowatt-stable-
|
|
179
|
+
'adminWww/static/js/nexowatt-stable-v7109.js',
|
|
180
180
|
'src-admin/src/components/Intro/NexoWattEmsOverview.tsx',
|
|
181
181
|
'tools/nexowatt-publish-channel-guard.cjs',
|
|
182
182
|
'tools/nexowatt-publish-channel-selftest.cjs',
|