Skip to content

Commit

Permalink
Merge branch 'beta' of https://github.com/jeedom/plugin-luna into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
rocket13011 committed Dec 20, 2023
2 parents 7000603 + f0229f2 commit aa98271
Show file tree
Hide file tree
Showing 13 changed files with 46 additions and 7 deletions.
4 changes: 4 additions & 0 deletions data/patchs/patchLuna.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@ php /var/www/html/core/php/jeecli.php message add "luna" "correction Up Start Le
sudo chmod 755 /etc/init.d/done
sudo systemctl restart done

#dnsmasq
php /var/www/html/core/php/jeecli.php message add "luna" "correction dnsmasq sur la luna"
sudo apt-get remove -y dnsmasq

return 0
2 changes: 1 addition & 1 deletion desktop/php/luna.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
$conMetric = shell_exec('sudo nmcli -f ipv4.route-metric -t -m tabular con show '.$conUUID);
$conMetric = preg_replace("#(\r\n|\n\r|\n|\r)#","",$conMetric);
$return[] = array('UUID' => $conUUID, 'name' => $conName, 'type' => $conType, 'metric' => $conMetric);
log::add(__CLASS__, 'debug', json_encode($return));
log::add('luna', 'debug', json_encode($return));

}
usort($return, fn($a, $b) => $a['metric'] <=> $b['metric']);
Expand Down
5 changes: 4 additions & 1 deletion docs/de_DE/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
>**WICHTIG**
>
>Zur Erinnerung: Wenn es keine Informationen über die Aktualisierung gibt, bedeutet dies, dass es sich nur um die Aktualisierung von Dokumentation, Übersetzung oder Text handelt.
>
# 19.12.2023

- Fehler behoben (Der Stream oder die Datei „/var/www/html/core/class/../../log/“ konnte nicht im Anhängemodus geöffnet werden: Fehler beim Öffnen des Streams: Ist ein Verzeichnis)

# 12.07.2023

Expand Down
5 changes: 4 additions & 1 deletion docs/en_US/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
>**IMPORTANT**
>
>As a reminder, if there is no information on the update, it means that it only concerns the update of documentation, translation or text.
>
# 12/19/2023

- fixed error (The stream or file "/var/www/html/core/class/../../log/" could not be opened in append mode: failed to open stream: Is a directory)

# 07/12/2023

Expand Down
5 changes: 4 additions & 1 deletion docs/es_ES/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
>**IMPORTANTE**
>
>Como recordatorio, si no hay información sobre la actualización, significa que solo se trata de la actualización de la documentación, la traducción o el texto.
>
# 19/12/2023

- error solucionado (La secuencia o archivo "/var/www/html/core/class/../../log/" no se pudo abrir en modo agregar: fallo al abrir Stream: Es un directorio)

# 12/07/2023

Expand Down
5 changes: 4 additions & 1 deletion docs/fr_FR/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
>**IMPORTANT**
>
>Pour rappel s'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte.
>
# 19/12/2023

- correction de l'erreur (The stream or file "/var/www/html/core/class/../../log/" could not be opened in append mode: failed to open stream: Is a directory)

# 07/12/2023

