diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-06-20 18:50:56 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-06-20 18:50:56 +0200 |
commit | 8abf6e0ed1c50c1ace8e83bd5940ae7156726ba4 (patch) | |
tree | 11aad8ca1c57a01edbb5ae754110d0c61c8e4f4e /core | |
parent | 555a3b597ecca723c9ba25ed9d2b8965bfe92cc9 (diff) | |
download | nextcloud-server-8abf6e0ed1c50c1ace8e83bd5940ae7156726ba4.tar.gz nextcloud-server-8abf6e0ed1c50c1ace8e83bd5940ae7156726ba4.zip |
fixed code
Diffstat (limited to 'core')
-rw-r--r-- | core/command/app/checkcode.php | 4 | ||||
-rw-r--r-- | core/command/db/converttype.php | 2 | ||||
-rw-r--r-- | core/command/encryption/changekeystorageroot.php | 2 | ||||
-rw-r--r-- | core/command/encryption/decryptall.php | 2 | ||||
-rw-r--r-- | core/command/encryption/encryptall.php | 2 | ||||
-rw-r--r-- | core/command/maintenance/install.php | 2 | ||||
-rw-r--r-- | core/command/upgrade.php | 6 | ||||
-rw-r--r-- | core/controller/setupcontroller.php | 2 | ||||
-rw-r--r-- | core/js/setupchecks.js | 2 | ||||
-rw-r--r-- | core/js/tests/specs/setupchecksSpec.js | 2 | ||||
-rw-r--r-- | core/skeleton/welcome.txt | 2 | ||||
-rw-r--r-- | core/templates/singleuser.user.php | 2 |
12 files changed, 15 insertions, 15 deletions
diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php index 78f4390e70a..84dbb94998e 100644 --- a/core/command/app/checkcode.php +++ b/core/command/app/checkcode.php @@ -132,11 +132,11 @@ class CheckCode extends Command { }); $infoChecker->listen('InfoChecker', 'missingRequirement', function($minMax) use ($output) { - $output->writeln("<comment>ownCloud $minMax version requirement missing (will be an error in ownCloud 11 and later)</comment>"); + $output->writeln("<comment>Nextcloud $minMax version requirement missing (will be an error in the future)</comment>"); }); $infoChecker->listen('InfoChecker', 'duplicateRequirement', function($minMax) use ($output) { - $output->writeln("<error>Duplicate $minMax ownCloud version requirement found</error>"); + $output->writeln("<error>Duplicate $minMax Nextcloud version requirement found</error>"); }); $infoChecker->listen('InfoChecker', 'differentVersions', function($versionFile, $infoXML) use ($output) { diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php index 864499dcce0..bbefbe17585 100644 --- a/core/command/db/converttype.php +++ b/core/command/db/converttype.php @@ -60,7 +60,7 @@ class ConvertType extends Command { protected function configure() { $this ->setName('db:convert-type') - ->setDescription('Convert the ownCloud database to the newly configured one') + ->setDescription('Convert the database to the newly configured one') ->addArgument( 'type', InputArgument::REQUIRED, diff --git a/core/command/encryption/changekeystorageroot.php b/core/command/encryption/changekeystorageroot.php index 801a08b42a8..3213665fc81 100644 --- a/core/command/encryption/changekeystorageroot.php +++ b/core/command/encryption/changekeystorageroot.php @@ -142,7 +142,7 @@ class ChangeKeyStorageRoot extends Command { $result = $this->rootView->file_put_contents( $newRoot . '/' . Storage::KEY_STORAGE_MARKER, - 'ownCloud will detect this folder as key storage root only if this file exists' + 'Nextcloud will detect this folder as key storage root only if this file exists' ); if ($result === false) { diff --git a/core/command/encryption/decryptall.php b/core/command/encryption/decryptall.php index 0a126db5b17..faf5501918b 100644 --- a/core/command/encryption/decryptall.php +++ b/core/command/encryption/decryptall.php @@ -128,7 +128,7 @@ class DecryptAll extends Command { } $output->writeln("\n"); - $output->writeln('You are about to start to decrypt all files stored in your ownCloud.'); + $output->writeln('You are about to start to decrypt all files stored in your Nextcloud.'); $output->writeln('It will depend on the encryption module and your setup if this is possible.'); $output->writeln('Depending on the number and size of your files this can take some time'); $output->writeln('Please make sure that no user access his files during this process!'); diff --git a/core/command/encryption/encryptall.php b/core/command/encryption/encryptall.php index 02f74a9dea4..1336f3c2b9f 100644 --- a/core/command/encryption/encryptall.php +++ b/core/command/encryption/encryptall.php @@ -108,7 +108,7 @@ class EncryptAll extends Command { } $output->writeln("\n"); - $output->writeln('You are about to start to encrypt all files stored in your ownCloud.'); + $output->writeln('You are about to start to encrypt all files stored in your Nextcloud.'); $output->writeln('It will depend on the encryption module you use which files get encrypted.'); $output->writeln('Depending on the number and size of your files this can take some time'); $output->writeln('Please make sure that no user access his files during this process!'); diff --git a/core/command/maintenance/install.php b/core/command/maintenance/install.php index 12a61d6341a..266b50a3fea 100644 --- a/core/command/maintenance/install.php +++ b/core/command/maintenance/install.php @@ -46,7 +46,7 @@ class Install extends Command { protected function configure() { $this ->setName('maintenance:install') - ->setDescription('install ownCloud') + ->setDescription('install Nextcloud') ->addOption('database', null, InputOption::VALUE_REQUIRED, 'Supported database type', 'sqlite') ->addOption('database-name', null, InputOption::VALUE_REQUIRED, 'Name of the database') ->addOption('database-host', null, InputOption::VALUE_REQUIRED, 'Hostname of the database', 'localhost') diff --git a/core/command/upgrade.php b/core/command/upgrade.php index a60eee9e327..562839e80b9 100644 --- a/core/command/upgrade.php +++ b/core/command/upgrade.php @@ -253,8 +253,8 @@ class Upgrade extends Base { return self::ERROR_SUCCESS; } else if($this->config->getSystemValue('maintenance', false)) { - //Possible scenario: ownCloud core is updated but an app failed - $output->writeln('<warning>ownCloud is in maintenance mode</warning>'); + //Possible scenario: Nextcloud server is updated but an app failed + $output->writeln('<warning>Nextcloud is in maintenance mode</warning>'); $output->write('<comment>Maybe an upgrade is already in process. Please check the ' . 'logfile (data/owncloud.log). If you want to re-run the ' . 'upgrade procedure, remove the "maintenance mode" from ' @@ -262,7 +262,7 @@ class Upgrade extends Base { , true); return self::ERROR_MAINTENANCE_MODE; } else { - $output->writeln('<info>ownCloud is already latest version</info>'); + $output->writeln('<info>Nextcloud is already latest version</info>'); return self::ERROR_UP_TO_DATE; } } diff --git a/core/controller/setupcontroller.php b/core/controller/setupcontroller.php index f25c6f39a0b..48f62be80e4 100644 --- a/core/controller/setupcontroller.php +++ b/core/controller/setupcontroller.php @@ -105,7 +105,7 @@ class SetupController { public function loadAutoConfig($post) { if( file_exists($this->autoConfigFile)) { - \OCP\Util::writeLog('core', 'Autoconfig file found, setting up ownCloud…', \OCP\Util::INFO); + \OCP\Util::writeLog('core', 'Autoconfig file found, setting up Nextcloud…', \OCP\Util::INFO); $AUTOCONFIG = array(); include $this->autoConfigFile; $post = array_merge ($post, $AUTOCONFIG); diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 2995802ad96..72e5c529a38 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -123,7 +123,7 @@ } if(!data.forwardedForHeadersWorking) { messages.push({ - msg: t('core', 'The reverse proxy headers configuration is incorrect, or you are accessing ownCloud from a trusted proxy. If you are not accessing ownCloud from a trusted proxy, this is a security issue and can allow an attacker to spoof their IP address as visible to ownCloud. Further information can be found in our <a target="_blank" href="{docLink}">documentation</a>.', {docLink: data.reverseProxyDocs}), + msg: t('core', 'The reverse proxy headers configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If you are not accessing Nextcloud from a trusted proxy, this is a security issue and can allow an attacker to spoof their IP address as visible to Nextcloud. Further information can be found in our <a target="_blank" href="{docLink}">documentation</a>.', {docLink: data.reverseProxyDocs}), type: OC.SetupChecks.MESSAGE_TYPE_WARNING }); } diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index e0293d0c031..0d7bdf509bf 100644 --- a/core/js/tests/specs/setupchecksSpec.js +++ b/core/js/tests/specs/setupchecksSpec.js @@ -320,7 +320,7 @@ describe('OC.SetupChecks tests', function() { async.done(function( data, s, x ){ expect(data).toEqual([{ - msg: 'The reverse proxy headers configuration is incorrect, or you are accessing ownCloud from a trusted proxy. If you are not accessing ownCloud from a trusted proxy, this is a security issue and can allow an attacker to spoof their IP address as visible to ownCloud. Further information can be found in our <a target="_blank" href="https://docs.owncloud.org/foo/bar.html">documentation</a>.', + msg: 'The reverse proxy headers configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If you are not accessing Nextcloud from a trusted proxy, this is a security issue and can allow an attacker to spoof their IP address as visible to Nextcloud. Further information can be found in our <a target="_blank" href="https://docs.owncloud.org/foo/bar.html">documentation</a>.', type: OC.SetupChecks.MESSAGE_TYPE_WARNING }]); done(); diff --git a/core/skeleton/welcome.txt b/core/skeleton/welcome.txt index c86eaf91bbe..52927111416 100644 --- a/core/skeleton/welcome.txt +++ b/core/skeleton/welcome.txt @@ -1,4 +1,4 @@ -Welcome to your ownCloud account! +Welcome to your Nextcloud account! This is just an example file for developers and git users. The packaged and released versions will come with better examples. diff --git a/core/templates/singleuser.user.php b/core/templates/singleuser.user.php index bf076eb8d61..ba01c9385f2 100644 --- a/core/templates/singleuser.user.php +++ b/core/templates/singleuser.user.php @@ -1,6 +1,6 @@ <ul> <li class='update'> - <?php p($l->t('This ownCloud instance is currently in single user mode.')) ?><br><br> + <?php p($l->t('This Nextcloud instance is currently in single user mode.')) ?><br><br> <?php p($l->t('This means only administrators can use the instance.')) ?><br><br> <?php p($l->t('Contact your system administrator if this message persists or appeared unexpectedly.')) ?> <br><br> |