]> source.dussan.org Git - nextcloud-server.git/commitdiff
Show the well-known URL check as info instead of error
authorMorris Jobke <hey@morrisjobke.de>
Tue, 12 Jan 2016 08:15:57 +0000 (09:15 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 12 Jan 2016 08:18:20 +0000 (09:18 +0100)
* ref https://github.com/owncloud/core/pull/21562#issuecomment-170344549

core/js/setupchecks.js
core/js/tests/specs/setupchecksSpec.js

index b1b8dd358d24ef438b129e74b8967a6ba9c3028a..7940e7e30a63f69cf86c696f325109bb48ac264f 100644 (file)
@@ -61,7 +61,7 @@
                                        var docUrl = placeholderUrl.replace('PLACEHOLDER', 'admin-setup-well-known-URL');
                                        messages.push({
                                                msg: t('core', 'Your web server is not set up properly to resolve "{url}". Further information can be found in our <a target="_blank" href="{docLink}">documentation</a>.', { docLink: docUrl, url: url }),
-                                               type: OC.SetupChecks.MESSAGE_TYPE_ERROR
+                                               type: OC.SetupChecks.MESSAGE_TYPE_INFO
                                        });
                                }
                                deferred.resolve(messages);
index 18ba44ac61b38945a29b72eba0e9c73cffd8fdf5..434b30a41b7eef196b81cffe7ef57c08a59d69ae 100644 (file)
@@ -69,7 +69,7 @@ describe('OC.SetupChecks tests', function() {
                        async.done(function( data, s, x ){
                                expect(data).toEqual([{
                                        msg: 'Your web server is not set up properly to resolve "/.well-known/caldav/". Further information can be found in our <a target="_blank" href="http://example.org/admin-setup-well-known-URL">documentation</a>.',
-                                       type: OC.SetupChecks.MESSAGE_TYPE_ERROR
+                                       type: OC.SetupChecks.MESSAGE_TYPE_INFO
                                }]);
                                done();
                        });