# Remove user avatar generation for system addressbook card
RUN sed-i's/$this->getAvatarImage($user)/null/'${BASE_DIR}/apps/dav/lib/CardDAV/Converter.php
# Replace "Get your own free account" NC link with /e/ Account link in public pages
RUN sed-i's/https:\/\/nextcloud.com\/signup\//https:\/\/e\.foundation\/<?php p(\$_\[\x27language\x27\]); ?>\/e-email-invite\//'${BASE_DIR}/core/templates/layout.public.php
@@ -198,12 +239,17 @@ RUN sed -i 's/$context->registerAlternativeLogin(OIDCLoginOption::class);/\/\/$c
RUN sed-i's/attrs:{id:"notifications",/attrs:{id:"notifications","data-has-notifications":0!==e.notifications.length,/'${BASE_DIR}/apps/notifications/js/notifications-main.js
# 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
# 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
RUN cd${BASE_DIR}/custom_apps/calendar &&sed-i's/"GROUP","INDIVIDUAL"/"INDIVIDUAL"/g' js/calendar-main.js
RUN cd${BASE_DIR}/custom_apps/calendar &&sed-i's/{name:\[o,"displayname"\]},//' js/calendar-main.js
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
# 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
@@ -60,4 +60,4 @@ We suggest you use our [ecloud-selfhosting](https://gitlab.e.foundation/e/infra/
## Contributing
Anyone can fork a project on our GitLab instance, but to prevent abuse it's disabled by default. Get in touch with us [by e-mail](mailto:join@e.email) or through our support channels and we will let you create a fork and submit MRs.
Anyone can fork a project on our GitLab instance, but to prevent abuse it's disabled by default. Get in touch with us [by e-mail](mailto:dev@murena.com) or through our support channels and we will let you create a fork and submit MRs.