[nextcloud] Disable circles app
People get confused, and we really only use circles.mejoras_instalacion
parent
089876ff28
commit
d2fb24379a
13
dd-ctl
13
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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue