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 diff --git a/core/class/docker2.class.php b/core/class/docker2.class.php index 38c8841..c938375 100644 --- a/core/class/docker2.class.php +++ b/core/class/docker2.class.php @@ -70,7 +70,10 @@ public static function backup() { if ($eqLogic->getConfiguration('saveMount') == 0) { continue; } - $eqLogic->backupDocker(); + try { + $eqLogic->backupDocker(); + } catch (Exception $e) { + } } } diff --git a/core/i18n/de_DE.json b/core/i18n/de_DE.json index 42a0ceb..b281f85 100644 --- a/core/i18n/de_DE.json +++ b/core/i18n/de_DE.json @@ -80,7 +80,7 @@ "plugins\/docker2\/desktop\/js\/docker2.js": { "Logs": "Protokolle", "Nom du template ?": "Vorlagenname?", - "Assistants": "Zauberer", + "Assistants": "Assistenten", "Fichier(s) ajouté(s) avec succès": "Datei(en) erfolgreich hinzugefügt", "Opération réalisée avec succès": "Operation erfolgreich abgeschlossen", "Etes-vous sûr de vouloir restaurer la dernière sauvegarde de ce conteneur ?": "Möchten Sie wirklich die letzte Sicherung dieses Containers wiederherstellen?", diff --git a/core/i18n/es_ES.json b/core/i18n/es_ES.json index b05081e..8bec354 100644 --- a/core/i18n/es_ES.json +++ b/core/i18n/es_ES.json @@ -80,7 +80,7 @@ "plugins\/docker2\/desktop\/js\/docker2.js": { "Logs": "Registros", "Nom du template ?": "¿Nombre de la plantilla?", - "Assistants": "Magos", + "Assistants": "Asistentes", "Fichier(s) ajouté(s) avec succès": "Archivo (s) agregado (s) exitosamente", "Opération réalisée avec succès": "Operación realizada exitosamente", "Etes-vous sûr de vouloir restaurer la dernière sauvegarde de ce conteneur ?": "¿Está seguro de que desea restaurar la última copia de seguridad de este contenedor?", diff --git a/core/i18n/pt_PT.json b/core/i18n/pt_PT.json index ba81a69..d1a23a8 100644 --- a/core/i18n/pt_PT.json +++ b/core/i18n/pt_PT.json @@ -80,7 +80,7 @@ "plugins\/docker2\/desktop\/js\/docker2.js": { "Logs": "Histórico", "Nom du template ?": "Nome do modelo?", - "Assistants": "Feiticeiros", + "Assistants": "Assistentes", "Fichier(s) ajouté(s) avec succès": "Arquivo (s) adicionado (s) com sucesso", "Opération réalisée avec succès": "Operação concluída com sucesso", "Etes-vous sûr de vouloir restaurer la dernière sauvegarde de ce conteneur ?": "Tem certeza de que deseja restaurar o último backup deste contêiner?", diff --git a/desktop/js/docker2.js b/desktop/js/docker2.js index 685ae5e..5f153d8 100644 --- a/desktop/js/docker2.js +++ b/desktop/js/docker2.js @@ -17,8 +17,8 @@ function printEqLogic(_eqLogic) { if (_eqLogic.configuration && _eqLogic.configuration.url_access) { - $('#link_dockerUrl').attr('href', _eqLogic.configuration.url_access.replace('#INTERNAL#', docker2_internal_ip)) - $('#link_dockerUrl').text(_eqLogic.configuration.url_access.replace('#INTERNAL#', docker2_internal_ip)) + $('#link_dockerUrl').attr('href', _eqLogic.configuration.url_access.replace('#INTERNAL#', docker2_internal_ip).replace('#internal#', docker2_internal_ip)) + $('#link_dockerUrl').text(_eqLogic.configuration.url_access.replace('#INTERNAL#', docker2_internal_ip).replace('#internal#', docker2_internal_ip)) } } diff --git a/docs/fr_FR/changelog.md b/docs/fr_FR/changelog.md index 5a18b3b..27ce475 100644 --- a/docs/fr_FR/changelog.md +++ b/docs/fr_FR/changelog.md @@ -4,6 +4,11 @@ > >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. +# 01/09/2024 + +- Amélioration de la fonction de backup +- Correction d'un soucis sur le lien d'accès (non remplacement de #internal#) + # 06/05/2022 - Correction d'un problème d'installation sur Raspberry Pi diff --git a/plugin_info/info.json b/plugin_info/info.json index 5492672..74e0912 100644 --- a/plugin_info/info.json +++ b/plugin_info/info.json @@ -44,4 +44,4 @@ ], "changelog_beta": "https:\/\/doc.jeedom.com\/#language#\/plugins\/programming\/docker2\/beta\/changelog", "documentation_beta": "https:\/\/doc.jeedom.com\/#language#\/plugins\/programming\/docker2\/beta" -} +} \ No newline at end of file