aboutsummaryrefslogtreecommitdiffstats
path: root/settings/Controller/CheckSetupController.php
Commit message (Collapse)AuthorAgeFilesLines
* Move settings to an appChristoph Wurst2019-09-281-704/+0
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* Fix redirect after rescanFailedIntegrityCheck to "Overview" pageSven Strickroth2019-07-051-1/+1
| | | | | | The link of the rescanFailedIntegrityCheck link is on the sub page "Overview". After clicking the link, the user is, however, redirected to the "Basic settings" page. Signed-off-by: Sven Strickroth <email@cs-ware.de>
* Do not show a internet connectivity warning if internet access is disabledChristoph Wurst2019-06-271-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove recommendation for opcache on CLIMorris Jobke2019-05-091-4/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix setupcheck for intl moduleDaniel Kesselberg2019-04-211-1/+1
| | | | | | | | A polyfill for intl is loaded very early (somewhere in base). Polyfill defines grapheme_strlen as function if intl extension is not loaded. The check here is always true because there is a function with that name. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Remove unused member "util"Joas Schilling2019-03-211-4/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Trigger warning if empty array or false and X-Forwarded-Host is presentDaniel Kesselberg2019-03-201-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Make check for empty trusted proxies more strictDaniel Kesselberg2019-03-201-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Show a setup warning in case S3 object storage is used as primary storageMorris Jobke2019-03-081-0/+37
| | | | | | * checks for at least 50 GB of free space Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add setup check for missing UTF8MB4 on mysqlMorris Jobke2019-02-281-0/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Warning if x-forwarded-host present but trusted_proxies emptyDaniel Kesselberg2019-02-171-1/+6
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Remove check for outdated cachesDaniel Kesselberg2019-01-021-20/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add setup check for pending bigint conversionMorris Jobke2018-12-051-0/+36
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #12821 from ↵Morris Jobke2018-12-051-2/+24
|\ | | | | | | | | nextcloud/feature/12767/add-setup-check-for-php-module Add setup check for recommended PHP modules (i.e. Imagick, intl)
| * Update casing of PHP inside method nameMorris Jobke2018-12-051-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Add setup check for recommended PHP modules (i.e. Imagick, intl)Morris Jobke2018-12-051-0/+22
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | PHP 7.0 is end of lifeMorris Jobke2018-12-041-1/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make connectivity check domains configurableSylvia van Os2018-11-221-5/+3
| | | | Signed-off-by: Sylvia van Os <sylvia@hackerchick.me>
* Use the proper default valuesMorris Jobke2018-11-191-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix the warning appearing check setup when mail_smtpmode is not configured.Marc Peña Segarra2018-11-111-1/+1
| | | | Closes #11107
* Update logic for forwardedForHeadersWorkingDaniel Kesselberg2018-10-251-4/+3
| | | | | | | | As discussed in https://github.com/nextcloud/server/issues/11594 when discovering if x-forwarded-for is working properly its not possible to use getRemoteAddr because the "client ip" is returned. For this check the ip of the last hop would be required. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Use numeric placeholders if there are multiple, so that RTL languages can ↵Joas Schilling2018-10-091-2/+2
| | | | | | operate better Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #11091 from nextcloud/bugfix/11088/cannot-read-passwdblizzz2018-09-131-4/+4
|\ | | | | Remove posix_getpwuid and compare only userid
| * Add int-typehintDaniel Kesselberg2018-09-121-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * Remove posix_getpwuid and compare only useridDaniel Kesselberg2018-09-061-4/+4
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #10840 from webfoersterei/refactor/5530-urandom-checkJoas Schilling2018-09-131-12/+14
|\ \ | |/ |/| Refactor secure randomness check
| * Allow any Random generator that implements ISecureRandom for setupCheckTimo Förster2018-08-241-3/+3
| | | | | | | | Signed-off-by: Timo Förster <tfoerster@webfoersterei.de>
| * Change check if secure randomness is possible.Timo Förster2018-08-241-12/+14
| | | | | | | | Signed-off-by: Timo Förster <tfoerster@webfoersterei.de>
* | Fix path when app has wrong permissionDaniel Kesselberg2018-08-301-6/+5
|/ | | | | | Replace slow array function used in loop: https://github.com/kalessil/phpinspectionsea/blob/master/docs/performance.md#slow-array-function-used-in-loop Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Adds license to files. Updates the branch.Michael Weimann2018-08-201-0/+51
|\ | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Excludes not writable app roots from the directory permission checkMichael Weimann2018-08-091-10/+30
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Adds a setup check for app directory permissions.Michael Weimann2018-08-091-1/+32
| | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Adds a memory limit warning for console commands if the limit is below the ↵Michael Weimann2018-08-201-11/+1
| | | | | | | | | | | | recommended value Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | Adds a setup check for the memory limitMichael Weimann2018-08-201-2/+18
|/ | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Fix detection if opcache extension is loadedMorris Jobke2018-07-111-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix testsMorris Jobke2018-07-111-1/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* opcache module checkCthulhux2018-07-111-9/+8
| | | | | | Improved the speed of isOpcacheProperlySetup() (instant return instead of continuing when we're already failed), added a check for the opcache extension itself. Potentially fixes #9410 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add warning to setup checks if the default mailer is still phpRoeland Jago Douma2018-07-041-0/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* If cronErros is empty json_decode will return NULLRoeland Jago Douma2018-06-191-1/+11
| | | | | | Fixes #9867 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge all setup checks into one controllerMorris Jobke2018-06-131-2/+96
| | | | | | * renamed hasMissingIndexes to missingIndexes Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #9836 from ↵Morris Jobke2018-06-131-0/+6
|\ | | | | | | | | nextcloud/feature/noid/merge-tips-and-tricks-into-setup-checks Merge tips & tricks section into setup checks
| * Merge tips & tricks section into setup checksMorris Jobke2018-06-131-0/+6
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix wrong hint about missing indexesMorris Jobke2018-06-131-5/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add a hint that some indexes are not added yetMorris Jobke2018-06-061-12/+23
| | | | | | | | | * gives the admin a chance to discover the missing indexes and improve the performance of the instance without digging through the manual * nicely integrated in the setup checks where this kind of hints belong to * also adds an option to integrate this from an app based on events * fix style of setting warnings Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Ping more privacy respecting organizationsRoeland Jago Douma2018-04-051-3/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8365 from nextcloud/fix-phpdocMorris Jobke2018-02-151-1/+1
|\ | | | | Fix typo in PHPDoc
| * Fix typo in PHPDocMorris Jobke2018-02-151-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove unused import statementsMorris Jobke2018-02-141-1/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add warning regarding freetype supportRoeland Jago Douma2017-12-131-0/+9
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Show hint that PHP 5.6 will not be supported in Nextcloud 14 anymoreMorris Jobke2017-12-081-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>