aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/setupchecks.js
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2021-10-20 15:24:45 -0300
committerJoas Schilling <coding@schilljs.com>2021-10-23 00:54:50 +0200
commite55ceb2bb1c22105cd46533f8b41157c52e5da2d (patch)
tree9bbbb194ad85fdec4dc0234226d8910a12b6f473 /core/js/setupchecks.js
parentd613b320451516c466fca7b408414a0193139602 (diff)
downloadnextcloud-server-e55ceb2bb1c22105cd46533f8b41157c52e5da2d.tar.gz
nextcloud-server-e55ceb2bb1c22105cd46533f8b41157c52e5da2d.zip
Show warning on admin settings page
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'core/js/setupchecks.js')
-rw-r--r--core/js/setupchecks.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index a16f50e122a..f5f48fdf384 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -254,6 +254,12 @@
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
});
}
+ if (!data.isFairUseOfFreePushService) {
+ messages.push({
+ msg: t('core', 'This is the unsupported community build of Nextcloud. Given the size of this instance, performance, reliability and scalability cannot be guaranteed. Push notifications have been disabled to avoid overloading our free service. Learn more about the benefits of Nextcloud Enterprise at nextcloud.com/enterprise.'),
+ type: OC.SetupChecks.MESSAGE_TYPE_ERROR
+ });
+ }
if (data.serverHasInternetConnectionProblems) {
messages.push({
msg: t('core', 'This server has no working internet connection: Multiple endpoints could not be reached. This means that some of the features like mounting external storage, notifications about updates or installation of third-party apps will not work. Accessing files remotely and sending of notification emails might not work, either. Establish a connection from this server to the internet to enjoy all features.'),