RUN sed-i's/29,0,16,1/29,0,16,2/'${BASE_DIR}/version.php
RUN sed-i's/29,0,16,1/29,0,16,3/'${BASE_DIR}/version.php
COPY custom_entrypoint.sh /
RUN chmod +x /custom_entrypoint.sh
RUN mkdir-p /var/www/skeleton/Documents &&mkdir-p /var/www/skeleton/Images
@@ -203,17 +203,11 @@ RUN sed -i "s/\['total'\]/\['quota'\]/" ${BASE_DIR}/apps/provisioning_api/lib/Co
# Fix API call in files script
RUN sed-i"s/ajax\/getstoragestats/api\/v1\/stats/g"${BASE_DIR}/apps/files/js/files.js
#fix for who can access data- its needed with 011-privacy-settings.patch
RUN sed-i's|Your home storage is encrypted using {linkopen}server-side-encryption ↗{linkclose} with a master key\. It means that administrators can access your files, but not read their content\.|Like in most cloud services, a reduced number of administrators can see your files and all the information in the database as they need to make backups, perform upgrades, reset passwords, etc.<br>{linkopen1}Learn more about this topic here. ↗{linkclose1}|g'${BASE_DIR}/apps/privacy/js/privacy-main.js
RUN sed-i's/t((0,n\.Iu)("privacy","Your files on external storages may be encrypted using {linkopen}server-side-encryption ↗{linkclose} with a master key based on their configuration\."))/t("{linkopen}"+(0,n\.Iu)("privacy","To protect your data, we have implemented server-side-encryption on our servers which hides by default the content of your files and notes even to these administrators")+"↗{linkclose}")/g'${BASE_DIR}/apps/privacy/js/privacy-main.js
RUN sed-i's|.replace("{linkclose}","</a>")|.replace("{linkclose}","</a>").replace("{linkopen1}",'"'"'<a href="https://doc.e.foundation/support-topics/services#can-the-ecloud-admin-access-my-data" target="_blank" rel="noreferrer noopener" class="encryption__link">'"'"').replace("{linkclose1}","</a>")|g'${BASE_DIR}/apps/privacy/js/privacy-main.js
Fromselfhostasecloud
ARG BASE_DIR="/usr/src/nextcloud"
ARG TMP_PATCH_DIR="/tmp/build_patches"
ARG THEME_VERSION="29.0.16-beta"
ARG LDAP_WRITE_SUPPORT_VERSION="1.11.0"
ARG THEME_VERSION="29.0.16-beta.2"
ARG LDAP_WRITE_SUPPORT_VERSION="1.11.1"
ARG IS_SELFHOST=false
RUN curl -fsSL-o ldap_write_support.tar.gz \
@@ -232,7 +226,7 @@ RUN cd ${BASE_DIR} && patch -u ${BASE_DIR}/apps/user_ldap/lib/User_LDAP.php -i $
RUN patch -u${BASE_DIR}/lib/private/User/Manager.php -i${TMP_PATCH_DIR}/025-optimize-get-by-email.patch
RUN patch -u${BASE_DIR}/apps/dav/lib/Connector/Sabre/Principal.php -i${TMP_PATCH_DIR}/027-displayname-user-leak-dav.patch
RUN patch -u${BASE_DIR}/apps/dav/lib/HookManager.php -i${TMP_PATCH_DIR}/028-default-task-calendar.patch
# RUN patch -u ${BASE_DIR}/apps/provisioning_api/lib/Controller/UsersController.php -i ${TMP_PATCH_DIR}/029-restrict-user-to-change-primary-email.patch
RUN patch -u${BASE_DIR}/apps/provisioning_api/lib/Controller/UsersController.php -i${TMP_PATCH_DIR}/029-restrict-user-to-change-primary-email.patch
RUN patch -u${BASE_DIR}/lib/private/Security/VerificationToken/VerificationToken.php -i${TMP_PATCH_DIR}/033-verification-token-private.patch
RUN patch -u${BASE_DIR}/lib/private/AppFramework/Middleware/Security/CORSMiddleware.php -i${TMP_PATCH_DIR}/034-oidc-bearer-token-auth.patch
@@ -308,9 +302,6 @@ RUN sed -i ':a;N;$!ba;s/t("NcActionButton",{on:{click:e.onToggleSharing},scopedS
# Add id to delete account settings section and hide it by default
RUN sed-i's/"NcSettingsSection",{attrs:{/"NcSettingsSection",{attrs:{id:"delete-account-settings-section",style:"visibility:hidden;",/'${BASE_DIR}/custom_apps/drop_account/js/drop_account-personal-settings.mjs
# Fix of https://github.com/nextcloud/server/commit/e727a3b00bd9b574279d25c006a0bc6b8fa4eec3 for availability setting
RUN sed-i's/n.data/await n.text()/'${BASE_DIR}/dist/dav-settings-personal-availability.js
# Hide personal settings of files_external
RUN sed-i"s/'externalstorages'/null/"${BASE_DIR}/apps/files_external/lib/Settings/Personal.php