Maksim Sukharev
b4f28b3c9e
fix: correctly count disabled users for subadmins
...
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-09-30 10:10:37 +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
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
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 +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
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
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 +07:00
provokateurin
98d64ea05d
refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 09:12:34 +07: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 +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
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
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 +07: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 +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
e9ed7e7f9e
Remove unused properties from CheckSetupControllerTest
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:29:45 +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
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
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 +07: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 +07: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 +07:00
1 Man Projects
7c40700491
Fix AppSettingsController.php overwriting currentLanguage
...
Fix for CurrentLanguage being overwritten by currentVersion thus breaking App-View
Signed-off-by: 1 Man Projects <reed@1manprojects.de>
2023-12-06 11:34:57 +07:00
Côme Chilliet
fc2467c18f
Migrate missing primary key database check to new API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:24 +07:00
Côme Chilliet
e48e67b0a4
Migrate missing index database check to new API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:23 +07:00
Côme Chilliet
d0a72a103d
Migrate missing column database check to new API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-04 16:23:23 +07:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +07:00
Côme Chilliet
0107c7ea24
Migrate Forwarded For Headers check to new API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 11:36:42 +07:00
Côme Chilliet
fe8b5d47ae
Migrate Bruteforce Throttle check to SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-13 16:26:59 +07:00
Côme Chilliet
7495236034
Migrate memory_limit check to new SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-13 15:55:46 +07:00
Côme Chilliet
00d3856b92
Revert "Migrate code integrity to SetupCheck API"
...
This reverts commit aa2d315d95d37b48752d0e92d0ce79913be1d4f1.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:04 +07:00
Côme Chilliet
0fd5ed9854
Migrate 32bit check to SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +07:00
Côme Chilliet
ac3da13b38
Migrate Freetype check to SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +07:00
Côme Chilliet
086d3ceecc
Migrate code integrity to SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +07:00
Côme Chilliet
147b29fca2
Migrate Randomness secure check to SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +07:00
Côme Chilliet
ddd13a90d8
Migrate memcache check to SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:02 +07:00
Côme Chilliet
6911dc30e6
Migrated both file locking checks to SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +07:00
Côme Chilliet
f9770b8ef2
Remove duplicate fileinfo PHP module check
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +07:00
Côme Chilliet
3c75075eba
Migrate database transaction level check to SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +07:00
Côme Chilliet
5957a2bf6b
Migrate email test to new SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +07:00
Côme Chilliet
506f3961ec
Remove duplicated ReadOnlyConfig setup check
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +07:00
Côme Chilliet
dec52f6979
Migrate getenv test to new SetupCheck API
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +07:00
Côme Chilliet
d0ed5ea2f3
Merge pull request #40889 from nextcloud/feat/check-for-more-php-modules
...
Check for more php modules
2023-10-26 19:13:28 +07:00
Joas Schilling
2b7f78fc2e
Merge pull request #40326 from nextcloud/enh/text-to-image-api
...
Implement TextToImage OCP API
2023-10-26 15:53:30 +07:00
Joas Schilling
db8e57a727
Don't duplicate notification warning
...
Ref https://github.com/nextcloud/notifications/pull/1699
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-26 09:46:28 +07:00
Côme Chilliet
1bdf952fde
Make sure that OC interfaces returns OC interfaces for backward compatibility
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:08:23 +07:00