iobroker.eos-admin 8.0.0 → 8.0.2
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 +7 -6
- package/NEXOWATT_EOS_PREBUILT_MANIFEST.json +195 -107
- package/START_HERE_8.0.1.md +36 -0
- package/START_HERE_8.0.2.md +41 -0
- package/adminWww/.vite/manifest.json +278 -278
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +333 -329
- package/adminWww/assets/{AccessTime-Dpa6PKHY.js → AccessTime-5f47qrw7.js} +1 -1
- package/adminWww/assets/{AceEditor-DTzNaeVy.js → AceEditor-CJ-_Ev2E.js} +1 -1
- package/adminWww/assets/{AdapterUpdateDialog-B3y8RL_5.js → AdapterUpdateDialog-QwlPbETd.js} +3 -3
- package/adminWww/assets/Adapters-gKngfaOu.js +7 -0
- package/adminWww/assets/{AdminUtils-DDT_kD8H.js → AdminUtils-CopxRJZ2.js} +1 -1
- package/adminWww/assets/{Apps-C8LE9l6Z.js → Apps-BKnx1gzD.js} +1 -1
- package/adminWww/assets/{Book-QmHxDaHb.js → Book-DrhneQH0.js} +1 -1
- package/adminWww/assets/{Cached-f77QQBQD.js → Cached-XJmxLN4E.js} +1 -1
- package/adminWww/assets/{Computer-DFIUq-fL.js → Computer-DDMBRY5r.js} +1 -1
- package/adminWww/assets/{Config-BZDUILCW.js → Config-BwTa1LdH.js} +1 -1
- package/adminWww/assets/{ConfigManager-CFuOc_kb.js → ConfigManager-DYwC4yq9.js} +1 -1
- package/adminWww/assets/{CustomModal-B8vdCRn1.js → CustomModal-DjI4oCb8.js} +1 -1
- package/adminWww/assets/{CustomTab-DSPqif6P.js → CustomTab-_HYUrXsZ.js} +1 -1
- package/adminWww/assets/{DeleteForever-BnEM-6_v.js → DeleteForever-Caoe64_y.js} +1 -1
- package/adminWww/assets/EasyMode-CCRqFtQq.js +1 -0
- package/adminWww/assets/Enums-BTurn3-x.js +92 -0
- package/adminWww/assets/{Extension-DU1jqvic.js → Extension-D-tNJv4S.js} +1 -1
- package/adminWww/assets/{Fields-DnckPMA8.js → Fields-C2Bn4V04.js} +1 -1
- package/adminWww/assets/{Files-CwUHx0pF.js → Files-XdmhxGOR.js} +1 -1
- package/adminWww/assets/Hosts-DiTMe9fw.js +120 -0
- package/adminWww/assets/{InfoOutlined-l86Si1qa.js → InfoOutlined-DIGDQvu6.js} +1 -1
- package/adminWww/assets/Instances-DA6FIgRs.js +4 -0
- package/adminWww/assets/Intro-CJpwLg8Q.js +2 -0
- package/adminWww/assets/{KeyboardArrowRight-zZUJhG9e.js → KeyboardArrowRight-DVPBjTKi.js} +1 -1
- package/adminWww/assets/Logs-CA0mEMlO.js +2 -0
- package/adminWww/assets/{MoreHoriz-CR2kD-dc.js → MoreHoriz-BYaCptH0.js} +1 -1
- package/adminWww/assets/Objects-B2IC3Bce.js +301 -0
- package/adminWww/assets/{Overview-WwP6FjK-.js → Overview-HG8fAMFM.js} +2 -2
- package/adminWww/assets/{Pageview-DBITLOzI.js → Pageview-DFHddrKX.js} +1 -1
- package/adminWww/assets/{PersonOff-ANdO5Nu4.js → PersonOff-BwYQLD1M.js} +1 -1
- package/adminWww/assets/{PushPinOutlined-DvxsqPHo.js → PushPinOutlined-CEBeTmNm.js} +1 -1
- package/adminWww/assets/Remove-BPxvNccW.js +1 -0
- package/adminWww/assets/{Schedule-BMMrgd7j.js → Schedule-BQlh1nhQ.js} +1 -1
- package/adminWww/assets/{Star-DNdm064z.js → Star-ChMjBwLn.js} +1 -1
- package/adminWww/assets/State-UGfoS6qW.js +1 -0
- package/adminWww/assets/Storage-DrC3j-wf.js +1 -0
- package/adminWww/assets/{TextSnippet-Bywi1YuG.js → TextSnippet-BQ4TSmvS.js} +1 -1
- package/adminWww/assets/{Timeline-IQCnSLiw.js → Timeline-CEyldmz2.js} +1 -1
- package/adminWww/assets/{Timer-Be9yF62g.js → Timer-I0twtyWh.js} +1 -1
- package/adminWww/assets/{UnfoldMore-Du7-8wYn.js → UnfoldMore-_DDSfPKk.js} +1 -1
- package/adminWww/assets/{Usb-Ca47vqRv.js → Usb-Dwk7qdYu.js} +1 -1
- package/adminWww/assets/{UsedResources-CMTzFOX3.js → UsedResources-B6HWeXGX.js} +2 -2
- package/adminWww/assets/Users-DFeYuC5y.js +1 -0
- package/adminWww/assets/{ViewCompact-C3SC0jFF.js → ViewCompact-BbfomOIi.js} +1 -1
- package/adminWww/assets/ViewList-1pB5VinA.js +1 -0
- package/adminWww/assets/{ViewSidebar-kHvah-XS.js → ViewSidebar-DdedDirX.js} +1 -1
- package/adminWww/assets/{VpnKey-iMA7KrB-.js → VpnKey-o8QeqmnU.js} +1 -1
- package/adminWww/assets/{WifiTethering-Da8nW7Do.js → WifiTethering-Cp63fmkC.js} +1 -1
- package/adminWww/assets/{_virtual_mf-localSharedImportMap___mfe_internal__iobroker_admin__mf_owner__1-CpelrCgN.js → _virtual_mf-localSharedImportMap___mfe_internal__iobroker_admin__mf_owner__1-uaKFfE5p.js} +1 -1
- package/adminWww/assets/{bootstrap-Bs4TZ7iA.js → bootstrap-DSDOwKWU.js} +33 -33
- package/adminWww/assets/{date-fns-Bpgjk9P-.js → date-fns-ukillHs-.js} +1 -1
- package/adminWww/assets/helpers-CDcY0YJ-.js +1 -0
- package/adminWww/assets/{hostInit-2xIZYDSq.js → hostInit-Cd61hJHh.js} +1 -1
- package/adminWww/assets/{icons-material-BLgrEUSv.js → icons-material-Dms1APQk.js} +1 -1
- package/adminWww/assets/{index-BZifaJHi.js → index-D6uhIclX.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-Pe6-VnD2.js → installSVGRenderer-BR-zIijZ.js} +1 -1
- package/adminWww/assets/{lib-CE1B3iHH.js → lib-BZRGBDoe.js} +2 -2
- package/adminWww/assets/{loadShare-eager-CRNcc8D7.js → loadShare-eager-BpwDZfDr.js} +93 -93
- package/adminWww/assets/{mf-entry-bootstrap-0-a6a54377.js → mf-entry-bootstrap-0-2d631020.js} +3 -3
- package/adminWww/assets/{pendingShares-CuQbFsaK.js → pendingShares-D1Vr_qYv.js} +2 -2
- package/adminWww/assets/{sentry-B4uGc7ut.js → sentry-BFzW-2KQ.js} +1 -1
- package/adminWww/assets/{setYear-DurmWw03.js → setYear-DhVdgUBF.js} +1 -1
- package/adminWww/css/nexowatt-native-shell.css +72 -0
- package/adminWww/index.html +21 -21
- package/adminWww/js/eos-license-link.js +9 -16
- package/adminWww/js/nexowatt-native-shell.js +2 -2
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/{remoteEntry-eos-8.0.0.js → remoteEntry-eos-8.0.2.js} +2 -2
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosSessionSecurity.js +12 -4
- package/build/lib/eosSessionSecurity.js.map +1 -1
- package/build/lib/vendor/webserver/LICENSE +21 -0
- package/build/lib/vendor/webserver/README.md +506 -0
- package/build/lib/vendor/webserver/build/index.d.ts +9 -0
- package/build/lib/vendor/webserver/build/index.js +42 -0
- package/build/lib/vendor/webserver/build/index.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/acmeChallenge.d.ts +65 -0
- package/build/lib/vendor/webserver/build/lib/acmeChallenge.js +149 -0
- package/build/lib/vendor/webserver/build/lib/acmeChallenge.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/certificateManager.d.ts +60 -0
- package/build/lib/vendor/webserver/build/lib/certificateManager.js +128 -0
- package/build/lib/vendor/webserver/build/lib/certificateManager.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/http2Compat.d.ts +21 -0
- package/build/lib/vendor/webserver/build/lib/http2Compat.js +109 -0
- package/build/lib/vendor/webserver/build/lib/http2Compat.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-authcode.d.ts +167 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-authcode.js +619 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-authcode.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-clients.d.ts +92 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-clients.js +230 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-clients.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-model.d.ts +84 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-model.js +388 -0
- package/build/lib/vendor/webserver/build/lib/oauth2-model.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/oauth2.d.ts +75 -0
- package/build/lib/vendor/webserver/build/lib/oauth2.js +625 -0
- package/build/lib/vendor/webserver/build/lib/oauth2.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/securityChecker.d.ts +6 -0
- package/build/lib/vendor/webserver/build/lib/securityChecker.js +96 -0
- package/build/lib/vendor/webserver/build/lib/securityChecker.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/usedResources.d.ts +62 -0
- package/build/lib/vendor/webserver/build/lib/usedResources.js +231 -0
- package/build/lib/vendor/webserver/build/lib/usedResources.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/utils.d.ts +35 -0
- package/build/lib/vendor/webserver/build/lib/utils.js +110 -0
- package/build/lib/vendor/webserver/build/lib/utils.js.map +1 -0
- package/build/lib/vendor/webserver/build/lib/webServer.d.ts +164 -0
- package/build/lib/vendor/webserver/build/lib/webServer.js +454 -0
- package/build/lib/vendor/webserver/build/lib/webServer.js.map +1 -0
- package/build/lib/vendor/webserver/package.json +63 -0
- package/build/lib/web.js +26 -6
- package/build/lib/web.js.map +1 -1
- package/docs/ADMIN8_MIGRATION_8.0.0_DE.md +4 -0
- package/docs/cra/CRA_IEC_GAP_ANALYSIS_2026-09-30.md +10 -0
- package/docs/security/admin8-2026-11-04/development-1.log +4 -4
- package/docs/security/admin8-2026-11-04/development-2.log +275 -233
- package/docs/security/admin8-2026-11-05/copy-update/evidence-sha256.json +0 -5
- package/docs/security/admin8-2026-11-05/login-fix/BACKEND_DIAGNOSE_DE.md +48 -0
- package/docs/security/admin8-2026-11-05/login-fix/REPORT_DE.md +47 -0
- package/docs/security/admin8-2026-11-05/login-fix/REVIEW_DE.md +7 -0
- package/docs/security/admin8-2026-11-05/login-fix/controller-adapter-api.ts.txt +122 -0
- package/docs/security/admin8-2026-11-05/login-fix/controller-file-view.ts.txt +75 -0
- package/docs/security/admin8-2026-11-05/login-fix/controller-redis-view.ts.txt +471 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/LICENSE-webserver-3.4.0 +21 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/REPORT_DE.md +41 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/evidence-sha256.json +116 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/http-consumer-check.cjs +58 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/README_DE.md +9 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/REJECTED-webserver-3.4.0-eos-oauth.provenance.json +263 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/REJECTED-webserver-3.4.0-eos-oauth.tgz +0 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/admission.log +16 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-audit-stderr.log +1 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-audit.json +22 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-fixture-1.0.0.tgz +0 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-fixture-package.json +11 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-npm10-package-lock.json +387 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/consumer-npm11-package-lock.json +387 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/evidence-sha256.json +85 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/http-consumer-npm10-node22.json +11 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/http-consumer-npm11-node24.json +11 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/local-tests.json +38 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/tests-node22.log +168 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/rejected-file-dependency/tests-node24.log +36 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/source-vendor-tests-node22.log +224 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/source-vendor-tests-node24.log +42 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/source-vendor-tests.json +31 -0
- package/docs/security/admin8-2026-11-05/login-fix/dependency/webserver-3.4.0-upstream.tgz +0 -0
- package/docs/security/admin8-2026-11-05/login-fix/eos-session-8.0.0.js.txt +385 -0
- package/docs/security/admin8-2026-11-05/login-fix/evidence-sha256.json +59 -0
- package/docs/security/admin8-2026-11-05/login-fix/path-budget.json +6 -0
- package/docs/security/admin8-2026-11-05/login-fix/provenance.json +51 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/admission.log +21 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/archive-scan.json +13 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/artifacts.log +6 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/backend-build.log +5 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/consumer-package-lock.json +3258 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/copy-update-journal.json +165 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/development.log +365 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/frontend-build.log +149 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-audit.json +22 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-audit.stderr +2 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-final-install-node22.log +9 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-http-node22.json +15 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-http-node22.stderr +2 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-http-node24.json +15 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/full-consumer-http-node24.stderr +0 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/inventory.log +8 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/npm-pack-final.json +7809 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/npm-pack-final.stderr +6 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/overlay-final-publish-node22.json +10213 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/overlay-final-publish-node22.stderr +282 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/pipeline.json +72 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/seal.log +6 -0
- package/docs/security/admin8-2026-11-05/login-fix/release/vendor-final-review-node24.log +18 -0
- package/docs/security/admin8-2026-11-05/login-fix/reproduce.cjs +79 -0
- package/docs/security/admin8-2026-11-05/login-fix/reproduction.json +80 -0
- package/docs/security/admin8-2026-11-05/login-fix/upstream-LICENSE.txt +22 -0
- package/docs/security/admin8-2026-11-05/login-fix/validation.json +85 -0
- package/docs/security/admin8-2026-11-05/system-fix/BACKEND_ROLE_REVIEW_DE.md +79 -0
- package/docs/security/admin8-2026-11-05/system-fix/NAVIGATION_DE.md +30 -0
- package/docs/security/admin8-2026-11-05/system-fix/REPORT_DE.md +51 -0
- package/docs/security/admin8-2026-11-05/system-fix/REVIEW_DE.md +65 -0
- package/docs/security/admin8-2026-11-05/system-fix/SCOPE_DE.md +21 -0
- package/docs/security/admin8-2026-11-05/system-fix/SYSTEM_DE.md +44 -0
- package/docs/security/admin8-2026-11-05/system-fix/archive-scan.json +12 -0
- package/docs/security/admin8-2026-11-05/system-fix/browser/README.md +46 -0
- package/docs/security/admin8-2026-11-05/system-fix/browser/integrity.json +16 -0
- package/docs/security/admin8-2026-11-05/system-fix/browser/system-browser-result.json +3607 -0
- package/docs/security/admin8-2026-11-05/system-fix/browser/system-browser.cjs +221 -0
- package/docs/security/admin8-2026-11-05/system-fix/browser/system-fixture.cjs +60 -0
- package/docs/security/admin8-2026-11-05/system-fix/evidence-sha256.json +49 -0
- package/docs/security/admin8-2026-11-05/system-fix/license-ui-tests-node22.log +80 -0
- package/docs/security/admin8-2026-11-05/system-fix/license-ui-tests-node24.log +19 -0
- package/docs/security/admin8-2026-11-05/system-fix/navigation/lint.log +0 -0
- package/docs/security/admin8-2026-11-05/system-fix/navigation/node22-tests.log +56 -0
- package/docs/security/admin8-2026-11-05/system-fix/navigation/node24-tests.log +15 -0
- package/docs/security/admin8-2026-11-05/system-fix/navigation/source-sha256.json +11 -0
- package/docs/security/admin8-2026-11-05/system-fix/path-budget.json +7 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/artifacts.log +6 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/audit-root.json +22 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/audit-root.stderr +1 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/backend-build.log +5 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/clean.log +6 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/consumer-audit.json +22 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/consumer-audit.stderr +2 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/consumer-install.log +4 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/consumer-package-lock.json +3258 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/development.log +392 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/frontend-build.log +149 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/http-node22.json +15 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/http-node24.json +15 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/inventory.log +8 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/overlay-journal.json +452 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/overlay-publish.log +10790 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/overlay-validation.json +12 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/pack.json +8104 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/pack.stderr +6 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/retired-801.json +68 -0
- package/docs/security/admin8-2026-11-05/system-fix/release/seal.log +6 -0
- package/docs/security/admin8-2026-11-05/system-fix/review-tests.log +30 -0
- package/docs/security/admin8-2026-11-05/system-fix/role-context-before.log +86 -0
- package/docs/security/admin8-2026-11-05/system-fix/role-context-lint.log +0 -0
- package/docs/security/admin8-2026-11-05/system-fix/role-context-node22.log +44 -0
- package/docs/security/admin8-2026-11-05/system-fix/role-context-test.log +13 -0
- package/docs/security/admin8-2026-11-05/system-fix/validation.json +90 -0
- package/docs/third-party/admin8/NOTICE-PROVENANCE.json +3 -3
- package/io-package.json +13 -15
- package/package.json +10 -4
- package/release-manifests/admin8-development-validation.json +136 -43
- package/reports/security/artifact-inventory.json +822 -587
- package/reports/security/inventory-summary.json +39 -17
- package/reports/security/sbom-backend-lock.cdx.json +108 -111
- package/reports/security/sbom-frontend-lock.cdx.json +5 -5
- package/reports/security/source-runtime-manifest.json +553 -163
- package/tools/nexowatt-admin8-development-check.cjs +8 -1
- package/tools/nexowatt-artifact-inventory.cjs +8 -1
- package/tools/nexowatt-installer-ems-selftest.cjs +1 -1
- package/tools/nexowatt-lock-provenance-check.cjs +8 -3
- package/tools/nexowatt-repair-lock-metadata.cjs +3 -3
- package/tools/nexowatt-role-security-selftest.cjs +2 -2
- package/tools/nexowatt-security-inventory.cjs +22 -1
- package/tools/nexowatt-user-area-selftest.cjs +1 -1
- package/tools/nexowatt-v7109-clean-core-selftest.cjs +1 -1
- package/tools/nexowatt-vendored-webserver.cjs +69 -0
- package/tools/vendor/eos-retired-release-files.json +268 -1
- package/tools/vendor/webserver-3.4.0-source.provenance.json +244 -0
- package/adminWww/assets/Adapters-BDxfhfGe.js +0 -7
- package/adminWww/assets/EasyMode-TwIN5yxu.js +0 -1
- package/adminWww/assets/Enums-CSzSzWm7.js +0 -92
- package/adminWww/assets/Hosts-QkyuASJy.js +0 -120
- package/adminWww/assets/Instances-BaWBemTT.js +0 -4
- package/adminWww/assets/Intro-DsfrPrWv.js +0 -2
- package/adminWww/assets/Logs-Cngy2Opt.js +0 -2
- package/adminWww/assets/Objects-DY8KS7zK.js +0 -301
- package/adminWww/assets/Remove-DplJatnC.js +0 -1
- package/adminWww/assets/State-vP1o2BCL.js +0 -1
- package/adminWww/assets/Storage-COo2RkS1.js +0 -1
- package/adminWww/assets/Users-BjTGOjzL.js +0 -1
- package/adminWww/assets/ViewList-DuKCnBnc.js +0 -1
- package/adminWww/assets/helpers-DBoACUHw.js +0 -1
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// Real release frontend in Chromium; in-memory controller and license responses only.
|
|
3
|
+
// No customer data, live controller, real keys, or external network requests.
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
const assert = require('node:assert/strict');
|
|
7
|
+
const crypto = require('node:crypto');
|
|
8
|
+
const sha = data => crypto.createHash('sha256').update(data).digest('hex');
|
|
9
|
+
function option(name, fallback) {
|
|
10
|
+
const i = process.argv.indexOf(name);
|
|
11
|
+
return i < 0 ? fallback : process.argv[i + 1];
|
|
12
|
+
}
|
|
13
|
+
const root = path.resolve(option('--root', path.join(__dirname, '../../../../..')));
|
|
14
|
+
const output = path.resolve(option('--output', path.join(__dirname, 'rerun')));
|
|
15
|
+
const modulePath = process.env.EOS_PLAYWRIGHT_MODULE || (process.env.CODEX_PRIMARY_RUNTIME_NODE_MODULES && path.join(process.env.CODEX_PRIMARY_RUNTIME_NODE_MODULES, 'playwright')) || 'playwright';
|
|
16
|
+
const { chromium } = require(modulePath);
|
|
17
|
+
const executable = process.env.EOS_BROWSER_EXECUTABLE || chromium.executablePath();
|
|
18
|
+
const runtime = path.dirname(executable);
|
|
19
|
+
const assetRoot = path.join(root, 'adminWww');
|
|
20
|
+
const expectedVersion = JSON.parse(fs.readFileSync(path.join(root, 'package.json'))).version;
|
|
21
|
+
assert.equal(JSON.parse(fs.readFileSync(path.join(assetRoot,'NEXOWATT_EOS_FRONTEND_MANIFEST.json'))).productVersion,expectedVersion,'Build must match current product version');
|
|
22
|
+
const onePixel = Buffer.from('iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIHWP4z8DwHwAFgAI/ScLbtAAAAABJRU5ErkJggg==', 'base64');
|
|
23
|
+
const licenseStatus = edition => ({ v:1,uuid:'00000000-0000-4000-8000-000000000008',valid:true,code:'LICENSE_VALID',edition,expiresAt:null,features:['energy','smartHome',...(edition==='pro'?['microgridMaster']:[])],limits:{chargePoints:edition==='pro'?20:3,batteries:edition==='pro'?10:2},adapters:['nexowatt-ui'] });
|
|
24
|
+
fs.mkdirSync(output,{recursive:true});
|
|
25
|
+
const result = { scope:'Actual shipped EOS Admin React frontend; synthetic authenticated HTTP/WebSocket and in-memory persistence; no real controller or appliance', version:expectedVersion, testedAt:new Date().toISOString(), node:process.version, manifestSha256:sha(fs.readFileSync(path.join(assetRoot,'NEXOWATT_EOS_FRONTEND_MANIFEST.json'))), scenarios:[] };
|
|
26
|
+
|
|
27
|
+
let lastPage;
|
|
28
|
+
async function createScenario(browser,name,role,viewport,options={}) {
|
|
29
|
+
const context=await browser.newContext({viewport,locale:'de-DE'});
|
|
30
|
+
const page=await context.newPage();lastPage=page;
|
|
31
|
+
const data={name,role,viewport,checks:[],errors:[],console:[],missing:[],externalBlocked:[],syntheticMaps:[],requests:[],dialogs:[]};
|
|
32
|
+
const control={role,license:licenseStatus('home'),licenseCalls:[],failNextLicense:false};
|
|
33
|
+
const fixtureFile=path.join(__dirname,'system-fixture.cjs');delete require.cache[fixtureFile];
|
|
34
|
+
await require(fixtureFile).setup(page,data,role,control);
|
|
35
|
+
if(options.emptySiteName)control.objects['system.config'].common.siteName='';
|
|
36
|
+
page.on('pageerror',e=>data.errors.push(e.message));
|
|
37
|
+
page.on('console',m=>{if(['warning','error'].includes(m.type()))data.console.push({type:m.type(),text:m.text()});});
|
|
38
|
+
page.on('dialog',async d=>{data.dialogs.push({type:d.type(),message:d.message()});await d.accept();});
|
|
39
|
+
await page.route('**/*',async route=>{
|
|
40
|
+
const request=route.request();const url=new URL(request.url());
|
|
41
|
+
data.requests.push({method:request.method(),path:url.pathname});
|
|
42
|
+
if(/(^|\.)tile\.osm\.org$/.test(url.hostname)){data.syntheticMaps.push(url.pathname);return route.fulfill({contentType:'image/png',body:onePixel});}
|
|
43
|
+
if(url.hostname==='nominatim.openstreetmap.org'){data.syntheticMaps.push(url.pathname);return route.fulfill({json:[]});}
|
|
44
|
+
if(url.hostname!=='eos-preview.test'){data.externalBlocked.push(url.href);return route.abort();}
|
|
45
|
+
let rel=decodeURIComponent(url.pathname).replace(/^\/+/, '')||'index.html';
|
|
46
|
+
if(rel==='favicon.ico')return route.fulfill({status:204,body:''});
|
|
47
|
+
if(/^adapter\/[a-z0-9-]+\/eos-fixture\.svg$/.test(rel))rel='img/eos/eos-logo.svg';
|
|
48
|
+
if(rel==='logout')return route.fulfill({contentType:'text/html',body:'<!doctype html><title>Synthetic logout</title>'});
|
|
49
|
+
if(rel==='nexowatt/security/context')return route.fulfill({json:{authenticated:true,user:control.role==='admin'?'system.user.admin':'system.user.demo',isAdmin:control.role==='admin',role:control.role}});
|
|
50
|
+
if(rel.startsWith('nexowatt/license/')){
|
|
51
|
+
control.licenseCalls.push({method:request.method(),path:rel,headers:{origin:request.headers().origin,'x-eos-license':request.headers()['x-eos-license']},body:request.postDataJSON()});
|
|
52
|
+
if(control.role!=='admin')return route.fulfill({status:403,json:{error:'LICENSE_ADMIN_REQUIRED'}});
|
|
53
|
+
if(control.failNextLicense){control.failNextLicense=false;return route.fulfill({status:503,json:{error:'SERVICE_UNAVAILABLE'}});}
|
|
54
|
+
if(rel.endsWith('/activate')){
|
|
55
|
+
assert.equal(request.headers()['x-eos-license'],'1');
|
|
56
|
+
assert.equal(request.headers().origin,'https://eos-preview.test');
|
|
57
|
+
control.license=licenseStatus('pro');
|
|
58
|
+
}else if(rel.endsWith('/remove')){
|
|
59
|
+
assert.equal(request.headers()['x-eos-license'],'1');
|
|
60
|
+
assert.equal(request.headers().origin,'https://eos-preview.test');
|
|
61
|
+
control.license={...licenseStatus(null),valid:false,code:'LICENSE_MISSING',features:[],limits:{},adapters:[]};
|
|
62
|
+
}
|
|
63
|
+
return route.fulfill({json:control.license});
|
|
64
|
+
}
|
|
65
|
+
if(rel.startsWith('nexowatt/'))return route.fulfill({json:{available:false,enabled:false,authenticated:false,role:'unknown'}});
|
|
66
|
+
const filename=path.resolve(assetRoot,rel);
|
|
67
|
+
if(!filename.startsWith(assetRoot+path.sep)||!fs.existsSync(filename)||!fs.statSync(filename).isFile()){data.missing.push(rel);return route.fulfill({status:404,body:'Missing synthetic fixture asset'});}
|
|
68
|
+
let body=fs.readFileSync(filename);
|
|
69
|
+
const contentType={'.html':'text/html','.js':'text/javascript','.json':'application/json','.css':'text/css','.svg':'image/svg+xml','.png':'image/png','.woff2':'font/woff2','.ico':'image/x-icon'}[path.extname(filename)]||'application/octet-stream';
|
|
70
|
+
if(rel==='index.html')body=Buffer.from(body.toString().replaceAll("'@@disableDataReporting@@'",'true').replaceAll("'@@auth@@'","'true'").replaceAll("'@@ssoActive@@'",'false').replaceAll("'@@socketPath@@'","''").replace(/@@[^@]+@@/g,''));
|
|
71
|
+
return route.fulfill({contentType,body});
|
|
72
|
+
});
|
|
73
|
+
await page.goto('https://eos-preview.test/#tab-intro',{waitUntil:'domcontentloaded'});
|
|
74
|
+
await page.locator('.eos-native-intro-grid').waitFor({timeout:25000});
|
|
75
|
+
return {context,page,data,control};
|
|
76
|
+
}
|
|
77
|
+
async function visibleUnclipped(locator,viewport) {
|
|
78
|
+
await locator.waitFor({state:'visible',timeout:10000});
|
|
79
|
+
await locator.click({trial:true,timeout:10000});
|
|
80
|
+
const box=await locator.boundingBox();
|
|
81
|
+
assert(box&&box.width>20&&box.height>20,'Control has no usable hit area');
|
|
82
|
+
assert(box.x>=0&&box.y>=0&&box.x+box.width<=viewport.width+1&&box.y+box.height<=viewport.height+1,'Control extends beyond viewport');
|
|
83
|
+
const hit=await locator.evaluate(el=>{const b=el.getBoundingClientRect();const at=document.elementFromPoint(b.x+b.width/2,b.y+b.height/2);return !!at&&(el===at||el.contains(at));});
|
|
84
|
+
assert(hit,'Control center is clipped or covered');
|
|
85
|
+
return box;
|
|
86
|
+
}
|
|
87
|
+
async function openNavigation(page) {
|
|
88
|
+
if(await page.locator('[data-eos-tab="tab-system"]').isVisible())return;
|
|
89
|
+
const menu=page.locator('[data-eos-menu-toggle="1"]').filter({visible:true}).first();
|
|
90
|
+
await menu.click();
|
|
91
|
+
await page.locator('[data-eos-tab="tab-system"]').waitFor({state:'visible'});
|
|
92
|
+
}
|
|
93
|
+
async function runAdmin(browser,name,viewport,options) {
|
|
94
|
+
const s=await createScenario(browser,name,'admin',viewport,options);const {page,data,control}=s;
|
|
95
|
+
result.scenarios.push(data);
|
|
96
|
+
const system=page.locator('[data-eos-tab="tab-system"]');
|
|
97
|
+
const expert=page.locator('[data-eos-expert-control="1"]');
|
|
98
|
+
await openNavigation(page);
|
|
99
|
+
data.controls={system:await visibleUnclipped(system,viewport),expert:await visibleUnclipped(expert,viewport)};
|
|
100
|
+
data.navigation=await page.locator('.MuiDrawer-paper > .MuiList-root').evaluate(el=>{
|
|
101
|
+
const before=el.scrollLeft;el.scrollLeft=el.scrollWidth;
|
|
102
|
+
return {width:el.clientWidth,contentWidth:el.scrollWidth,before,after:el.scrollLeft};
|
|
103
|
+
});
|
|
104
|
+
assert(data.navigation.contentWidth>data.navigation.width,'Synthetic long navigation must overflow');
|
|
105
|
+
await visibleUnclipped(system,viewport);await visibleUnclipped(expert,viewport);
|
|
106
|
+
data.checks.push('System/Expert controls remain reachable while long adapter navigation scrolls');
|
|
107
|
+
await expert.click();
|
|
108
|
+
if(await page.getByRole('dialog').count())await page.getByRole('dialog').getByRole('button').last().click();
|
|
109
|
+
await page.waitForFunction(()=>sessionStorage.getItem('App.expertMode')==='true');
|
|
110
|
+
assert.equal(await expert.getAttribute('aria-pressed'),'true');
|
|
111
|
+
await expert.click();
|
|
112
|
+
await page.waitForFunction(()=>sessionStorage.getItem('App.expertMode')==='false');
|
|
113
|
+
assert.equal(await expert.getAttribute('aria-pressed'),'false');
|
|
114
|
+
data.checks.push('Visible System and Expert controls; expert session mode enables and disables');
|
|
115
|
+
await openNavigation(page);await system.click();
|
|
116
|
+
await page.locator('#siteName').waitFor({timeout:15000});
|
|
117
|
+
assert.equal(await page.locator('#city').inputValue(),'Teststadt');
|
|
118
|
+
assert.equal(await page.locator('#latitude').inputValue(),'50');
|
|
119
|
+
assert.equal(await page.locator('#longitude').inputValue(),'10');
|
|
120
|
+
data.checks.push('Native system settings open and retain customer/site and location fields');
|
|
121
|
+
data.systemText=(await page.getByRole('dialog').first().innerText()).slice(0,4000);
|
|
122
|
+
if(process.argv.includes('--inspect')){
|
|
123
|
+
await page.screenshot({path:path.join(output,name+'.png'),fullPage:true});
|
|
124
|
+
await s.context.close();return;
|
|
125
|
+
}
|
|
126
|
+
await page.locator('#siteName').fill('Prüfanlage 8.0.2');
|
|
127
|
+
const saveButton=page.getByRole('button',{name:/Speichern und schließen|Save & Close/i});
|
|
128
|
+
control.failNextConfigWrite=true;
|
|
129
|
+
await saveButton.click();
|
|
130
|
+
await page.locator('[data-eos-system-save-error]').waitFor();
|
|
131
|
+
assert.equal(await page.locator('#siteName').inputValue(),'Prüfanlage 8.0.2');
|
|
132
|
+
assert.equal(await saveButton.isEnabled(),true);
|
|
133
|
+
data.checks.push('Synthetic save failure preserves edits and releases Save button for retry');
|
|
134
|
+
await saveButton.click();
|
|
135
|
+
await page.locator('#siteName').waitFor({state:'detached',timeout:10000});
|
|
136
|
+
assert.equal(control.objects['system.config'].common.siteName,'Prüfanlage 8.0.2');
|
|
137
|
+
assert.equal(control.objects['system.config'].common.city,'Teststadt');
|
|
138
|
+
data.checks.push('Save persists customer/site name and preserves location');
|
|
139
|
+
await openNavigation(page);await system.click();await page.locator('#siteName').waitFor();
|
|
140
|
+
assert.equal(await page.locator('#siteName').inputValue(),'Prüfanlage 8.0.2');
|
|
141
|
+
await page.locator('#siteName').fill('Nicht speichern');
|
|
142
|
+
await page.getByRole('dialog').first().getByRole('button',{name:/^(Schließen|Abbrechen)$/}).click();
|
|
143
|
+
await page.locator('#ar_dialog_confirm_ok_').click();
|
|
144
|
+
await page.locator('#siteName').waitFor({state:'detached'});
|
|
145
|
+
assert.equal(control.objects['system.config'].common.siteName,'Prüfanlage 8.0.2');
|
|
146
|
+
await openNavigation(page);await system.click();await page.locator('#siteName').waitFor();
|
|
147
|
+
assert.equal(await page.locator('#siteName').inputValue(),'Prüfanlage 8.0.2');
|
|
148
|
+
data.checks.push('Discard leaves stored configuration unchanged');
|
|
149
|
+
await page.getByRole('tab',{name:'EOS Home / Pro'}).click();
|
|
150
|
+
await page.getByText('EOS Home',{exact:true}).waitFor({timeout:10000});
|
|
151
|
+
data.checks.push('Native EOS licensing tab renders valid Home status');
|
|
152
|
+
control.failNextLicense=true;
|
|
153
|
+
await page.locator('[data-eos-license-refresh]').click();
|
|
154
|
+
await page.locator('[data-eos-license-panel] [role="alert"]').filter({hasText:/nicht bereit/}).waitFor();
|
|
155
|
+
assert.equal(await page.getByText('EOS Home',{exact:true}).count(),0);
|
|
156
|
+
await page.locator('[data-eos-license-refresh]').click();
|
|
157
|
+
await page.getByText('EOS Home',{exact:true}).waitFor();
|
|
158
|
+
data.checks.push('License request failure removes stale confirmation and refresh restores status');
|
|
159
|
+
const syntheticCode='NWL2.SYNTHETIC_BROWSER_FIXTURE_NOT_A_REAL_KEY';
|
|
160
|
+
await page.locator('#eos-license-code').fill(syntheticCode);
|
|
161
|
+
await page.locator('[data-eos-license-activate]').click();
|
|
162
|
+
await page.getByText('EOS Pro',{exact:true}).waitFor();
|
|
163
|
+
assert.equal(await page.locator('#eos-license-code').inputValue(),'');
|
|
164
|
+
assert.equal(await page.evaluate(code=>[...Object.values(localStorage),...Object.values(sessionStorage)].some(value=>String(value).includes(code)),syntheticCode),false);
|
|
165
|
+
data.checks.push('Synthetic activation sends same-origin guarded request, displays Pro, clears input, does not persist code in browser storage');
|
|
166
|
+
await page.locator('[data-eos-license-remove]').click();
|
|
167
|
+
await page.getByRole('dialog').last().getByRole('button',{name:'Abbrechen',exact:true}).click();
|
|
168
|
+
assert.equal(control.licenseCalls.filter(c=>c.path.endsWith('/remove')).length,0);
|
|
169
|
+
await page.locator('[data-eos-license-remove]').click();
|
|
170
|
+
await page.getByRole('dialog').last().getByRole('button',{name:'Entfernen',exact:true}).click();
|
|
171
|
+
await page.getByText('Keine Lizenz aktiviert.',{exact:true}).waitFor();
|
|
172
|
+
assert.equal(control.licenseCalls.filter(c=>c.path.endsWith('/remove')).length,1);
|
|
173
|
+
data.checks.push('License removal requires confirmation; cancel sends nothing; confirm shows unlicensed status');
|
|
174
|
+
data.licenseText=(await page.getByRole('dialog').first().innerText()).slice(0,5000);
|
|
175
|
+
assert.equal(await page.locator('a[href="/nexowatt/license"]').count(),0);
|
|
176
|
+
data.checks.push('No floating standalone license link remains');
|
|
177
|
+
data.writes=control.writes.map(w=>({id:w.id,siteName:w.value.common?.siteName}));
|
|
178
|
+
data.licenseCalls=control.licenseCalls.map(c=>({...c,body:c.body?{keys:Object.keys(c.body)}:null}));
|
|
179
|
+
await page.getByRole('dialog').first().getByRole('button',{name:/^(Schließen|Abbrechen)$/}).click();
|
|
180
|
+
await page.evaluate(()=>window.dispatchEvent(new CustomEvent('nexowatt-eos-policy',{detail:{policy:{authenticated:true,role:'enduser'}}})));
|
|
181
|
+
await page.locator('[data-eos-expert-control]').waitFor({state:'detached'});
|
|
182
|
+
assert.equal(await page.locator('[data-eos-tab="tab-system"]').count(),0);
|
|
183
|
+
data.checks.push('Authenticated policy downgrade removes administrator controls immediately');
|
|
184
|
+
await s.context.close();
|
|
185
|
+
}
|
|
186
|
+
async function runEnduser(browser){
|
|
187
|
+
const s=await createScenario(browser,'enduser','enduser',{width:1440,height:1000});result.scenarios.push(s.data);
|
|
188
|
+
assert.equal(await s.page.locator('[data-eos-tab="tab-system"]').count(),0);
|
|
189
|
+
assert.equal(await s.page.locator('[data-eos-expert-control]').count(),0);
|
|
190
|
+
await s.page.goto('https://eos-preview.test/#system/tabEosLicenses');
|
|
191
|
+
await s.page.waitForTimeout(250);
|
|
192
|
+
assert.equal(await s.page.locator('#siteName').count(),0);
|
|
193
|
+
assert.equal(s.control.licenseCalls.length,0);
|
|
194
|
+
s.data.checks.push('Enduser has no System/Expert control; direct System/license route denied before license request');
|
|
195
|
+
await s.context.close();
|
|
196
|
+
}
|
|
197
|
+
(async()=>{
|
|
198
|
+
const sparticuz=process.env.EOS_BROWSER_PROFILE==='sparticuz';
|
|
199
|
+
const launchOptions={headless:true,executablePath:executable,env:sparticuz?{...process.env,LD_LIBRARY_PATH:[runtime,path.join(runtime,'lib'),process.env.LD_LIBRARY_PATH].filter(Boolean).join(':'),FONTCONFIG_PATH:path.join(runtime,'fonts')}:process.env,args:sparticuz?['--no-sandbox','--no-zygote','--single-process','--in-process-gpu','--use-gl=angle','--use-angle=swiftshader','--enable-unsafe-swiftshader']:[]};
|
|
200
|
+
let browser=await chromium.launch(launchOptions);
|
|
201
|
+
result.browser=await browser.version();
|
|
202
|
+
try{
|
|
203
|
+
await runAdmin(browser,'desktop',{width:1900,height:1000});
|
|
204
|
+
if(!process.argv.includes('--inspect')){
|
|
205
|
+
await browser.close();browser=await chromium.launch(launchOptions);
|
|
206
|
+
await runAdmin(browser,'mobile',{width:390,height:844},{emptySiteName:true});
|
|
207
|
+
await browser.close();browser=await chromium.launch(launchOptions);
|
|
208
|
+
await runEnduser(browser);
|
|
209
|
+
}
|
|
210
|
+
for(const scenario of result.scenarios){
|
|
211
|
+
assert.equal(scenario.errors.length,0,scenario.name+' page errors');
|
|
212
|
+
assert.equal(scenario.missing.length,0,scenario.name+' missing assets');
|
|
213
|
+
assert.equal(scenario.externalBlocked.length,0,scenario.name+' unexpected external requests');
|
|
214
|
+
const unexpectedConsole=scenario.console.filter(item=>!/^Failed to load resource: the server responded with a status of 503 \(Service Unavailable\)$/.test(item.text));
|
|
215
|
+
assert.equal(unexpectedConsole.length,0,scenario.name+' unexpected console errors/warnings');
|
|
216
|
+
}
|
|
217
|
+
result.status='passed';
|
|
218
|
+
}catch(error){result.status='failed';result.failure=error.stack;if(lastPage&&!lastPage.isClosed()){result.failureBody=(await lastPage.locator('body').innerText()).slice(0,15000);await lastPage.screenshot({path:path.join(output,'failure.png'),fullPage:true}).catch(()=>{});}throw error;}
|
|
219
|
+
finally{fs.writeFileSync(path.join(output,'system-browser-result.json'),JSON.stringify(result,null,2)+'\n');await browser.close();}
|
|
220
|
+
console.log(JSON.stringify({status:result.status,version:result.version,browser:result.browser,checks:result.scenarios.map(s=>({name:s.name,checks:s.checks}))}));
|
|
221
|
+
})().catch(error=>{console.error(error);process.exitCode=1;});
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
const fixtureLabel = 'Vorschau · synthetische Testdaten';
|
|
3
|
+
const host = {_id:'system.host.eos-demo',type:'host',common:{name:'eos-demo',hostname:'eos-demo',installedVersion:'7.2.5',platform:'Javascript/Node.js'},native:{hardware:{networkInterfaces:{eth0:[{address:'192.0.2.10',family:'IPv4',internal:false}]}}},ts:Date.now()};
|
|
4
|
+
const config={_id:'system.config',type:'config',common:{name:fixtureLabel,siteName:fixtureLabel,language:'de',licenseConfirmed:true,tipsDisabled:true,expertMode:false,country:'Germany',city:'Teststadt',latitude:50,longitude:10,currency:'€',tempUnit:'°C',defaultLogLevel:'info',defaultHistory:'',firstDayOfWeek:'monday',activeRepo:['stable'],diag:'none',isFloatComma:true,dateFormat:'DD.MM.YYYY'},native:{}};
|
|
5
|
+
const instances={};
|
|
6
|
+
for(const [name,title,localLink] of [['eos-admin','NexoWatt EOS Admin','http://%ip%:8081'],['nexowatt-ui','NexoWatt EOS Cockpit','http://%ip%:8082'],['nexowatt-backup','NexoWatt Sicherung','http://%ip%:8081/#tab-nexowatt-backup']])instances['system.adapter.'+name+'.0']={_id:'system.adapter.'+name+'.0',type:'instance',common:{name,title,titleLang:{de:title,en:title},enabled:true,host:'eos-demo',mode:'daemon',adminUI:{config:'json',...(name==='nexowatt-backup'?{tab:'html'}:{})},version:name==='eos-admin'?'8.0.2':'1.0.0',installedVersion:name==='eos-admin'?'8.0.2':'1.0.0',icon:'eos-fixture.svg',localLink,adminTab:name==='nexowatt-backup'?{name:'Sicherung',link:'/adapter/nexowatt-backup/tab.html',singleton:true}:undefined},native:{port:name==='eos-admin'?8081:8082,language:'de',auth:true,disableMcp:true}};
|
|
7
|
+
for(let i=0;i<8;i++){const name='test-navigation-'+i;instances['system.adapter.'+name+'.0']={_id:'system.adapter.'+name+'.0',type:'instance',common:{name,title:'Synthetic long navigation '+i,titleLang:{de:'Synthetische Navigation '+i,en:'Synthetic navigation '+i},enabled:true,host:'eos-demo',mode:'daemon',adminUI:{config:'json',tab:'html'},adminTab:{name:'Navigation Test '+i,link:'/adapter/'+name+'/tab.html',singleton:true},version:'1.0.0',installedVersion:'1.0.0',icon:'eos-fixture.svg'},native:{}};}
|
|
8
|
+
const objects={'system.certificates':{_id:'system.certificates',type:'config',common:{name:'Synthetic certificates'},native:{certificates:{}}},'system.config':config,[host._id]:host,...instances,'system.user.admin':{_id:'system.user.admin',type:'user',common:{name:'Demo Administrator',enabled:true},native:{}},'system.group.administrator':{_id:'system.group.administrator',type:'group',common:{name:'Administratoren',members:['system.user.admin']},native:{}},'system.meta.uuid':{_id:'system.meta.uuid',type:'meta',native:{uuid:'00000000-0000-4000-8000-000000000008'}},'system.repositories':{_id:'system.repositories',type:'config',common:{name:'Repositories'},native:{repositories:{stable:{link:'https://example.invalid/repo.json',json:{}}}}}};
|
|
9
|
+
const state=value=>({val:value,ack:true,ts:Date.now(),lc:Date.now(),from:'system.adapter.eos-admin.0'});
|
|
10
|
+
function states(){return Object.fromEntries(Object.keys(instances).map(id=>[id+'.alive',state(true)]).concat([[host._id+'.alive',state(true)],['nexowatt-ui.0.info.adminOverview.summaryJson',state(JSON.stringify({schemaVersion:1,generatedAt:Date.now(),updatedAt:Date.now(),available:true,status:'ok',headline:'Synthetische EMS-Vorschau',reason:'Lokale Testdaten – keine Verbindung zu einer Anlage.',binding:'none',ems:{available:true,status:'Normalbetrieb'},budget:{totalW:22000,remainingW:14200},charging:{available:true,activeCount:1,waitingCount:0,faultCount:0,actualW:4200,targetW:4200,status:'Testbetrieb'},storage:{available:true,socPercent:72,actualW:1800,targetW:1800,writeOk:true},currentDecisions:[{subsystem:'Test',severity:'info',title:fixtureLabel,reason:'Für die Ansicht wurden ausschließlich lokale Prüfdaten verwendet.'}]}))],['nexowatt-ui.0.info.adminOverview.eventsJson',state('[]')]]));}
|
|
11
|
+
function compactInstances(){return Object.fromEntries(Object.entries(instances).map(([id,obj])=>[id,{...obj.common,enabled:true,adminUI:{config:'json'},title:obj.common.title}]));}
|
|
12
|
+
async function setup(page,events,role='admin',control={}){
|
|
13
|
+
const admin=role==='admin'||role==='service';
|
|
14
|
+
objects['system.user.demo']={_id:'system.user.demo',type:'user',common:{name:'Demo Endkunde',enabled:true},native:{}};
|
|
15
|
+
events.socket=[]; control.objects=objects; control.writes=[]; control.failNextConfigWrite=false; control.failNextSettingsRead=false;
|
|
16
|
+
await page.routeWebSocket('**/*', ws=>{
|
|
17
|
+
ws.onMessage(raw=>{
|
|
18
|
+
let message;try{message=JSON.parse(String(raw));}catch{return;}
|
|
19
|
+
const [type,id,name,args=[]]=message;
|
|
20
|
+
if(type===1){ws.send('[2]');return;}
|
|
21
|
+
events.socket.push({name,args});
|
|
22
|
+
if(type!==3)return;
|
|
23
|
+
let answer=[null,null];
|
|
24
|
+
switch(name){
|
|
25
|
+
case 'authenticate':answer=[true,true];break;
|
|
26
|
+
case 'getVersion':answer=[null,'8.0.2','eos-admin'];break;
|
|
27
|
+
case 'authEnabled':answer=[true,admin?'admin':'demo'];break;
|
|
28
|
+
case 'getUserPermissions':answer=[null,{user:admin?'system.user.admin':'system.user.demo',groups:admin?['system.group.administrator']:['system.group.user'],object:{read:true,list:true,write:true,delete:true},state:{read:true,list:true,write:true,delete:true},file:{read:true,list:true,write:true,delete:true},users:{read:true,list:true,write:true,delete:true},other:{execute:true,http:true,sendto:true}}];break;
|
|
29
|
+
case 'getCompactSystemConfig':answer=[null,config];break;
|
|
30
|
+
case 'getCurrentInstance':answer=[null,'eos-admin.0'];break;
|
|
31
|
+
case 'getIsEasyModeStrict':answer=[null,false];break;
|
|
32
|
+
case 'getEasyMode':answer=[null,{configs:[]}];break;
|
|
33
|
+
case 'getObject':if(args[0]==='system.repositories'&&control.failNextSettingsRead){control.failNextSettingsRead=false;answer=['Synthetic read failure'];}else answer=[null,objects[args[0]]||null];break;
|
|
34
|
+
case 'getObjects':answer=[null,objects];break;
|
|
35
|
+
case 'getForeignObjects':answer=[null,Object.fromEntries(Object.entries(objects).filter(([,v])=>!args[1]||v.type===args[1]))];break;
|
|
36
|
+
case 'getAdapterInstances':answer=[null,Object.values(instances).filter(x=>typeof args[0]!=='string'||!args[0]||x.common.name===args[0])];break;
|
|
37
|
+
case 'setObject': if(args[0]==='system.config'&&control.failNextConfigWrite){control.failNextConfigWrite=false;answer=['Synthetic write failure'];}else{objects[args[0]]=args[1];if(args[0]==='system.config'){Object.keys(config).forEach(key=>delete config[key]);Object.assign(config,args[1]);}control.writes.push({id:args[0],value:structuredClone(args[1])});answer=[null];}break;
|
|
38
|
+
case 'getObjectView':answer=[null,{rows:Object.values(objects).filter(obj=>obj.type===args[1]&&obj._id>=(args[2]?.startkey||'')&&obj._id<=(args[2]?.endkey||'\uffff')).map(value=>({id:value._id,value}))}];break;
|
|
39
|
+
case 'getCompactInstances':answer=[null,compactInstances()];break;
|
|
40
|
+
case 'getCompactAdapters':answer=[null,Object.fromEntries(Object.values(instances).map(x=>[x.common.name,{version:x.common.version,icon:x.common.icon}]))];break;
|
|
41
|
+
case 'getCompactHosts':answer=[null,[{_id:host._id,common:host.common,native:host.native}]];break;
|
|
42
|
+
case 'getCompactInstalled':case 'getCompactRepository':answer=[{}];break;
|
|
43
|
+
case 'getCompactSystemRepositories':answer=[null,objects['system.repositories']];break;
|
|
44
|
+
case 'getHostByIp':answer=['192.0.2.10',host];break;
|
|
45
|
+
case 'getForeignStates':case 'getStates':answer=[null,states()];break;
|
|
46
|
+
case 'getState':answer=[null,states()[args[0]]||null];break;
|
|
47
|
+
case 'getHistory':answer=[null,[]];break;
|
|
48
|
+
case 'checkFeatureSupported':answer=[null,['CONTROLLER_MULTI_REPO','CONTROLLER_LICENSE_MANAGER'].includes(args[0])];break;
|
|
49
|
+
case 'getAdapterName':answer=[null,'eos-admin'];break;
|
|
50
|
+
case 'getLogFiles':answer=[null,[]];break;
|
|
51
|
+
case 'sendToHost':answer=[args[1]==='getNotifications'?{result:{}}:args[1]==='getLogs'?[]:args[1]==='getHostInfo'||args[1]==='getHostInfoShort'?{Platform:'linux',Architecture:'x64',CPUs:4,'CPU model':'Synthetic preview',RAM:8589934592,'Node.js':'v24.22.1',time:Date.now(),hostname:'eos-demo'}:{}];break;
|
|
52
|
+
case 'sendTo':answer=[{}];break;
|
|
53
|
+
default:if(/^(set|del|extend|write|cmd|add|chmod)/i.test(name))answer=['Read-only browser fixture'];
|
|
54
|
+
}
|
|
55
|
+
ws.send(JSON.stringify([3,id,name,answer]));
|
|
56
|
+
});
|
|
57
|
+
ws.send(JSON.stringify([0,0,'___ready___',[]]));
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
module.exports={setup,fixtureLabel};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"algorithm": "sha256",
|
|
3
|
+
"files": {
|
|
4
|
+
"docs/security/admin8-2026-11-05/system-fix/BACKEND_ROLE_REVIEW_DE.md": "7c0d5827d867fda2e25e0e90547f56b5c18f27ab5beffaeb72942e924592f3a2",
|
|
5
|
+
"docs/security/admin8-2026-11-05/system-fix/NAVIGATION_DE.md": "189287323d555572d869577bd5e198c88122f583376bac55fa9957f6c628a36c",
|
|
6
|
+
"docs/security/admin8-2026-11-05/system-fix/REPORT_DE.md": "267fa0a55ece7a7de4adc92e3c7688357c7cedaaa9b9ddeeb138c60b67e27498",
|
|
7
|
+
"docs/security/admin8-2026-11-05/system-fix/REVIEW_DE.md": "d17e53b272aa2bbc612cd9125b347e6f35881acd4094a6a11e994e56fee611cf",
|
|
8
|
+
"docs/security/admin8-2026-11-05/system-fix/SCOPE_DE.md": "b724fcfb17e6e90ceadeca03b3bdd4c2414f70acbb74fe6aaf401c9ad717010e",
|
|
9
|
+
"docs/security/admin8-2026-11-05/system-fix/SYSTEM_DE.md": "6872622c0336204354e9ea10876e088fd3b951e490a0436842ba6219ddfbe9e5",
|
|
10
|
+
"docs/security/admin8-2026-11-05/system-fix/browser/README.md": "1b8b8c76dbda38dbaa2f99a60a3268cd2af2614c44ee24716d6f8acb24184d9a",
|
|
11
|
+
"docs/security/admin8-2026-11-05/system-fix/browser/integrity.json": "0eddd34975867d722759b9195c17eb7924e68dea658ac235ffd8dd6fc0e4b56b",
|
|
12
|
+
"docs/security/admin8-2026-11-05/system-fix/browser/system-browser-result.json": "f3145f882bbb9bf89046121b99ed970deb66ab6b1e0fcee984aaa8f14629a3fd",
|
|
13
|
+
"docs/security/admin8-2026-11-05/system-fix/browser/system-browser.cjs": "c5c6d78faebcb538a2da2d1edf9e0d9ed6c619f8d5a8c6bc306b73e23e3c42ec",
|
|
14
|
+
"docs/security/admin8-2026-11-05/system-fix/browser/system-fixture.cjs": "598c34096c0f7d777d0c9b1171b15a893bc72d5f16956db4f0674ed2df92f5f6",
|
|
15
|
+
"docs/security/admin8-2026-11-05/system-fix/license-ui-tests-node22.log": "83383afd85834dda16880b5dd48b15c2343ad7c05039b46c8363ee27d06f9fd2",
|
|
16
|
+
"docs/security/admin8-2026-11-05/system-fix/license-ui-tests-node24.log": "e2733343f9a4361c573902f8a13eee9f73a7ea277e7253fe4d5193fc76060047",
|
|
17
|
+
"docs/security/admin8-2026-11-05/system-fix/navigation/lint.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
18
|
+
"docs/security/admin8-2026-11-05/system-fix/navigation/node22-tests.log": "c6822f8fffce631a87c66773e87bddc80e72825215d897140b7e6f1abaca4a44",
|
|
19
|
+
"docs/security/admin8-2026-11-05/system-fix/navigation/node24-tests.log": "8b9aba1a8ba9c0e30cee779e9d89ff2fe49f09770e84cfc6f3c872b0a63582a7",
|
|
20
|
+
"docs/security/admin8-2026-11-05/system-fix/navigation/source-sha256.json": "2cbf891e71ace7110e6ca5f7fb6c34aa94f54af59d0877a7ce024060845c5379",
|
|
21
|
+
"docs/security/admin8-2026-11-05/system-fix/release/artifacts.log": "e38cfa6e69b62792318fd9d0bb58e0f05fbf41e1c5f229d0833b35d6704f1939",
|
|
22
|
+
"docs/security/admin8-2026-11-05/system-fix/release/audit-root.json": "f58452933f2827a7666572961db5edc9fb2e308662a1e2c259a76cffa81cd698",
|
|
23
|
+
"docs/security/admin8-2026-11-05/system-fix/release/audit-root.stderr": "7125f194612fcff2f454c05d848e7cb71facc1967b4d5017e25b34fdee3ba74f",
|
|
24
|
+
"docs/security/admin8-2026-11-05/system-fix/release/backend-build.log": "6f12a816f2e0b2ee79ba108559d065908faab504b2803f1840b555bbe4dc9b39",
|
|
25
|
+
"docs/security/admin8-2026-11-05/system-fix/release/clean.log": "d6488f552e55d763a5cc018e4d2aa698548b2c2ceeae0111401a3c531a1ab933",
|
|
26
|
+
"docs/security/admin8-2026-11-05/system-fix/release/consumer-audit.json": "7b53c75218b00a3909b5074e81d525611cf857a7f56ca1c2741e45b4dc59bbce",
|
|
27
|
+
"docs/security/admin8-2026-11-05/system-fix/release/consumer-audit.stderr": "db12ad97221988bf346c55d06788e21a01bb6a683d69266bf732ed4d6d9763c8",
|
|
28
|
+
"docs/security/admin8-2026-11-05/system-fix/release/consumer-install.log": "d8d04dfcd13f2dd8bd2cde667515aaa9813cac7f881df2bf470527c7b22414ce",
|
|
29
|
+
"docs/security/admin8-2026-11-05/system-fix/release/consumer-package-lock.json": "49457d1a16153e36cb786c990c6ab4b6f744cfc164b116a457c59dbc32ffc54f",
|
|
30
|
+
"docs/security/admin8-2026-11-05/system-fix/release/development.log": "744e62924d6b3c3468f65db63a14be9e57e9b968bf0401385708230076a17159",
|
|
31
|
+
"docs/security/admin8-2026-11-05/system-fix/release/frontend-build.log": "19ec7333695637b14e723cbe51e2aa6604cd3ee4a2b25fc49002c5edf71d2426",
|
|
32
|
+
"docs/security/admin8-2026-11-05/system-fix/release/http-node22.json": "04f97f00b7e81dc066d084972f8a9195c5416c21afe822b44c413c9ebd795b75",
|
|
33
|
+
"docs/security/admin8-2026-11-05/system-fix/release/http-node24.json": "c07ecaaf6e66cbac9643bf46bebf0c4522c6af9e5c8da54afdd9c88f2080eaf3",
|
|
34
|
+
"docs/security/admin8-2026-11-05/system-fix/release/inventory.log": "ca7f33769204fe10177931fc1e415657e4775419dc50db629c8b11e3ad43e93e",
|
|
35
|
+
"docs/security/admin8-2026-11-05/system-fix/release/overlay-journal.json": "6a03d829a480ca766d15e1fddb8487c535bd9eb87a3f7729837c197b6b5aa483",
|
|
36
|
+
"docs/security/admin8-2026-11-05/system-fix/release/overlay-publish.log": "10507176fd78b0c292c7ac6471780e8504ab113b4473f16d2de345c1bb61de02",
|
|
37
|
+
"docs/security/admin8-2026-11-05/system-fix/release/overlay-validation.json": "6cd0c232ee913eb03144adba8446ec2df3071469650e6134df03b31cecc324b1",
|
|
38
|
+
"docs/security/admin8-2026-11-05/system-fix/release/pack.json": "c3bc8a723d03f14605dc16a2396bce1bd3292fdb25fcdab0fe54dc3fd1c54d02",
|
|
39
|
+
"docs/security/admin8-2026-11-05/system-fix/release/pack.stderr": "d84c92f304ce57f9b30c76ceb714b36768c1a799bfbdddeba3158e77e2f47aa3",
|
|
40
|
+
"docs/security/admin8-2026-11-05/system-fix/release/retired-801.json": "09921c0f38f655420426b38b1fc682ec47cb8d147e324fe8dcf3b7a3d36d0ede",
|
|
41
|
+
"docs/security/admin8-2026-11-05/system-fix/release/seal.log": "1bd16309c5cca28143c8193e7a9c9bb29278c415448ff12f6de78662e2a0be88",
|
|
42
|
+
"docs/security/admin8-2026-11-05/system-fix/review-tests.log": "5a2d59c56b9cf1ef04418cede022887d11fb479868f7f230b1839e406a083bfd",
|
|
43
|
+
"docs/security/admin8-2026-11-05/system-fix/role-context-before.log": "8717eea0494522ce2887359f22dba16b925129c230394d7f94879b8f7e8c0971",
|
|
44
|
+
"docs/security/admin8-2026-11-05/system-fix/role-context-lint.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
45
|
+
"docs/security/admin8-2026-11-05/system-fix/role-context-node22.log": "16cc6be1535aa21290a7c3ba3a0f60e8099a35a25ccf91d2a4fd69f3e11b3ee3",
|
|
46
|
+
"docs/security/admin8-2026-11-05/system-fix/role-context-test.log": "565af721719d19f1de30a5e085d67ec62b7892dbfad47052563cfad745184000",
|
|
47
|
+
"docs/security/admin8-2026-11-05/system-fix/validation.json": "55c0dc6c501a5692014f354a3f1321386aea6016acad6ebb2b16e84d7cec9fc3"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
(node:5) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
2
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
|
+
TAP version 13
|
|
4
|
+
# (node:12) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
5
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
6
|
+
# Subtest: public status projection preserves Home/Pro and rejects hidden activation-code fields
|
|
7
|
+
ok 1 - public status projection preserves Home/Pro and rejects hidden activation-code fields
|
|
8
|
+
---
|
|
9
|
+
duration_ms: 1.778973
|
|
10
|
+
type: 'test'
|
|
11
|
+
...
|
|
12
|
+
# Subtest: license URL preserves root and prefixed Admin deployment paths
|
|
13
|
+
ok 2 - license URL preserves root and prefixed Admin deployment paths
|
|
14
|
+
---
|
|
15
|
+
duration_ms: 0.236799
|
|
16
|
+
type: 'test'
|
|
17
|
+
...
|
|
18
|
+
# Subtest: invalid or inconsistent status never becomes a valid license
|
|
19
|
+
ok 3 - invalid or inconsistent status never becomes a valid license
|
|
20
|
+
---
|
|
21
|
+
duration_ms: 0.743716
|
|
22
|
+
type: 'test'
|
|
23
|
+
...
|
|
24
|
+
# Subtest: activation and removal use existing same-origin authenticated routes and exact CSRF bodies
|
|
25
|
+
ok 4 - activation and removal use existing same-origin authenticated routes and exact CSRF bodies
|
|
26
|
+
---
|
|
27
|
+
duration_ms: 4.982007
|
|
28
|
+
type: 'test'
|
|
29
|
+
...
|
|
30
|
+
# Subtest: bad codes and invalid route names are rejected before any request
|
|
31
|
+
ok 5 - bad codes and invalid route names are rejected before any request
|
|
32
|
+
---
|
|
33
|
+
duration_ms: 0.597562
|
|
34
|
+
type: 'test'
|
|
35
|
+
...
|
|
36
|
+
# Subtest: denied or unavailable API produces a safe error and never a false no-license status
|
|
37
|
+
ok 6 - denied or unavailable API produces a safe error and never a false no-license status
|
|
38
|
+
---
|
|
39
|
+
duration_ms: 1.590255
|
|
40
|
+
type: 'test'
|
|
41
|
+
...
|
|
42
|
+
# Subtest: oversized and malformed response bodies are rejected and stream cancelled
|
|
43
|
+
ok 7 - oversized and malformed response bodies are rejected and stream cancelled
|
|
44
|
+
---
|
|
45
|
+
duration_ms: 1.630544
|
|
46
|
+
type: 'test'
|
|
47
|
+
...
|
|
48
|
+
# Subtest: one total five-second deadline aborts the live response stream
|
|
49
|
+
ok 8 - one total five-second deadline aborts the live response stream
|
|
50
|
+
---
|
|
51
|
+
duration_ms: 5062.689108
|
|
52
|
+
type: 'test'
|
|
53
|
+
...
|
|
54
|
+
# Subtest: closing the panel cancels the live response without waiting for the deadline
|
|
55
|
+
ok 9 - closing the panel cancels the live response without waiting for the deadline
|
|
56
|
+
---
|
|
57
|
+
duration_ms: 116.244309
|
|
58
|
+
type: 'test'
|
|
59
|
+
...
|
|
60
|
+
# Subtest: activation never reports success for a response without a valid entitlement
|
|
61
|
+
ok 10 - activation never reports success for a response without a valid entitlement
|
|
62
|
+
---
|
|
63
|
+
duration_ms: 1.502037
|
|
64
|
+
type: 'test'
|
|
65
|
+
...
|
|
66
|
+
# Subtest: removal never reports success when the server still confirms an active license
|
|
67
|
+
ok 11 - removal never reports success when the server still confirms an active license
|
|
68
|
+
---
|
|
69
|
+
duration_ms: 0.716017
|
|
70
|
+
type: 'test'
|
|
71
|
+
...
|
|
72
|
+
1..11
|
|
73
|
+
# tests 11
|
|
74
|
+
# suites 0
|
|
75
|
+
# pass 11
|
|
76
|
+
# fail 0
|
|
77
|
+
# cancelled 0
|
|
78
|
+
# skipped 0
|
|
79
|
+
# todo 0
|
|
80
|
+
# duration_ms 5318.354183
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
✔ public status projection preserves Home/Pro and rejects hidden activation-code fields (2.453398ms)
|
|
2
|
+
✔ license URL preserves root and prefixed Admin deployment paths (0.278401ms)
|
|
3
|
+
✔ invalid or inconsistent status never becomes a valid license (0.792429ms)
|
|
4
|
+
✔ activation and removal use existing same-origin authenticated routes and exact CSRF bodies (7.220057ms)
|
|
5
|
+
✔ bad codes and invalid route names are rejected before any request (1.707938ms)
|
|
6
|
+
✔ denied or unavailable API produces a safe error and never a false no-license status (1.678025ms)
|
|
7
|
+
✔ oversized and malformed response bodies are rejected and stream cancelled (1.849547ms)
|
|
8
|
+
✔ one total five-second deadline aborts the live response stream (5064.148052ms)
|
|
9
|
+
✔ closing the panel cancels the live response without waiting for the deadline (114.273589ms)
|
|
10
|
+
✔ activation never reports success for a response without a valid entitlement (1.017493ms)
|
|
11
|
+
✔ removal never reports success when the server still confirms an active license (0.398469ms)
|
|
12
|
+
ℹ tests 11
|
|
13
|
+
ℹ suites 0
|
|
14
|
+
ℹ pass 11
|
|
15
|
+
ℹ fail 0
|
|
16
|
+
ℹ cancelled 0
|
|
17
|
+
ℹ skipped 0
|
|
18
|
+
ℹ todo 0
|
|
19
|
+
ℹ duration_ms 5344.520318
|
|
File without changes
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
(node:37) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
2
|
+
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
3
|
+
TAP version 13
|
|
4
|
+
# (node:44) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
|
|
5
|
+
# (Use `node --trace-warnings ...` to show where the warning was created)
|
|
6
|
+
# Subtest: System and expert controls are rendered for administrative policy only
|
|
7
|
+
ok 1 - System and expert controls are rendered for administrative policy only
|
|
8
|
+
---
|
|
9
|
+
duration_ms: 139.777042
|
|
10
|
+
type: 'test'
|
|
11
|
+
...
|
|
12
|
+
# Subtest: expert mode keeps confirmation and toggles both directions within the browser session
|
|
13
|
+
ok 2 - expert mode keeps confirmation and toggles both directions within the browser session
|
|
14
|
+
---
|
|
15
|
+
duration_ms: 37.149358
|
|
16
|
+
type: 'test'
|
|
17
|
+
...
|
|
18
|
+
# Subtest: cancelling expert confirmation preserves mode; settings link opens native System dialog
|
|
19
|
+
ok 3 - cancelling expert confirmation preserves mode; settings link opens native System dialog
|
|
20
|
+
---
|
|
21
|
+
duration_ms: 16.771618
|
|
22
|
+
type: 'test'
|
|
23
|
+
...
|
|
24
|
+
# Subtest: saved expert default and suppressed confirmation still allow disabling and reenabling
|
|
25
|
+
ok 4 - saved expert default and suppressed confirmation still allow disabling and reenabling
|
|
26
|
+
---
|
|
27
|
+
duration_ms: 13.239777
|
|
28
|
+
type: 'test'
|
|
29
|
+
...
|
|
30
|
+
# Subtest: policy arriving after launch updates React controls and restores session preference
|
|
31
|
+
ok 5 - policy arriving after launch updates React controls and restores session preference
|
|
32
|
+
---
|
|
33
|
+
duration_ms: 14.484133
|
|
34
|
+
type: 'test'
|
|
35
|
+
...
|
|
36
|
+
# Subtest: revoked, unresolved and first-login policies cannot retain expert or system controls
|
|
37
|
+
ok 6 - revoked, unresolved and first-login policies cannot retain expert or system controls
|
|
38
|
+
---
|
|
39
|
+
duration_ms: 72.12566
|
|
40
|
+
type: 'test'
|
|
41
|
+
...
|
|
42
|
+
# Subtest: a later legacy global role write cannot restore revoked React controls or an old click handler
|
|
43
|
+
ok 7 - a later legacy global role write cannot restore revoked React controls or an old click handler
|
|
44
|
+
---
|
|
45
|
+
duration_ms: 13.848997
|
|
46
|
+
type: 'test'
|
|
47
|
+
...
|
|
48
|
+
1..7
|
|
49
|
+
# tests 7
|
|
50
|
+
# suites 0
|
|
51
|
+
# pass 7
|
|
52
|
+
# fail 0
|
|
53
|
+
# cancelled 0
|
|
54
|
+
# skipped 0
|
|
55
|
+
# todo 0
|
|
56
|
+
# duration_ms 746.987093
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
✔ System and expert controls are rendered for administrative policy only (131.874626ms)
|
|
2
|
+
✔ expert mode keeps confirmation and toggles both directions within the browser session (15.777602ms)
|
|
3
|
+
✔ cancelling expert confirmation preserves mode; settings link opens native System dialog (11.928667ms)
|
|
4
|
+
✔ saved expert default and suppressed confirmation still allow disabling and reenabling (10.309232ms)
|
|
5
|
+
✔ policy arriving after launch updates React controls and restores session preference (10.426756ms)
|
|
6
|
+
✔ revoked, unresolved and first-login policies cannot retain expert or system controls (63.780286ms)
|
|
7
|
+
✔ a later legacy global role write cannot restore revoked React controls or an old click handler (9.327294ms)
|
|
8
|
+
ℹ tests 7
|
|
9
|
+
ℹ suites 0
|
|
10
|
+
ℹ pass 7
|
|
11
|
+
ℹ fail 0
|
|
12
|
+
ℹ cancelled 0
|
|
13
|
+
ℹ skipped 0
|
|
14
|
+
ℹ todo 0
|
|
15
|
+
ℹ duration_ms 644.750849
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"src-admin/src/App.tsx": "29a6af2282b685a134596530df4c5c8f58b4e3f47d3647b7c970b4ddfeaef503",
|
|
3
|
+
"src-admin/src/components/Drawer.tsx": "df9a882ee3bc5a2d4f7a02be29db4c0cdefa45d5a0f28f072de04b058e888aaf",
|
|
4
|
+
"src-admin/public/js/nexowatt-native-shell.js": "75233bc0befda8f1bd4973f408fa5ed95d06fd39ef70d684fbf7c001cd7b96fc",
|
|
5
|
+
"src-admin/public/css/nexowatt-native-shell.css": "7838f023a362e3401a4b1ed1294245be7c4a4298f9851d570fa02ae27cff648c",
|
|
6
|
+
"test/eos-admin8-navigation.test.cjs": "42a327dff8a5fe407443ecb6aa4c0932cb8bbf692fbd520b5000b932b14036db",
|
|
7
|
+
"tools/nexowatt-role-security-selftest.cjs": "a5e660af2a9ffee5c078f6702ee5caaf500db643c2c091aa9c260751c65667d0",
|
|
8
|
+
"src-admin/src/i18n/en.json": "781ede9b9117451e996e712f77c230ff2cc851a8dc424bfcab7a558511f342ce",
|
|
9
|
+
"src-admin/src/i18n/de.json": "5e423dd6e3a4767e9dba356126c1cfe792ee72e8e97619d82ad6834f5a2da7c4",
|
|
10
|
+
"src-admin/src/i18n/nl.json": "edc203d3fcaf2143e89cd9db2c960a43e10140148d5e4d6beefe198b090cbb73"
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"windowsBase": "C:\\Users\\User\\Desktop\\ioBroker\\ioBroker.eos.admin\\",
|
|
3
|
+
"maxFullPathChars": 248,
|
|
4
|
+
"longestRelativePath": "docs/ea/upstream-source-proof/admin/custom/assets/_virtual_mf___mfe_internal__AdminComponentEasyAccessSet__mf_owner__1__loadShare___mf_0_iobroker_mf_1_gui_mf_2_components__loadShare__.js-wBTkI4zM.js",
|
|
5
|
+
"fileCountBeforeReport": 2455,
|
|
6
|
+
"limit": 259
|
|
7
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm.
|
|
2
|
+
|
|
3
|
+
> iobroker.eos-admin@8.0.2 security:artifacts
|
|
4
|
+
> node tools/nexowatt-artifact-inventory.cjs
|
|
5
|
+
|
|
6
|
+
{"status":"RESOLVED_WITH_DECLARED_LIMITATIONS","installed":[{"label":"backend","count":746,"absentOptional":26,"failures":0},{"label":"frontend","count":559,"absentOptional":23,"failures":0}],"frontend":{"chunks":72,"packages":168,"vendoredPackages":1,"modules":13947,"unclassified":0},"optionalPeers":[{"label":"backend","unresolved":6,"verifiedOptional":6},{"label":"frontend","unresolved":22,"verifiedOptional":22}],"licenseNotices":{"report":"docs/third-party/admin8/NOTICE-PROVENANCE.json","packages":171,"files":177,"missing":[{"name":"size-sensor","version":"1.0.2","scope":"frontend"}]}}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"auditReportVersion": 2,
|
|
3
|
+
"vulnerabilities": {},
|
|
4
|
+
"metadata": {
|
|
5
|
+
"vulnerabilities": {
|
|
6
|
+
"info": 0,
|
|
7
|
+
"low": 0,
|
|
8
|
+
"moderate": 0,
|
|
9
|
+
"high": 0,
|
|
10
|
+
"critical": 0,
|
|
11
|
+
"total": 0
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"prod": 233,
|
|
15
|
+
"dev": 480,
|
|
16
|
+
"optional": 50,
|
|
17
|
+
"peer": 365,
|
|
18
|
+
"peerOptional": 0,
|
|
19
|
+
"total": 772
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
npm warn Unknown env config "http-proxy". This will stop working in the next major version of npm.
|
|
2
|
+
|
|
3
|
+
> iobroker.eos-admin@8.0.2 clean:eos-runtime
|
|
4
|
+
> node tools/nexowatt-clean-legacy-runtime.cjs
|
|
5
|
+
|
|
6
|
+
[NexoWatt EOS runtime cleanup] OK (runtime Admin8 manifest, shell v7109, removed 0 legacy files)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"auditReportVersion": 2,
|
|
3
|
+
"vulnerabilities": {},
|
|
4
|
+
"metadata": {
|
|
5
|
+
"vulnerabilities": {
|
|
6
|
+
"info": 0,
|
|
7
|
+
"low": 0,
|
|
8
|
+
"moderate": 0,
|
|
9
|
+
"high": 0,
|
|
10
|
+
"critical": 0,
|
|
11
|
+
"total": 0
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"prod": 202,
|
|
15
|
+
"dev": 0,
|
|
16
|
+
"optional": 12,
|
|
17
|
+
"peer": 77,
|
|
18
|
+
"peerOptional": 0,
|
|
19
|
+
"total": 281
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|