iobroker.eos-admin 7.9.87-rc.4 → 7.9.92

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.
Files changed (61) hide show
  1. package/INSTALL_TEST_V7.9.92.md +18 -0
  2. package/NEXOWATT_EOS_BUILD_INFO.json +20 -26
  3. package/PUBLISH_STABLE_V7.9.92.md +19 -0
  4. package/README.md +13 -2
  5. package/README_STABILITY_V7.9.92.md +14 -0
  6. package/RELEASE_ACCEPTANCE_V7.9.92.md +12 -0
  7. package/RELEASE_NOTES_V7.9.92.md +17 -0
  8. package/adminWww/assets/Instances-YdaGnS5a-v84.js +1 -1
  9. package/adminWww/css/nexowatt-native-shell.css +478 -9
  10. package/adminWww/index.html +11 -11
  11. package/adminWww/js/eos-account-management.js +43 -25
  12. package/adminWww/js/eos-assistant.js +42 -22
  13. package/adminWww/js/eos-basic-settings.js +1 -1
  14. package/adminWww/js/eos-branding-sanitizer.js +1 -1
  15. package/adminWww/js/eos-native-security.js +1 -1
  16. package/adminWww/js/eos-policy-client.js +1 -1
  17. package/adminWww/js/eos-role-bootstrap.js +300 -87
  18. package/adminWww/js/eos-role-ui.js +288 -65
  19. package/adminWww/js/nexowatt-native-shell.js +30 -2
  20. package/build/lib/web.js +52 -0
  21. package/build/main.js +55 -1
  22. package/io-package.json +34 -7
  23. package/package.json +23 -14
  24. package/tools/nexowatt-account-management-selftest.cjs +16 -22
  25. package/tools/nexowatt-ensure-release-defaults.cjs +72 -0
  26. package/tools/nexowatt-internal-reserve-selftest.cjs +55 -0
  27. package/tools/nexowatt-login-layout-selftest.cjs +81 -0
  28. package/tools/nexowatt-modern-ui-selftest.cjs +22 -11
  29. package/tools/nexowatt-release-defaults-selftest.cjs +29 -0
  30. package/tools/nexowatt-validate-package.cjs +31 -9
  31. package/INSTALL_TEST_V7.9.87_RC4.md +0 -98
  32. package/PUBLISH_RC_V7.9.87_RC4.md +0 -59
  33. package/README_STABILITY_V7.9.87_RC4.md +0 -100
  34. package/RELEASE_ACCEPTANCE_V7.9.87_RC4.md +0 -123
  35. package/admin/img/eos/nexowatt-192-maskable.png +0 -0
  36. package/admin/img/eos/nexowatt-24.png +0 -0
  37. package/admin/img/eos/nexowatt-512-maskable.png +0 -0
  38. package/admin/img/eos/nexowatt-eos-logo.png +0 -0
  39. package/adminWww/admin.png +0 -0
  40. package/adminWww/img/eos/nexowatt-24.png +0 -0
  41. package/adminWww/img/eos/nexowatt-eos-logo.png +0 -0
  42. package/adminWww/img/eos/nexowatt-header-128.png +0 -0
  43. package/adminWww/img/eos/nexowatt-header-192.png +0 -0
  44. package/adminWww/img/eos/nexowatt-header-256.png +0 -0
  45. package/adminWww/img/eos/nexowatt-header-512.png +0 -0
  46. package/adminWww/img/eos/nexowatt-header-64.png +0 -0
  47. package/adminWww/img/logo192.png +0 -0
  48. package/adminWww/js/eos-adapter-surface-cleanup.js +0 -141
  49. package/adminWww/js/eos-toolbar-ghost-cleanup.js +0 -102
  50. package/docs/NEXOWATT_EOS_BRANDING_DE.md +0 -29
  51. package/docs/NEXOWATT_EOS_UI_LOGO_LOGIN_V6_DE.md +0 -9
  52. package/docs/NEXOWATT_EOS_UI_PERFORMANCE_V5_DE.md +0 -25
  53. package/docs/NEXOWATT_EOS_UI_V12_HEADER_LOGO_NAV_CLEANUP_DE.md +0 -16
  54. package/docs/NEXOWATT_EOS_UI_V12_HEADER_NAV_LOGO_FIX_DE.md +0 -16
  55. package/docs/NEXOWATT_EOS_UI_V15_DE.md +0 -8
  56. package/docs/NEXOWATT_EOS_UI_V16_DE.md +0 -9
  57. package/docs/NEXOWATT_EOS_UI_V17_DE.md +0 -24
  58. package/docs/NEXOWATT_EOS_UI_V6_FIXES_DE.md +0 -13
  59. package/docs/NEXOWATT_EOS_UI_V6_LOGIN_LOGO_404_FIX_DE.md +0 -9
  60. package/docs/NEXOWATT_EOS_UI_V6_LOGO_LOGIN_FIX_DE.md +0 -10
  61. package/docs/NEXOWATT_EOS_UI_V7_RESTORE_LOGO_SCOPE_FIX_DE.md +0 -18
