iobroker.admin 6.2.8 → 6.2.9

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,7 +108,7 @@ The icons may not be reused in other projects without the proper flaticon licens
108
108
  -->
109
109
 
110
110
  ## Changelog
111
- ### 6.2.8 (2022-07-29)
111
+ ### 6.2.9 (2022-07-29)
112
112
  * (bluefox) Corrected the Text input field in JSON configuration
113
113
 
114
114
  ### 6.2.6 (2022-07-28)
package/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "admin",
4
- "version": "6.2.8",
4
+ "version": "6.2.9",
5
5
  "titleLang": {
6
6
  "en": "Admin",
7
7
  "de": "Admin",
@@ -18,7 +18,7 @@
18
18
  "connectionType": "local",
19
19
  "dataSource": "push",
20
20
  "news": {
21
- "6.2.8": {
21
+ "6.2.9": {
22
22
  "en": "Corrected the Text input field in JSON configuration",
23
23
  "de": "Das Eingabefeld Text in JSON-Konfiguration korrigiert",
24
24
  "ru": "Исправлена поле ввода текста в конфигурации JSON",
package/lib/web.js CHANGED
@@ -952,10 +952,10 @@ function Web(settings, adapter, onReady, options) {
952
952
  if (timeout) {
953
953
  clearTimeout(timeout);
954
954
  timeout = null;
955
- if (result?.error) {
955
+ if (result && result.error) {
956
956
  let text = fs.readFileSync(__dirname + '/../public/oauthError.html').toString('utf8');
957
957
  text = text.replace('%LANGUAGE%', systemLanguage);
958
- text = text.replace('%ERROR%', 'TIMEOUT');
958
+ text = text.replace('%ERROR%', result.error);
959
959
  res.setHeader('Content-Type', 'text/html');
960
960
  res.status(500).send(text);
961
961
  } else {
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.8",
4
+ "version": "6.2.9",
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.6e231540.js",
3
+ "main.js": "./static/js/main.eeb5d457.js",
4
4
  "static/css/5710.7b36c5af.chunk.css": "./static/css/5710.7b36c5af.chunk.css",
5
- "static/js/5710.4a8ac938.chunk.js": "./static/js/5710.4a8ac938.chunk.js",
5
+ "static/js/5710.30717639.chunk.js": "./static/js/5710.30717639.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.6e231540.js.map": "./static/js/main.6e231540.js.map",
772
+ "main.eeb5d457.js.map": "./static/js/main.eeb5d457.js.map",
773
773
  "5710.7b36c5af.chunk.css.map": "./static/css/5710.7b36c5af.chunk.css.map",
774
- "5710.4a8ac938.chunk.js.map": "./static/js/5710.4a8ac938.chunk.js.map",
774
+ "5710.30717639.chunk.js.map": "./static/js/5710.30717639.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.6e231540.js"
952
+ "static/js/main.eeb5d457.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.6e231540.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.eeb5d457.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>