Loading Dockerfile +1 −2 Original line number Diff line number Diff line Loading @@ -127,8 +127,7 @@ RUN patch -u ${BASE_DIR}/lib/private/legacy/OC_Helper.php -i ${TMP_PATCH_DIR}/01 RUN cd ${BASE_DIR} && patch -u ${BASE_DIR}/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php -i ${TMP_PATCH_DIR}/015-email-mail-template.patch RUN patch -u ${BASE_DIR}/core/templates/layout.guest.php -i ${TMP_PATCH_DIR}/016-login-screen.patch RUN patch -u ${BASE_DIR}/core/Command/User/Setting.php -i ${TMP_PATCH_DIR}/018-occ-user-setting.patch RUN patch -u ${BASE_DIR}/apps/settings/lib/Settings/Personal/PersonalInfo.php -i ${TMP_PATCH_DIR}/019-personalinfo.patch RUN patch -u ${BASE_DIR}/apps/settings/lib/Sections/Personal/Groupware.php -i ${TMP_PATCH_DIR}/020-groupware.patch RUN patch -u ${BASE_DIR}/apps/settings/lib/Sections/Personal/Groupware.php -i ${TMP_PATCH_DIR}/019-groupware.patch RUN rm -rf ${TMP_PATCH_DIR} # autocomplete leak tweak apps frontend with sed, disable group suggestion Loading patches/020-groupware.patch→patches/019-groupware.patch +0 −0 File moved. View file patches/019-patch_personalinfo.patchdeleted 100644 → 0 +0 −35 Original line number Diff line number Diff line From: Avinash <avinashg@e.email> Date: Tue, 14 Sept 2022 17:58 +0530 Subject: [PATCH] This patch hides the profile sections from personal info page This patch hides the profile sections from personal info page --- ./apps/settings/lib/Settings/Personal/PersonalInfo.php 2022-09-14 17:48:53.974177500 +0530 +++ ./apps/settings/lib/Settings/Personal/PersonalInfo-new.php 2022-09-14 17:50:52.474177500 +0530 @@ -166,7 +166,7 @@ 'twitterVerification' => $account->getProperty(IAccountManager::PROPERTY_TWITTER)->getVerified(), 'groups' => $this->getGroups($user), 'isFairUseOfFreePushService' => $this->isFairUseOfFreePushService(), - 'profileEnabledGlobally' => $this->profileManager->isProfileEnabled(), + 'profileEnabledGlobally' => false, ] + $messageParameters + $languageParameters + $localeParameters; $personalInfoParameters = [ @@ -174,7 +174,7 @@ 'displayNameMap' => $this->getDisplayNameMap($account), 'emailMap' => $this->getEmailMap($account), 'languageMap' => $this->getLanguageMap($user), - 'profileEnabledGlobally' => $this->profileManager->isProfileEnabled(), + 'profileEnabledGlobally' => false, 'profileEnabled' => $this->profileManager->isProfileEnabled($user), 'organisationMap' => $this->getOrganisationMap($account), 'roleMap' => $this->getRoleMap($account), @@ -191,7 +191,7 @@ 'profileConfig' => $this->profileManager->getProfileConfigWithMetadata($user, $user), ]; - $this->initialStateService->provideInitialState('profileEnabledGlobally', $this->profileManager->isProfileEnabled()); + $this->initialStateService->provideInitialState('profileEnabledGlobally', false); $this->initialStateService->provideInitialState('personalInfoParameters', $personalInfoParameters); $this->initialStateService->provideInitialState('accountParameters', $accountParameters); $this->initialStateService->provideInitialState('profileParameters', $profileParameters); Loading
Dockerfile +1 −2 Original line number Diff line number Diff line Loading @@ -127,8 +127,7 @@ RUN patch -u ${BASE_DIR}/lib/private/legacy/OC_Helper.php -i ${TMP_PATCH_DIR}/01 RUN cd ${BASE_DIR} && patch -u ${BASE_DIR}/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php -i ${TMP_PATCH_DIR}/015-email-mail-template.patch RUN patch -u ${BASE_DIR}/core/templates/layout.guest.php -i ${TMP_PATCH_DIR}/016-login-screen.patch RUN patch -u ${BASE_DIR}/core/Command/User/Setting.php -i ${TMP_PATCH_DIR}/018-occ-user-setting.patch RUN patch -u ${BASE_DIR}/apps/settings/lib/Settings/Personal/PersonalInfo.php -i ${TMP_PATCH_DIR}/019-personalinfo.patch RUN patch -u ${BASE_DIR}/apps/settings/lib/Sections/Personal/Groupware.php -i ${TMP_PATCH_DIR}/020-groupware.patch RUN patch -u ${BASE_DIR}/apps/settings/lib/Sections/Personal/Groupware.php -i ${TMP_PATCH_DIR}/019-groupware.patch RUN rm -rf ${TMP_PATCH_DIR} # autocomplete leak tweak apps frontend with sed, disable group suggestion Loading
patches/019-patch_personalinfo.patchdeleted 100644 → 0 +0 −35 Original line number Diff line number Diff line From: Avinash <avinashg@e.email> Date: Tue, 14 Sept 2022 17:58 +0530 Subject: [PATCH] This patch hides the profile sections from personal info page This patch hides the profile sections from personal info page --- ./apps/settings/lib/Settings/Personal/PersonalInfo.php 2022-09-14 17:48:53.974177500 +0530 +++ ./apps/settings/lib/Settings/Personal/PersonalInfo-new.php 2022-09-14 17:50:52.474177500 +0530 @@ -166,7 +166,7 @@ 'twitterVerification' => $account->getProperty(IAccountManager::PROPERTY_TWITTER)->getVerified(), 'groups' => $this->getGroups($user), 'isFairUseOfFreePushService' => $this->isFairUseOfFreePushService(), - 'profileEnabledGlobally' => $this->profileManager->isProfileEnabled(), + 'profileEnabledGlobally' => false, ] + $messageParameters + $languageParameters + $localeParameters; $personalInfoParameters = [ @@ -174,7 +174,7 @@ 'displayNameMap' => $this->getDisplayNameMap($account), 'emailMap' => $this->getEmailMap($account), 'languageMap' => $this->getLanguageMap($user), - 'profileEnabledGlobally' => $this->profileManager->isProfileEnabled(), + 'profileEnabledGlobally' => false, 'profileEnabled' => $this->profileManager->isProfileEnabled($user), 'organisationMap' => $this->getOrganisationMap($account), 'roleMap' => $this->getRoleMap($account), @@ -191,7 +191,7 @@ 'profileConfig' => $this->profileManager->getProfileConfigWithMetadata($user, $user), ]; - $this->initialStateService->provideInitialState('profileEnabledGlobally', $this->profileManager->isProfileEnabled()); + $this->initialStateService->provideInitialState('profileEnabledGlobally', false); $this->initialStateService->provideInitialState('personalInfoParameters', $personalInfoParameters); $this->initialStateService->provideInitialState('accountParameters', $accountParameters); $this->initialStateService->provideInitialState('profileParameters', $profileParameters);