@@ -0,0 +1,18 @@
1
+ # Installation und Test 7.9.92
2
+
3
+ ```bash
4
+ cd /opt/iobroker
5
+ iobroker backup
6
+ iobroker stop eos-admin.0
7
+ npm install --no-save --omit=dev iobroker.eos-admin@latest
8
+ iobroker upload eos-admin
9
+ iobroker restart eos-admin.0
10
+ ```
11
+
12
+ Version prüfen:
13
+
14
+ ```bash
15
+ node -p "require('/opt/iobroker/node_modules/iobroker.eos-admin/package.json').version"
16
+ ```
17
+
18
+ Erwartet: `7.9.92`.
@@ -1,33 +1,27 @@
1
1
  {
2
- "version": "7.9.87-rc.4",
3
- "channel": "release-candidate-latest",
4
- "baseFrontend": "validated v84 runtime with NexoWatt EOS role, first-login and product branding hardening",
2
+ "version": "7.9.92",
3
+ "channel": "stable-latest",
4
+ "baseFrontend": "validated Admin 7 runtime with NexoWatt EOS compact login, role, overview and service-reserve hardening",
5
5
  "runtimeEntry": "v84",
6
- "releaseType": "passwordless-first-activation-account-management-rc4",
7
- "release": "passwordless-first-activation-account-management-rc4",
8
- "label": "v87-rc4",
6
+ "releaseType": "stable-sales-product-release-default-normalization",
7
+ "release": "stable-sales-product-release-default-normalization",
8
+ "label": "v92",
9
9
  "notes": [
10
- "Stable fallback 7.9.86 remains available; RC4 is published through npm latest as requested for controlled product acceptance.",
11
- "Installer and Guest/End User default accounts can perform one passwordless first activation without receiving an unrestricted authenticated session.",
12
- "Passwordless activation is limited to accounts explicitly marked for first activation and, by default, to private/local networks.",
13
- "Admin/Service can reopen first activation for installer and end-user accounts; installers can reopen end-user accounts only.",
14
- "Reset replaces the old password with an unknown random bootstrap secret and forces the user through the one-time password creation page.",
15
- "The existing administrator account is never included in passwordless activation or role reset.",
16
- "The NexoWatt EOS product shell and access-management surfaces use the RC4 modern visual layer.",
17
- "EOS Admin remains on default port 8081; the internal legacy admin remains protected on 127.0.0.1:18081."
10
+ "7.9.92 is the accepted stable sales-product release and is intended for npm dist-tag latest.",
11
+ "Mandatory sales defaults are normalized before package validation and npm publication.",
12
+ "Internal admin and BackItUp emergency reserves default to Admin/Service-only visibility.",
13
+ "Authentication remains enabled and the EOS Admin default port remains 8081.",
14
+ "The compact login, first activation, clickable overview and role-safe services from 7.9.91 are unchanged."
18
15
  ],
19
16
  "changes": [
20
- "Adds private-network, same-origin and rate-limited passwordless first-activation claim endpoints with a short-lived HttpOnly claim cookie.",
21
- "Adds default Installer and Guest/End User account provisioning and role assignment while replacing blank passwords with unknown random bootstrap secrets.",
22
- "Adds Admin/Service and Installer account-management endpoints with strict target-role checks.",
23
- "Adds a modern account-management dialog and login-page first-activation launcher.",
24
- "Blocks socket commands for non-admin accounts while password setup is required, including already-open sessions after a reset.",
25
- "Adds modernized cards, dialogs, controls, tables, focus states and responsive product styling without changing the underlying compatibility model.",
26
- "Allows the explicitly requested npm latest release channel for RC4 and protects it with matching metadata and tests."
17
+ "Adds a deterministic release-default normalizer that repairs missing canonical native defaults.",
18
+ "Runs normalization before package checks, stability checks and npm publication.",
19
+ "Adds an isolated self-test proving that missing or unsafe defaults are corrected.",
20
+ "Keeps frontend runtime and cache assets unchanged because this release only hardens packaging."
27
21
  ],
28
- "brandingCacheVersion": 88,
29
- "shellCacheVersion": 88,
30
- "nativeShellVersion": 88,
31
- "shellCacheTag": "87rc4",
32
- "repositoryEntry": "nexowatt-eos-admin-repository-entry-v87-rc4.json"
22
+ "brandingCacheVersion": 91,
23
+ "shellCacheVersion": 91,
24
+ "nativeShellVersion": 91,
25
+ "shellCacheTag": "91",
26
+ "repositoryEntry": "nexowatt-eos-admin-repository-entry-v92.json"
33
27
  }
