@@ -2,7 +2,7 @@ FROM nextcloud:26.0.8-fpm AS nextcloud
ARG BASE_DIR="/usr/src/nextcloud"
ARG TMP_PATCH_DIR="/tmp/build_patches"
ARG THEME_HELPER_JOB_ID="761085"
ARG NOTES_VERSION="4.8.1"
ARG NOTES_VERSION="4.9.2"
ARG CONTACTS_JOB_ID="740210"
ARG CALENDAR_JOB_ID="738789"
ARG EMAIL_RECOVERY_JOB_ID="738840"
@@ -302,3 +302,6 @@ RUN sed -i "s/field === 'displayname'//" ${BASE_DIR}/apps/settings/js/federation
# Seds to allow deletion of LDAP users
RUN sed-i"s/return in_array(\$user->getBackendClassName(), \['Database', 'Guests'\]);/return in_array(\$user->getBackendClassName(), ['Database', 'Guests', 'LDAP']);/"${BASE_DIR}/custom_apps/drop_account/lib/Service/DeletionCapabilityService.php
# Seds to remove share option from notes
RUN sed-i':a;N;$!ba;s/t("NcActionButton",{on:{click:e.onToggleSharing},scopedSlots:e._u(\[{key:"icon",fn:function(){return\[t("ShareVariantIcon",{attrs:{size:20}})\]},proxy:!0}\])},\[e._v("\\n\\t\\t\\t"+e._s(e.t("notes","Share"))+"\\n\\t\\t")\]),e._v(" "),/''/g'${BASE_DIR}/custom_apps/notes/js/notes-main.js