# tar -xf user_backend_sql_raw.tar.gz -C ${BASE_DIR}/custom_apps/ && \
# rm user_backend_sql_raw.tar.gz;
# Selfhost theme
RUN if["$IS_SELFHOST"=true];then\
@@ -206,8 +206,8 @@ RUN sed -i "s/ajax\/getstoragestats/api\/v1\/stats/g" ${BASE_DIR}/apps/files/js/
Fromselfhostasecloud
ARG BASE_DIR="/usr/src/nextcloud"
ARG TMP_PATCH_DIR="/tmp/build_patches"
ARG THEME_VERSION="29.0.16"
ARG LDAP_WRITE_SUPPORT_VERSION="1.11.1"
ARG THEME_VERSION="30.0.0"
ARG LDAP_WRITE_SUPPORT_VERSION="1.12.1"
ARG IS_SELFHOST=false
RUN curl -fsSL-o ldap_write_support.tar.gz \
@@ -236,11 +236,14 @@ RUN rm -rf ${TMP_PATCH_DIR}
# Remove user avatar generation for system addressbook card
RUN sed-i's/$this->getAvatarImage($user)/null/'${BASE_DIR}/apps/dav/lib/CardDAV/Converter.php
# redirect user to sso login on successful resetting password
#RUN cd ${BASE_DIR}/dist && sed -i "s|window\.location\.href=(0,g\.Jv)(\"login\")|window.location.href = '/'|g" core-login.js
# 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
# 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/NotificationsApp-atbzHwwu.chunk.mjs
RUN sed-i's/attrs:{id:"notifications",/attrs:{id:"notifications","data-has-notifications":0!==t.notifications.length,/'${BASE_DIR}/apps/notifications/js/NotificationsApp-DS2Cdf60.chunk.mjs
# Rename Memories to Gallery
RUN sed-i's/<name>Memories<\/name>/<name>Gallery<\/name>/g'${BASE_DIR}/custom_apps/memories/appinfo/info.xml