iobroker.eos-admin 9.0.21 → 9.0.25
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 +17 -11
- package/README.md +37 -9
- package/START_HIER_9.0.21.md +53 -0
- package/START_HIER_9.0.22.md +48 -0
- package/START_HIER_9.0.23.md +47 -0
- package/START_HIER_9.0.24.md +70 -0
- package/START_HIER_9.0.25.md +60 -0
- package/adminWww/.vite/manifest.json +55 -55
- package/adminWww/NEXOWATT_EOS_FRONTEND_MANIFEST.json +13760 -13760
- package/adminWww/assets/{AdapterUpdateDialog-Dxl_b7Op.js → AdapterUpdateDialog-CLDpmxDx.js} +1 -1
- package/adminWww/assets/{Adapters-CVKKhXmI.js → Adapters-BCGeX2v7.js} +1 -1
- package/adminWww/assets/{ConfigManager-Bf6nTAkL.js → ConfigManager-B_sJf5_w.js} +1 -1
- package/adminWww/assets/{Enums-CJHVJY7t.js → Enums-D3n1pOtc.js} +1 -1
- package/adminWww/assets/{Fields-DWHbZKvm.js → Fields-Bdx5gPoT.js} +1 -1
- package/adminWww/assets/{Files-a6owMTXA.js → Files-BPK84lYU.js} +1 -1
- package/adminWww/assets/{Hosts-LtEMeXpV.js → Hosts--Jr6oLf2.js} +1 -1
- package/adminWww/assets/{Instances-DhChziA1.js → Instances-DxTOzFus.js} +1 -1
- package/adminWww/assets/{Intro-Cyq9gVDC.js → Intro-CYBGeZtu.js} +1 -1
- package/adminWww/assets/{Logs-wcramXsg.js → Logs-CVNC-4S8.js} +1 -1
- package/adminWww/assets/{Objects-DINVHd_e.js → Objects-Cqm9Rvym.js} +1 -1
- package/adminWww/assets/{Overview-DK4R41zR.js → Overview-JgjcHwlz.js} +1 -1
- package/adminWww/assets/{State-DcEACXzL.js → State-BV14HSwZ.js} +1 -1
- package/adminWww/assets/{UsedResources-C1LcM0Rb.js → UsedResources-Dz48WzEF.js} +1 -1
- package/adminWww/assets/{Users-DvDdSyDY.js → Users-D19YlRCD.js} +1 -1
- package/adminWww/assets/{bootstrap-Dbj_GbnP.js → bootstrap-a7POLSDr.js} +4 -4
- package/adminWww/assets/{hostInit-BNFIx0-f.js → hostInit-keGjwsZR.js} +1 -1
- package/adminWww/assets/{icons-material-DVbdXNgr.js → icons-material-Omb_HCfb.js} +1 -1
- package/adminWww/assets/{index-CoKP1NSA.js → index-DqPrQK7T.js} +2 -2
- package/adminWww/assets/{installSVGRenderer-CMvku1F1.js → installSVGRenderer-iWfLFoQU.js} +1 -1
- package/adminWww/assets/{mf-entry-bootstrap-0-ac330bce.js → mf-entry-bootstrap-0-2a856bb6.js} +2 -2
- package/adminWww/index.html +23 -23
- package/adminWww/mf-manifest.json +1 -1
- package/adminWww/mf-stats.json +1 -1
- package/adminWww/remoteEntry-eos-9.0.25.js +12 -0
- package/adminWww/remoteEntry.js +1 -1
- package/build/lib/eosHistoryBackupScope.js +73 -0
- package/build/lib/eosHistoryBackupScope.js.map +1 -0
- package/build/lib/eosKiosk.js +348 -0
- package/build/lib/eosKiosk.js.map +1 -0
- package/build/lib/eosLegacyMigration.js +24 -3
- package/build/lib/eosLegacyMigration.js.map +1 -1
- package/build/lib/eosLicenseService.js +1 -1
- package/build/lib/eosLicenseService.js.map +1 -1
- package/build/lib/eosModuleConfigStore.js +2 -2
- package/build/lib/eosModuleConfigStore.js.map +1 -1
- package/build/lib/eosModuleHost.js +289 -25
- package/build/lib/eosModuleHost.js.map +1 -1
- package/build/lib/eosModuleHttp.js +71 -8
- package/build/lib/eosModuleHttp.js.map +1 -1
- package/build/lib/eosModuleProcess.js +317 -0
- package/build/lib/eosModuleProcess.js.map +1 -0
- package/build/lib/eosModuleProcessProtocol.js +213 -0
- package/build/lib/eosModuleProcessProtocol.js.map +1 -0
- package/build/lib/eosModuleProcessWorker.js +279 -0
- package/build/lib/eosModuleProcessWorker.js.map +1 -0
- package/build/lib/eosPostgresProvisioning.js +189 -0
- package/build/lib/eosPostgresProvisioning.js.map +1 -0
- package/build/lib/eosRuntimeControl.js +224 -0
- package/build/lib/eosRuntimeControl.js.map +1 -0
- package/build/lib/eosRuntimeHealth.js +170 -0
- package/build/lib/eosRuntimeHealth.js.map +1 -0
- package/build/lib/eosUiProcess.js +728 -0
- package/build/lib/eosUiProcess.js.map +1 -0
- package/build/lib/eosUiProcessRpc.js +292 -0
- package/build/lib/eosUiProcessRpc.js.map +1 -0
- package/build/lib/eosUiProcessWorker.js +443 -0
- package/build/lib/eosUiProcessWorker.js.map +1 -0
- package/build/lib/eosUiSecretCodec.js +64 -0
- package/build/lib/eosUiSecretCodec.js.map +1 -0
- package/build/lib/eosUnifiedBoundary.js +28 -4
- package/build/lib/eosUnifiedBoundary.js.map +1 -1
- package/build/lib/eosUpdateSnapshot.js +32 -1
- package/build/lib/eosUpdateSnapshot.js.map +1 -1
- package/build/lib/web.js +175 -18
- package/build/lib/web.js.map +1 -1
- package/build/main.js +6 -2
- package/build/main.js.map +1 -1
- package/docs/reports/unified-9.0.21/CRA_NACHWEISSTAND.md +159 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_BACKEND_REVIEW.md +30 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_UI_REVIEW.md +44 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_UPDATE_WORKER_REVIEW.md +147 -0
- package/docs/reports/unified-9.0.21/CUSTOMER_WORKER_ZWEITPRUEFUNG.md +108 -0
- package/docs/reports/unified-9.0.21/DEVICE_STABILITY_REVIEW.md +50 -0
- package/docs/reports/unified-9.0.21/EMS_STABILITAET.md +41 -0
- package/docs/reports/unified-9.0.21/HISTORY_TARIFF_STABILITY_REVIEW.md +48 -0
- package/docs/reports/unified-9.0.21/MQTT_ZWEITPRUEFUNG_EMS.md +47 -0
- package/docs/reports/unified-9.0.21/PERSISTENZ_STABILITAET.md +76 -0
- package/docs/reports/unified-9.0.21/PRUEFBERICHT.md +64 -0
- package/docs/reports/unified-9.0.21/SECURITY_STABILITY_REVIEW.md +118 -0
- package/docs/reports/unified-9.0.21/UI_SECURITY_GATE_REVIEW.md +62 -0
- package/docs/reports/unified-9.0.21/UPDATE_HTTP_SNAPSHOT_PRUEFUNG.md +46 -0
- package/docs/reports/unified-9.0.21/raw/INDEX.json +1307 -0
- package/docs/reports/unified-9.0.21/raw/audit-full.log +345 -0
- package/docs/reports/unified-9.0.21/raw/audit-full.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/audit-runtime.log +23 -0
- package/docs/reports/unified-9.0.21/raw/audit-runtime.result.json +15 -0
- package/docs/reports/unified-9.0.21/raw/backend-final.log +5 -0
- package/docs/reports/unified-9.0.21/raw/backend-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/cra/frontend-installer-sbom.json +32 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-glue/root-glue-focused-node24.tap +34 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/real920-archive-inspection.json +20 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/service-node22.log +110 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/service-node24.log +24 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/service-verification.json +54 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-service/typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-node22.tap +86 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-node24.tap +20 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-strict-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/customer-worker-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/independent-worker-probes.cjs +109 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/node22.tap +86 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/node24.tap +20 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/probes-node22.tap +44 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/probes-node24.tap +13 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/independent/receipt.json +89 -0
- package/docs/reports/unified-9.0.21/raw/customer-update-worker/receipt.json +42 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-catch-node22.log +1959 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-test-update-node22.log +1968 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-drain-test-update-node24.log +337 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-runtime-review-node22.log +1895 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-before-runtime-review-node24.log +317 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-final-node22.log +1959 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/all-devices-final-node24.log +327 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-final-message-test-node22.log +36 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-final-message-test-node24.log +28 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-message-session-node22.log +36 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-message-session-node24.log +28 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-command-replay-repro-node22.log +15 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-command-replay-repro-node24.log +13 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-shutdown-repro-node22.log +16 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-mqtt-shutdown-repro-node24.log +14 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-resources-node22.log +74 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/baseline-resources-node24.log +46 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-before-drain-test-update.json +206 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-before-runtime-review.json +150 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands-final.json +275 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/commands.json +134 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/env-node22.log +3 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/env-node24.log +1 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-drain-test-update-node22.log +2 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-drain-test-update-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-runtime-review-node22.log +2 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-before-runtime-review-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-final-node22.log +2 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/lint-final-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/mqtt-command-replay-repro.cjs +38 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/mqtt-shutdown-repro.cjs +31 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/regression-node22.log +322 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/regression-node24.log +55 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/run-evidence.py +23 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/run-final-evidence.py +20 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/runtime-lint-920.json +1 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/runtime-lint-921.json +1 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/source-hashes.json +16 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-drain-test-update-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-drain-test-update-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-runtime-review-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-before-runtime-review-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-final-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/device-mqtt/types-final-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/ems/baseline-files-eslint.json +1 -0
- package/docs/reports/unified-9.0.21/raw/ems/changed-files-eslint.json +1 -0
- package/docs/reports/unified-9.0.21/raw/ems/engine.patch +38 -0
- package/docs/reports/unified-9.0.21/raw/ems/eslint-delta.json +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/evidence.json +171 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-baseline-node24.log +124 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-node22.log +56 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-concurrency-node24.log +15 -0
- package/docs/reports/unified-9.0.21/raw/ems/farm-owned-methods.patch +133 -0
- package/docs/reports/unified-9.0.21/raw/ems/generated-regression-node22.log +460 -0
- package/docs/reports/unified-9.0.21/raw/ems/generated-regression-node24.log +82 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-frozen-node22.log +170 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-frozen-node24.log +33 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-review-node22.log +153 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-review-node24.log +39 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-reviewed-node22.log +170 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-final-reviewed-node24.log +33 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-queue-inheritance-before.log +28 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-baseline-node24.log +64 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-initial-timing.log +32 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-node22.log +44 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-review-node24.log +13 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-session-review.cjs +23 -0
- package/docs/reports/unified-9.0.21/raw/ems/mqtt-runtime-session-review.log +119 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-baseline-node22.log +170 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-baseline-node24.log +121 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-node22.log +68 -0
- package/docs/reports/unified-9.0.21/raw/ems/nvp-node24.log +17 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-code-delta-inventory.json +32 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-farm-fingerprint-moves.json +74 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-policy-tests.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-final-node22.log +5 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-final-node24.log +8 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-lint-security-initial.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-main-full-delta.patch +135 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-reviewed-changes.json +93 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-reviewed-findings-before.json +3185 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-security-final-node22.json +28833 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-security-final-node24.json +28833 -0
- package/docs/reports/unified-9.0.21/raw/ems/ui-security-inventory-before.json +28991 -0
- package/docs/reports/unified-9.0.21/raw/ems/update-ui-reviewed-findings.cjs +59 -0
- package/docs/reports/unified-9.0.21/raw/frontend-build.log +152 -0
- package/docs/reports/unified-9.0.21/raw/frontend-build.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/frontend-installer-sbom.json +32 -0
- package/docs/reports/unified-9.0.21/raw/history/baseline920-influx-sequence-node24.log +12 -0
- package/docs/reports/unified-9.0.21/raw/history/baseline920-outage-node24.log +64 -0
- package/docs/reports/unified-9.0.21/raw/history/cra-tariff-source-node22.log +38 -0
- package/docs/reports/unified-9.0.21/raw/history/cra-tariff-source-node24.log +36 -0
- package/docs/reports/unified-9.0.21/raw/history/lint-baseline-comparison.json +83 -0
- package/docs/reports/unified-9.0.21/raw/history/lint-scope.cjs +29 -0
- package/docs/reports/unified-9.0.21/raw/history/regression-node22.log +438 -0
- package/docs/reports/unified-9.0.21/raw/history/regression-node24.log +75 -0
- package/docs/reports/unified-9.0.21/raw/history/results-node22.json +37 -0
- package/docs/reports/unified-9.0.21/raw/history/results-node24.json +66 -0
- package/docs/reports/unified-9.0.21/raw/history/run-checks.py +18 -0
- package/docs/reports/unified-9.0.21/raw/history/source-evidence.json +83 -0
- package/docs/reports/unified-9.0.21/raw/installer-build.log +26 -0
- package/docs/reports/unified-9.0.21/raw/installer-build.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/keygen-source.json +6 -0
- package/docs/reports/unified-9.0.21/raw/lint-final.log +16 -0
- package/docs/reports/unified-9.0.21/raw/lint-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/modules-build.log +5 -0
- package/docs/reports/unified-9.0.21/raw/modules-build.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/node22-tests-final.log +13274 -0
- package/docs/reports/unified-9.0.21/raw/node22-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.21/raw/node22-typecheck-final.log +7 -0
- package/docs/reports/unified-9.0.21/raw/node22-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.21/raw/node24-tests-final.log +2223 -0
- package/docs/reports/unified-9.0.21/raw/node24-tests-final.result.json +13 -0
- package/docs/reports/unified-9.0.21/raw/node24-typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.21/raw/node24-typecheck-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.21/raw/persistence/920-http-draft-revision-node24.log +50 -0
- package/docs/reports/unified-9.0.21/raw/persistence/920-late-commit-overwrite-node24.log +30 -0
- package/docs/reports/unified-9.0.21/raw/persistence/920-save-lifecycle-node24.log +59 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-backend-types.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-editor-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-eebus-editor-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-final-format-review.json +24 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-new-update-http-before.log +177 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-new-update-snapshot-before.log +80 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node22.log +1019 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node22.receipt.json +28 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node24.log +174 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-persistence-final-node24.receipt.json +28 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-eslint-final.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node22.log +137 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node22.receipt.json +21 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node24.log +30 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-final-node24.receipt.json +21 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-strict-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/921-update-helpers-typecheck-final.log +0 -0
- package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-after.log +3 -0
- package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-before-observation.json +25 -0
- package/docs/reports/unified-9.0.21/raw/persistence/http-slowbody-repro.cjs +7 -0
- package/docs/reports/unified-9.0.21/raw/persistence/source-files.pre-final-format.sha256 +14 -0
- package/docs/reports/unified-9.0.21/raw/persistence/source-files.sha256 +14 -0
- package/docs/reports/unified-9.0.21/raw/release-overlay/obsolete-assets-920-added.json +94 -0
- package/docs/reports/unified-9.0.21/raw/release-overlay/publish-catalog-regression.log +49 -0
- package/docs/reports/unified-9.0.21/raw/release-overlay/publish-catalog-regression.result.json +15 -0
- package/docs/reports/unified-9.0.21/raw/sbom-runtime.log +7 -0
- package/docs/reports/unified-9.0.21/raw/sbom-runtime.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/sbom-vendor-check.log +1 -0
- package/docs/reports/unified-9.0.21/raw/sbom-vendor-check.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/backend-typecheck.log +0 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/boundaries-node22.tap +495 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/boundaries-node24.tap +88 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/coexistence-node22.tap +179 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/coexistence-node24.tap +36 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/results.json +118 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-admission-before-node22.tap +63 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-admission-before-node24.tap +47 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-node22.tap +148 -0
- package/docs/reports/unified-9.0.21/raw/security-stability/upload-node24.tap +30 -0
- package/docs/reports/unified-9.0.21/raw/ui-docs-check.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-docs-check.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-final.log +7 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-sync.log +1 -0
- package/docs/reports/unified-9.0.21/raw/ui-runtime-sync.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-check.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-check.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-final.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-sbom-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-secret-final.log +6 -0
- package/docs/reports/unified-9.0.21/raw/ui-secret-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/ui-security-final.log +8 -0
- package/docs/reports/unified-9.0.21/raw/ui-security-final.result.json +14 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/baseline-ui.log +280 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/browser-preview.test.cjs +170 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/draft-regression.log +214 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/eos-updates-before.ts +171 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/lint.log +0 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/results.json +90 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/source-evidence.json +30 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/type-node22.log +0 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/type-node24.log +0 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/ui-node22.log +98 -0
- package/docs/reports/unified-9.0.21/raw/update-ui/ui-node24.log +22 -0
- package/docs/reports/unified-9.0.22/BACKUP_POSTGRES_FOLLOWUP.md +44 -0
- package/docs/reports/unified-9.0.22/ENERGIEFLUSS_BROWSERPRUEFUNG.md +40 -0
- package/docs/reports/unified-9.0.22/ENERGY_FLOW_BACKEND.md +44 -0
- package/docs/reports/unified-9.0.22/FLOW_TARIFF_INDEPENDENT_REVIEW.md +33 -0
- package/docs/reports/unified-9.0.22/OCPP_STOP_WRITER_REVIEW.md +27 -0
- package/docs/reports/unified-9.0.22/POSTGRESQL_SYSTEM_SETUP.md +34 -0
- package/docs/reports/unified-9.0.22/PRUEFBERICHT.md +85 -0
- package/docs/reports/unified-9.0.22/flow/PRUEFVERMERK.md +42 -0
- package/docs/reports/unified-9.0.22/flow/frontend-cadence-tests.log +37 -0
- package/docs/reports/unified-9.0.22/flow/frontend-source-hashes.json +13 -0
- package/docs/reports/unified-9.0.22/flow/frontend-tests.log +31 -0
- package/docs/reports/unified-9.0.22/postgres-history-review.md +43 -0
- package/docs/reports/unified-9.0.22/postgres-real-review.tap +21 -0
- package/docs/reports/unified-9.0.22/postgres-review-lint.log +0 -0
- package/docs/reports/unified-9.0.22/postgres-review-typecheck.log +0 -0
- package/docs/reports/unified-9.0.22/postgres-review-unit-api.tap +25 -0
- package/docs/reports/unified-9.0.22/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/eslint-backup.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-after.tap +13 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-before.tap +54 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/evcs-stop-writer-test-eslint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/influx-real-node24.tap +11 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/scope-hashes.json +51 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/storage-nullable-before.tap +96 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/storage-nullable-flow.tap +12 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/tests-node24.tap +116 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-backup-scope.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-backup.log +0 -0
- package/docs/reports/unified-9.0.22/raw/backup-followup/typecheck-postgres-setup.log +0 -0
- package/docs/reports/unified-9.0.22/raw/current/admin-build.log +152 -0
- package/docs/reports/unified-9.0.22/raw/current/availability-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/backend-build.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/baseline-repairs.log +60 -0
- package/docs/reports/unified-9.0.22/raw/current/baseline-unified.log +1675 -0
- package/docs/reports/unified-9.0.22/raw/current/combined-fixes.log +65 -0
- package/docs/reports/unified-9.0.22/raw/current/control-final.log +25 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-browser.json +244 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-browser.stderr +0 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-cadence-browser.json +63 -0
- package/docs/reports/unified-9.0.22/raw/current/energyflow-cadence-browser.stderr +0 -0
- package/docs/reports/unified-9.0.22/raw/current/lint-final.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/lint.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/markdown-build.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/modules-build.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/pre-ocpp-full.log +2337 -0
- package/docs/reports/unified-9.0.22/raw/current/production-audit.json +22 -0
- package/docs/reports/unified-9.0.22/raw/current/production-audit.stderr +1 -0
- package/docs/reports/unified-9.0.22/raw/current/runtime-build-final.log +8 -0
- package/docs/reports/unified-9.0.22/raw/current/runtime-build.log +32 -0
- package/docs/reports/unified-9.0.22/raw/current/runtime-sync.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/safety-envelope-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/sbom-lock-graph.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/sbom.log +6120 -0
- package/docs/reports/unified-9.0.22/raw/current/station-permission-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/storage-feedforward-final.log +1 -0
- package/docs/reports/unified-9.0.22/raw/current/typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.22/raw/current/typecheck.log +5 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/eslint.txt +0 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-availability.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-safety.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-station.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node22-tests.tap +124 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-availability.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-safety.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-station.txt +1 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/node24-tests.tap +26 -0
- package/docs/reports/unified-9.0.22/raw/ems-control-points/typecheck.txt +0 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/core-pv-node22.tap +30 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/core-pv-node24.tap +11 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/environment.json +7 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/lint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/node22.tap +164 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/node24.tap +33 -0
- package/docs/reports/unified-9.0.22/raw/flow-backend/typecheck.log +0 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/browser-runtime.json +11 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/browser-smoke.json +49 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/browser-smoke.stderr +0 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/build.log +18 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/environment.json +38 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/lint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/node22.tap +144 -0
- package/docs/reports/unified-9.0.22/raw/history-ui/node24.tap +30 -0
- package/docs/reports/unified-9.0.22/raw/node22-tests-final.log +14086 -0
- package/docs/reports/unified-9.0.22/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.22/raw/node24-tests-final.log +2356 -0
- package/docs/reports/unified-9.0.22/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-eslint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-node22.tap +72 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/setup-node24.tap +70 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/status-eslint.log +0 -0
- package/docs/reports/unified-9.0.22/raw/postgresql-system/typecheck.log +0 -0
- package/docs/reports/unified-9.0.23/MODULE_PROCESS_IMPLEMENTATION.md +43 -0
- package/docs/reports/unified-9.0.23/OCPP_0.4.3_ERGEBNIS.json +24 -0
- package/docs/reports/unified-9.0.23/OCPP_0.4.3_PRUEFBERICHT.md +50 -0
- package/docs/reports/unified-9.0.23/OCPP_AUTOMATISCHE_ZUORDNUNG.md +49 -0
- package/docs/reports/unified-9.0.23/OCPP_CM_INTEGRATION.md +31 -0
- package/docs/reports/unified-9.0.23/PROZESSDIAGNOSE.md +35 -0
- package/docs/reports/unified-9.0.23/PRUEFBERICHT.md +75 -0
- package/docs/reports/unified-9.0.23/UI_EMS_PROZESSGRENZE.md +36 -0
- package/docs/reports/unified-9.0.23/UI_PROCESS_INDEPENDENT_FOLLOWUP.md +33 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review-node22.tap +86 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review-node24.tap +20 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review.md +39 -0
- package/docs/reports/unified-9.0.23/module-process-contract-review.tap +20 -0
- package/docs/reports/unified-9.0.23/module-process-final.tap +27 -0
- package/docs/reports/unified-9.0.23/module-process-static.json +57 -0
- package/docs/reports/unified-9.0.23/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.23/raw/build-backend-final.log +5 -0
- package/docs/reports/unified-9.0.23/raw/build-frontend.log +152 -0
- package/docs/reports/unified-9.0.23/raw/build-installer.log +26 -0
- package/docs/reports/unified-9.0.23/raw/build-ui-final.log +7 -0
- package/docs/reports/unified-9.0.23/raw/current/evcs-stop-writer-ocpp043.txt +20 -0
- package/docs/reports/unified-9.0.23/raw/current/ocpp-runtime-feedback-lint.txt +1 -0
- package/docs/reports/unified-9.0.23/raw/current/ocpp-runtime-feedback-tests.txt +28 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-browser.json +49 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-browser.stderr.txt +0 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-lint.txt +1 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-tests.txt +27 -0
- package/docs/reports/unified-9.0.23/raw/current/runtime-health-types.txt +1 -0
- package/docs/reports/unified-9.0.23/raw/eos-production-audit.json +22 -0
- package/docs/reports/unified-9.0.23/raw/idle-pwa-node22.log +75 -0
- package/docs/reports/unified-9.0.23/raw/idle-pwa-node24.log +22 -0
- package/docs/reports/unified-9.0.23/raw/lint-final.log +5 -0
- package/docs/reports/unified-9.0.23/raw/node22-tests-final.log +14612 -0
- package/docs/reports/unified-9.0.23/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.23/raw/node24-tests-final.log +2443 -0
- package/docs/reports/unified-9.0.23/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-auto-discovery.log +21 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-discovery-browser.json +55 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-discovery-lifecycle-regression.log +48 -0
- package/docs/reports/unified-9.0.23/raw/ocpp-production-audit.json +69 -0
- package/docs/reports/unified-9.0.23/raw/typecheck-final.log +5 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/discovery-review.tap +21 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/lint.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/node22.tap +118 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/node24.tap +112 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/root-typecheck.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/typecheck.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/unified-listen-build-node24.tap +196 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/unified-listen-node22.tap +200 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/web-lint.log +0 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/web-pipeline-node22.tap +92 -0
- package/docs/reports/unified-9.0.23/raw/ui-process/web-pipeline-node24.tap +90 -0
- package/docs/reports/unified-9.0.23/ui-process-contract-review.md +30 -0
- package/docs/reports/unified-9.0.23/ui-process-final-review-node22.tap +50 -0
- package/docs/reports/unified-9.0.23/ui-process-final-review-node24.tap +14 -0
- package/docs/reports/unified-9.0.23/ui-process-followup-hashes.json +13 -0
- package/docs/reports/unified-9.0.23/ui-process-operational-review-node22.tap +30 -0
- package/docs/reports/unified-9.0.23/ui-process-operational-review-node24.tap +11 -0
- package/docs/reports/unified-9.0.23/ui-process-review-node22.tap +48 -0
- package/docs/reports/unified-9.0.23/ui-process-review-node24.tap +46 -0
- package/docs/reports/unified-9.0.24/BACKUP_INTEROP_PRUEFBERICHT.md +48 -0
- package/docs/reports/unified-9.0.24/KIOSK_FRONTEND_BROWSERPRUEFUNG.md +49 -0
- package/docs/reports/unified-9.0.24/KIOSK_UNABHAENGIGER_REVIEW.md +21 -0
- package/docs/reports/unified-9.0.24/OCPP_HOST_MIGRATION.md +41 -0
- package/docs/reports/unified-9.0.24/OCPP_NAMESPACE_REGELPFAD.md +55 -0
- package/docs/reports/unified-9.0.24/OCPP_UNABHAENGIGER_REVIEW.md +37 -0
- package/docs/reports/unified-9.0.24/OCPP_VERWALTUNG.md +33 -0
- package/docs/reports/unified-9.0.24/PRUEFBERICHT.md +54 -0
- package/docs/reports/unified-9.0.24/PUBLISH_OVERLAY_9_0_21.md +23 -0
- package/docs/reports/unified-9.0.24/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/ems-independence-node24.tap +9 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/final-node22.tap +175 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/final-node24.tap +35 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/focused-node22.tap +132 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/focused-node24.tap +27 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/kiosk-review-node24.tap +13 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/kiosk-update-snapshot-node24.tap +22 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/lint-source.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/lint-tests.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/ocpp-backup-node24.tap +10 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/own-source-hashes.json +12 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/types.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/backup-interop/update-snapshot-node24.tap +20 -0
- package/docs/reports/unified-9.0.24/raw/build.log +200 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser-node22.json +69 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser-node22.stderr.txt +3 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser.json +69 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-browser.stderr.txt +2 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-http-node22.txt +253 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-http-node24.txt +52 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-lint.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-admin-types.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-lease-registration-before.txt +28 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-namespace-independent-node22.txt +302 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-namespace-independent-node24.txt +55 -0
- package/docs/reports/unified-9.0.24/raw/current/ocpp-native-generic-before.txt +25 -0
- package/docs/reports/unified-9.0.24/raw/current/runtime-health-browser.json +49 -0
- package/docs/reports/unified-9.0.24/raw/current/runtime-health-browser.stderr.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/current/runtime-health-types.txt +0 -0
- package/docs/reports/unified-9.0.24/raw/eos-production-audit.json +77 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-auth-profiles-node22.log +16 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-auth-profiles-node24.log +14 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-browser-node22.json +57 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-browser-node24.json +57 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-idle-node22.log +215 -0
- package/docs/reports/unified-9.0.24/raw/kiosk-idle-node24.log +42 -0
- package/docs/reports/unified-9.0.24/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.24/raw/node22-tests-final.log +15517 -0
- package/docs/reports/unified-9.0.24/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.24/raw/node24-tests-final.log +2595 -0
- package/docs/reports/unified-9.0.24/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-node22.tap +105 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-node24.tap +24 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-regression-node22.tap +818 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-host-regression-node24.tap +140 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-hosted-mapping-browser.log +2 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-legacy-mapping-browser.log +2 -0
- package/docs/reports/unified-9.0.24/raw/ocpp-namespace-control.log +49 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-node22.tap +278 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-node24.tap +52 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-provenance-922-923.json +32 -0
- package/docs/reports/unified-9.0.24/raw/publish-overlay-provenance.json +19 -0
- package/docs/reports/unified-9.0.24/raw/typecheck.log +5 -0
- package/docs/reports/unified-9.0.25/MIGRATION_INDEPENDENT_REVIEW.md +74 -0
- package/docs/reports/unified-9.0.25/OCPP_STARTSPERRE_9.0.24.md +60 -0
- package/docs/reports/unified-9.0.25/PRUEFBERICHT.md +78 -0
- package/docs/reports/unified-9.0.25/RUNTIME_CONTROLS_BROWSERPRUEFUNG.md +81 -0
- package/docs/reports/unified-9.0.25/RUNTIME_CONTROL_BACKEND.md +58 -0
- package/docs/reports/unified-9.0.25/RUNTIME_CONTROL_INDEPENDENT_REVIEW.md +66 -0
- package/docs/reports/unified-9.0.25/RUNTIME_LOGIN_RECOVERY.md +32 -0
- package/docs/reports/unified-9.0.25/TARIFF_UPDATE_PERSISTENCE.md +50 -0
- package/docs/reports/unified-9.0.25/UI_CONFIG_COMMIT_ACK.md +51 -0
- package/docs/reports/unified-9.0.25/raw/BUILD_CHECKS.json +49 -0
- package/docs/reports/unified-9.0.25/raw/INDEX.json +43 -0
- package/docs/reports/unified-9.0.25/raw/SBOM_GENERATION.json +42 -0
- package/docs/reports/unified-9.0.25/raw/build-backend.log +5 -0
- package/docs/reports/unified-9.0.25/raw/build-frontend.log +152 -0
- package/docs/reports/unified-9.0.25/raw/build-installer.log +26 -0
- package/docs/reports/unified-9.0.25/raw/build-modules.log +5 -0
- package/docs/reports/unified-9.0.25/raw/build-ui-runtime.log +7 -0
- package/docs/reports/unified-9.0.25/raw/eos-production-audit.json +77 -0
- package/docs/reports/unified-9.0.25/raw/eos-production-audit.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/frontend-sbom.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/installer-sbom.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/lint.log +45 -0
- package/docs/reports/unified-9.0.25/raw/node22-tests-final.log +15879 -0
- package/docs/reports/unified-9.0.25/raw/node22-version.log +1 -0
- package/docs/reports/unified-9.0.25/raw/node24-tests-final.log +2653 -0
- package/docs/reports/unified-9.0.25/raw/node24-version.log +1 -0
- package/docs/reports/unified-9.0.25/raw/runtime-control-backend/runtime-control-backend-node22-final.tap +236 -0
- package/docs/reports/unified-9.0.25/raw/runtime-control-backend/runtime-control-backend-node24-final.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/runtime-control-backend/source-sha256.json +19 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/controls-node22.json +70 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/controls-node24.json +70 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/health-node22.json +49 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/health-node24.json +49 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-contract-node22.log +15 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-contract-node24.log +15 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-node22.json +32 -0
- package/docs/reports/unified-9.0.25/raw/runtime-controls/login-node24.json +32 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/node22.log +28 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/node24.log +10 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/route-regression-node24.log +28 -0
- package/docs/reports/unified-9.0.25/raw/runtime-login-recovery/source-sha256.json +6 -0
- package/docs/reports/unified-9.0.25/raw/runtime-processes/README.md +41 -0
- package/docs/reports/unified-9.0.25/raw/runtime-processes/runtime-control-processes-node22.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/runtime-processes/runtime-control-processes-node24.tap +13 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-and-ui-review-node22.tap +232 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-and-ui-review-node24.tap +43 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-review-node22.tap +68 -0
- package/docs/reports/unified-9.0.25/raw/runtime-review/runtime-controls-review-node24.tap +17 -0
- package/docs/reports/unified-9.0.25/raw/sbom-lock.log +1 -0
- package/docs/reports/unified-9.0.25/raw/sbom-lock.stderr +1 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-node22.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-node24.tap +40 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-review-node22.tap +44 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/ack-review-node24.tap +13 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/commit-ack-sha256.txt +4 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/config-ack-result.json +19 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/generate-921-fixture.cjs +36 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/node22.tap +68 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/node24.tap +64 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/reproduce-config-ack.cjs +55 -0
- package/docs/reports/unified-9.0.25/raw/tariff-update/reviewed-sha256.txt +4 -0
- package/docs/reports/unified-9.0.25/raw/typecheck.log +5 -0
- package/docs/unified/EMS_BEDIEN_DATENPUNKTE_9_0_22.md +51 -0
- package/docs/unified/HISTORY_UI_9_0_22.md +75 -0
- package/docs/unified/POSTGRESQL_9_0_22.md +89 -0
- package/io-package.json +20 -22
- package/modules/backup/README.md +10 -0
- package/modules/backup/RECOVERY-9.0.22.md +59 -0
- package/modules/backup/admin/index.html +2 -1
- package/modules/backup/admin/index.js +17 -1
- package/modules/backup/build/config.js +2 -0
- package/modules/backup/build/coverage.js +64 -0
- package/modules/backup/build/creators.js +22 -17
- package/modules/backup/build/databaseTargets.js +42 -0
- package/modules/backup/build/index.js +47 -4
- package/modules/backup/build/influxIntegrity.js +159 -0
- package/modules/backup/build/postgresHistory.js +91 -0
- package/modules/backup/build/preflight.js +3 -8
- package/modules/backup/build/publicTrust.js +46 -0
- package/modules/backup/build/restore-cli.js +72 -1
- package/modules/backup/build/storageRetention.js +26 -0
- package/modules/backup/build/worker.js +18 -1
- package/modules/backup/src/config.ts +2 -0
- package/modules/backup/src/coverage.ts +50 -0
- package/modules/backup/src/creators.ts +20 -17
- package/modules/backup/src/databaseTargets.ts +45 -0
- package/modules/backup/src/index.ts +37 -4
- package/modules/backup/src/influxIntegrity.ts +125 -0
- package/modules/backup/src/postgresHistory.ts +66 -0
- package/modules/backup/src/preflight.ts +3 -10
- package/modules/backup/src/publicTrust.ts +34 -0
- package/modules/backup/src/restore-cli.ts +55 -4
- package/modules/backup/src/storageRetention.ts +20 -0
- package/modules/backup/src/types.ts +5 -0
- package/modules/backup/src/worker.ts +18 -2
- package/modules/backup/test/completeness.test.cjs +193 -0
- package/modules/backup/test/hosted.test.cjs +43 -3
- package/modules/backup/test/influx-real.test.cjs +75 -0
- package/modules/backup/test/lifecycle.test.cjs +7 -5
- package/modules/backup/test/ocpp-coverage.test.cjs +152 -0
- package/modules/devices/admin/index.html +1 -1
- package/modules/eebus/admin/index.html +1 -1
- package/modules/ocpp/LICENSE +21 -0
- package/modules/ocpp/README.md +61 -0
- package/modules/ocpp/admin/config-fields.json +353 -0
- package/modules/ocpp/admin/index.html +52 -0
- package/modules/ocpp/admin/index.js +228 -0
- package/modules/ocpp/admin/style.css +27 -0
- package/modules/ocpp/build/index.js +401 -0
- package/modules/ocpp/build/operationGuard.js +26 -0
- package/modules/ocpp/build/server.js +155 -0
- package/modules/ocpp/eslint.config.mjs +13 -0
- package/modules/ocpp/index.js +3 -0
- package/modules/ocpp/native-defaults.json +44 -0
- package/modules/ocpp/ocpp/common.js +646 -0
- package/modules/ocpp/ocpp/compact.js +332 -0
- package/modules/ocpp/ocpp/configuration.js +364 -0
- package/modules/ocpp/ocpp/eos-contract.js +149 -0
- package/modules/ocpp/ocpp/freshness.d.ts +10 -0
- package/modules/ocpp/ocpp/freshness.js +272 -0
- package/modules/ocpp/ocpp/schemas/NOTICE.md +17 -0
- package/modules/ocpp/ocpp/schemas/ocpp2_0_1_official.json +1 -0
- package/modules/ocpp/ocpp/schemas/ocpp2_1_official.json +1 -0
- package/modules/ocpp/ocpp/server.js +3 -0
- package/modules/ocpp/ocpp/v16.js +213 -0
- package/modules/ocpp/ocpp/v201.js +4 -0
- package/modules/ocpp/ocpp/v21.js +4 -0
- package/modules/ocpp/ocpp/v2base.js +255 -0
- package/modules/ocpp/package.json +11 -0
- package/modules/ocpp/provenance.json +33 -0
- package/modules/ocpp/runtime.d.ts +16 -0
- package/modules/ocpp/runtime.js +3391 -0
- package/modules/ocpp/src/index.ts +463 -0
- package/modules/ocpp/src/operationGuard.ts +29 -0
- package/modules/ocpp/src/server.ts +193 -0
- package/modules/ocpp/test/configuration-runtime.test.js +786 -0
- package/modules/ocpp/test/core.test.js +772 -0
- package/modules/ocpp/test/eos-contract.test.js +67 -0
- package/modules/ocpp/test/hosted.test.cjs +165 -0
- package/modules/ocpp/tsconfig.json +7 -0
- package/modules/ocpp/validation/manifest.json +36 -0
- package/modules/ocpp/validation/node22-tests.log +525 -0
- package/modules/ocpp/validation/node24-tests.log +92 -0
- package/package.json +29 -11
- package/public/eos-migration/index.html +1 -1
- package/public/eos-migration/index.js +2 -2
- package/public/eos-runtime/index.html +36 -0
- package/public/eos-runtime/index.js +249 -0
- package/public/eos-runtime/style.css +27 -0
- package/release-manifests/unified/build-environment.cdx.json +767 -131
- package/release-manifests/unified/files.json +700 -214
- package/release-manifests/unified/frontend.cdx.json +6 -6
- package/release-manifests/unified/installer.cdx.json +6 -6
- package/release-manifests/unified/obsolete-admin-assets.json +292 -6
- package/release-manifests/unified/runtime.cdx.json +871 -143
- package/release-manifests/unified/validation.json +15 -15
- package/reports/unified/ocpp-pure-pv-9.0.22/PRUEFVERMERK.md +35 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/auto-pv-phases.log +1 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/control-tests.log +11 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/ocpp-stability.log +1 -0
- package/reports/unified/ocpp-pure-pv-9.0.22/raw/rc60.log +1 -0
- package/reports/unified/tariff-energy-flow-9.0.22/PRUEFVERMERK.md +44 -0
- package/reports/unified/tariff-energy-flow-9.0.22/raw/focused-tests.log +37 -0
- package/reports/unified/tariff-energy-flow-9.0.22/raw/grid-charge-policy.log +1 -0
- package/reports/unified/tariff-energy-flow-9.0.22/raw/status-truth.log +1 -0
- package/tools/eos-release-check.cjs +5 -0
- package/tools/eos-release-manifest.cjs +3 -3
- package/tools/eos-sbom-vendored.cjs +2 -1
- package/tools/system/eos-postgresql-setup.cjs +409 -0
- package/tsconfig.eos-history-backup-scope.json +9 -0
- package/tsconfig.eos-postgres-system.json +15 -0
- package/ui/admin/react/assets/index-wHWXfD_g.js +13 -0
- package/ui/admin/react/index.html +1 -1
- package/ui/ems/consumers/evcs.js +11 -7
- package/ui/ems/datapoints.js +14 -5
- package/ui/ems/engine.js +4 -1
- package/ui/ems/modules/charging-management.js +193 -63
- package/ui/ems/modules/core-limits.js +15 -20
- package/ui/ems/modules/storage-control.js +8 -6
- package/ui/ems/modules/tarif-vis.js +7 -2
- package/ui/ems/modules/tariff-status.js +19 -1
- package/ui/eslint.postgres-history.config.mjs +9 -0
- package/ui/io-package.json +5 -1
- package/ui/lib/ems-control-values.js +64 -0
- package/ui/lib/flow-measurement.js +72 -0
- package/ui/lib/hosted-adapter.js +12 -1
- package/ui/lib/influx-history-runtime.js +66 -24
- package/ui/lib/installer-lifecycle.js +4 -2
- package/ui/lib/ocpp-auto-discovery.js +397 -0
- package/ui/lib/ocpp-limit-feedback.js +166 -0
- package/ui/lib/partner-runtime.js +35 -2
- package/ui/lib/partner-websocket.js +4 -1
- package/ui/lib/postgres-history-config.js +57 -0
- package/ui/lib/postgres-history.js +344 -0
- package/ui/lib/runtime-proxy-html.js +34 -1
- package/ui/lib/smarthome-device-controls.js +4 -1
- package/ui/lib/ui-access-policy.js +39 -6
- package/ui/main.js +392 -222
- package/ui/package.json +1 -1
- package/ui/tsconfig.postgres-history.json +4 -0
- package/ui/www/app.js +106 -152
- package/ui/www/auth.js +36 -10
- package/ui/www/charging-diagnostics-appcenter.js +1 -0
- package/ui/www/customer-tariff.js +1 -0
- package/ui/www/dashboard-lp-status.js +1 -0
- package/ui/www/dc-station-display.js +1 -0
- package/ui/www/ems-apps.js +48 -8
- package/ui/www/energy-origin-appcenter.js +1 -0
- package/ui/www/energy-origin-ledger-view.js +1 -0
- package/ui/www/eos-kiosk-settings.js +174 -0
- package/ui/www/eos-session-idle.js +40 -6
- package/ui/www/eos-updates.js +1 -0
- package/ui/www/index.html +2 -1
- package/ui/www/license.js +1 -0
- package/ui/www/licenses/smarthome-markdown-components.json +157 -157
- package/ui/www/live-display.js +4 -2
- package/ui/www/login.js +25 -9
- package/ui/www/manifest.webmanifest +3 -3
- package/ui/www/netoperator-appcenter.js +1 -0
- package/ui/www/netoperator.js +1 -0
- package/ui/www/operating-strategies-appcenter.js +1 -0
- package/ui/www/operating-strategies-rule-builder.js +1 -0
- package/ui/www/power-measurements.js +27 -2
- package/ui/www/pwa.js +1 -0
- package/ui/www/runtime-base.js +1 -0
- package/ui/www/settings.html +13 -1
- package/ui/www/smarthome-activation.js +1 -0
- package/ui/www/smarthome-alias-config.js +1 -0
- package/ui/www/smarthome-custom-config.js +1 -0
- package/ui/www/smarthome-custom-views.js +1 -0
- package/ui/www/smarthome-device-categories.js +1 -0
- package/ui/www/smarthome-device-config.js +1 -0
- package/ui/www/smarthome-device-controls.js +1 -0
- package/ui/www/smarthome-feedback.js +1 -0
- package/ui/www/smarthome-layout-editor.js +1 -0
- package/ui/www/smarthome-presentation.js +1 -0
- package/ui/www/smarthome-setup.js +1 -0
- package/ui/www/smarthome-touch.js +1 -0
- package/ui/www/storagefarm-dispatch.js +1 -0
- package/ui/www/storagefarm-summary.js +1 -0
- package/ui/www/tariff-display.js +62 -2
- package/adminWww/remoteEntry-eos-9.0.21.js +0 -12
- package/ui/admin/react/assets/index-BJO3q7oe.js +0 -13
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026 NexoWatt. All rights reserved.
|
|
3
|
+
* Confidential and Proprietary.
|
|
4
|
+
* Use, modification or distribution without express written permission is prohibited.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
|
+
*
|
|
9
|
+
* Quelle: src-ts/runtime-executables/lib/postgres-history-config.ts
|
|
10
|
+
* Quell-Hash: sha256:67068de65cc570f8a0a489acfa6b6afa902b63867afdcb608d3f52c5159b3090
|
|
11
|
+
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
|
+
*
|
|
13
|
+
* Zweck:
|
|
14
|
+
* Diese JavaScript-Datei ist das ausführbare Build-Artefakt für lib/postgres-history-config.js.
|
|
15
|
+
* Die fachliche Bearbeitung erfolgt ab 0.7.131 in der TypeScript-Quelle.
|
|
16
|
+
* Ab 0.7.132 sind doppelte Legacy-JS-Bäume wie .nwcore entfernt.
|
|
17
|
+
*
|
|
18
|
+
* Pflege-Regel:
|
|
19
|
+
* 1. Änderung zuerst in src-ts/runtime-executables/ vornehmen.
|
|
20
|
+
* 2. npm run sync:ts-runtime-executables ausführen.
|
|
21
|
+
* 3. npm run test:runtime-executables prüfen.
|
|
22
|
+
*/
|
|
23
|
+
"use strict";
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.isUntouchedHistoryDefault = isUntouchedHistoryDefault;
|
|
26
|
+
exports.prepareHistoryChange = prepareHistoryChange;
|
|
27
|
+
/**
|
|
28
|
+
* NexoWatt Quellcode-Erklärung (DE)
|
|
29
|
+
* Aufgabe: Enge Auswahlgrenze für die lokale PostgreSQL-Historie.
|
|
30
|
+
* Daten und Wirkung: Nimmt keine Hostnamen, Dateipfade oder Geheimnisse vom Browser an.
|
|
31
|
+
* Bestehende Historien bleiben erhalten; ein Providerwechsel erfordert nachgewiesene Neuanlage.
|
|
32
|
+
*/
|
|
33
|
+
const node_util_1 = require("node:util");
|
|
34
|
+
const influx_config_1 = require("./influx-config");
|
|
35
|
+
const record = (value) => value !== null && typeof value === 'object' && !Array.isArray(value);
|
|
36
|
+
const fail = (code) => Object.assign(new Error(code), { code });
|
|
37
|
+
/** Bundled native defaults are not evidence of a customer selecting a historian. */
|
|
38
|
+
function isUntouchedHistoryDefault(value, packagedDefault) {
|
|
39
|
+
return value === undefined || (0, node_util_1.isDeepStrictEqual)(value, packagedDefault);
|
|
40
|
+
}
|
|
41
|
+
function prepareHistoryChange(previous, incoming, newInstallationAllowed) {
|
|
42
|
+
if (!record(incoming) || incoming.provider !== 'postgresql')
|
|
43
|
+
return (0, influx_config_1.prepareInfluxHistoryChange)(previous, incoming);
|
|
44
|
+
if (Object.keys(incoming).some(key => !['provider', 'postgresql', 'newInstallation'].includes(key)) ||
|
|
45
|
+
!record(incoming.postgresql) || incoming.postgresql.profile !== 'local' ||
|
|
46
|
+
Object.keys(incoming.postgresql).some(key => key !== 'profile') ||
|
|
47
|
+
incoming.newInstallation !== undefined && typeof incoming.newInstallation !== 'boolean')
|
|
48
|
+
throw fail('EOS_POSTGRES_PROFILE_INVALID');
|
|
49
|
+
const old = record(previous) ? previous : {};
|
|
50
|
+
if (old.provider !== 'postgresql') {
|
|
51
|
+
if (!newInstallationAllowed)
|
|
52
|
+
throw fail('EOS_POSTGRES_EXISTING_HISTORY');
|
|
53
|
+
if (incoming.newInstallation !== true)
|
|
54
|
+
throw fail('EOS_POSTGRES_NEW_INSTALLATION_REQUIRED');
|
|
55
|
+
}
|
|
56
|
+
return { ...old, provider: 'postgresql', postgresql: { profile: 'local' } };
|
|
57
|
+
}
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026 NexoWatt. All rights reserved.
|
|
3
|
+
* Confidential and Proprietary.
|
|
4
|
+
* Use, modification or distribution without express written permission is prohibited.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* AUTO-GENERATED RUNTIME FILE - NICHT MANUELL BEARBEITEN.
|
|
8
|
+
*
|
|
9
|
+
* Quelle: src-ts/runtime-executables/lib/postgres-history.ts
|
|
10
|
+
* Quell-Hash: sha256:738e0c932792572737e4f4d9a172ad7aa547275a03a8ef90ec602e2a59662b38
|
|
11
|
+
* Erzeugung: npm run sync:ts-runtime-executables
|
|
12
|
+
*
|
|
13
|
+
* Zweck:
|
|
14
|
+
* Diese JavaScript-Datei ist das ausführbare Build-Artefakt für lib/postgres-history.js.
|
|
15
|
+
* Die fachliche Bearbeitung erfolgt ab 0.7.131 in der TypeScript-Quelle.
|
|
16
|
+
* Ab 0.7.132 sind doppelte Legacy-JS-Bäume wie .nwcore entfernt.
|
|
17
|
+
*
|
|
18
|
+
* Pflege-Regel:
|
|
19
|
+
* 1. Änderung zuerst in src-ts/runtime-executables/ vornehmen.
|
|
20
|
+
* 2. npm run sync:ts-runtime-executables ausführen.
|
|
21
|
+
* 3. npm run test:runtime-executables prüfen.
|
|
22
|
+
*/
|
|
23
|
+
"use strict";
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.PostgresHistoryClient = void 0;
|
|
26
|
+
exports.readProtectedPostgresFile = readProtectedPostgresFile;
|
|
27
|
+
exports.validatePostgresProfile = validatePostgresProfile;
|
|
28
|
+
exports.loadPostgresProfile = loadPostgresProfile;
|
|
29
|
+
exports.postgresPoolConfig = postgresPoolConfig;
|
|
30
|
+
exports.postgresError = postgresError;
|
|
31
|
+
exports.buildPostgresHistoryQuery = buildPostgresHistoryQuery;
|
|
32
|
+
exports.buildPostgresWrite = buildPostgresWrite;
|
|
33
|
+
/**
|
|
34
|
+
* NexoWatt Quellcode-Erklärung (DE)
|
|
35
|
+
* Aufgabe: Geschützte lokale PostgreSQL-Historie ohne Rechte zur Schema-/Systemänderung.
|
|
36
|
+
* Daten und Wirkung: Liest ausschließlich das feste Systemprofil, prüft TLS mit CA/Hostname,
|
|
37
|
+
* begrenzt Datenmengen und beendet Verbindungen bei Ablauf der Gesamtdeadline.
|
|
38
|
+
* Zusammenhang: Gemeinsame Historienwarteschlange und bestehende Diagramm-/Export-APIs.
|
|
39
|
+
*/
|
|
40
|
+
const node_fs_1 = require("node:fs");
|
|
41
|
+
const promises_1 = require("node:fs/promises");
|
|
42
|
+
const node_path_1 = require("node:path");
|
|
43
|
+
const node_crypto_1 = require("node:crypto");
|
|
44
|
+
const node_tls_1 = require("node:tls");
|
|
45
|
+
const node_perf_hooks_1 = require("node:perf_hooks");
|
|
46
|
+
const pg_1 = require("pg");
|
|
47
|
+
const ROOT = '/etc/nexowatt-eos/postgresql';
|
|
48
|
+
const MAX_ROWS = 60000;
|
|
49
|
+
const MAX_BYTES = 8 * 1024 * 1024;
|
|
50
|
+
const MAX_RANGE = 3660 * 86400000;
|
|
51
|
+
const fail = (code) => Object.assign(new Error(code), { code });
|
|
52
|
+
const record = (v) => v !== null && typeof v === 'object' && !Array.isArray(v);
|
|
53
|
+
function identifier(value) {
|
|
54
|
+
if (typeof value !== 'string' || !value || value.length > 512 || value.trim() !== value || /[\u0000-\u001f\u007f*]/u.test(value))
|
|
55
|
+
throw fail('EOS_POSTGRES_QUERY_INVALID');
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
function instance(namespace) {
|
|
59
|
+
const match = /^eos-admin\.(\d{1,6})$/.exec(namespace);
|
|
60
|
+
const index = match?.[1];
|
|
61
|
+
if (!index)
|
|
62
|
+
throw fail('EOS_POSTGRES_PROFILE_INVALID');
|
|
63
|
+
return index;
|
|
64
|
+
}
|
|
65
|
+
/** Files are provisioned by the system installer, never by the adapter. */
|
|
66
|
+
async function readProtectedPostgresFile(path, maximum, secret) {
|
|
67
|
+
if (!path.startsWith(`${ROOT}/`) || (0, node_path_1.dirname)(path) !== ROOT)
|
|
68
|
+
throw fail('EOS_POSTGRES_PROFILE_INVALID');
|
|
69
|
+
for (const directory of ['/etc', '/etc/nexowatt-eos', ROOT]) {
|
|
70
|
+
const stat = await (0, promises_1.lstat)(directory);
|
|
71
|
+
if (!stat.isDirectory() || stat.isSymbolicLink() || stat.uid !== 0 || (stat.mode & 0o022))
|
|
72
|
+
throw fail('EOS_POSTGRES_PROFILE_PERMISSIONS');
|
|
73
|
+
}
|
|
74
|
+
const file = await (0, promises_1.open)(path, node_fs_1.constants.O_RDONLY | node_fs_1.constants.O_NOFOLLOW);
|
|
75
|
+
try {
|
|
76
|
+
const stat = await file.stat();
|
|
77
|
+
if (!stat.isFile() || stat.uid !== 0 || (stat.mode & (secret ? 0o027 : 0o022)) || stat.size < 1 || stat.size > maximum)
|
|
78
|
+
throw fail('EOS_POSTGRES_PROFILE_PERMISSIONS');
|
|
79
|
+
const value = await file.readFile('utf8');
|
|
80
|
+
if (Buffer.byteLength(value) > maximum)
|
|
81
|
+
throw fail('EOS_POSTGRES_PROFILE_INVALID');
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
finally {
|
|
85
|
+
await file.close();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function validatePostgresProfile(value, namespace) {
|
|
89
|
+
const index = instance(namespace);
|
|
90
|
+
if (!record(value) || value.schemaVersion !== 1 || value.provider !== 'postgresql' ||
|
|
91
|
+
value.host !== '127.0.0.1' || value.port !== 55432 || value.servername !== 'localhost' ||
|
|
92
|
+
value.schema !== 'eos_history' || value.database !== `eos_history_${index}` ||
|
|
93
|
+
value.user !== `eos_history_${index}_runtime` || value.caFile !== `${ROOT}/ca.crt` ||
|
|
94
|
+
value.provisioned !== true || value.newInstallation !== true || typeof value.password !== 'string' ||
|
|
95
|
+
value.password.length < 32 || value.password.length > 1024 || /[\u0000-\u0020\u007f]/u.test(value.password))
|
|
96
|
+
throw fail('EOS_POSTGRES_PROFILE_INVALID');
|
|
97
|
+
return { schemaVersion: 1, provider: 'postgresql', host: '127.0.0.1', port: 55432,
|
|
98
|
+
database: value.database, user: value.user, password: value.password, caFile: value.caFile,
|
|
99
|
+
servername: 'localhost', schema: 'eos_history', provisioned: true, newInstallation: true };
|
|
100
|
+
}
|
|
101
|
+
async function loadPostgresProfile(namespace) {
|
|
102
|
+
instance(namespace);
|
|
103
|
+
try {
|
|
104
|
+
const input = JSON.parse(await readProtectedPostgresFile(`${ROOT}/client-${namespace}.json`, 8192, true));
|
|
105
|
+
const profile = validatePostgresProfile(input, namespace);
|
|
106
|
+
const caCertificate = await readProtectedPostgresFile(profile.caFile, 65536, false);
|
|
107
|
+
const certificate = new node_crypto_1.X509Certificate(caCertificate);
|
|
108
|
+
if (!certificate.ca || Date.parse(certificate.validTo) <= Date.now() || Date.parse(certificate.validFrom) > Date.now())
|
|
109
|
+
throw fail('EOS_POSTGRES_CA_INVALID');
|
|
110
|
+
return { profile, caCertificate };
|
|
111
|
+
}
|
|
112
|
+
catch (error) {
|
|
113
|
+
const code = record(error) ? error.code : '';
|
|
114
|
+
if (code === 'ENOENT')
|
|
115
|
+
throw fail('EOS_POSTGRES_SETUP_REQUIRED');
|
|
116
|
+
if (code === 'EACCES' || code === 'EPERM' || code === 'ELOOP')
|
|
117
|
+
throw fail('EOS_POSTGRES_PROFILE_PERMISSIONS');
|
|
118
|
+
if (typeof code === 'string' && code.startsWith('EOS_POSTGRES_'))
|
|
119
|
+
throw error;
|
|
120
|
+
throw fail('EOS_POSTGRES_PROFILE_INVALID');
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
function postgresPoolConfig(connection) {
|
|
124
|
+
const c = connection.profile;
|
|
125
|
+
return { host: c.host, port: c.port, database: c.database, user: c.user, password: c.password,
|
|
126
|
+
application_name: 'nexowatt-eos-history', max: 4, connectionTimeoutMillis: 1500,
|
|
127
|
+
idleTimeoutMillis: 10000, maxLifetimeSeconds: 300, allowExitOnIdle: true,
|
|
128
|
+
statement_timeout: 4000, query_timeout: 4500, idle_in_transaction_session_timeout: 4000,
|
|
129
|
+
ssl: { ca: connection.caCertificate, rejectUnauthorized: true, minVersion: 'TLSv1.2', servername: c.servername,
|
|
130
|
+
checkServerIdentity: (_hostname, cert) => (0, node_tls_1.checkServerIdentity)(c.servername, cert) },
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
/** Stable error codes only: PostgreSQL messages can contain SQL, IDs or server details. */
|
|
134
|
+
function postgresError(error) {
|
|
135
|
+
const code = record(error) ? error.code : '';
|
|
136
|
+
if (typeof code === 'string' && /^EOS_POSTGRES_[A-Z_]{1,64}$/.test(code))
|
|
137
|
+
return fail(code);
|
|
138
|
+
if (['CERT_HAS_EXPIRED', 'ERR_TLS_CERT_ALTNAME_INVALID', 'UNABLE_TO_VERIFY_LEAF_SIGNATURE', 'SELF_SIGNED_CERT_IN_CHAIN', 'DEPTH_ZERO_SELF_SIGNED_CERT', 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY', 'CERT_NOT_YET_VALID'].includes(String(code)))
|
|
139
|
+
return fail('EOS_POSTGRES_TLS_FAILED');
|
|
140
|
+
if (code === '28P01' || code === '28000' || code === '42501')
|
|
141
|
+
return fail('EOS_POSTGRES_AUTHORIZATION_FAILED');
|
|
142
|
+
if (code === '42P01' || code === '3D000' || code === '3F000')
|
|
143
|
+
return fail('EOS_POSTGRES_SCHEMA_MISSING');
|
|
144
|
+
if (code === '57014' || code === 'ETIMEDOUT')
|
|
145
|
+
return fail('EOS_POSTGRES_TIMEOUT');
|
|
146
|
+
if (code === '53100')
|
|
147
|
+
return fail('EOS_POSTGRES_DISK_FULL');
|
|
148
|
+
if (code === '53200' || code === '53400')
|
|
149
|
+
return fail('EOS_POSTGRES_RESOURCE_LIMIT');
|
|
150
|
+
if (code === '53300')
|
|
151
|
+
return fail('EOS_POSTGRES_BUSY');
|
|
152
|
+
if (typeof code === 'string' && /^(?:22|23|42)[A-Z0-9]{3}$/.test(code))
|
|
153
|
+
return fail('EOS_POSTGRES_QUERY_FAILED');
|
|
154
|
+
return fail('EOS_POSTGRES_CONNECTION_FAILED');
|
|
155
|
+
}
|
|
156
|
+
function buildPostgresHistoryQuery(id, options) {
|
|
157
|
+
identifier(id);
|
|
158
|
+
const { start, end } = options;
|
|
159
|
+
if (!Number.isSafeInteger(start) || !Number.isSafeInteger(end) || start < 0 || end <= start || end - start > MAX_RANGE || end > 9223372036854)
|
|
160
|
+
throw fail('EOS_POSTGRES_QUERY_INVALID');
|
|
161
|
+
const aggregate = options.aggregate || 'none';
|
|
162
|
+
const functions = new Map([['average', 'avg'], ['mean', 'avg'], ['min', 'min'], ['max', 'max'], ['total', 'sum'], ['count', 'count']]);
|
|
163
|
+
const fn = functions.get(aggregate);
|
|
164
|
+
if (!fn && !['none', 'onchange', 'minmax'].includes(aggregate))
|
|
165
|
+
throw fail('EOS_POSTGRES_AGGREGATE_UNSUPPORTED');
|
|
166
|
+
const limit = aggregate === 'minmax' ? Math.min(options.limit ?? MAX_ROWS, options.count ?? MAX_ROWS) : options.limit ?? options.count ?? MAX_ROWS;
|
|
167
|
+
if (!Number.isSafeInteger(limit) || limit < (aggregate === 'minmax' ? 2 : 1) || limit > MAX_ROWS ||
|
|
168
|
+
aggregate === 'minmax' && [options.limit, options.count].some(value => value !== undefined && (!Number.isSafeInteger(value) || value < 2 || value > MAX_ROWS)))
|
|
169
|
+
throw fail('EOS_POSTGRES_QUERY_LIMIT');
|
|
170
|
+
const order = options.returnNewestEntries === true ? 'DESC' : 'ASC';
|
|
171
|
+
const values = [id, start, end, limit];
|
|
172
|
+
let select = 'SELECT ts,value_type,value_number,value_boolean,value_text FROM eos_history.samples WHERE id=$1 AND ts >= $2 AND ts < $3';
|
|
173
|
+
if (fn || aggregate === 'minmax') {
|
|
174
|
+
const selectors = aggregate === 'minmax' ? (limit >= 4 ? 4 : 2) : 1;
|
|
175
|
+
const windows = Math.max(1, Math.floor(limit / selectors));
|
|
176
|
+
const step = options.step ?? Math.max(1, Math.ceil((end - start) / windows));
|
|
177
|
+
if (!Number.isSafeInteger(step) || step < 1 || step > (aggregate === 'minmax' ? MAX_RANGE : 366 * 86400000) || Math.ceil((end - start) / step) > (aggregate === 'minmax' ? windows : MAX_ROWS))
|
|
178
|
+
throw fail('EOS_POSTGRES_QUERY_LIMIT');
|
|
179
|
+
values.push(step);
|
|
180
|
+
if (aggregate === 'minmax') {
|
|
181
|
+
// Select actual extremum and boundary timestamps; never create zero-filled gaps.
|
|
182
|
+
select = `WITH ranked AS (SELECT *, ((ts-$2)/$5)::bigint AS slot, ROW_NUMBER() OVER(PARTITION BY ((ts-$2)/$5)::bigint ORDER BY value_number ASC NULLS LAST,value_boolean ASC NULLS LAST,value_text ASC NULLS LAST,ts ASC) AS lo, ROW_NUMBER() OVER(PARTITION BY ((ts-$2)/$5)::bigint ORDER BY value_number DESC NULLS LAST,value_boolean DESC NULLS LAST,value_text DESC NULLS LAST,ts DESC) AS hi, ROW_NUMBER() OVER(PARTITION BY ((ts-$2)/$5)::bigint ORDER BY ts ASC) AS first, ROW_NUMBER() OVER(PARTITION BY ((ts-$2)/$5)::bigint ORDER BY ts DESC) AS last FROM eos_history.samples WHERE id=$1 AND ts >= $2 AND ts < $3) SELECT ts,value_type,value_number,value_boolean,value_text FROM ranked WHERE lo=1 OR hi=1${selectors === 4 ? ' OR first=1 OR last=1' : ''}`;
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
select = `SELECT (FLOOR(ts::numeric/$5)*$5)::bigint AS ts,0::smallint AS value_type,${fn === 'count' ? 'COUNT(*)::double precision' : `${fn}(value_number)`} AS value_number,NULL::boolean AS value_boolean,NULL::text AS value_text FROM eos_history.samples WHERE id=$1 AND ts >= $2 AND ts < $3${fn === 'count' ? '' : ' AND value_type=0'} GROUP BY FLOOR(ts::numeric/$5)`;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
// Both row and byte bounds are applied by SQL before the driver buffers results.
|
|
189
|
+
return { text: `WITH picked AS (${select} ORDER BY ts ${order} LIMIT $4), sized AS (SELECT *,SUM(96+COALESCE(octet_length(value_text),0)) OVER(ORDER BY ts ${order}) AS bytes FROM picked) SELECT ts,value_type,value_number,value_boolean,value_text,bytes FROM sized WHERE bytes-(96+COALESCE(octet_length(value_text),0)) <= ${MAX_BYTES} ORDER BY ts ${order}`, values };
|
|
190
|
+
}
|
|
191
|
+
function buildPostgresWrite(points) {
|
|
192
|
+
if (!Array.isArray(points) || !points.length || points.length > 100 || Buffer.byteLength(JSON.stringify(points)) > 256 * 1024)
|
|
193
|
+
throw fail('EOS_POSTGRES_WRITE_INVALID');
|
|
194
|
+
const values = [];
|
|
195
|
+
// Validate every sample, then collapse same-millisecond writes to the last value.
|
|
196
|
+
const unique = new Map();
|
|
197
|
+
for (const point of points) {
|
|
198
|
+
identifier(point.id);
|
|
199
|
+
if (!Number.isSafeInteger(point.ts) || point.ts < 0 || point.ts > Date.now() + 1000 ||
|
|
200
|
+
(typeof point.val === 'number' && !Number.isFinite(point.val)) ||
|
|
201
|
+
(typeof point.val === 'string' && (point.val.length > 16384 || /[\u0000\r\n]/u.test(point.val))) ||
|
|
202
|
+
!['number', 'boolean', 'string'].includes(typeof point.val))
|
|
203
|
+
throw fail('EOS_POSTGRES_WRITE_INVALID');
|
|
204
|
+
unique.set(JSON.stringify([point.id, point.ts]), point);
|
|
205
|
+
}
|
|
206
|
+
const rows = [...unique.values()].map(point => {
|
|
207
|
+
const offset = values.length;
|
|
208
|
+
values.push(point.id, point.ts, typeof point.val === 'number' ? 0 : typeof point.val === 'boolean' ? 1 : 2, typeof point.val === 'number' ? point.val : null, typeof point.val === 'boolean' ? point.val : null, typeof point.val === 'string' ? point.val : null);
|
|
209
|
+
return `(${Array.from({ length: 6 }, (_, i) => `$${offset + i + 1}`).join(',')})`;
|
|
210
|
+
});
|
|
211
|
+
return { text: `INSERT INTO eos_history.samples(id,ts,value_type,value_number,value_boolean,value_text) VALUES ${rows.join(',')} ON CONFLICT(id,ts) DO UPDATE SET value_type=EXCLUDED.value_type,value_number=EXCLUDED.value_number,value_boolean=EXCLUDED.value_boolean,value_text=EXCLUDED.value_text`, values };
|
|
212
|
+
}
|
|
213
|
+
function parseRows(rows, options) {
|
|
214
|
+
if (rows.length > MAX_ROWS)
|
|
215
|
+
throw fail('EOS_POSTGRES_RESPONSE_LIMIT');
|
|
216
|
+
let total = 0;
|
|
217
|
+
const aggregate = options.aggregate || 'none';
|
|
218
|
+
const aggregated = !['none', 'onchange', 'minmax'].includes(aggregate);
|
|
219
|
+
const step = options.step ?? Math.max(1, Math.ceil((options.end - options.start) / (options.limit ?? options.count ?? MAX_ROWS)));
|
|
220
|
+
const earliest = aggregated ? Math.max(0, options.start - step + 1) : options.start;
|
|
221
|
+
return rows.map(row => {
|
|
222
|
+
if (!record(row))
|
|
223
|
+
throw fail('EOS_POSTGRES_RESPONSE_INVALID');
|
|
224
|
+
const ts = typeof row.ts === 'string' && /^\d{1,16}$/.test(row.ts) ? Number(row.ts) : row.ts;
|
|
225
|
+
const val = row.value_type === 0 ? row.value_number : row.value_type === 1 ? row.value_boolean : row.value_type === 2 ? row.value_text : undefined;
|
|
226
|
+
if (typeof ts !== 'number' || !Number.isSafeInteger(ts) || ts < earliest || ts >= options.end ||
|
|
227
|
+
typeof val !== (row.value_type === 0 ? 'number' : row.value_type === 1 ? 'boolean' : row.value_type === 2 ? 'string' : 'invalid') ||
|
|
228
|
+
aggregate === 'minmax' && typeof val === 'string' ||
|
|
229
|
+
!['number', 'boolean', 'string'].includes(typeof val) || typeof val === 'number' && !Number.isFinite(val) ||
|
|
230
|
+
typeof val === 'string' && (val.length > 16384 || /[\u0000]/u.test(val)))
|
|
231
|
+
throw fail('EOS_POSTGRES_RESPONSE_INVALID');
|
|
232
|
+
total += 96 + (typeof val === 'string' ? Buffer.byteLength(val) : 0);
|
|
233
|
+
if (total > MAX_BYTES)
|
|
234
|
+
throw fail('EOS_POSTGRES_RESPONSE_LIMIT');
|
|
235
|
+
return { ts, val: val };
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
class PostgresHistoryClient {
|
|
239
|
+
constructor(namespace, loader = loadPostgresProfile, poolFactory = config => new pg_1.Pool(config)) {
|
|
240
|
+
this.namespace = namespace;
|
|
241
|
+
this.loader = loader;
|
|
242
|
+
this.poolFactory = poolFactory;
|
|
243
|
+
this.pool = null;
|
|
244
|
+
this.initialization = null;
|
|
245
|
+
this.closed = false;
|
|
246
|
+
this.active = new Set();
|
|
247
|
+
this.operations = 0;
|
|
248
|
+
this.cancellers = new Set();
|
|
249
|
+
this.provisioned = false;
|
|
250
|
+
this.lastError = '';
|
|
251
|
+
instance(namespace);
|
|
252
|
+
}
|
|
253
|
+
async initialize() {
|
|
254
|
+
if (this.closed)
|
|
255
|
+
throw fail('EOS_POSTGRES_CLOSED');
|
|
256
|
+
if (this.pool)
|
|
257
|
+
return this.pool;
|
|
258
|
+
if (!this.initialization) {
|
|
259
|
+
this.initialization = this.loader(this.namespace).then(connection => {
|
|
260
|
+
if (this.closed)
|
|
261
|
+
throw fail('EOS_POSTGRES_CLOSED');
|
|
262
|
+
const pool = this.poolFactory(postgresPoolConfig(connection));
|
|
263
|
+
pool.on('error', error => { this.lastError = postgresError(error).code; });
|
|
264
|
+
this.pool = pool;
|
|
265
|
+
this.provisioned = true;
|
|
266
|
+
return pool;
|
|
267
|
+
}).finally(() => { this.initialization = null; });
|
|
268
|
+
}
|
|
269
|
+
return this.initialization;
|
|
270
|
+
}
|
|
271
|
+
run(query, timeoutMs) {
|
|
272
|
+
if (this.closed)
|
|
273
|
+
return Promise.reject(fail('EOS_POSTGRES_CLOSED'));
|
|
274
|
+
if (this.operations >= 8)
|
|
275
|
+
return Promise.reject(fail('EOS_POSTGRES_BUSY'));
|
|
276
|
+
if (!Number.isFinite(timeoutMs) || timeoutMs <= 0)
|
|
277
|
+
return Promise.reject(fail('EOS_POSTGRES_TIMEOUT'));
|
|
278
|
+
this.operations++;
|
|
279
|
+
const deadline = node_perf_hooks_1.performance.now() + Math.min(timeoutMs, 5000);
|
|
280
|
+
return new Promise((resolve, reject) => {
|
|
281
|
+
let finished = false;
|
|
282
|
+
let client = null;
|
|
283
|
+
const finish = (error, rows) => {
|
|
284
|
+
if (finished)
|
|
285
|
+
return;
|
|
286
|
+
finished = true;
|
|
287
|
+
clearTimeout(timer);
|
|
288
|
+
this.cancellers.delete(cancel);
|
|
289
|
+
this.operations--;
|
|
290
|
+
if (client) {
|
|
291
|
+
this.active.delete(client);
|
|
292
|
+
client.release(error ? true : undefined);
|
|
293
|
+
client = null;
|
|
294
|
+
}
|
|
295
|
+
if (error) {
|
|
296
|
+
const mapped = postgresError(error);
|
|
297
|
+
this.lastError = mapped.code;
|
|
298
|
+
reject(mapped);
|
|
299
|
+
}
|
|
300
|
+
else {
|
|
301
|
+
this.lastError = '';
|
|
302
|
+
resolve(rows || []);
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
const cancel = () => finish(fail('EOS_POSTGRES_CLOSED'));
|
|
306
|
+
const timer = setTimeout(() => finish(fail('EOS_POSTGRES_TIMEOUT')), Math.max(1, deadline - node_perf_hooks_1.performance.now()));
|
|
307
|
+
this.cancellers.add(cancel);
|
|
308
|
+
void this.initialize().then(pool => { if (finished || this.closed)
|
|
309
|
+
throw fail('EOS_POSTGRES_CLOSED'); return pool.connect(); }).then(acquired => {
|
|
310
|
+
if (finished || this.closed) {
|
|
311
|
+
acquired.release(true);
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
client = acquired;
|
|
315
|
+
this.active.add(acquired);
|
|
316
|
+
return acquired.query(query.text, query.values).then(result => finish(null, result.rows));
|
|
317
|
+
}).catch(error => finish(error));
|
|
318
|
+
});
|
|
319
|
+
}
|
|
320
|
+
async query(id, options, timeoutMs = 5000) {
|
|
321
|
+
const deadline = node_perf_hooks_1.performance.now() + Math.min(timeoutMs, 5000);
|
|
322
|
+
const result = parseRows(await this.run(buildPostgresHistoryQuery(id, options), timeoutMs), options);
|
|
323
|
+
if (node_perf_hooks_1.performance.now() >= deadline)
|
|
324
|
+
throw fail('EOS_POSTGRES_TIMEOUT');
|
|
325
|
+
return { result };
|
|
326
|
+
}
|
|
327
|
+
async write(points, timeoutMs = 5000) { await this.run(buildPostgresWrite(points), timeoutMs); }
|
|
328
|
+
async check() {
|
|
329
|
+
await this.run({ text: 'SELECT id,ts FROM eos_history.samples LIMIT 0', values: [] }, 5000);
|
|
330
|
+
return { reachable: true, readable: true };
|
|
331
|
+
}
|
|
332
|
+
close() {
|
|
333
|
+
if (this.closed)
|
|
334
|
+
return;
|
|
335
|
+
this.closed = true;
|
|
336
|
+
for (const cancel of [...this.cancellers])
|
|
337
|
+
cancel();
|
|
338
|
+
const pool = this.pool;
|
|
339
|
+
this.pool = null;
|
|
340
|
+
if (pool)
|
|
341
|
+
void pool.end().catch(() => { });
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
exports.PostgresHistoryClient = PostgresHistoryClient;
|
|
@@ -21,6 +21,39 @@
|
|
|
21
21
|
* 3. npm run test:runtime-executables prüfen.
|
|
22
22
|
*/
|
|
23
23
|
"use strict";
|
|
24
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
27
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
28
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
29
|
+
}
|
|
30
|
+
Object.defineProperty(o, k2, desc);
|
|
31
|
+
}) : (function(o, m, k, k2) {
|
|
32
|
+
if (k2 === undefined) k2 = k;
|
|
33
|
+
o[k2] = m[k];
|
|
34
|
+
}));
|
|
35
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
36
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
37
|
+
}) : function(o, v) {
|
|
38
|
+
o["default"] = v;
|
|
39
|
+
});
|
|
40
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
41
|
+
var ownKeys = function(o) {
|
|
42
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
43
|
+
var ar = [];
|
|
44
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
45
|
+
return ar;
|
|
46
|
+
};
|
|
47
|
+
return ownKeys(o);
|
|
48
|
+
};
|
|
49
|
+
return function (mod) {
|
|
50
|
+
if (mod && mod.__esModule) return mod;
|
|
51
|
+
var result = {};
|
|
52
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
53
|
+
__setModuleDefault(result, mod);
|
|
54
|
+
return result;
|
|
55
|
+
};
|
|
56
|
+
})();
|
|
24
57
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
58
|
exports.runtimeProxyPrefix = runtimeProxyPrefix;
|
|
26
59
|
exports.isHttpsRuntimeProxy = isHttpsRuntimeProxy;
|
|
@@ -41,7 +74,7 @@ exports.createRuntimeFileSender = createRuntimeFileSender;
|
|
|
41
74
|
*/
|
|
42
75
|
const node_fs_1 = require("node:fs");
|
|
43
76
|
const promises_1 = require("node:fs/promises");
|
|
44
|
-
const path = require("node:path");
|
|
77
|
+
const path = __importStar(require("node:path"));
|
|
45
78
|
const MAX_HTML_BYTES = 2 * 1024 * 1024;
|
|
46
79
|
const MAX_ACTIVE_READS = 16;
|
|
47
80
|
/** Darstellungs-Prefix, niemals eine Authentifizierung des absendenden Proxy. */
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
* 3. npm run test:runtime-executables prüfen.
|
|
22
22
|
*/
|
|
23
23
|
"use strict";
|
|
24
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
+
};
|
|
24
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
28
|
exports.DeviceControlError = void 0;
|
|
26
29
|
exports.getControlProfiles = getControlProfiles;
|
|
@@ -36,7 +39,7 @@ exports.executeDeviceControlBatch = executeDeviceControlBatch;
|
|
|
36
39
|
* Daten und Wirkung: Liest nur gespeicherte Zuordnungen; schreibt erst nach Katalog-, Objekt-, Werte- und Schutzprüfung.
|
|
37
40
|
* Bei Änderungen: Katalogabdeckung, Schreibgrenzen, unbekannte Werte, Schutzmeldungen und Zeitüberschreitungen prüfen.
|
|
38
41
|
*/
|
|
39
|
-
const type_detector_1 = require("@iobroker/type-detector");
|
|
42
|
+
const type_detector_1 = __importDefault(require("@iobroker/type-detector"));
|
|
40
43
|
const smarthome_custom_contract_1 = require("./smarthome-custom-contract");
|
|
41
44
|
/** Fehler enthalten ausschließlich feste Codes; weder Datenpunkt-ID noch fremde Fehlermeldungen werden ausgegeben. */
|
|
42
45
|
class DeviceControlError extends Error {
|
|
@@ -21,6 +21,39 @@
|
|
|
21
21
|
* 3. npm run test:runtime-executables prüfen.
|
|
22
22
|
*/
|
|
23
23
|
"use strict";
|
|
24
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
25
|
+
if (k2 === undefined) k2 = k;
|
|
26
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
27
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
28
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
29
|
+
}
|
|
30
|
+
Object.defineProperty(o, k2, desc);
|
|
31
|
+
}) : (function(o, m, k, k2) {
|
|
32
|
+
if (k2 === undefined) k2 = k;
|
|
33
|
+
o[k2] = m[k];
|
|
34
|
+
}));
|
|
35
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
36
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
37
|
+
}) : function(o, v) {
|
|
38
|
+
o["default"] = v;
|
|
39
|
+
});
|
|
40
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
41
|
+
var ownKeys = function(o) {
|
|
42
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
43
|
+
var ar = [];
|
|
44
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
45
|
+
return ar;
|
|
46
|
+
};
|
|
47
|
+
return ownKeys(o);
|
|
48
|
+
};
|
|
49
|
+
return function (mod) {
|
|
50
|
+
if (mod && mod.__esModule) return mod;
|
|
51
|
+
var result = {};
|
|
52
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
53
|
+
__setModuleDefault(result, mod);
|
|
54
|
+
return result;
|
|
55
|
+
};
|
|
56
|
+
})();
|
|
24
57
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
58
|
exports.EosSessionClient = exports.UiLoginLimiter = void 0;
|
|
26
59
|
exports.parseUiCookies = parseUiCookies;
|
|
@@ -50,12 +83,12 @@ exports.safeCentralUiUrl = safeCentralUiUrl;
|
|
|
50
83
|
* Sicherheit: Unbekannte Profile, doppelte Cookies und Ausfall der Zentrale
|
|
51
84
|
* sperren den Zugang. Maschinenendpunkte behalten ihre eigene Tokenprüfung.
|
|
52
85
|
*/
|
|
53
|
-
const crypto = require("node:crypto");
|
|
54
|
-
const http = require("node:http");
|
|
55
|
-
const https = require("node:https");
|
|
56
|
-
const net = require("node:net");
|
|
57
|
-
const path = require("node:path");
|
|
58
|
-
const fs = require("node:fs");
|
|
86
|
+
const crypto = __importStar(require("node:crypto"));
|
|
87
|
+
const http = __importStar(require("node:http"));
|
|
88
|
+
const https = __importStar(require("node:https"));
|
|
89
|
+
const net = __importStar(require("node:net"));
|
|
90
|
+
const path = __importStar(require("node:path"));
|
|
91
|
+
const fs = __importStar(require("node:fs"));
|
|
59
92
|
/** Keine stillen Typumwandlungen oder widersprüchlichen Cookie-Identitäten. */
|
|
60
93
|
function parseUiCookies(req) {
|
|
61
94
|
const out = Object.create(null);
|