package-pipeline-nextcloud/nextcloud-29/patches/01_isfairuse_userfacing_ui.patch
s3lph 0796b421be
Some checks failed
/ nextcloud-28 (push) Successful in 27m42s
/ nextcloud-28-app-calendar (push) Successful in 3m50s
/ nextcloud-28-app-contacts (push) Successful in 1m37s
/ nextcloud-28-app-deck (push) Successful in 3m50s
/ nextcloud-28-app-forms (push) Successful in 2m46s
/ nextcloud-28-app-gpoddersync (push) Successful in 1m15s
/ nextcloud-28-app-gpxpod (push) Successful in 7m54s
/ nextcloud-28-app-groupfolders (push) Successful in 1m52s
/ nextcloud-28-app-polls (push) Successful in 4m5s
/ nextcloud-28-app-previewgenerator (push) Successful in 1m11s
/ nextcloud-28-app-mail (push) Successful in 9m0s
/ nextcloud-28-app-news (push) Successful in 3m3s
/ nextcloud-28-app-nextpod (push) Successful in 1m42s
/ nextcloud-28-app-notes (push) Successful in 2m18s
/ nextcloud-28-app-notify-push (push) Successful in 4m32s
/ nextcloud-28-app-richdocuments (push) Successful in 3m44s
/ nextcloud-28-app-richdocumentscode (push) Successful in 15m44s
/ nextcloud-28-app-talk (push) Successful in 8m19s
/ nextcloud-28-app-tasks (push) Successful in 3m6s
/ nextcloud-28-app-twofactor-webauthn (push) Successful in 4m2s
/ nextcloud-28-app-user-oidc (push) Successful in 2m3s
/ nextcloud-29 (push) Successful in 22m9s
/ nextcloud-29-app-calendar (push) Successful in 4m48s
/ nextcloud-29-app-contacts (push) Successful in 3m27s
/ nextcloud-29-app-deck (push) Successful in 4m27s
/ nextcloud-29-app-forms (push) Successful in 3m20s
/ nextcloud-29-app-gpoddersync (push) Failing after 43s
/ nextcloud-29-app-gpxpod (push) Successful in 8m28s
/ nextcloud-29-app-groupfolders (push) Failing after 54s
/ nextcloud-29-app-polls (push) Successful in 4m25s
/ nextcloud-29-app-previewgenerator (push) Successful in 1m18s
/ nextcloud-29-app-mail (push) Successful in 8m42s
/ nextcloud-29-app-news (push) Successful in 3m27s
/ nextcloud-29-app-nextpod (push) Successful in 2m10s
/ nextcloud-29-app-notes (push) Successful in 2m36s
/ nextcloud-29-app-notify-push (push) Successful in 5m9s
/ nextcloud-29-app-richdocuments (push) Successful in 3m50s
/ nextcloud-29-app-richdocumentscode (push) Successful in 8m55s
/ nextcloud-29-app-talk (push) Successful in 6m8s
/ nextcloud-29-app-tasks (push) Failing after 51s
/ nextcloud-29-app-twofactor-webauthn (push) Successful in 3m32s
/ nextcloud-29-app-user-oidc (push) Successful in 1m50s
chore: add nextcloud-29, remove nextcloud-27
2024-04-28 18:05:46 +02:00

33 lines
1.7 KiB
Diff

diff -3ur a/nextcloud/apps/settings/templates/settings/personal/personal.info.php b/nextcloud/apps/settings/templates/settings/personal/personal.info.php
--- a/nextcloud/apps/settings/templates/settings/personal/personal.info.php 2022-10-21 16:18:20.730871392 +0200
+++ b/nextcloud/apps/settings/templates/settings/personal/personal.info.php 2022-10-21 16:23:38.133437330 +0200
@@ -35,13 +35,6 @@
'vue-settings-personal-info',
]);
?>
-<?php if (!$_['isFairUseOfFreePushService']) : ?>
- <div class="section">
- <div class="warning">
- <?php p($l->t('This community release of Nextcloud is unsupported and instant notifications are unavailable.')); ?>
- </div>
- </div>
-<?php endif; ?>
<div id="personal-settings" data-federation-enabled="<?php p($_['federationEnabled'] ? 'true' : 'false') ?>"
data-lookup-server-upload-enabled="<?php p($_['lookupServerUploadEnabled'] ? 'true' : 'false') ?>">
diff -3ur a/nextcloud/core/Controller/LoginController.php b/nextcloud/core/Controller/LoginController.php
--- a/nextcloud/core/Controller/LoginController.php 2022-10-21 16:18:20.610870426 +0200
+++ b/nextcloud/core/Controller/LoginController.php 2022-10-21 16:19:52.921615072 +0200
@@ -147,12 +147,6 @@
}
$loginMessages = $this->session->get('loginMessages');
- if (!$this->manager->isFairUseOfFreePushService()) {
- if (!is_array($loginMessages)) {
- $loginMessages = [[], []];
- }
- $loginMessages[1][] = $this->l10n->t('This community release of Nextcloud is unsupported and push notifications are limited.');
- }
if (is_array($loginMessages)) {
[$errors, $messages] = $loginMessages;
$this->initialStateService->provideInitialState('core', 'loginMessages', $messages);