From 7e48a263f2a3392689e2c5a5a7e27a8d5836eb64 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Sat, 29 Nov 2025 00:24:10 +0000 Subject: [PATCH 1/3] [Jenkins] Updated translation --- docs/de_DE/changelog.md | 2 ++ docs/en_US/changelog.md | 2 ++ docs/es_ES/changelog.md | 2 ++ docs/i18n/de_DE.json | 1 + docs/i18n/en_US.json | 1 + docs/i18n/es_ES.json | 1 + docs/i18n/fr_FR.json | 1 + docs/i18n/pt_PT.json | 1 + docs/pt_PT/changelog.md | 2 ++ 9 files changed, 13 insertions(+) diff --git a/docs/de_DE/changelog.md b/docs/de_DE/changelog.md index 320b309..68a3651 100644 --- a/docs/de_DE/changelog.md +++ b/docs/de_DE/changelog.md @@ -4,6 +4,8 @@ > >Wenn es keine Informationen über die Aktualisierung gibt, bedeutet dies, dass es sich nur um die Aktualisierung von Dokumentation, Übersetzung oder Text handelt. +# + - Unterstützung für benutzerdefinierte Gerätebilder (Jeedom 4.5) - Ein Fehler beim Importieren von Bestellungen wurde behoben diff --git a/docs/en_US/changelog.md b/docs/en_US/changelog.md index 92a30fb..743f2ea 100644 --- a/docs/en_US/changelog.md +++ b/docs/en_US/changelog.md @@ -4,6 +4,8 @@ > >If there is no information on the update, it means that it concerns only the update of documentation, translation or text. +# + - Support for custom equipment images (Jeedom 4.5) - Fixed a bug on importing orders diff --git a/docs/es_ES/changelog.md b/docs/es_ES/changelog.md index 768abd4..b92e01b 100644 --- a/docs/es_ES/changelog.md +++ b/docs/es_ES/changelog.md @@ -4,6 +4,8 @@ > >Si no hay información sobre la actualización, significa que se trata solo de la actualización de la documentación, la traducción o el texto. +# + - Soporte para imágenes de equipos personalizados (Jeedom 4.5) - Se corrigió un error al importar pedidos diff --git a/docs/i18n/de_DE.json b/docs/i18n/de_DE.json index c984302..bbf30a2 100644 --- a/docs/i18n/de_DE.json +++ b/docs/i18n/de_DE.json @@ -2,6 +2,7 @@ "changelog.md": { "Changelog Virtuel": "Changelog Virtual", "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": "Wenn es keine Informationen über die Aktualisierung gibt, bedeutet dies, dass es sich nur um die Aktualisierung von Dokumentation, Übersetzung oder Text handelt", + "28\/11\/205": "", "Support des images d'équipement personnalisées (Jeedom 4.5": "Unterstützung für benutzerdefinierte Gerätebilder (Jeedom 4.5", "Correction d'un bug sur l'import des commandes": "Ein Fehler beim Importieren von Bestellungen wurde behoben", "07\/08\/2024": "08.07.2024", diff --git a/docs/i18n/en_US.json b/docs/i18n/en_US.json index f6a8740..97fdf3e 100644 --- a/docs/i18n/en_US.json +++ b/docs/i18n/en_US.json @@ -2,6 +2,7 @@ "changelog.md": { "Changelog Virtuel": "Changelog Virtual", "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": "If there is no information on the update, it means that it concerns only the update of documentation, translation or text", + "28\/11\/205": "", "Support des images d'équipement personnalisées (Jeedom 4.5": "Support for custom equipment images (Jeedom 4.5", "Correction d'un bug sur l'import des commandes": "Fixed a bug on importing orders", "07\/08\/2024": "07\/08\/2024", diff --git a/docs/i18n/es_ES.json b/docs/i18n/es_ES.json index 2dcf2db..b78fb67 100644 --- a/docs/i18n/es_ES.json +++ b/docs/i18n/es_ES.json @@ -2,6 +2,7 @@ "changelog.md": { "Changelog Virtuel": "Registro de cambios virtual", "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": "Si no hay información sobre la actualización, significa que se trata solo de la actualización de la documentación, la traducción o el texto", + "28\/11\/205": "", "Support des images d'équipement personnalisées (Jeedom 4.5": "Soporte para imágenes de equipos personalizados (Jeedom 4.5", "Correction d'un bug sur l'import des commandes": "Se corrigió un error al importar pedidos", "07\/08\/2024": "08\/07\/2024", diff --git a/docs/i18n/fr_FR.json b/docs/i18n/fr_FR.json index 67036e8..227e415 100644 --- a/docs/i18n/fr_FR.json +++ b/docs/i18n/fr_FR.json @@ -3,6 +3,7 @@ "Changelog Virtuel": "Changelog Virtuel", "IMPORTANT": "IMPORTANT", "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": "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", + "28\/11\/205": "28\/11\/205", "Support des images d'équipement personnalisées (Jeedom 4.5": "Support des images d'équipement personnalisées (Jeedom 4.5", "Correction d'un bug sur l'import des commandes": "Correction d'un bug sur l'import des commandes", "07\/08\/2024": "07\/08\/2024", diff --git a/docs/i18n/pt_PT.json b/docs/i18n/pt_PT.json index 9608207..8deeb49 100644 --- a/docs/i18n/pt_PT.json +++ b/docs/i18n/pt_PT.json @@ -2,6 +2,7 @@ "changelog.md": { "Changelog Virtuel": "Changelog Virtual", "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": "Se não houver informação sobre a atualização, significa que se trata apenas da atualização da documentação, tradução ou texto", + "28\/11\/205": "", "Support des images d'équipement personnalisées (Jeedom 4.5": "Suporte para imagens de equipamentos personalizados (Jeedom 4.5", "Correction d'un bug sur l'import des commandes": "Corrigido um bug ao importar pedidos", "07\/08\/2024": "08\/07\/2024", diff --git a/docs/pt_PT/changelog.md b/docs/pt_PT/changelog.md index 149b902..f29bb0c 100644 --- a/docs/pt_PT/changelog.md +++ b/docs/pt_PT/changelog.md @@ -4,6 +4,8 @@ > >Se não houver informação sobre a atualização, significa que se trata apenas da atualização da documentação, tradução ou texto. +# + - Suporte para imagens de equipamentos personalizados (Jeedom 4.5) - Corrigido um bug ao importar pedidos From ef0014f004af8345cd0fa5ac4834ca413274e93d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= <1536036+zoic21@users.noreply.github.com> Date: Tue, 2 Dec 2025 09:07:23 +0100 Subject: [PATCH 2/3] Update virtual.class.php --- core/class/virtual.class.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/core/class/virtual.class.php b/core/class/virtual.class.php index 39d7174..1180960 100644 --- a/core/class/virtual.class.php +++ b/core/class/virtual.class.php @@ -35,7 +35,7 @@ public static function createJeedomMonitor(){ $eqLogic->setLogicalId('jeedom::monitor'); try { $eqLogic->save(); - } catch (Exception $e) { + } catch (Throwable $e) { $eqLogic->setName($eqLogic->getName() . ' remote ' . rand(0, 9999)); $eqLogic->save(); } @@ -232,7 +232,7 @@ public static function templateParameters($_template = '') { if (is_json($content)) { $return += json_decode($content, true); } - } catch (Exception $e) { + } catch (Throwable $e) { } } if (isset($_template) && $_template != '') { @@ -290,7 +290,7 @@ public function refresh() { $cmd->event($value); } } - } catch (Exception $exc) { + } catch (Throwable $exc) { log::add('virtual', 'error', __('Erreur pour', __FILE__) . ' ' . $this->getHumanName() . ' : ' . $exc->getMessage()); } } @@ -369,7 +369,7 @@ public function copyFromEqLogic($_eqLogic_id) { } try { $cmd->save(); - } catch (Exception $e) { + } catch (Throwable $e) { } } $this->save(); @@ -427,7 +427,7 @@ public function copyCmdsFromEqLogic($_eqLogic_id, $cmdsSelected) { } try { $cmd->save(); - } catch (Exception $e) { + } catch (Throwable $e) { } } $this->save(); @@ -555,7 +555,7 @@ public function execute($_options = null) { $result = str_replace('"', '', $result); } return $result; - } catch (Exception $e) { + } catch (Throwable $e) { log::add('virtual', 'info', $e->getMessage()); return $this->getConfiguration('calcul'); } @@ -597,7 +597,7 @@ public function execute($_options = null) { if (is_object($cmd)) { try { $cmd->execCmd($_options); - } catch (\Exception $e) { + } catch (Throwable $e) { } } } From 5888e629d4139acffd21477e1cb3ee6e1e9b1433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= <1536036+zoic21@users.noreply.github.com> Date: Tue, 2 Dec 2025 09:08:06 +0100 Subject: [PATCH 3/3] Update changelog.md --- docs/fr_FR/changelog.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/fr_FR/changelog.md b/docs/fr_FR/changelog.md index ca39137..2330818 100644 --- a/docs/fr_FR/changelog.md +++ b/docs/fr_FR/changelog.md @@ -4,6 +4,10 @@ > >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. +# 02/12/2025 + +- Meilleure gestion de l'erreur "DivisionByZeroError" + # 28/11/205 - Support des images d'équipement personnalisées (Jeedom 4.5)