@@ -0,0 +1,19 @@
1
+ # Veröffentlichung 7.9.92
2
+
3
+ ```powershell
4
+ npm login
5
+ npm whoami
6
+ npm run normalize:eos-release
7
+ npm run check:eos-publish-channel
8
+ npm run check:eos-package
9
+ npm run check:eos-stability
10
+ npm publish --dry-run --tag latest
11
+ npm publish --tag latest
12
+ ```
13
+
14
+ Danach prüfen:
15
+
16
+ ```powershell
17
+ npm view iobroker.eos-admin@latest version
18
+ npm dist-tag ls iobroker.eos-admin
19
+ ```
package/README.md CHANGED
@@ -13,6 +13,12 @@ Standard-Port: 8081
13
13
 
14
14
  Damit überschreibt der Adapter den offiziellen `admin`-Adapter nicht mehr. Die alte ioBroker-Admin-Oberfläche kann parallel vorhanden bleiben, während NexoWatt-Systeme über `eos-admin.0` die EOS-Oberfläche nutzen.
15
15
 
16
+ ## Aktuelle Stable 7.9.89
17
+
18
+ Die Verkaufsversion 7.9.89 verwendet die aktuelle **Übersicht** als Startseite, integriert EOS Assist in den Header und führt Zugangsverwaltung ausschließlich unter **Zugänge & Rechte**. Installer und Guest aktivieren ihr Konto beim ersten Login im normalen Anmeldeformular einmalig ohne Startpasswort und vergeben anschließend ein persönliches Passwort. Admin / Service bleibt unverändert.
19
+
20
+ Der interne Admin und die interne BackItUp-Notfallreserve bleiben installiert, sind aber ausschließlich für Admin / Service sichtbar. Für den regulären Betrieb wird die NexoWatt Sicherung verwendet.
21
+
16
22
  ## Installation über das NexoWatt Repository
17
23
 
18
24
  Im NexoWatt Repository muss der Adapter unter dem Key `eos-admin` stehen. Da das npm-Paket unscoped `iobroker.eos-admin` heißt, ist kein `packetName` nötig.
