RUN sed-i's/30,0,14,1/30,0,14,2/'${BASE_DIR}/version.php
RUN sed-i's/30,0,14,1/30,0,14,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
@@ -207,7 +207,7 @@ From selfhost as ecloud
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 LDAP_WRITE_SUPPORT_VERSION="1.12.1"
ARG IS_SELFHOST=false
RUN curl -fsSL-o ldap_write_support.tar.gz \
@@ -237,13 +237,13 @@ RUN rm -rf ${TMP_PATCH_DIR}
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
#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