Commit Graph

110 Commits (37dc2473cf84b9557ff6bd78da4bafe2ebfa6445)

Author SHA1 Message Date
skjnldsv 6b3c02746b fix(settings): psalm PhpMaxFileSize setup check warning
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 19:08:27 +07:00
skjnldsv 1c480f55a2 feat(settings): add big file upload setup checks
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 16:22:41 +07:00
Git'Fellow 356c49d026 fix: typo
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-01 18:03:36 +07:00
Git'Fellow 48309c7bc7 fix: check both CLI and value
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-01 18:03:36 +07:00
Git'Fellow 1c0bf29a2d fix(setupchecks): Skip checking for OPcache if running from CLI
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-01 18:03:36 +07:00
Anna Larch e95a46daac fix(caldav): lower scheduling table size warning
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-07-25 20:16:38 +07:00
Git'Fellow 936de57201
Merge pull request #46297 from nextcloud/backport/46174/stable28
[stable28] fix(IntegrityCheck): Ensure the check is run if no results are available
2024-07-09 18:22:31 +07:00
Ferdinand Thiessen 90d3160185
fix(IntegrityCheck): Ensure the check is run if no results are available
If there are no cached results the current implementation was also returning an empty array,
but this was the same as when there was a successful run.
So to distinguish this we return `null` if there are *no* results.
In this case we need to rerun the integrity checker.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-05 12:42:29 +07:00
Arthur Schiwon fa55d97dde
fix(SetupCheck): jsm test shall not give up with first no-response
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-04 13:08:31 +07:00
Daniel Kesselberg 03534247d3 fix(setupchecks): skip check when disk_free_space is disabled
Make it easier to discover that the check failed because disk_free_space is disabled.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-02 11:59:01 +07:00
Robin Appelman 5a9e8e7d3f feat: add setup check for needed mimetype migrations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-21 11:37:13 +07:00
Anna Larch 57f7f0278e fix(caldav): automatically delete outdated scheduling objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-06-03 17:31:03 +07:00
Josh Richards 166b8b8135 fix(setupCheck): Only warn when memcache present w/o memcached
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-05-16 10:31:08 +07:00
Côme Chilliet 253167626a fix(setupchecks): Fix opcache buffer check
This was broken because of operator precedence.
Now using vars to make it readable and correct at the same time.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-05-06 18:02:57 +07:00
Benjamin Gaussorgues c4370b625b
Merge pull request #44495 from nextcloud/backport/44483/stable28 2024-04-17 11:18:21 +07:00
Ferdinand Thiessen 3203db8160 fix(settings): Also verify that `trusted_proxies` only contains IP addresses (with range)
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-26 17:41:06 +07:00
Côme Chilliet 71e051079b
Migrate debug mode check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:11:19 +07:00
Côme Chilliet 1ad788d5f0
Rename to "Push service" and enable on all instances to avoid trouble
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:11:11 +07:00
Côme Chilliet 44c0b7d9b4
Migrate fair use of free push service check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:11:06 +07:00
Côme Chilliet b92024efa0
Merge writable temporary space check with the s3 one, and improve
It will now show available space and path of both PHP and Nextcloud
 temporary directories if they differ.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:59 +07:00
Côme Chilliet 9dcf13fa12
Migrate available temp space check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:49 +07:00
Côme Chilliet 28dafd9413
Migrate MySQL utf8mb4 check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:39 +07:00
Côme Chilliet bfb451c883
Remove bz2 leftover description
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:30 +07:00
Côme Chilliet 873912c3b9
Add missing recommended modules gmp and bcmath
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:24 +07:00
Côme Chilliet ec0a9acef4
Fix description for exif PHP module
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:18 +07:00
Côme Chilliet b2cc51cf32
Merge gmp and bcmath module checks with the existing PHP modules setup check
Also add description for why each module is recommended

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:13 +07:00
Côme Chilliet b31d51639d
Migrate set_time_limit setup check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:03 +07:00
Côme Chilliet 06952c4ef2
Migrate memcached PHP module setup check to new API
Merged it with the other existing memcache setup check as it fits

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:08:49 +07:00
Ferdinand Thiessen 3df77839b7 fix(settings): Disable SSL cert check for JavaScript modules SetupCheck
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-14 23:38:44 +07:00
J0WI d8ba5f621f Remove disputed bz2 check
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-02-02 15:34:36 +07:00
Ferdinand Thiessen 71e9036e03 fix(settings): Allow to connect to local address when checking for `.mjs` support
Also reduce the severity in case of a failed check to warning.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 14:12:29 +07:00
Côme Chilliet 27514adef4
Migrate Cron checks to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:23 +07:00
Côme Chilliet 2bc1f78af5
Migrate overwrite.cli.url setup check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:10 +07:00
Côme Chilliet 7305fd7b48
Remove CSRF check from code integrity rescan
Did not find a way to get a valid token from SetupCheck

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:49 +07:00
Côme Chilliet 44b8cf650c
Use highlight rich objecttype to render links in CodeIntegrity setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:28 +07:00
Côme Chilliet e35fa737e4
Migrate code integrity to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:54:06 +07:00
Benjamin Gaussorgues b74a59b331
Merge pull request #42795 from nextcloud/backport/setupchecks/stable28
[stable28] Migrate setup checks to new SetupCheck API
2024-01-16 16:55:45 +07:00
Ferdinand Thiessen 5406ffb3ea
Update apps/settings/lib/SetupChecks/JavaScriptModules.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-15 18:21:54 +07:00
Ferdinand Thiessen fcdc53a2ba
enh(settings): Add SetupCheck to ensure webserver correctly serves `.mjs` files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-15 18:21:53 +07:00
Côme Chilliet 14d132a4e6
Migrate app dir owner check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:31:01 +07:00
Côme Chilliet 3de96ac17f
Improve PHP opcache setup check and reduce level in some cases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:30:00 +07:00
Côme Chilliet 4cfab5dc7c
Fix small psalm issue
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:55 +07:00
Côme Chilliet 26d1d84e0c
Remove unsupported <code> tag and use quotes instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:50 +07:00
Côme Chilliet 265f6dc136
Migrate opcache check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:40 +07:00
Côme Chilliet ca63726a89
Merge SQlite warning to existing SupportedDatabase setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:28 +07:00
Côme Chilliet 004d3c4bd0
Migrate away from deprecated doctrine/dbal getName function
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:18 +07:00
Côme Chilliet 4342cf4db8
Migrate database pending bigint conversions check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:13 +07:00
Joas Schilling 81ce0d1ac6 feat(setupcheck): Add setup check for maintenance_window_start config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-18 14:35:27 +07:00
Côme Chilliet e57d31ffb0 Missing things in database should be warning, not info
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:25 +07:00
Côme Chilliet b75affa793 Switch from deprecated hasPrimaryKey to getPrimaryKey function
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:25 +07:00