@@ -198,12 +198,17 @@ RUN sed -i "s/\['total'\]/\['quota'\]/" ${BASE_DIR}/apps/provisioning_api/lib/Co
# Fix API call in files script
RUN sed-i"s/ajax\/getstoragestats/api\/v1\/stats/g"${BASE_DIR}/apps/files/js/files.js
#fix for who can access data- its needed with 011-privacy-settings.patch
RUN sed-i's|Your home storage is encrypted using {linkopen}server-side-encryption ↗{linkclose} with a master key\. It means that administrators can access your files, but not read their content\.|Like in most cloud services, a reduced number of administrators can see your files and all the information in the database as they need to make backups, perform upgrades, reset passwords, etc.<br>{linkopen1}Learn more about this topic here. ↗{linkclose1}|g'${BASE_DIR}/apps/privacy/js/privacy-main.js
RUN sed-i's/t((0,n\.Iu)("privacy","Your files on external storages may be encrypted using {linkopen}server-side-encryption ↗{linkclose} with a master key based on their configuration\."))/t("{linkopen}"+(0,n\.Iu)("privacy","To protect your data, we have implemented server-side-encryption on our servers which hides by default the content of your files and notes even to these administrators")+"↗{linkclose}")/g'${BASE_DIR}/apps/privacy/js/privacy-main.js
RUN patch -u${BASE_DIR}/core/templates/layout.user.php -i${TMP_PATCH_DIR}/003-contact-search-removal.patch
@@ -236,19 +236,13 @@ RUN rm -rf ${TMP_PATCH_DIR}
# 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
# show reset pwd page with a query param
# RUN cd ${BASE_DIR}/dist && sed -i 's/resetPassword:!1/resetPassword:!1||Z.showResetPassword==="1"/' core-login.js
# hide oidc login button
RUN sed-i's/$context->registerAlternativeLogin(OIDCLoginOption::class);/\/\/$context->registerAlternativeLogin(OIDCLoginOption::class);/'${BASE_DIR}/custom_apps/oidc_login/lib/AppInfo/Application.php
# add attr about how many notifications to notif icon
RUN sed-i's/attrs:{id:"notifications",/attrs:{id:"notifications","data-has-notifications":0!==t.notifications.length,/'${BASE_DIR}/apps/notifications/js/notifications-node_modules_moment_locale_sync_recursive_-src_NotificationsApp_vue.js
RUN sed-i's/attrs:{id:"notifications",/attrs:{id:"notifications","data-has-notifications":0!==t.notifications.length,/'${BASE_DIR}/apps/notifications/js/notifications-node_modules_moment_locale_sync_recursive_-src_NotificationsApp_vue-data_image_svg_xml_base64-ab95a3.js
# Add data-object-type to notification
RUN sed-i's/"data-id":t.notificationId,/"data-id":t.notificationId,"data-object-type":t.objectType,/'${BASE_DIR}/apps/notifications/js/notifications-node_modules_moment_locale_sync_recursive_-src_NotificationsApp_vue.js
RUN sed-i's/"data-id":t.notificationId,/"data-id":t.notificationId,"data-object-type":t.objectType,/'${BASE_DIR}/apps/notifications/js/notifications-node_modules_moment_locale_sync_recursive_-src_NotificationsApp_vue-data_image_svg_xml_base64-ab95a3.js
# Rename Memories to Gallery
RUN sed-i's/<name>Memories<\/name>/<name>Gallery<\/name>/g'${BASE_DIR}/custom_apps/memories/appinfo/info.xml
@@ -276,6 +270,13 @@ RUN sed -i 's/$this->changeAvatar/\/\/ $this->changeAvatar/' ${BASE_DIR}/custom_
# Remove 'fix broken values of calendar objects' repair step
RUN sed-i'/<step>OCA\\DAV\\Migration\\CalDAVRemoveEmptyValue<\/step>/d'${BASE_DIR}/apps/dav/appinfo/info.xml
# Hide `Play sound when a call started (requires Nextcloud Talk)` checkbox from notification setting
RUN sed-i's/attrs:{checked:e\.config\.sound_talk}/staticClass:"notification_talk",attrs:{checked:e\.config\.sound_talk}/g'${BASE_DIR}/apps/notifications/js/notifications-settings.js
# Hide `Navigation bar settings` from theming
RUN sed-i's/{attrs:{name:t.t("theming","Navigation bar settings")}}/{staticClass:"navigation-bar-settings",attrs:{name:t.t("theming","Navigation bar settings")}}/g'${BASE_DIR}/dist/theming-personal-theming.js
# Custom theme
RUN rm-rf${BASE_DIR}/themes/eCloud &&\
curl -fsSL-o eCloud-theme.tar.gz \
@@ -299,3 +300,9 @@ RUN sed -i "s/return in_array(\$user->getBackendClassName(), \['Database', 'Gues
# Seds to remove share option from notes
RUN sed-i':a;N;$!ba;s/t("NcActionButton",{on:{click:e.onToggleSharing},scopedSlots:e._u(\[{key:"icon",fn:function(){return\[t("ShareVariantIcon",{attrs:{size:20}})\]},proxy:!0}\])},\[e._v("\\n\\t\\t\\t"+e._s(e.t("notes","Share"))+"\\n\\t\\t")\]),e._v(" "),/''/g'${BASE_DIR}/custom_apps/notes/js/notes-main.js
# Add id to delete account settings section and hide it by default
Run sed-i's/"NcSettingsSection",{attrs:{/"NcSettingsSection",{attrs:{id:"delete-account-settings-section",style:"visibility:hidden;",/'${BASE_DIR}/custom_apps/drop_account/js/drop_account-personal-settings.js
# Fix of https://github.com/nextcloud/server/commit/e727a3b00bd9b574279d25c006a0bc6b8fa4eec3 for availability setting
RUN sed-i's/n.data/await n.text()/'${BASE_DIR}/dist/dav-settings-personal-availability.js
- <h3><?php p($l->t('Who has access to your data?')) ?></h3>
- <h4><?php p($l->t('Administrators')); ?></h4>
- <div id="privacy_access_admins"></div>
+ <h3><?php p($l->t('Who has access to your data?')) ?></h3>
+ <h4><?php p($l->t('People you shared documents or folders with')) ?>:</h4>
+ <div id="privacy_access_shares"></div>
+ <p> </p>
+ <p><?php p($l->t('Like in most cloud services, a reduced number of administrators can see your files and all the information in the database as they need to make backups, perform upgrades, reset passwords, etc.')); ?>
+ rel="noreferrer noopener"><?php p($l->t('To protect your data, we have implemented server-side-encryption on our servers which hides by default the content of your files and notes even to these administrators.')); ?>