iobroker.admin 6.2.18 → 6.2.19

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 (30) hide show
  1. package/README.md +4 -4
  2. package/admin/jsonConfig.json5 +0 -4
  3. package/io-package.json +13 -13
  4. package/main.js +8 -2
  5. package/package.json +1 -1
  6. package/www/asset-manifest.json +15 -15
  7. package/www/index.html +1 -1
  8. package/www/static/js/1553.c291692c.chunk.js +709 -0
  9. package/www/static/js/1553.c291692c.chunk.js.map +1 -0
  10. package/www/static/js/{5710.72e95b8e.chunk.js → 5710.05cde997.chunk.js} +4 -4
  11. package/www/static/js/5710.05cde997.chunk.js.map +1 -0
  12. package/www/static/js/7228.cd98fee1.chunk.js +67 -0
  13. package/www/static/js/7228.cd98fee1.chunk.js.map +1 -0
  14. package/www/static/js/{7412.6bf54cc4.chunk.js → 7412.e4b0556a.chunk.js} +5 -5
  15. package/www/static/js/7412.e4b0556a.chunk.js.map +1 -0
  16. package/www/static/js/{7858.d768cb91.chunk.js → 7858.b16a767f.chunk.js} +10 -10
  17. package/www/static/js/7858.b16a767f.chunk.js.map +1 -0
  18. package/www/static/js/8596.62e5938c.chunk.js +3 -0
  19. package/www/static/js/8596.62e5938c.chunk.js.map +1 -0
  20. package/www/static/js/{main.1fb226a1.js → main.b9cd96c6.js} +5 -5
  21. package/www/static/js/{main.1fb226a1.js.map → main.b9cd96c6.js.map} +1 -1
  22. package/www/static/js/1553.1c221cad.chunk.js +0 -709
  23. package/www/static/js/1553.1c221cad.chunk.js.map +0 -1
  24. package/www/static/js/5710.72e95b8e.chunk.js.map +0 -1
  25. package/www/static/js/7228.7cff9ec6.chunk.js +0 -67
  26. package/www/static/js/7228.7cff9ec6.chunk.js.map +0 -1
  27. package/www/static/js/7412.6bf54cc4.chunk.js.map +0 -1
  28. package/www/static/js/7858.d768cb91.chunk.js.map +0 -1
  29. package/www/static/js/8596.803204cf.chunk.js +0 -3
  30. package/www/static/js/8596.803204cf.chunk.js.map +0 -1
package/README.md CHANGED
@@ -79,6 +79,7 @@ If this option is disabled, the simple configuration page could be accessed unde
79
79
  Please be sure that you forward not only the http/https requests, but the web-socket traffic too. It is essential for communication.
80
80
 
81
81
  From version 6.1.0 you have the possibility to tune intro page for usage with reverse proxy.
82
+
82
83
  ### Example
83
84
  Your `ioBroker.admin` runs on port 8081 behind reverse proxy with domain `iobroker.mydomain.com` under path `/ioBrokerAdmin/`.
84
85
  And you set up e.g. nginx to forward the requests to the `http://local-iobroker.IP:8081`.
@@ -115,9 +116,11 @@ The icons may not be reused in other projects without the proper flaticon licens
115
116
  -->
116
117
 
117
118
  ## Changelog
119
+ ### 6.2.19 (2022-08-27)
120
+ * (bluefox) Corrected some issues
121
+
118
122
  ### 6.2.18 (2022-08-24)
119
123
  * (bluefox) Corrected GUI bugs on custom settings
120
- *
121
124
 
122
125
  ### 6.2.17 (2022-08-19)
123
126
  * (bluefox) Corrected GUI bug on intro tab
@@ -131,9 +134,6 @@ The icons may not be reused in other projects without the proper flaticon licens
131
134
  ### 6.2.14 (2022-08-06)
132
135
  * (Apollon77) Fix for OAuth2 authentication response success page
133
136
 
134
- ### 6.2.13 (2022-08-01)
135
- * (bluefox) Corrected JSON config
136
-
137
137
  ## License
138
138
  The MIT License (MIT)
139
139
 
@@ -130,10 +130,6 @@
130
130
  {
131
131
  "label": "every 2 weeks",
132
132
  "value": 336
133
- },
134
- {
135
- "label": "monthly",
136
- "value": 720
137
133
  }
138
134
  ],
139
135
  "sm": 12,
