aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Controller/CheckSetupController.php
Commit message (Collapse)AuthorAgeFilesLines
...
* ProgressCarl Schwan2023-10-191-7/+0
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add api to register setup checksCarl Schwan2023-10-191-3/+15
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* enh(db): provide database providers via APIAnna Larch2023-09-191-2/+2
| | | | | | | | | To avoid leaking internals (OC), wrap the getDatabasePlatform and provide the associated constants fixes https://github.com/nextcloud/server/issues/30877 Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(CardDAV): only run upgrade sync if 1000 users or lessAnna Larch2023-08-261-0/+3
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* feat(admin): Show an error when the admin is throttledJoas Schilling2023-08-211-0/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(memcache): Fix comparison of Memcache configs to classesJoas Schilling2023-08-161-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(db)!: Remove private legacy event because we can not keep itJoas Schilling2023-07-241-21/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(dispatcher): Add typed event for "db:add-missing-primary-keys"Joas Schilling2023-07-241-0/+17
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(dispatcher): Add typed event for "db:add-missing-columns"Joas Schilling2023-07-241-3/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #38606 from fsamapoor/replace_strpos_calls_in_settings_appDaniel2023-07-241-3/+3
|\ | | | | Refactors "strpos" calls in /apps/settings
| * Merge branch 'master' into replace_strpos_calls_in_settings_appFaraz Samapoor2023-06-121-11/+0
| |\ | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
| * | Refactors "strpos" calls in /apps/settings to improve code readability.Faraz Samapoor2023-06-051-4/+4
| | | | | | | | | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* | | feat: Add public event for missing indicesJulius Härtl2023-07-141-0/+23
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | settings: Add OpenAPI specjld31032023-07-101-0/+3
| |/ |/| | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* | feat: remove check for OpenSSL 1.0.1d and 1.0.2bDaniel Kesselberg2023-06-041-11/+0
|/ | | | | | | OpenSSL 1.0.1d: 2013-02-05 OpenSSL 1.0.2b: 2015-06-11 Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #37451 from Fenn-CS/fix/36437/deprecate-php-8.0Andy Scherzinger2023-04-191-1/+1
|\ | | | | Deprecate PHP8.0
| * Deprecate PHP8.0fenn-cs2023-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHP8.0 would stop receiving security support on 26 Nov 2023 hence this deprecation. Next, is the eventual drop of PHP8.0 before its EOL. This commit also updates the message type from INFO to WARNING if the php on file has reached its EOL. See: https://www.php.net/supported-versions.php Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* | add an admin check for db file lockingSimon L2023-04-171-0/+6
| | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | Fix types for reading and writing config valuesjld31032023-04-051-1/+1
|/ | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* check-setup: recommend exif extensionVarun Patil2023-03-241-0/+6
| | | | | | | JPEG previews are not correctly oriented when exif is not enabled along with other issues. There's no easy way to discover this either. Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* Check for opcache.file_cache_only=1MichaIng2023-02-151-0/+2
| | | | | | which disables shared memory based OPcache with disk file cache used only, if enabled. In this case, "opcache.memory_consumption" and others do not apply, so show the correct performance recommendation to enable memory cache. Signed-off-by: MichaIng <micha@dietpi.com>
* Fix interned strings buffer check if 0 free bytesMichaIng2023-01-231-4/+4
| | | | | | | With #32902 it was meant to be avoided to recommend raising the interned strings buffer size above a quarter of the total OPcache size. This works as long as there is at least 1 byte free, but does not apply if the buffer is filled completely. This commit switches the conditions so that the interned strings buffer size must be smaller than a quarter of the total OPcache size for the warning to be shown. That the buffer must be either filled completely or by more than 90% remains untouched. Signed-off-by: MichaIng <micha@dietpi.com>
* Remove workarounds specific to 7.4Côme Chilliet2023-01-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #35024 from nextcloud/deprecate/php74Simon L2022-11-141-1/+1
|\ | | | | Deprecate PHP7.4
| * Deprecate PHP7.4Christoph Wurst2022-11-101-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #34485 from ↵Robin Appelman2022-11-111-0/+1
|\ \ | |/ |/| | | | | michaelkuhn/hasBigIntConversionPendingColumns-files_trash Fix hasBigIntConversionPendingColumns missing files_trash
| * Fix hasBigIntConversionPendingColumns missing files_trashMichael Kuhn2022-10-091-0/+1
| | | | | | | | | | | | | | The two tables seem to have gone out of sync, causing the web interface to miss `files_trash.auto_id` not being a bigint. Signed-off-by: Michael Kuhn <github@ikkoku.de>
* | Limit-number-of-concurrent-preview-generationsszaimen2022-11-051-0/+5
| | | | | | | | | | Signed-off-by: Bowen Ding <dbw9580@live.com> Signed-off-by: szaimen <szaimen@e.mail.de>
* | Harden some PHP functionsacsfer2022-10-041-5/+5
|/ | | | | | To avoid things like https://github.com/nextcloud/server/issues/26034 Signed-off-by: Louis Chemineau <louis@chmn.me>
* Update CheckSetupController.phptimm2k2022-09-141-0/+1
| | | | | file_metadata.id needs to be bigint(20). Signed-off-by: timm2k <timm2k@gmx.de>
* add a setup check for 64 bitszaimen2022-07-131-0/+9
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* do not display the buffer_size info if the size is already set to a certain ↵szaimen2022-06-171-1/+5
| | | | | | | threshold Signed-off-by: szaimen <szaimen@e.mail.de> Co-Authored-By: MichaIng <micha@dietpi.com>
* l10n: Change to a capital letterValdnet2022-06-031-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* l10n: Improve grammarrakekniven2022-04-271-1/+1
| | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* Add OPcache recommendations to TransifexMichaIng2022-03-221-8/+8
| | | | | | Fixes: https://github.com/nextcloud/server/issues/30941 Signed-off-by: MichaIng <micha@dietpi.com>
* Merge pull request #31430 from ↵Simon L2022-03-101-8/+7
|\ | | | | | | | | nextcloud/enh/31429/improve-overwrite-cli-url-check Validate `overwrite.cli.url` to be a url in setup check
| * improve overwrite cli url setup checkszaimen2022-03-091-8/+7
| | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | Merge pull request #31470 from nextcloud/enh/13099/allow-disable-imagick-warningJohn Molakvoæ2022-03-081-14/+21
|\ \
| * | allow to disable the imagick warningszaimen2022-03-071-14/+21
| | | | | | | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de> Co-Authored-By: MichaIng <micha@dietpi.com>
* | | allow adding protocol to domains in 'connectivity_check_domains' configJulien Veyssier2022-03-071-8/+13
|/ / | | | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* | Merge pull request #31267 from nextcloud/enh/docs-link-for-opcache-recommendsMichaIng2022-03-041-1/+1
|\ \ | | | | | | Add Nextcloud docs link to OPcache recommends
| * | Add Nextcloud docs link to OPcache recommendsMichaIng2022-03-031-1/+1
| |/ | | | | | | | | | | | | | | A link to the Nextcloud documentation is currently only shown when the OPcache module is not loaded at all. This commit moves the link to the generic text above the individual recommendations list. Additionally remove the obsolete phpOpcacheDocumentation entry from test data arrays, which is not passed anymore by the backend. Signed-off-by: MichaIng <micha@dietpi.com>
* / Fix permittedPath comparisonMickey Knox2022-03-021-1/+1
|/ | | | Signed-off-by: Mickey Knox <mickey@netfreaks.org>
* Setup warning for invalid LDAP user or group UUIDs.Arthur Schiwon2022-02-101-2/+16
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* show if the mail server settings are not set or verifiedszaimen2022-02-031-0/+15
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Avoid zero division in setup checksMichaIng2022-01-111-3/+12
| | | | | | Fixes: https://github.com/nextcloud/server/issues/30532 Signed-off-by: MichaIng <micha@dietpi.com>
* Enhance and complement OPcache setup checksMichaIng2021-12-191-24/+49
| | | | | | | | | | | | | | The current OPcache recommendations match the PHP defaults, but the values are much higher than required to run Nextcloud, even with a high number of installed apps. On the other hand, when other applications use the same OPcache instance, the recommended values might not be sufficient. Accurate recommendations need to take into account actual OPcache usage. With this commit, recommendations are shown to raise the config value if more than 90% of max cache size or number of keys is used. The checks whether the module is loaded and whether the OPcache is properly configured have been merged into a single function. This allowed to reduce the overhead of OPcache configuration checks when the module is not loaded. A check has been added whether Nextcloud is permitted to use the OPcache API. Without this, inconsistencies during core or app upgrades may cause errors and OPcache usage cannot be determined for the new usage based checks. OPcache usage based checks are skipped when Nextcloud is not permitted to use the API. Signed-off-by: MichaIng <micha@dietpi.com>
* Make sure trusted_proxies is an arrayJoas Schilling2021-11-091-3/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Show warning on admin settings pageVitor Mattos2021-10-231-1/+15
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Deprecate PHP7.3 for Nextcloud 23Christoph Wurst2021-10-181-1/+1
| | | | | | | * 7.3 reaches EOL shortly after the release of 23.0.0 * Nextcloud 24 will require PHP7.4 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>