[nextcloud] Disable circles app

People get confused, and we really only use circles.
mejoras_instalacion
Evilham 2022-10-18 11:05:11 +02:00
parent 089876ff28
commit d2fb24379a
No known key found for this signature in database
GPG Key ID: AE3EE30D970886BF
1 changed files with 7 additions and 6 deletions

13
dd-ctl
View File

@ -305,12 +305,18 @@ setup_nextcloud(){
done done
# Install and enable NextCloud apps # 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 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:install "${app}"
php occ --no-warnings app:enable "${app}" php occ --no-warnings app:enable "${app}"
EOF EOF
done 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 # Temporary patch while upstream lands our changes
# See: https://github.com/nextcloud/mail/pull/6908 # See: https://github.com/nextcloud/mail/pull/6908
@ -379,11 +385,6 @@ setup_nextcloud(){
# Moodle nextcloud task needs forcesave onlyoffice option # Moodle nextcloud task needs forcesave onlyoffice option
php occ --no-warnings config:app:set -n onlyoffice customizationForcesave --value="true" 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 # Add allow list IPs
php occ --no-warnings config:app:set -n bruteForce whitelist_1 --value='172.16.0.0/12' php occ --no-warnings config:app:set -n bruteForce whitelist_1 --value='172.16.0.0/12'