iobroker.admin 6.2.15 → 6.2.16
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 +2 -1
- package/io-package.json +12 -12
- package/package.json +1 -1
- package/www/asset-manifest.json +5 -5
- package/www/index.html +1 -1
- package/www/lib/js/socket.io.js +10 -3
- package/www/static/js/{5710.fac22b1b.chunk.js → 5710.18ded8f3.chunk.js} +2 -2
- package/www/static/js/{5710.fac22b1b.chunk.js.map → 5710.18ded8f3.chunk.js.map} +1 -1
- package/www/static/js/{main.36f4c15e.js → main.74da6437.js} +2 -2
- package/www/static/js/{main.36f4c15e.js.map → main.74da6437.js.map} +1 -1
package/README.md
CHANGED
|
@@ -115,10 +115,11 @@ The icons may not be reused in other projects without the proper flaticon licens
|
|
|
115
115
|
-->
|
|
116
116
|
|
|
117
117
|
## Changelog
|
|
118
|
-
### 6.2.
|
|
118
|
+
### 6.2.16 (2022-08-18)
|
|
119
119
|
* (bluefox) Corrected many GUI issues
|
|
120
120
|
* (bluefox) Added `stable` flag for repositories
|
|
121
121
|
* (bluefox) Added reset button for repositories
|
|
122
|
+
* (bluefox) Improved `writeFile` function for socket communication
|
|
122
123
|
|
|
123
124
|
### 6.2.14 (2022-08-06)
|
|
124
125
|
* (Apollon77) Fix for OAuth2 authentication response success page
|
package/io-package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "admin",
|
|
4
|
-
"version": "6.2.
|
|
4
|
+
"version": "6.2.16",
|
|
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.
|
|
22
|
-
"en": "Corrected many GUI issues\nAdded `stable` flag for repositories\nAdded reset button for repositories",
|
|
23
|
-
"de": "Viele GUI Probleme korrigiert\nHinzugefügt stabile Flagge für Repositories\nReset-Taste für Repositories hinzugefügt",
|
|
24
|
-
"ru": "Исправлено множество вопросов GUI\nДобавлен стабильный флаг для репозиторий\nДобавлена кнопка сброса для
|
|
25
|
-
"pt": "Corrigido muitos problemas de GUI\nBandeira estável adicionada para repositórios\nAdicionado botão de reset para repositórios",
|
|
26
|
-
"nl": "Vertaling:\nVoeg een stabiele vlag toe voor herplaatsingen\nVoeg de resetknop toe voor terugbetaling",
|
|
27
|
-
"fr": "Correction de nombreux problèmes d'interface graphique\nDrapeau stable ajouté pour les dépôts\nBouton de réinitialisation ajouté pour les dépôts",
|
|
28
|
-
"it": "Corretto molti problemi GUI\nAggiunto bandiera stabile per repository\nAggiunto pulsante di reset per repository",
|
|
29
|
-
"es": "Corregidos muchos problemas de GUI\nAñadido bandera estable para repositorios\nBotón de reinicio añadido para los repositorios",
|
|
30
|
-
"pl": "Wykład wiele problemów z GUI\nFlaga zastępowania\nAdded reset button",
|
|
31
|
-
"zh-cn": "纠正许多古伊人的问题\n增加存放地的稳定旗帜\n
|
|
21
|
+
"6.2.16": {
|
|
22
|
+
"en": "Corrected many GUI issues\nAdded `stable` flag for repositories\nAdded reset button for repositories\nImproved `writeFile` function for socket communication",
|
|
23
|
+
"de": "Viele GUI Probleme korrigiert\nHinzugefügt stabile Flagge für Repositories\nReset-Taste für Repositories hinzugefügt\nVerbessertes Schreiben Dateifunktion für Steckdosenkommunikation",
|
|
24
|
+
"ru": "Исправлено множество вопросов GUI\nДобавлен стабильный флаг для репозиторий\nДобавлена кнопка сброса для репозиторий\nУлучшено письмо Функция файла для розетки",
|
|
25
|
+
"pt": "Corrigido muitos problemas de GUI\nBandeira estável adicionada para repositórios\nAdicionado botão de reset para repositórios\nGravação melhorada Função de arquivo para comunicação de soquete",
|
|
26
|
+
"nl": "Vertaling:\nVoeg een stabiele vlag toe voor herplaatsingen\nVoeg de resetknop toe voor terugbetaling\nImproviserend geschreven Veldfunctie voor socket communicatie",
|
|
27
|
+
"fr": "Correction de nombreux problèmes d'interface graphique\nDrapeau stable ajouté pour les dépôts\nBouton de réinitialisation ajouté pour les dépôts\nAmélioration de l ' écriture Fonction de fichier pour la communication de socket",
|
|
28
|
+
"it": "Corretto molti problemi GUI\nAggiunto bandiera stabile per repository\nAggiunto pulsante di reset per repository\nScrittura migliorata Funzione file per la comunicazione socket",
|
|
29
|
+
"es": "Corregidos muchos problemas de GUI\nAñadido bandera estable para repositorios\nBotón de reinicio añadido para los repositorios\nMejor escritura Función de archivo para la comunicación de socket",
|
|
30
|
+
"pl": "Wykład wiele problemów z GUI\nFlaga zastępowania\nAdded reset button\nPoprawiony tekst Funkcja File dla komunikacji gniazdowej",
|
|
31
|
+
"zh-cn": "纠正许多古伊人的问题\n增加存放地的稳定旗帜\n存放处的存放地点\n改进 简讯功能"
|
|
32
32
|
},
|
|
33
33
|
"6.2.14": {
|
|
34
34
|
"en": "Fix for OAuth2 authentication response success page",
|
package/package.json
CHANGED
package/www/asset-manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
|
-
"main.js": "./static/js/main.
|
|
3
|
+
"main.js": "./static/js/main.74da6437.js",
|
|
4
4
|
"static/css/5710.41ed5ace.chunk.css": "./static/css/5710.41ed5ace.chunk.css",
|
|
5
|
-
"static/js/5710.
|
|
5
|
+
"static/js/5710.18ded8f3.chunk.js": "./static/js/5710.18ded8f3.chunk.js",
|
|
6
6
|
"static/js/6090.33cd9234.chunk.js": "./static/js/6090.33cd9234.chunk.js",
|
|
7
7
|
"static/js/9039.f44e1e89.chunk.js": "./static/js/9039.f44e1e89.chunk.js",
|
|
8
8
|
"static/js/2652.9a062c3e.chunk.js": "./static/js/2652.9a062c3e.chunk.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.
|
|
773
|
+
"main.74da6437.js.map": "./static/js/main.74da6437.js.map",
|
|
774
774
|
"5710.41ed5ace.chunk.css.map": "./static/css/5710.41ed5ace.chunk.css.map",
|
|
775
|
-
"5710.
|
|
775
|
+
"5710.18ded8f3.chunk.js.map": "./static/js/5710.18ded8f3.chunk.js.map",
|
|
776
776
|
"6090.33cd9234.chunk.js.map": "./static/js/6090.33cd9234.chunk.js.map",
|
|
777
777
|
"9039.f44e1e89.chunk.js.map": "./static/js/9039.f44e1e89.chunk.js.map",
|
|
778
778
|
"2652.9a062c3e.chunk.js.map": "./static/js/2652.9a062c3e.chunk.js.map",
|
|
@@ -951,6 +951,6 @@
|
|
|
951
951
|
"8596.8c24ae8a.chunk.js.map": "./static/js/8596.8c24ae8a.chunk.js.map"
|
|
952
952
|
},
|
|
953
953
|
"entrypoints": [
|
|
954
|
-
"static/js/main.
|
|
954
|
+
"static/js/main.74da6437.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.
|
|
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.74da6437.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
package/www/lib/js/socket.io.js
CHANGED
|
@@ -280,9 +280,16 @@ function SocketClient () {
|
|
|
280
280
|
|
|
281
281
|
id++;
|
|
282
282
|
|
|
283
|
-
if (name === 'writeFile' && typeof arg3 !== 'string') {
|
|
284
|
-
//
|
|
285
|
-
|
|
283
|
+
if (name === 'writeFile' && typeof arg3 !== 'string' && arg3) {
|
|
284
|
+
// Arguments: arg1, arg2, arg3, arg4
|
|
285
|
+
// Arguments: _adapter, filename, data, callback
|
|
286
|
+
let binary = '';
|
|
287
|
+
const bytes = new Uint8Array(arg3);
|
|
288
|
+
const len = bytes.byteLength;
|
|
289
|
+
for (let i = 0; i < len; i++) {
|
|
290
|
+
binary += String.fromCharCode(bytes[i]);
|
|
291
|
+
}
|
|
292
|
+
arg3 = window.btoa(binary);
|
|
286
293
|
}
|
|
287
294
|
|
|
288
295
|
try {
|