From d2fb24379a217a62575df4b8d85dd397ee4d8eab Mon Sep 17 00:00:00 2001 From: Evilham Date: Tue, 18 Oct 2022 11:05:11 +0200 Subject: [PATCH] [nextcloud] Disable circles app People get confused, and we really only use circles. --- dd-ctl | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dd-ctl b/dd-ctl index de32598..16e4f4e 100755 --- a/dd-ctl +++ b/dd-ctl @@ -305,12 +305,18 @@ setup_nextcloud(){ done # Install and enable NextCloud apps - for app in bruteforcesettings polls calendar spreed bbb mail ownpad onlyoffice circles; do + for app in bruteforcesettings polls calendar spreed bbb mail ownpad onlyoffice; do docker exec -i -u www-data dd-apps-nextcloud-app sh -s <<-EOF php occ --no-warnings app:install "${app}" php occ --no-warnings app:enable "${app}" EOF done + # Disable in Nextcloud + for app in circles; do + docker exec -i -u www-data dd-apps-nextcloud-app sh -s <<-EOF + php occ --no-warnings app:disable "${app}" || true + EOF + done # Temporary patch while upstream lands our changes # See: https://github.com/nextcloud/mail/pull/6908 @@ -379,11 +385,6 @@ setup_nextcloud(){ # Moodle nextcloud task needs forcesave onlyoffice option php occ --no-warnings config:app:set -n onlyoffice customizationForcesave --value="true" - # Enable circles - php occ --no-warnings config:app:set -n circles members_limit --value="150" - php occ --no-warnings config:app:set -n circles allow_linked_groups --value="1" - php occ --no-warnings config:app:set -n circles skip_invitation_to_closed_circles --value="1" - # Add allow list IPs php occ --no-warnings config:app:set -n bruteForce whitelist_1 --value='172.16.0.0/12'