package/io-package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "admin",
4
- "version": "6.2.18",
4
+ "version": "6.2.19",
5
5
  "titleLang": {
6
6
  "en": "Admin",
7
7
  "de": "Admin",
@@ -18,6 +18,18 @@
18
18
  "connectionType": "local",
19
19
  "dataSource": "push",
20
20
  "news": {
21
+ "6.2.19": {
22
+ "en": "Corrected some issues",
23
+ "de": "Einige Probleme behoben",
24
+ "ru": "Исправлены некоторые вопросы",
25
+ "pt": "Corrigido alguns problemas",
26
+ "nl": "Vertaling:",
27
+ "fr": "Correction de certaines questions",
28
+ "it": "Corretto alcuni problemi",
29
+ "es": "Corregidos algunos problemas",
30
+ "pl": "Wyprawa",
31
+ "zh-cn": "处理一些问题"
32
+ },
21
33
  "6.2.18": {
22
34
  "en": "Corrected GUI bugs on custom settings\n",
23
35
  "de": "Korrigierte GUI Fehler auf benutzerdefinierten Einstellungen\n",
@@ -89,18 +101,6 @@
89
101
  "es": "Corregido el campo de entrada Texto en configuración JSON",
90
102
  "pl": "Wprowadzono pole wejściowe w konfiguracji JSON",
91
103
  "zh-cn": "修改了联索行动组合中的文本投入领域"
92
- },
93
- "6.2.6": {
94
- "en": "Implemented Oauth2 workflow for adapters\nCorrected encrypt/decrypt functions",
95
- "de": "Implementierter Oauth2-Workflow für Adapter\nKorrigierte Verschlüsselungs-/Entschlüsselungsfunktionen",
96
- "ru": "Реализованный рабочий процесс Oauth2 для адаптеров\nИсправлены функции шифрования/шифрования",
97
- "pt": "Fluxo de trabalho Oauth2 implementado para adaptadores\nCorrected encrypt/decrypt functions",
98
- "nl": "Vertaling:\nCorrectie encrypt/decrypt functies",
99
- "fr": "Débit de travail Oauth2 pour adaptateurs\nFonctions correctes de chiffrement/décryptage",
100
- "it": "Flusso di lavoro Oauth2 implementato per adattatori\nCorretto funzioni di crittografia / crittografia",
101
- "es": "Flujo de trabajo Oauth2 aplicado para adaptadores\nFunciones corregidas de encriptación/decriptación",
102
- "pl": "Poprawa Oauth2 dla adapterów\nPoprawa szyfrowania/ deszyfrowania funkcji",
103
- "zh-cn": "执行适应人员奥考特2工作流程\n更正加密/德加密职能"
104
104
  }
105
105
  },
106
106
  "desc": {
package/main.js CHANGED
@@ -703,6 +703,9 @@ function main(adapter) {
703
703
  adapter.config.autoUpdate = parseInt(adapter.config.autoUpdate, 10) || 0;
704
704
  if (adapter.config.autoUpdate && adapter.config.autoUpdate < 4) {
705
705
  adapter.config.autoUpdate = 4; // only every 4 hours is minimal update interval
706
+ } else
707
+ if (adapter.config.autoUpdate > 590) { // 0x7FFFFFFF / ONE_HOUR_MS = 596
708
+ adapter.config.autoUpdate = 590; // max interval is 2147483647 milliseconds
706
709
  }
707
710
 
708
711
  adapter.config.autoUpdate && updateRegister();
@@ -790,7 +793,7 @@ async function checkNodeJsVersion() {
790
793
  try {
791
794
  result.npmCurrent = await getNpmVersion();
792
795
  } catch (error) {
793
- adapter.log.warn('Cannot get current npm version: ' + error);
796
+ adapter.log.warn(`Cannot get current npm version: ${error}`);
794
797
  }
795
798
 
796
799
  // https://nodejs.org/download/release/index.json
@@ -1166,7 +1169,10 @@ function updateRegister(isForce) {
1166
1169
  }
1167
1170
  });
1168
1171
  } else if (adapter.config.autoUpdate) {
1169
- const interval = repos.ts + adapter.config.autoUpdate * ONE_HOUR_MS - Date.now() + 1;
1172
+ let interval = repos.ts + adapter.config.autoUpdate * ONE_HOUR_MS - Date.now() + 1;
1173
+ if (interval > 0x7fffffff) {
1174
+ interval = 0x7fffffff;
1175
+ }
1170
1176
  adapter.log.debug(`Next repo update on ${new Date(Date.now() + interval).toLocaleString()}`);
1171
1177
  adapter.timerRepo && clearTimeout(adapter.timerRepo);
1172
1178
  adapter.timerRepo = setTimeout(() => {
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.18",
4
+ "version": "6.2.19",
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.1fb226a1.js",
3
+ "main.js": "./static/js/main.b9cd96c6.js",
4
4
  "static/css/5710.41ed5ace.chunk.css": "./static/css/5710.41ed5ace.chunk.css",
5
- "static/js/5710.72e95b8e.chunk.js": "./static/js/5710.72e95b8e.chunk.js",
5
+ "static/js/5710.05cde997.chunk.js": "./static/js/5710.05cde997.chunk.js",
6
6
  "static/js/6090.33cd9234.chunk.js": "./static/js/6090.33cd9234.chunk.js",
7
7
  "static/js/9039.14d9c220.chunk.js": "./static/js/9039.14d9c220.chunk.js",
8
8
  "static/js/2652.9a062c3e.chunk.js": "./static/js/2652.9a062c3e.chunk.js",
@@ -13,7 +13,7 @@
13
13
  "static/js/2261.d77ad434.chunk.js": "./static/js/2261.d77ad434.chunk.js",
14
14
  "static/js/217.cf6e20e6.chunk.js": "./static/js/217.cf6e20e6.chunk.js",
15
15
  "static/js/1366.043d3607.chunk.js": "./static/js/1366.043d3607.chunk.js",
16
- "static/js/7412.6bf54cc4.chunk.js": "./static/js/7412.6bf54cc4.chunk.js",
16
+ "static/js/7412.e4b0556a.chunk.js": "./static/js/7412.e4b0556a.chunk.js",
17
17
  "static/js/4854.f22f53cf.chunk.js": "./static/js/4854.f22f53cf.chunk.js",
18
18
  "static/js/2916.cd836971.chunk.js": "./static/js/2916.cd836971.chunk.js",
19
19
  "static/js/6879.79f5be0e.chunk.js": "./static/js/6879.79f5be0e.chunk.js",
@@ -169,15 +169,15 @@
169
169
  "static/js/2155.7a6c75f8.chunk.js": "./static/js/2155.7a6c75f8.chunk.js",
170
170
  "static/js/7951.abd5510b.chunk.js": "./static/js/7951.abd5510b.chunk.js",
171
171
  "static/js/7808.bc888e96.chunk.js": "./static/js/7808.bc888e96.chunk.js",
172
- "static/js/1553.1c221cad.chunk.js": "./static/js/1553.1c221cad.chunk.js",
173
- "static/js/7228.7cff9ec6.chunk.js": "./static/js/7228.7cff9ec6.chunk.js",
172
+ "static/js/1553.c291692c.chunk.js": "./static/js/1553.c291692c.chunk.js",
173
+ "static/js/7228.cd98fee1.chunk.js": "./static/js/7228.cd98fee1.chunk.js",
174
174
  "static/js/6129.e7024d99.chunk.js": "./static/js/6129.e7024d99.chunk.js",
175
175
  "static/js/9533.71c9f0ad.chunk.js": "./static/js/9533.71c9f0ad.chunk.js",
176
- "static/js/7858.d768cb91.chunk.js": "./static/js/7858.d768cb91.chunk.js",
176
+ "static/js/7858.b16a767f.chunk.js": "./static/js/7858.b16a767f.chunk.js",
177
177
  "static/js/4191.645c91f4.chunk.js": "./static/js/4191.645c91f4.chunk.js",
178
178
  "static/js/2601.d909ebe3.chunk.js": "./static/js/2601.d909ebe3.chunk.js",
179
179
  "static/js/6322.11298a2c.chunk.js": "./static/js/6322.11298a2c.chunk.js",
180
- "static/js/8596.803204cf.chunk.js": "./static/js/8596.803204cf.chunk.js",
180
+ "static/js/8596.62e5938c.chunk.js": "./static/js/8596.62e5938c.chunk.js",
181
181
  "worker-xquery.js": "./a67a135f8ecea4dcf0c9c3c4cfade4ad.js",
182
182
  "static/media/wizard-welcome.jpg": "./static/media/wizard-welcome.06f62f65d3031a66f279.jpg",
183
183
  "worker-javascript.js": "./d9d9f5deccb1ee634fc7e944aa75df78.js",
@@ -770,9 +770,9 @@
770
770
  "jsx.js": "./ffd3b83e8b5878f4785591ff54b1dfff.js",
771
771
  "d.js": "./70074e0c785c9a808dea76c7c7d17af3.js",
772
772
  "mode-text.js": "./25718a469574ade47e23567d8c543169.js",
773
- "main.1fb226a1.js.map": "./static/js/main.1fb226a1.js.map",
773
+ "main.b9cd96c6.js.map": "./static/js/main.b9cd96c6.js.map",
774
774
  "5710.41ed5ace.chunk.css.map": "./static/css/5710.41ed5ace.chunk.css.map",
775
- "5710.72e95b8e.chunk.js.map": "./static/js/5710.72e95b8e.chunk.js.map",
775
+ "5710.05cde997.chunk.js.map": "./static/js/5710.05cde997.chunk.js.map",
776
776
  "6090.33cd9234.chunk.js.map": "./static/js/6090.33cd9234.chunk.js.map",
777
777
  "9039.14d9c220.chunk.js.map": "./static/js/9039.14d9c220.chunk.js.map",
778
778
  "2652.9a062c3e.chunk.js.map": "./static/js/2652.9a062c3e.chunk.js.map",
@@ -783,7 +783,7 @@
783
783
  "2261.d77ad434.chunk.js.map": "./static/js/2261.d77ad434.chunk.js.map",
784
784
  "217.cf6e20e6.chunk.js.map": "./static/js/217.cf6e20e6.chunk.js.map",
785
785
  "1366.043d3607.chunk.js.map": "./static/js/1366.043d3607.chunk.js.map",
786
- "7412.6bf54cc4.chunk.js.map": "./static/js/7412.6bf54cc4.chunk.js.map",
786
+ "7412.e4b0556a.chunk.js.map": "./static/js/7412.e4b0556a.chunk.js.map",
787
787
  "4854.f22f53cf.chunk.js.map": "./static/js/4854.f22f53cf.chunk.js.map",
788
788
  "2916.cd836971.chunk.js.map": "./static/js/2916.cd836971.chunk.js.map",
789
789
  "6879.79f5be0e.chunk.js.map": "./static/js/6879.79f5be0e.chunk.js.map",
@@ -939,18 +939,18 @@
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
  "7808.bc888e96.chunk.js.map": "./static/js/7808.bc888e96.chunk.js.map",
942
- "1553.1c221cad.chunk.js.map": "./static/js/1553.1c221cad.chunk.js.map",
943
- "7228.7cff9ec6.chunk.js.map": "./static/js/7228.7cff9ec6.chunk.js.map",
942
+ "1553.c291692c.chunk.js.map": "./static/js/1553.c291692c.chunk.js.map",
943
+ "7228.cd98fee1.chunk.js.map": "./static/js/7228.cd98fee1.chunk.js.map",
944
944
  "js.map": "./b20cd9acf45420fcacfd923754185663.js.map",
945
945
  "6129.e7024d99.chunk.js.map": "./static/js/6129.e7024d99.chunk.js.map",
946
946
  "9533.71c9f0ad.chunk.js.map": "./static/js/9533.71c9f0ad.chunk.js.map",
947
- "7858.d768cb91.chunk.js.map": "./static/js/7858.d768cb91.chunk.js.map",
947
+ "7858.b16a767f.chunk.js.map": "./static/js/7858.b16a767f.chunk.js.map",
948
948
  "4191.645c91f4.chunk.js.map": "./static/js/4191.645c91f4.chunk.js.map",
949
949
  "2601.d909ebe3.chunk.js.map": "./static/js/2601.d909ebe3.chunk.js.map",
950
950
  "6322.11298a2c.chunk.js.map": "./static/js/6322.11298a2c.chunk.js.map",
951
- "8596.803204cf.chunk.js.map": "./static/js/8596.803204cf.chunk.js.map"
951
+ "8596.62e5938c.chunk.js.map": "./static/js/8596.62e5938c.chunk.js.map"
952
952
  },
953
953
  "entrypoints": [
954
- "static/js/main.1fb226a1.js"
954
+ "static/js/main.b9cd96c6.js"
955
955
  ]
956
956
  }
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.1fb226a1.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.b9cd96c6.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>