From d5cb97531f99bf9e96ea71904aade52ae546bd4d Mon Sep 17 00:00:00 2001 From: Avinash Gusain Date: Wed, 13 Sep 2023 15:31:46 +0530 Subject: [PATCH] memories 5.4.1 fix --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dbc280b9..1a4b9a11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,9 +13,9 @@ ARG DASHBOARD_JOB_ID="651040" ARG SNAPPY_VERSION="2.28.1" ARG SNAPPY_THEME_VERSION="2.0.8" ARG USER_MIGRATION_JOB_ID="608716" -ARG MEMORIES_VERSION="5.1.0" +ARG MEMORIES_VERSION="5.4.1" -RUN sed -i 's/25,0,8,2/25,0,8,22/' ${BASE_DIR}/version.php +RUN sed -i 's/25,0,8,2/25,0,8,23/' ${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 @@ -248,7 +248,7 @@ RUN cd ${BASE_DIR}/apps/theming && sed -i 's/OCA\\Theming\\Migration\\Migr #enable email search in memories app -RUN cd ${BASE_DIR}/custom_apps/memories && sed -i 's/shareTypes:\[fr\.D\.SHARE_TYPE_USER,fr\.D\.SHARE_TYPE_GROUP\]}});/shareTypes:[fr.D.SHARE_TYPE_USER,fr.D.SHARE_TYPE_EMAIL]}}),n=e.data.ocs.data.filter((e=>"emails"!==e.source)),r={data:{ocs:{meta:e.data.ocs.meta,data:n}}};/g' js/memories-main.js +RUN cd ${BASE_DIR}/custom_apps/memories && sed -i 's/shareTypes:\[bc\.D\.SHARE_TYPE_USER,bc\.D\.SHARE_TYPE_GROUP\]}});/shareTypes:[bc.D.SHARE_TYPE_USER,bc.D.SHARE_TYPE_EMAIL]}}),n=e.data.ocs.data.filter((e=>"emails"!==e.source)),r={data:{ocs:{meta:e.data.ocs.meta,data:n}}};/g' js/memories-main.js RUN cd ${BASE_DIR}/custom_apps/memories && sed -i 's/this\.currentSearchResults=e\.data\./this\.currentSearchResults=r\.data\./g' js/memories-main.js # Remove colored background from email template logo -- GitLab