From 9049487a678ef47f915b9623d87ebe865a2ee1fe Mon Sep 17 00:00:00 2001 From: Jenkins Date: Tue, 9 Jan 2024 00:05:59 +0000 Subject: [PATCH 1/8] [Jenkins] Updated translation --- docs/de_DE/changelog.md | 6 ++++++ docs/en_US/changelog.md | 6 ++++++ docs/es_ES/changelog.md | 6 ++++++ docs/i18n/de_DE.json | 4 ++++ docs/i18n/en_US.json | 4 ++++ docs/i18n/es_ES.json | 4 ++++ docs/i18n/fr_FR.json | 4 ++++ docs/i18n/pt_PT.json | 4 ++++ docs/pt_PT/changelog.md | 6 ++++++ plugin_info/info.json | 2 +- 10 files changed, 45 insertions(+), 1 deletion(-) diff --git a/docs/de_DE/changelog.md b/docs/de_DE/changelog.md index 9b21721..b3aa296 100644 --- a/docs/de_DE/changelog.md +++ b/docs/de_DE/changelog.md @@ -4,6 +4,12 @@ > >Zur Erinnerung: Wenn keine Informationen zum Update vorhanden sind, bedeutet dies, dass es sich nur um die Aktualisierung von Dokumentation, Übersetzung oder Text handelt +# 01.08.2024 + +- Vorbereitung auf Jeedom 4.4 +- Bug-Fix +- Optimierung des Einheitenmanagements + # 17.10.2022 - Hinzufügen der Präsentation im Gerätetabellenmodus diff --git a/docs/en_US/changelog.md b/docs/en_US/changelog.md index 433abf4..a8dacad 100644 --- a/docs/en_US/changelog.md +++ b/docs/en_US/changelog.md @@ -4,6 +4,12 @@ > >As a reminder if there is no information on the update, it means that it only concerns the updating of documentation, translation or text +# 01/08/2024 + +- Preparing for jeedom 4.4 +- Bugfix +- Optimization of unit management + # 10/17/2022 - Addition of equipment table mode presentation diff --git a/docs/es_ES/changelog.md b/docs/es_ES/changelog.md index 146a919..5e226fb 100644 --- a/docs/es_ES/changelog.md +++ b/docs/es_ES/changelog.md @@ -4,6 +4,12 @@ > >Como recordatorio si no hay información sobre la actualización, significa que solo se refiere a la actualización de documentación, traducción o texto +# 08/01/2024 + +- Preparándose para el apuro 4.4 +- Arreglo del fallo +- Optimización de la gestión de unidades + # 17/10/2022 - Adición de presentación en modo tabla de equipos diff --git a/docs/i18n/de_DE.json b/docs/i18n/de_DE.json index f533d8f..d56b74b 100644 --- a/docs/i18n/de_DE.json +++ b/docs/i18n/de_DE.json @@ -2,6 +2,10 @@ "changelog.md": { "Changelog Network": "Changelog-Netzwerk", "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 keine Informationen zum Update vorhanden sind, bedeutet dies, dass es sich nur um die Aktualisierung von Dokumentation, Übersetzung oder Text handelt", + "08\/01\/2024": "01.08.2024", + "Préparation pour jeedom 4.4": "Vorbereitung auf Jeedom 4.4", + "Correction de bugs": "Bug-Fix", + "Optimisation de la gestion des unitées": "Optimierung des Einheitenmanagements", "17\/10\/2022": "17.10.2022", "Ajout présentation mode tableau des équipements": "Hinzufügen der Präsentation im Gerätetabellenmodus", "Mise à jour liste des commandes pour Jeedom v4.3": "Befehlsliste für Jeedom v4.3 aktualisieren", diff --git a/docs/i18n/en_US.json b/docs/i18n/en_US.json index 4c2c3d9..8725810 100644 --- a/docs/i18n/en_US.json +++ b/docs/i18n/en_US.json @@ -2,6 +2,10 @@ "changelog.md": { "Changelog Network": "Changelog Network", "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 updating of documentation, translation or text", + "08\/01\/2024": "01\/08\/2024", + "Préparation pour jeedom 4.4": "Preparing for jeedom 4.4", + "Correction de bugs": "Bugfix", + "Optimisation de la gestion des unitées": "Optimization of unit management", "17\/10\/2022": "10\/17\/2022", "Ajout présentation mode tableau des équipements": "Addition of equipment table mode presentation", "Mise à jour liste des commandes pour Jeedom v4.3": "Update command list for Jeedom v4.3", diff --git a/docs/i18n/es_ES.json b/docs/i18n/es_ES.json index dde9fe4..47b8427 100644 --- a/docs/i18n/es_ES.json +++ b/docs/i18n/es_ES.json @@ -2,6 +2,10 @@ "changelog.md": { "Changelog Network": "Red de 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 refiere a la actualización de documentación, traducción o texto", + "08\/01\/2024": "08\/01\/2024", + "Préparation pour jeedom 4.4": "Preparándose para el apuro 4.4", + "Correction de bugs": "Arreglo del fallo", + "Optimisation de la gestion des unitées": "Optimización de la gestión de unidades", "17\/10\/2022": "17\/10\/2022", "Ajout présentation mode tableau des équipements": "Adición de presentación en modo tabla de equipos", "Mise à jour liste des commandes pour Jeedom v4.3": "Lista de comandos de actualización para Jeedom v4.3", diff --git a/docs/i18n/fr_FR.json b/docs/i18n/fr_FR.json index 6ae3112..d916f60 100644 --- a/docs/i18n/fr_FR.json +++ b/docs/i18n/fr_FR.json @@ -3,6 +3,10 @@ "Changelog Network": "Changelog Network", "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", + "08\/01\/2024": "08\/01\/2024", + "Préparation pour jeedom 4.4": "Préparation pour jeedom 4.4", + "Correction de bugs": "Correction de bugs", + "Optimisation de la gestion des unitées": "Optimisation de la gestion des unitées", "17\/10\/2022": "17\/10\/2022", "Ajout présentation mode tableau des équipements": "Ajout présentation mode tableau des équipements", "Mise à jour liste des commandes pour Jeedom v4.3": "Mise à jour liste des commandes pour Jeedom v4.3", diff --git a/docs/i18n/pt_PT.json b/docs/i18n/pt_PT.json index 6aa93d0..7515a7a 100644 --- a/docs/i18n/pt_PT.json +++ b/docs/i18n/pt_PT.json @@ -2,6 +2,10 @@ "changelog.md": { "Changelog Network": "Rede de Mudanças", "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 lembrete, se não houver informações sobre a atualização, isso significa que se trata apenas da atualização da documentação, tradução ou texto", + "08\/01\/2024": "01\/08\/2024", + "Préparation pour jeedom 4.4": "Preparando-se para Jeedom 4.4", + "Correction de bugs": "Correção de bug", + "Optimisation de la gestion des unitées": "Otimização da gestão da unidade", "17\/10\/2022": "17\/10\/2022", "Ajout présentation mode tableau des équipements": "Adição da apresentação do modo de tabela de equipamentos", "Mise à jour liste des commandes pour Jeedom v4.3": "Atualizar lista de comandos para Jeedom v4.3", diff --git a/docs/pt_PT/changelog.md b/docs/pt_PT/changelog.md index 55d59ad..2ebce70 100644 --- a/docs/pt_PT/changelog.md +++ b/docs/pt_PT/changelog.md @@ -4,6 +4,12 @@ > >Como lembrete, se não houver informações sobre a atualização, isso significa que se trata apenas da atualização da documentação, tradução ou texto +# 01/08/2024 + +- Preparando-se para Jeedom 4.4 +- Correção de bug +- Otimização da gestão da unidade + # 17/10/2022 - Adição da apresentação do modo de tabela de equipamentos diff --git a/plugin_info/info.json b/plugin_info/info.json index 7ec02dd..8178883 100644 --- a/plugin_info/info.json +++ b/plugin_info/info.json @@ -43,4 +43,4 @@ ], "changelog_beta": "https:\/\/doc.jeedom.com\/#language#\/plugins\/communication\/networks\/beta\/changelog", "documentation_beta": "https:\/\/doc.jeedom.com\/#language#\/plugins\/communication\/networks\/beta" -} +} \ No newline at end of file From ba4e83c7a8e947c45a441ba65a421aab71ef7c5a Mon Sep 17 00:00:00 2001 From: Nebz <28622481+NebzHB@users.noreply.github.com> Date: Wed, 28 Aug 2024 14:52:13 +0200 Subject: [PATCH 2/8] Add PHP Workflow --- .github/workflows/work.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/work.yml diff --git a/.github/workflows/work.yml b/.github/workflows/work.yml new file mode 100644 index 0000000..345021e --- /dev/null +++ b/.github/workflows/work.yml @@ -0,0 +1,15 @@ +on: + # Workflows check plugin Jeedom + push: + branches: + - beta + pull_request: + branches: + - beta + - master + +name : 'Full Workflows Plugin Jeedom' + +jobs: + plugin: + uses: jeedom/workflows/.github/workflows/plugin.yml@main From d08357fa9a71717af6b6261628641c71214f35c3 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Wed, 28 Aug 2024 23:05:37 +0000 Subject: [PATCH 3/8] [Jenkins] Updated translation --- core/i18n/en_US.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/i18n/en_US.json b/core/i18n/en_US.json index 18b34fd..4c3a795 100644 --- a/core/i18n/en_US.json +++ b/core/i18n/en_US.json @@ -52,7 +52,7 @@ "Historiser": "Historize", "Inverser": "Reverse", "Min": "Minimum", - "Max": "Max", + "Max": "Maximum", "Unité": "Unity", "Configuration avancée": "Advanced configuration", "Tester": "Test", From 194eb5ac46d3e319ca75e38657d9474515da9d21 Mon Sep 17 00:00:00 2001 From: Mips2648 Date: Thu, 28 Nov 2024 11:20:45 +0100 Subject: [PATCH 4/8] add log, code cleaning, add option for maxtry --- .gitignore | 3 +- 3rdparty/networks_ping.class.php | 10 +- core/class/networks.class.php | 161 ++++++++++++++----------------- desktop/php/networks.php | 10 +- docs/fr_FR/changelog.md | 8 +- docs/fr_FR/index.md | 55 ++++------- plugin_info/info.json | 3 +- plugin_info/install.php | 17 +--- resources/.htaccess | 2 - resources/install_apt.sh | 18 ---- 10 files changed, 117 insertions(+), 170 deletions(-) delete mode 100644 resources/.htaccess delete mode 100644 resources/install_apt.sh diff --git a/.gitignore b/.gitignore index 612bfeb..acc3b5f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,4 @@ test.php core/config/common.config.php plugins sftp-config.json -.vscode/settings.json -.vscode/sftp.json +.vscode diff --git a/3rdparty/networks_ping.class.php b/3rdparty/networks_ping.class.php index fe271fd..28e68d8 100644 --- a/3rdparty/networks_ping.class.php +++ b/3rdparty/networks_ping.class.php @@ -54,7 +54,7 @@ private function pingExec($_mode = 'ip') { $ttl = escapeshellcmd($this->ttl); $host = escapeshellcmd($this->host); if ($_mode == 'arp') { - $exec_string = 'sudo arping -c 10 -C 1 -w 500000 ' . $host . ' 2> /dev/null'; + $exec_string = 'sudo arping -c 1 -C 1 -w 10 ' . $host . ' 2> /dev/null'; } else { $exec_string = 'sudo ping -n -c 1 -t ' . $ttl . ' ' . $host . ' 2> /dev/null'; } @@ -62,7 +62,7 @@ private function pingExec($_mode = 'ip') { $output = array_values(array_filter($output)); if (!empty($output[1])) { if (count($output) >= 5) { - $response = preg_match("/time(?:=|<)(?