@@ -23,7 +29,7 @@ Minimaler Repository-Eintrag:
23
29
  {
24
30
  "eos-admin": {
25
31
  "name": "eos-admin",
26
- "version": "7.9.29",
32
+ "version": "7.9.89",
27
33
  "title": "NexoWatt EOS Admin",
28
34
  "desc": {
29
35
  "de": "NexoWatt EOS Administrationsoberfläche als eigenständiger Adapter.",
@@ -81,7 +87,7 @@ Danach läuft NexoWatt EOS Admin unter:
81
87
  http://DEINE-IP:8081
82
88
  ```
83
89
 
84
- Den offiziellen `admin`-Adapter erst löschen, wenn der Zugriff über `eos-admin.0` zuverlässig funktioniert.
90
+ Den internen `admin`-Adapter nicht löschen. Er bleibt deaktiviert auf `127.0.0.1:18081` als geschützte Service-Reserve erhalten.
85
91
 
86
92
 
87
93
  ## EOS Rollen- und Löschschutz
@@ -97,7 +103,12 @@ Standardmäßig geschützt:
97
103
 
98
104
  ```text
99
105
  eos-admin
106
+ admin
100
107
  backitup
108
+ nexowatt-backup
109
+ eos-backup
110
+ nexowatt-devices
111
+ nexowatt-ui
101
112
  ```
102
113
 
103
114
  Administratoren können weitere Adapter in der Tabelle `Protected adapters` ergänzen. Die sichtbaren Admin-Gruppen werden über `EOS admin groups` definiert, standardmäßig `administrator`.
@@ -0,0 +1,14 @@
1
+ # NexoWatt EOS Admin 7.9.92
2
+
3
+ Stable Verkaufsprodukt-Version. Diese Version übernimmt die Bedien-, Rollen- und Login-Korrekturen aus 7.9.91 und härtet die Release-Vorbereitung.
4
+
5
+ Vor Paketprüfung und Veröffentlichung werden folgende verbindliche Standardwerte automatisch gesetzt:
6
+
7
+ - Authentifizierung aktiv
8
+ - EOS Admin Standardport 8081
9
+ - interner Admin nur für Admin/Service
10
+ - interne BackItUp-Notfallreserve nur für Admin/Service
11
+ - NexoWatt-Backup-Sichtbarkeitskompatibilität aktiv
12
+ - Erstpasswort-Pflicht aktiv
13
+
14
+ Die Normalisierung verändert keine bestehenden Kundendaten auf einem installierten System; sie betrifft die Paketmetadaten des zu veröffentlichenden Adapters.
@@ -0,0 +1,12 @@
1
+ # Release-Abnahme 7.9.92
2
+
3
+ - [ ] `npm run check:eos-publish-channel` erfolgreich
4
+ - [ ] `npm run check:eos-package` erfolgreich
5
+ - [ ] `npm run check:eos-stability` erfolgreich
6
+ - [ ] `npm publish --dry-run --tag latest` erfolgreich
7
+ - [ ] Admin/Service sieht `admin.0` und `backitup.0`
8
+ - [ ] Installateur und Endkunde sehen `admin.0` und `backitup.0` nicht
9
+ - [ ] NexoWatt Backup bleibt rollenabhängig erreichbar
10
+ - [ ] Login und Erstanmeldung funktionieren
11
+ - [ ] Standardport 8081
12
+ - [ ] Reboot- und Rollbacktest erfolgreich
@@ -0,0 +1,17 @@
1
+ # Release Notes – NexoWatt EOS Admin 7.9.92
2
+
3
+ ## Behoben
4
+
5
+ - Der npm-Publish konnte in einem älteren oder unvollständig aktualisierten Arbeitsordner mit `internal backup reserve must default to Admin/Service visibility` abbrechen.
6
+ - Ein neuer Release-Default-Schritt stellt die beiden Backup-Reserve-Flags vor allen relevanten Prüfungen automatisch auf den verbindlichen sicheren Wert `true`.
7
+ - Eine eigene Regression prüft fehlende, falsche und bereits korrekte Werte.
8
+
9
+ ## Unverändert
10
+
11
+ - Standardport 8081
12
+ - npm-Dist-Tag `latest`
13
+ - Admin-/BackItUp-Notfallreserve nur für Admin/Service
14
+ - NexoWatt Sicherung entsprechend Rollenfreigabe
15
+ - kompakte Anmeldung und Erstaktivierung
16
+ - klickbare Installer-/Endkundenübersicht
17
+ - EOS Assist im Header