From 75e18bb40a7f8c89cb2600a7104cb249cdd4a232 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Fri, 27 Mar 2026 13:20:11 +0100 Subject: [PATCH] aio-interface: make Harp visible again Signed-off-by: Simon L. --- php/public/containers-form-submit.js | 6 ++---- php/templates/containers.twig | 2 +- php/templates/includes/optional-containers.twig | 2 -- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/php/public/containers-form-submit.js b/php/public/containers-form-submit.js index 1c33c4f2..778430cb 100644 --- a/php/public/containers-form-submit.js +++ b/php/public/containers-form-submit.js @@ -121,10 +121,8 @@ document.addEventListener("DOMContentLoaded", function () { function handleDockerSocketProxyWarning() { if (document.getElementById("docker-socket-proxy").checked) { - // TODO: remove the line below and uncomment the lines further down once https://github.com/nextcloud/app_api/pull/800 is included - alert('⚠️ Warning! Enabling this container comes with possible Security problems since you are exposing the docker socket and all its privileges to the Nextcloud container. Enable this only if you are sure what you are doing!'); - // alert('⚠️ The docker socket proxy container is deprecated. Please use the HaRP (High-availability Reverse Proxy for Nextcloud ExApps) instead!'); - // document.getElementById("docker-socket-proxy").checked = false + alert('⚠️ The docker socket proxy container is deprecated. Please use the HaRP (High-availability Reverse Proxy for Nextcloud ExApps) instead!'); + document.getElementById("docker-socket-proxy").checked = false } } diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 4aa6c48f..eb6120d1 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -27,7 +27,7 @@ {# js for optional containers and additional containers forms #} - + {% set hasBackupLocation = borg_backup_host_location or borg_remote_repo %} {% set isAnyRunning = false %} diff --git a/php/templates/includes/optional-containers.twig b/php/templates/includes/optional-containers.twig index 980d8d0b..08f98634 100644 --- a/php/templates/includes/optional-containers.twig +++ b/php/templates/includes/optional-containers.twig @@ -198,7 +198,6 @@ >

-{#

-#}