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

Commit 72467151 authored by Akhil's avatar Akhil 🙂
Browse files

Added sed for calendar search using only email

parent 57b4798d
Loading
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ ARG ECLOUD_LAUNCHER_JOB_ID="208960"
ARG GOOGLE_INTEGRATION_VERSION="1.0.6"

COPY patches/ ${TMP_PATCH_DIR}/
RUN sed -i 's/21,0,7,0/21,0,7,5/' ${BASE_DIR}/version.php
RUN sed -i 's/21,0,7,0/21,0,7,6/' ${BASE_DIR}/version.php

# Install unzip for unzipping artifacts
RUN apt-get update && apt-get install unzip 
@@ -117,7 +117,8 @@ RUN rm -rf ${TMP_PATCH_DIR}
RUN cd ${BASE_DIR}/custom_apps/contacts && sed -i 's/"GROUP","INDIVIDUAL"/"INDIVIDUAL"/g' js/contacts-main.js
RUN cd ${BASE_DIR}/custom_apps/contacts && sed -i 's/emit("new-contact")/emit("newContact")/g' js/contacts-main.js
RUN cd ${BASE_DIR}/custom_apps/calendar && sed -i 's/"GROUP","INDIVIDUAL"/"INDIVIDUAL"/g' js/calendar.js
RUN cd ${BASE_DIR}/custom_apps/calendar && sed -i 's/anyof/allof/g' js/calendar.js
RUN cd ${BASE_DIR}/custom_apps/calendar && sed -i 's/{name:\[a,"displayname"\]},//' js/calendar.js
RUN cd ${BASE_DIR}/custom_apps/calendar &&  sed -i 's/defaultValue:"PUBLIC"/defaultValue:"CONFIDENTIAL"/' js/calendar.js

# Set default widgets to calendar, tasks and notes
RUN sed -i 's/recommendations,spreed,mail,calendar/calendar,tasks,notes/' ${BASE_DIR}/apps/dashboard/lib/Controller/DashboardController.php
@@ -130,9 +131,6 @@ RUN sed -i "s/min-version=\"22\"/min-version=\"21\"/" ${BASE_DIR}/custom_apps/in
RUN sed -i 's/ in Nextcloud/ /' ${BASE_DIR}/custom_apps/integration_google/js/integration_google-personalSettings.js
RUN sed -i 's/Nextcloud administator/administator/' ${BASE_DIR}/custom_apps/integration_google/js/integration_google-personalSettings.js

# Set shared access class to CONFIDENTIAL by default
RUN sed -i 's/defaultValue:"PUBLIC"/defaultValue:"CONFIDENTIAL"/' ${BASE_DIR}/custom_apps/calendar/js/calendar.js 

# Custom theme
RUN curl -fsSL -o eCloud-theme.tar.gz \
    "https://gitlab.e.foundation/e/infra/nextcloud-theme/-/archive/${THEME_VERSION}/nextcloud-theme-${THEME_VERSION}.tar.gz" && \