Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c47ec12c authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

seach by email

parent cb425ee1
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ ARG SNAPPY_THEME_VERSION="2.0.8"
ARG USER_MIGRATION_JOB_ID="608716"
ARG MEMORIES_VERSION="5.1.0"

RUN sed -i 's/25,0,8,2/25,0,8,21/' ${BASE_DIR}/version.php
RUN sed -i 's/25,0,8,2/25,0,8,22/' ${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
@@ -246,6 +246,10 @@ RUN cd ${BASE_DIR}/custom_apps/calendar && sed -i 's/{name:\[o,"displayname"\]},
RUN cd ${BASE_DIR}/custom_apps/notes && sed -i 's/<step>OCA\\Notes\\Migration\\EditorHint<\/step>//g' appinfo/info.xml
RUN cd ${BASE_DIR}/apps/theming && sed -i 's/<step>OCA\\Theming\\Migration\\MigrateUserConfig<\/step>//g' appinfo/info.xml

#enable email search in memories app

RUN cd ${BASE_DIR}/custom_apps/memories && sed -i 's/fr\.D\.SHARE_TYPE_USER,fr\.D\.SHARE_TYPE_GROUP/fr.D.SHARE_TYPE_USER,fr.D.SHARE_TYPE_GROUP,fr.D.SHARE_TYPE_EMAIL/g' js/memories-main.js
RUN cd ${BASE_DIR}/custom_apps/memories && sed -i 's|;case"groups”:|;case"email":return{id:e.id,label:e.label,type:fr.D.SHARE_TYPE_EMAIL};case"groups":|g' js/memories-main.js

# Remove colored background from email template logo
RUN sed -i 's/$this->header, \[$this->themingDefaults->getColorPrimary()/$this->header, \["none"/' ${BASE_DIR}/lib/private/Mail/EMailTemplate.php