Benjamin Gaussorgues
c4370b625b
Merge pull request #44495 from nextcloud/backport/44483/stable28
2024-04-17 11:18:21 +02:00
Ferdinand Thiessen
2392602c30
Merge pull request #44268 from nextcloud/backport/setupchecks-3/stable28
...
[stable28] Migrate setup checks to new API - round 3
2024-04-16 15:19:07 +02:00
Julien Veyssier
52de9ea515
fix: when no AI setting has been set, make sure the selected text processing provider is the same as the one that will be used
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-04-08 10:36:55 +02:00
Joas Schilling
74b952a7aa
fix(security): Update expiration date in security.txt
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-28 11:05:34 +00: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 +00: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 +01: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 +01: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 +01: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 +01:00
Côme Chilliet
11cde3096a
Remove old version of temporary space setup check and fix tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-03-18 11:10:54 +01: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01: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 +01:00
Ferdinand Thiessen
0bea5146f4
fix(settings): posix_getpwuid can return false which should not be accessed using array operation
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-13 16:17:55 +00:00
Arthur Schiwon
a23cf50d5e
fix(admin role): fix old and wrong way to determine whether user is admin
...
- fixes Settings knowing who is an admin of non-local group backend groups
- obsoletes and removes a little old, deprecated code
- double checks proper parameter type on Group\Manager::isAdmin
- also fixes legacy OC_User code to check whether user is an admin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-02-27 23:57:45 +01: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 +00:00
Simon L
257b4fb683
fix psalm
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-08 13:40:22 +00:00
Simon L
01302f770f
do not break personal settings page is viewer is not there
...
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-08 13:40:22 +00:00
J0WI
d8ba5f621f
Remove disputed bz2 check
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-02-02 15:34:36 +01:00
Ferdinand Thiessen
193bb176d5
fix(settings): Disable renaming for tokens marked to be wiped
...
This otherwise a WipeException will be thrown when trying to rename
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-29 17:47:46 +00: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 +00:00
provokateurin
98d64ea05d
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:34 +01:00
Côme Chilliet
f9eeb285c9
Remove obsolete check of curl SSL version
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 10:02:42 +01: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 +01: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 +01: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 +01: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 +01: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 +01:00
Thomas Citharel
9034cc2e6f
Add data-active-section-type attribute to app-content settings section
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-17 09:48:05 +01: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 +01: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 +01: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 +01:00
Côme Chilliet
17dd695e0e
Migrate PHP imagick module check to new SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:31:13 +01: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 +01: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 +01: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 +01: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 +01:00
Côme Chilliet
e9ed7e7f9e
Remove unused properties from CheckSetupControllerTest
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:45 +01: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 +01: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 +01: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 +01: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 +01:00
Côme Chilliet
9e75c75f86
Use IToken from OCP instead of OC
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:01:00 +00:00
Côme Chilliet
63fbf90570
Suppress or fix psalm errors related to InvalidTokenException
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:01:00 +00:00
Côme Chilliet
360e7ffcca
Always catch OCP versions of authentication exceptions
...
And always throw OC versions for BC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 18:00:59 +00:00