Expand Down
4 changes: 4 additions & 0 deletions docs/i18n/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"Changelog Luna": "Änderungsprotokoll Luna",
"Changelog plugin luna": "Änderungsprotokoll Luna-Plugin",
"Pour rappel s'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte": "Zur Erinnerung: Wenn es keine Informationen über die Aktualisierung gibt, bedeutet dies, dass es sich nur um die Aktualisierung von Dokumentation, Übersetzung oder Text handelt",
"19\/12\/2023": "19.12.2023",
"correction de l'erreur (The stream or file \"\/var\/www\/html\/core\/class\/..\/..\/log\/\" could not be opened in append mode": "Fehler behoben (Der Stream oder die Datei „\/var\/www\/html\/core\/class\/..\/..\/log\/“ konnte nicht im Anhängemodus geöffnet werden",
"failed to open stream": "Fehler beim Öffnen des Streams",
"Is a directory": "Ist ein Verzeichnis",
"07\/12\/2023": "12.07.2023",
"Nouveau module pour le hotspot avec dhcp": "Neues Modul für Hotspot mit DHCP",
"18\/11\/2023": "18.11.2023",
Expand Down
4 changes: 4 additions & 0 deletions docs/i18n/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"Changelog Luna": "Changelog Luna",
"Changelog plugin luna": "Changelog luna plugin",
"Pour rappel s'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte": "As a reminder, if there is no information on the update, it means that it only concerns the update of documentation, translation or text",
"19\/12\/2023": "12\/19\/2023",
"correction de l'erreur (The stream or file \"\/var\/www\/html\/core\/class\/..\/..\/log\/\" could not be opened in append mode": "fixed error (The stream or file \"\/var\/www\/html\/core\/class\/..\/..\/log\/\" could not be opened in append mode",
"failed to open stream": "failed to open stream",
"Is a directory": "Is a directory",
"07\/12\/2023": "07\/12\/2023",
"Nouveau module pour le hotspot avec dhcp": "New module for hotspot with dhcp",
"18\/11\/2023": "11\/18\/2023",
Expand Down
4 changes: 4 additions & 0 deletions docs/i18n/es_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"Changelog Luna": "Registro de cambios Luna",
"Changelog plugin luna": "Complemento luna registro de cambios",
"Pour rappel s'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte": "Como recordatorio, si no hay información sobre la actualización, significa que solo se trata de la actualización de la documentación, la traducción o el texto",
"19\/12\/2023": "19\/12\/2023",
"correction de l'erreur (The stream or file \"\/var\/www\/html\/core\/class\/..\/..\/log\/\" could not be opened in append mode": "error solucionado (La secuencia o archivo \"\/var\/www\/html\/core\/class\/..\/..\/log\/\" no se pudo abrir en modo agregar",
"failed to open stream": "fallo al abrir Stream",
"Is a directory": "Es un directorio",
"07\/12\/2023": "12\/07\/2023",
"Nouveau module pour le hotspot avec dhcp": "Nuevo módulo para hotspot con dhcp",
"18\/11\/2023": "18\/11\/2023",
Expand Down
4 changes: 4 additions & 0 deletions docs/i18n/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"Changelog plugin luna": "Changelog plugin luna",
"IMPORTANT": "IMPORTANT",
"Pour rappel s'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte": "Pour rappel s'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte",
"19\/12\/2023": "19\/12\/2023",
"correction de l'erreur (The stream or file \"\/var\/www\/html\/core\/class\/..\/..\/log\/\" could not be opened in append mode": "correction de l'erreur (The stream or file \"\/var\/www\/html\/core\/class\/..\/..\/log\/\" could not be opened in append mode",
"failed to open stream": "failed to open stream",
"Is a directory": "Is a directory",
"07\/12\/2023": "07\/12\/2023",
"Nouveau module pour le hotspot avec dhcp": "Nouveau module pour le hotspot avec dhcp",
"18\/11\/2023": "18\/11\/2023",
Expand Down
4 changes: 4 additions & 0 deletions docs/i18n/pt_PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"Changelog Luna": "Changelog Luna",
"Changelog plugin luna": "Plugin de registro de alterações luna",
"Pour rappel s'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte": "Relembramos que, se não houver informação sobre a atualização, significa que se trata apenas de atualização de documentação, tradução ou texto",
"19\/12\/2023": "19\/12\/2023",
"correction de l'erreur (The stream or file \"\/var\/www\/html\/core\/class\/..\/..\/log\/\" could not be opened in append mode": "erro corrigido (o fluxo ou arquivo \"\/var\/www\/html\/core\/class\/..\/..\/log\/\" não pôde ser aberto no modo de acréscimo",
"failed to open stream": "não foi possível abrir o stream",
"Is a directory": "É um diretório",
"07\/12\/2023": "12\/07\/2023",
"Nouveau module pour le hotspot avec dhcp": "Novo módulo para hotspot com dhcp",
"18\/11\/2023": "18\/11\/2023",
Expand Down
5 changes: 4 additions & 1 deletion docs/pt_PT/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
>**IMPORTANTE**
>
>Relembramos que, se não houver informação sobre a atualização, significa que se trata apenas de atualização de documentação, tradução ou texto.
>
# 19/12/2023

- erro corrigido (o fluxo ou arquivo "/var/www/html/core/class/../../log/" não pôde ser aberto no modo de acréscimo: não foi possível abrir o stream: É um diretório)

# 12/07/2023

Expand Down
2 changes: 1 addition & 1 deletion plugin_info/packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cloud-guest-utils" : {},
"ethtool": {},
"hostapd": {},
"dnsmasq": {},
"dnsmasq-base": {},
"procps": {},
"iproute2": {},
"iptables" : {},
Expand Down

0 comments on commit aa98271

Please sign in to comment.