iobroker.admin 6.2.5 → 6.2.6

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,9 @@ 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.6 (2022-07-28)
112
112
  * (bluefox) Implemented Oauth2 workflow for adapters
113
+ * (bluefox) Corrected encrypt/decrypt functions
113
114
 
114
115
  ### 6.2.4 (2022-07-20)
115
116
  * (bluefox) Corrected yahka settings
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.6",
5
5
  "titleLang": {
6
6
  "en": "Admin",
7
7
  "de": "Admin",
@@ -18,17 +18,17 @@
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",
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工作流程"
21
+ "6.2.6": {
22
+ "en": "Implemented Oauth2 workflow for adapters\nCorrected encrypt/decrypt functions",
23
+ "de": "Implementierter Oauth2-Workflow für Adapter\nKorrigierte Verschlüsselungs-/Entschlüsselungsfunktionen",
24
+ "ru": "Реализованный рабочий процесс Oauth2 для адаптеров\nИсправлены функции шифрования/шифрования",
25
+ "pt": "Fluxo de trabalho Oauth2 implementado para adaptadores\nCorrected encrypt/decrypt functions",
26
+ "nl": "Vertaling:\nCorrectie encrypt/decrypt functies",
27
+ "fr": "Débit de travail Oauth2 pour adaptateurs\nFonctions correctes de chiffrement/décryptage",
28
+ "it": "Flusso di lavoro Oauth2 implementato per adattatori\nCorretto funzioni di crittografia / crittografia",
29
+ "es": "Flujo de trabajo Oauth2 aplicado para adaptadores\nFunciones corregidas de encriptación/decriptación",
30
+ "pl": "Poprawa Oauth2 dla adapterów\nPoprawa szyfrowania/ deszyfrowania funkcji",
31
+ "zh-cn": "执行适应人员奥考特2工作流程\n更正加密/德加密职能"
32
32
  },
33
33
  "6.2.4": {
34
34
  "en": "Corrected yahka settings",
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.6",
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.0193d507.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.7d75fb68.chunk.js": "./static/js/5710.7d75fb68.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",
@@ -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.0193d507.js.map": "./static/js/main.0193d507.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.7d75fb68.chunk.js.map": "./static/js/5710.7d75fb68.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",
@@ -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.0193d507.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.0193d507.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;