@@ -124,14 +130,22 @@ RUN cd ${BASE_DIR} && patch -p0 < ${TMP_PATCH_DIR}/011-privacy-settings.patch
RUN cd${BASE_DIR}&& patch -u${BASE_DIR}/apps/dashboard/lib/Controller/DashboardController.php -i${TMP_PATCH_DIR}/012-remove-user-status-widget.patch
RUN patch -u${BASE_DIR}/lib/private/Authentication/Token/PublicKeyTokenProvider.php -i${TMP_PATCH_DIR}/013-revert-token-password-update.patch
RUN patch -u${BASE_DIR}/lib/private/legacy/OC_Helper.php -i${TMP_PATCH_DIR}/014-add-mail-usage.patch
RUN cd${BASE_DIR}&& patch -p0 <${TMP_PATCH_DIR}/015-email-mail-template.patch
RUN cd${BASE_DIR}&& patch -u${BASE_DIR}/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php -i${TMP_PATCH_DIR}/015-email-mail-template.patch
RUN patch -u${BASE_DIR}/core/templates/layout.guest.php -i${TMP_PATCH_DIR}/016-login-screen.patch
RUN patch -u${BASE_DIR}/core/Command/User/Setting.php -i${TMP_PATCH_DIR}/018-occ-user-setting.patch
RUN patch -u${BASE_DIR}/apps/files/js/files.js -i${TMP_PATCH_DIR}/020-patch_files.patch
RUN patch -u${BASE_DIR}/apps/settings/lib/Sections/Personal/Groupware.php -i${TMP_PATCH_DIR}/019-groupware.patch
RUN patch -u${BASE_DIR}/lib/private/Notification/Manager.php -i${TMP_PATCH_DIR}/020-fairuse-notification-fix.patch
RUN patch -u${BASE_DIR}/apps/files/js/files.js -i${TMP_PATCH_DIR}/021-repeated-storage-dialog-fix.patch
RUN rm-rf${TMP_PATCH_DIR}
# show reset pwd page with a query param
RUN cd${BASE_DIR}/core/js/dist &&sed-i's/resetPassword:!1/resetPassword:!1||re.showResetPassword==="1"/' login.js
RUN cd${BASE_DIR}/core/js/dist &&sed-i's/resetPassword:!1/resetPassword:!1||Z.showResetPassword==="1"/' login.js
# hide oidc login button
RUN sed-i's/$context->registerAlternativeLogin(OIDCLoginOption::class);/\/\/$context->registerAlternativeLogin(OIDCLoginOption::class);/'${BASE_DIR}/custom_apps/oidc_login/lib/AppInfo/Application.php
# sed version of ldap_write_support
RUN cd${BASE_DIR}/custom_apps/ldap_write_support &&sed-i's/max-version="22"/max-version="23"/' appinfo/info.xml
# autocomplete leak tweak apps frontend with sed, disable group suggestion