diff --git a/Dockerfile b/Dockerfile index 13d238e606722be82c804192c7ce098eb1dd3bbf..d6ad3bc2e6d20115b1803f3d24dc90acd87df156 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 @@ -236,8 +236,14 @@ RUN sed -i 's/attrs:{id:"notifications",/attrs:{id:"notifications","data-has-not # Add data-object-type to notification RUN sed -i 's/"data-id":e.notificationId,/"data-id":e.notificationId,"data-object-type":e.objectType,/' ${BASE_DIR}/apps/notifications/js/notifications-main.js #Hide Archive/Unarchive feature in memories app -RUN sed -i 's/{name:(0,be.Iu)("memories","Archive"),icon:la,callback:this.archiveSelection.bind(this),if:()=>!this.routeIsArchive()&&!this.routeIsAlbum()},{name:(0,be.Iu)("memories","Unarchive"),icon:ua,callback:this.archiveSelection.bind(this),if:()=>this.routeIsArchive()},//g' ${BASE_DIR}/custom_apps/memories/js/memories-main.js -RUN sed -i 's/{name:"archive",icon:la,title:(0,be.Iu)("memories","Archive")},//g' ${BASE_DIR}/custom_apps/memories/js/memories-main.js +RUN sed -i 's/{name:(0,O.Iu)("memories","Archive"),icon:Yo,callback:this.archiveSelection.bind(this),if:()=>!this.routeIsArchiveFolder()&&!this.routeIsAlbums},{name:(0,O.Iu)("memories","Unarchive"),icon:Ko,callback:this.archiveSelection.bind(this),if:()=>this.routeIsArchiveFolder()},//g' ${BASE_DIR}/custom_apps/memories/js/memories-main.js +RUN sed -i 's/{name:"archive",icon:Yo,title:(0,O.Iu)("memories","Archive")},//g' ${BASE_DIR}/custom_apps/memories/js/memories-main.js + +# Rename Memories to Gallery +RUN sed -i 's/Memories<\/name>/Gallery<\/name>/g' ${BASE_DIR}/custom_apps/memories/appinfo/info.xml +RUN cd ${BASE_DIR}/custom_apps/memories/js && sed -i 's/Memories has been/Gallery has been/g' memories-main.js && sed -i 's/Memories has been/Gallery has been/g' memories-admin.js +RUN cd ${BASE_DIR}/custom_apps/memories/js && sed -i 's/Memories Settings/Gallery Settings/g' memories-main.js + # autocomplete leak tweak apps frontend with sed, disable group suggestion RUN cd ${BASE_DIR}/custom_apps/contacts && sed -i 's/"GROUP","INDIVIDUAL"/"INDIVIDUAL"/g' js/contacts-main.js