iobroker.admin 6.2.5 → 6.2.8

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/README.md CHANGED
@@ -108,8 +108,12 @@ The icons may not be reused in other projects without the proper flaticon licens
108
108
  -->
109
109
 
110
110
  ## Changelog
111
- ### 6.2.5 (2022-07-28)
111
+ ### 6.2.8 (2022-07-29)
112
+ * (bluefox) Corrected the Text input field in JSON configuration
113
+
114
+ ### 6.2.6 (2022-07-28)
112
115
  * (bluefox) Implemented Oauth2 workflow for adapters
116
+ * (bluefox) Corrected encrypt/decrypt functions
113
117
 
114
118
  ### 6.2.4 (2022-07-20)
115
119
  * (bluefox) Corrected yahka settings
@@ -120,9 +124,6 @@ The icons may not be reused in other projects without the proper flaticon licens
120
124
  ### 6.2.2 (2022-07-18)
121
125
  * (bluefox) Corrected JSON config table and login page
122
126
 
123
- ### 6.2.1 (2022-07-14)
124
- * (bluefox) Release 6.2
125
-
126
127
  ## License
127
128
  The MIT License (MIT)
128
129
 
package/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "admin",
4
- "version": "6.2.5",
4
+ "version": "6.2.8",
5
5
  "titleLang": {
6
6
  "en": "Admin",
7
7
  "de": "Admin",
@@ -18,17 +18,29 @@
18
18
  "connectionType": "local",
19
19
  "dataSource": "push",
20
20
  "news": {
21
- "6.2.5": {
22
- "en": "Implemented Oauth2 workflow for adapters",
23
- "de": "Implementierter Oauth2-Workflow für Adapter",
24
- "ru": "Реализованный рабочий процесс Oauth2 для адаптеров",
25
- "pt": "Fluxo de trabalho Oauth2 implementado para adaptadores",
21
+ "6.2.8": {
22
+ "en": "Corrected the Text input field in JSON configuration",
23
+ "de": "Das Eingabefeld Text in JSON-Konfiguration korrigiert",
24
+ "ru": "Исправлена поле ввода текста в конфигурации JSON",
25
+ "pt": "Corrigido o campo de entrada de texto na configuração JSON",
26
26
  "nl": "Vertaling:",
27
- "fr": "Débit de travail Oauth2 pour adaptateurs",
28
- "it": "Flusso di lavoro Oauth2 implementato per adattatori",
29
- "es": "Flujo de trabajo Oauth2 aplicado para adaptadores",
30
- "pl": "Poprawa Oauth2 dla adapterów",
31
- "zh-cn": "执行适应人员奥考特2工作流程"
27
+ "fr": "Correction du champ d'entrée Texte dans la configuration JSON",
28
+ "it": "Corretto il campo di input del testo nella configurazione JSON",
29
+ "es": "Corregido el campo de entrada Texto en configuración JSON",
30
+ "pl": "Wprowadzono pole wejściowe w konfiguracji JSON",
31
+ "zh-cn": "修改了联索行动组合中的文本投入领域"
32
+ },
33
+ "6.2.6": {
34
+ "en": "Implemented Oauth2 workflow for adapters\nCorrected encrypt/decrypt functions",
35
+ "de": "Implementierter Oauth2-Workflow für Adapter\nKorrigierte Verschlüsselungs-/Entschlüsselungsfunktionen",
36
+ "ru": "Реализованный рабочий процесс Oauth2 для адаптеров\nИсправлены функции шифрования/шифрования",
37
+ "pt": "Fluxo de trabalho Oauth2 implementado para adaptadores\nCorrected encrypt/decrypt functions",
38
+ "nl": "Vertaling:\nCorrectie encrypt/decrypt functies",
39
+ "fr": "Débit de travail Oauth2 pour adaptateurs\nFonctions correctes de chiffrement/décryptage",
40
+ "it": "Flusso di lavoro Oauth2 implementato per adattatori\nCorretto funzioni di crittografia / crittografia",
41
+ "es": "Flujo de trabajo Oauth2 aplicado para adaptadores\nFunciones corregidas de encriptación/decriptación",
42
+ "pl": "Poprawa Oauth2 dla adapterów\nPoprawa szyfrowania/ deszyfrowania funkcji",
43
+ "zh-cn": "执行适应人员奥考特2工作流程\n更正加密/德加密职能"
32
44
  },
33
45
  "6.2.4": {
34
46
  "en": "Corrected yahka settings",
@@ -89,18 +101,6 @@
89
101
  "es": "Cuestiones de interfaz gráfica fija\nCandidato a la liberación 2",
90
102
  "pl": "Wskaźnik GUI\nWynik 2",
91
103
  "zh-cn": "九. 混合的古伊问题\n附录2"
92
- },
93
- "6.1.11": {
94
- "en": "Fixed GUI issues\nRelease candidate 1",
95
- "de": "Fehler behoben\nRelease Kandidat 1",
96
- "ru": "Исправлены проблемы с GUI\nВыпуск кандидата 1",
97
- "pt": "Problemas de interface gráfica fixa\nCandidato de lançamento 1",
98
- "nl": "GUI problemen\nLaat de kandidaat vrij. 1",
99
- "fr": "Problèmes d'interface graphique fixes\nCandidat à la libération 1",
100
- "it": "Problemi di GUI fissi\nCandidato di rilascio 1",
101
- "es": "Cuestiones de interfaz gráfica fija\nEl candidato a la liberación 1",
102
- "pl": "Wskaźnik GUI\nKandydatka 1",
103
- "zh-cn": "九. 混合的古伊问题\n释放候选人 导 言"
104
104
  }
105
105
  },
106
106
  "desc": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iobroker.admin",
3
3
  "description": "The adapter opens a webserver for the ioBroker admin UI.",
4
- "version": "6.2.5",
4
+ "version": "6.2.8",
5
5
  "contributors": [
6
6
  "bluefox <dogafox@gmail.com>",
7
7
  "apollon77",
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "files": {
3
- "main.js": "./static/js/main.f4f6be39.js",
3
+ "main.js": "./static/js/main.6e231540.js",
4
4
  "static/css/5710.7b36c5af.chunk.css": "./static/css/5710.7b36c5af.chunk.css",
5
- "static/js/5710.e0c6d06d.chunk.js": "./static/js/5710.e0c6d06d.chunk.js",
5
+ "static/js/5710.4a8ac938.chunk.js": "./static/js/5710.4a8ac938.chunk.js",
6
6
  "static/js/6090.d1503f4f.chunk.js": "./static/js/6090.d1503f4f.chunk.js",
7
7
  "static/js/9039.d5c60e80.chunk.js": "./static/js/9039.d5c60e80.chunk.js",
8
8
  "static/js/2652.9a062c3e.chunk.js": "./static/js/2652.9a062c3e.chunk.js",
@@ -170,7 +170,7 @@
170
170
  "static/js/2155.7a6c75f8.chunk.js": "./static/js/2155.7a6c75f8.chunk.js",
171
171
  "static/js/7951.abd5510b.chunk.js": "./static/js/7951.abd5510b.chunk.js",
172
172
  "static/js/7581.1f9072dd.chunk.js": "./static/js/7581.1f9072dd.chunk.js",
173
- "static/js/7228.b7f3d0bd.chunk.js": "./static/js/7228.b7f3d0bd.chunk.js",
173
+ "static/js/7228.2c3f476b.chunk.js": "./static/js/7228.2c3f476b.chunk.js",
174
174
  "static/js/9759.172be61e.chunk.js": "./static/js/9759.172be61e.chunk.js",
175
175
  "static/js/9533.e7089e2b.chunk.js": "./static/js/9533.e7089e2b.chunk.js",
176
176
  "static/js/8588.e79330e5.chunk.js": "./static/js/8588.e79330e5.chunk.js",
@@ -769,9 +769,9 @@
769
769
  "jsx.js": "./ffd3b83e8b5878f4785591ff54b1dfff.js",
770
770
  "d.js": "./70074e0c785c9a808dea76c7c7d17af3.js",
771
771
  "mode-text.js": "./25718a469574ade47e23567d8c543169.js",
772
- "main.f4f6be39.js.map": "./static/js/main.f4f6be39.js.map",
772
+ "main.6e231540.js.map": "./static/js/main.6e231540.js.map",
773
773
  "5710.7b36c5af.chunk.css.map": "./static/css/5710.7b36c5af.chunk.css.map",
774
- "5710.e0c6d06d.chunk.js.map": "./static/js/5710.e0c6d06d.chunk.js.map",
774
+ "5710.4a8ac938.chunk.js.map": "./static/js/5710.4a8ac938.chunk.js.map",
775
775
  "6090.d1503f4f.chunk.js.map": "./static/js/6090.d1503f4f.chunk.js.map",
776
776
  "9039.d5c60e80.chunk.js.map": "./static/js/9039.d5c60e80.chunk.js.map",
777
777
  "2652.9a062c3e.chunk.js.map": "./static/js/2652.9a062c3e.chunk.js.map",
@@ -939,7 +939,7 @@
939
939
  "2155.7a6c75f8.chunk.js.map": "./static/js/2155.7a6c75f8.chunk.js.map",
940
940
  "7951.abd5510b.chunk.js.map": "./static/js/7951.abd5510b.chunk.js.map",
941
941
  "7581.1f9072dd.chunk.js.map": "./static/js/7581.1f9072dd.chunk.js.map",
942
- "7228.b7f3d0bd.chunk.js.map": "./static/js/7228.b7f3d0bd.chunk.js.map",
942
+ "7228.2c3f476b.chunk.js.map": "./static/js/7228.2c3f476b.chunk.js.map",
943
943
  "js.map": "./b20cd9acf45420fcacfd923754185663.js.map",
944
944
  "9759.172be61e.chunk.js.map": "./static/js/9759.172be61e.chunk.js.map",
945
945
  "9533.e7089e2b.chunk.js.map": "./static/js/9533.e7089e2b.chunk.js.map",
@@ -949,6 +949,6 @@
949
949
  "8596.56f0287e.chunk.js.map": "./static/js/8596.56f0287e.chunk.js.map"
950
950
  },
951
951
  "entrypoints": [
952
- "static/js/main.f4f6be39.js"
952
+ "static/js/main.6e231540.js"
953
953
  ]
954
954
  }
package/www/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="admin - ioBroker"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="stylesheet" href="./css/leaflet.css"/><link rel="manifest" href="./manifest.json"/><script type="text/javascript" onerror="setTimeout(function(){window.location.reload()}, 5000)" src="./lib/js/socket.io.js"></script><script type="text/javascript" src="./lib/js/sparkline.js"></script><title>Admin</title><script>window.loginHideLogo="@@loginHideLogo@@",window.loginMotto="@@loginMotto@@",window.login="@@auth@@",window.loginLogo="@@loginLogo@@",window.loginLink="@@loginLink@@",window.loginTitle="@@loginTitle@@",window.loginBackgroundColor="@@loginBackgroundColor@@",window.loginBackgroundImage="@@loginBackgroundImage@@",window.vendorPrefix="@@vendorPrefix@@",window.disableDataReporting="@@disableDataReporting@@",window.loadingBackgroundColor="@@loadingBackgroundColor@@",window.loadingBackgroundImage="@@loadingBackgroundImage@@",window.loadingHideLogo="@@loadingHideLogo@@"</script><style>.root{background-color:rgba(255,255,255,.87);border-radius:10px}.unsupported{width:200px;background-color:#aaa;margin:auto;margin-top:3rem;padding:10px;line-height:25px;border-radius:4px;text-align:center}.leaflet-container{height:400px;width:100%}</style><script>setTimeout((()=>{const o=document.body;window.location.search.includes("?login")?(window.loginBackgroundColor&&-1===window.loginBackgroundColor.indexOf("loginBackgroundColor")&&(o.style.backgroundColor=window.loginBackgroundColor),window.loginBackgroundImage&&-1===window.loginBackgroundImage.indexOf("loginBackgroundImage")&&(o.style.backgroundImage="url("+window.loginBackgroundImage+")",o.style.backgroundSize="cover")):(window.loadingBackgroundColor&&-1===window.loadingBackgroundColor.indexOf("loadingBackgroundColor")&&(o.style.backgroundColor=window.loadingBackgroundColor),window.loadingBackgroundImage&&-1===window.loadingBackgroundImage.indexOf("loadingBackgroundImage")&&(o.style.backgroundImage="url("+window.loadingBackgroundImage+")",o.style.backgroundSize="cover"))}),0),window.addEventListener("load",(function o(n){window.removeEventListener("load",o,!1);if(window.navigator.userAgent.indexOf("MSIE ")>0||navigator.userAgent.match(/Trident.*rv\:11\./)){const o=document.getElementById("root");o.classList.add("unsupported"),o.innerHTML="Browser is not supported. Please use Firefox or Chrome."}}),!1)</script><script defer="defer" src="./static/js/main.f4f6be39.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/><meta name="theme-color" content="#000000"/><meta name="description" content="admin - ioBroker"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="stylesheet" href="./css/leaflet.css"/><link rel="manifest" href="./manifest.json"/><script type="text/javascript" onerror="setTimeout(function(){window.location.reload()}, 5000)" src="./lib/js/socket.io.js"></script><script type="text/javascript" src="./lib/js/sparkline.js"></script><title>Admin</title><script>window.loginHideLogo="@@loginHideLogo@@",window.loginMotto="@@loginMotto@@",window.login="@@auth@@",window.loginLogo="@@loginLogo@@",window.loginLink="@@loginLink@@",window.loginTitle="@@loginTitle@@",window.loginBackgroundColor="@@loginBackgroundColor@@",window.loginBackgroundImage="@@loginBackgroundImage@@",window.vendorPrefix="@@vendorPrefix@@",window.disableDataReporting="@@disableDataReporting@@",window.loadingBackgroundColor="@@loadingBackgroundColor@@",window.loadingBackgroundImage="@@loadingBackgroundImage@@",window.loadingHideLogo="@@loadingHideLogo@@"</script><style>.root{background-color:rgba(255,255,255,.87);border-radius:10px}.unsupported{width:200px;background-color:#aaa;margin:auto;margin-top:3rem;padding:10px;line-height:25px;border-radius:4px;text-align:center}.leaflet-container{height:400px;width:100%}</style><script>setTimeout((()=>{const o=document.body;window.location.search.includes("?login")?(window.loginBackgroundColor&&-1===window.loginBackgroundColor.indexOf("loginBackgroundColor")&&(o.style.backgroundColor=window.loginBackgroundColor),window.loginBackgroundImage&&-1===window.loginBackgroundImage.indexOf("loginBackgroundImage")&&(o.style.backgroundImage="url("+window.loginBackgroundImage+")",o.style.backgroundSize="cover")):(window.loadingBackgroundColor&&-1===window.loadingBackgroundColor.indexOf("loadingBackgroundColor")&&(o.style.backgroundColor=window.loadingBackgroundColor),window.loadingBackgroundImage&&-1===window.loadingBackgroundImage.indexOf("loadingBackgroundImage")&&(o.style.backgroundImage="url("+window.loadingBackgroundImage+")",o.style.backgroundSize="cover"))}),0),window.addEventListener("load",(function o(n){window.removeEventListener("load",o,!1);if(window.navigator.userAgent.indexOf("MSIE ")>0||navigator.userAgent.match(/Trident.*rv\:11\./)){const o=document.getElementById("root");o.classList.add("unsupported"),o.innerHTML="Browser is not supported. Please use Firefox or Chrome."}}),!1)</script><script defer="defer" src="./static/js/main.6e231540.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -2479,7 +2479,7 @@ function encryptLegacy(key, value) {
2479
2479
  * @param {string} value - value to decrypt
2480
2480
  * @returns {string}
2481
2481
  */
2482
- async function decrypt(key, value) {
2482
+ function decrypt(key, value) {
2483
2483
  if (value === undefined) {
2484
2484
  value = key;
2485
2485
  key = systemSecret;
@@ -2526,7 +2526,7 @@ async function decrypt(key, value) {
2526
2526
  * @param {string} _iv - optional initial vector for tests
2527
2527
  * @returns {string}
2528
2528
  */
2529
- async function encrypt(key, value, _iv) {
2529
+ function encrypt(key, value, _iv) {
2530
2530
  if (value === undefined) {
2531
2531
  value = key;
2532
2532
  key = systemSecret;