# tar -xf oidc_login.tar.gz -C ${BASE_DIR}/custom_apps && \
# rm oidc_login.tar.gz
# Patches
COPY patches/ ${TMP_PATCH_DIR}/
RUN patch -u${BASE_DIR}/core/templates/layout.user.php -i${TMP_PATCH_DIR}/003-contact-search-removal.patch
@@ -243,9 +237,6 @@ RUN sed -i 's/$this->getAvatarImage($user)/null/' ${BASE_DIR}/apps/dav/lib/CardD
# show reset pwd page with a query param
# RUN cd ${BASE_DIR}/dist && sed -i 's/resetPassword:!1/resetPassword:!1||Z.showResetPassword==="1"/' core-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
# add attr about how many notifications to notif icon
RUN sed-i's/attrs:{id:"notifications",/attrs:{id:"notifications","data-has-notifications":0!==t.notifications.length,/'${BASE_DIR}/apps/notifications/js/notifications-node_modules_moment_locale_sync_recursive_-src_NotificationsApp_vue-data_image_svg_xml_base64-ab95a3.js
# Add data-object-type to notification
@@ -277,6 +268,11 @@ RUN sed -i 's/$this->changeAvatar/\/\/ $this->changeAvatar/' ${BASE_DIR}/custom_
# Remove 'fix broken values of calendar objects' repair step
RUN sed-i'/<step>OCA\\DAV\\Migration\\CalDAVRemoveEmptyValue<\/step>/d'${BASE_DIR}/apps/dav/appinfo/info.xml
# Hide `Play sound when a call started (requires Nextcloud Talk)` checkbox from notification setting
RUN sed-i's/attrs:{checked:e\.config\.sound_talk}/staticClass:"notification_talk",attrs:{checked:e\.config\.sound_talk}/g'${BASE_DIR}/apps/notifications/js/notifications-settings.js