Commit Graph

557 Commits (680f439f736e199576844cd2d3cc3854e95201af)

Author SHA1 Message Date
J0WI 1cb7ccfb45 Remove disputed bz2 check
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-01-15 23:45:47 +07:00
Ferdinand Thiessen 265e9060f8
Merge pull request #42436 from nextcloud/enh/add-mjs-setup-check
enh(settings): Add SetupCheck to ensure webserver correctly serves `.mjs` files
2024-01-15 18:21:42 +07:00
Côme Chilliet 24f8b04908
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-15 11:50:48 +07:00
Côme Chilliet 1c4d43923a
Use highlight rich objecttype to render links in CodeIntegrity setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 11:50:48 +07:00
Côme Chilliet f06b8da249
Migrate code integrity to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 11:50:38 +07:00
Andrey Borysenko 09ee265353
Add missing ProviderWithId check
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-01-14 17:58:00 +07:00
Julius Härtl 2df26608ef
Merge pull request #42649 from nextcloud/enh/machine-translation-provider-with-id 2024-01-11 21:50:50 +07:00
Côme Chilliet f789732922
Merge pull request #42640 from nextcloud/fix/fix-authentication-exceptions-2
Always catch OCP versions of authentication exceptions
2024-01-11 18:51:43 +07:00
Côme Chilliet 8fc39aeb1c Use IToken from OCP instead of OC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00
Côme Chilliet 95ea6188dc Suppress or fix psalm errors related to InvalidTokenException
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +07:00
Côme Chilliet eee9f1eec4 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 14:02:15 +07:00
Côme Chilliet d1f2add10c Migrate PHP imagick module check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 11:28:59 +07:00
Ferdinand Thiessen c5fbd969dd 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-10 11:58:51 +07:00
Ferdinand Thiessen 995b23e818 enh(settings): Add SetupCheck to ensure webserver correctly serves `.mjs` files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-10 11:58:51 +07:00
Marcel Klehr 1fd0c2979e enh(OCP\Translation): Add ITranslationProviderWithId
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 11:16:14 +07:00
Joas Schilling 2c815256f2
Merge pull request #42590 from nextcloud/add-settings-section-type-attribute
Add settings section type attribute on settings app-content section
2024-01-10 09:23:26 +07:00
Côme Chilliet 3d4c4f19b4
Migrate app dir owner check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 17:37:14 +07:00
Côme Chilliet 94d0399229
Improve PHP opcache setup check and reduce level in some cases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 16:03:53 +07:00
Côme Chilliet c92fbca6e6
Fix small psalm issue
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 15:09:09 +07:00
Côme Chilliet f6df5dae34
Remove unsupported <code> tag and use quotes instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 15:09:09 +07:00
Côme Chilliet 989b5ffbab
Remove unused properties from CheckSetupControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 15:09:09 +07:00
Côme Chilliet 3f13a1a47e
Migrate opcache check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 15:09:09 +07:00
Thomas Citharel c75fbf8a83
Add data-active-section-type attribute to app-content settings section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-05 09:58:46 +07:00
Marcel Klehr 53be798a70
Merge branch 'master' into enh/text-processing-provider-with-id 2023-12-19 16:14:13 +07:00
Marcel Klehr 928fee8ab4 enh(SpeechToText): Allow providers to declare a dynamic ID instead of using className
this allows AppAPI to register anonymous classes as SpeechToText providers

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 12:31:21 +07:00
Marcel Klehr 2e0141165a
Merge branch 'master' into enh/text-processing-provider-with-id
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 12:29:03 +07:00
Joas Schilling 26f4ec66af
feat(setupcheck): Add setup check for maintenance_window_start config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-18 11:29:38 +07:00
Benjamin Gaussorgues 208e6bc492 feat(settings): add occ commands to handle admin delegation
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-12-13 09:25:24 +07:00
Côme Chilliet 95ea46c99c Merge SQlite warning to existing SupportedDatabase setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-07 15:45:27 +07:00
1 Man Projects 6ef5958007
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-05 20:24:35 +07:00
Côme Chilliet 60bc97e543
Migrate away from deprecated doctrine/dbal getName function
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-28 14:08:10 +07:00
Côme Chilliet 51758117a7
Migrate database pending bigint conversions check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-28 14:07:47 +07:00
Côme Chilliet 9a1f5edb65 Missing things in database should be warning, not info
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +07:00
Côme Chilliet a0e365f6d2 Switch from deprecated hasPrimaryKey to getPrimaryKey function
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +07:00
Côme Chilliet 1b547c7db8 Migrate missing primary key database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +07:00
Côme Chilliet ad88c04f2d Migrate missing index database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +07:00
Côme Chilliet 2cb1c0f2dc Migrate missing column database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +07:00
Joas Schilling 011390aacb
Merge pull request #41640 from nextcloud/bugfix/noid/fix-memory-limit-setup-check
fix(setupcheck): Fix memory limit setup check
2023-11-27 06:39:57 +07:00
Arthur Schiwon c5caae1bf0
Merge pull request #41678 from nextcloud/branchoff/master-is-now-29
Master is now 29
2023-11-23 12:02:20 +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
Joas Schilling 61572c1985
fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 10:09:39 +07:00
Valdnet 318875a16e
Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-23 08:43:20 +07:00
Valdnet ea3865138f
Correct spelling
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-23 08:39:17 +07:00
Andy Scherzinger 83c6db44c7
Merge pull request #41642 from nextcloud/Valdnet-patch-1
Correct spelling of Brute Force and other fixes
2023-11-22 19:27:46 +07:00
Valdnet 0acd07c362
Change "brute force" to "brute-force"
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-22 14:22:47 +07:00
Benjamin Gaussorgues 0d8aa6894a
feat(search): hide user search if not on user list
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-22 08:47:53 +07:00
Valdnet 94e05ea919
Correct a typo
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:45:33 +07:00
Valdnet 519fad9206
Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:40:01 +07:00
Valdnet 6475f2f8be
Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:32:38 +07:00
Valdnet f5a40c2219
Correct spelling of Brute Force
Correcting the spelling of "Bruteforce" to "Brute Force"

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:19:16 +07:00
Joas Schilling 4fe363f882
fix(setupcheck): Fix memory limit setup check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-21 14:47:21 +07:00
Côme Chilliet 24c2c09aea
Merge pull request #41438 from nextcloud/feat/migrate-forwarded-for-headers-check
Migrate forwarded for headers check
2023-11-21 09:50:38 +07:00
Côme Chilliet ad372869bc
Fix tests for setupchecks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 18:03:15 +07:00
Ferdinand Thiessen 22163c60d4
enh(settings): Migrate admin settings for sharing to vue
This is required to get the fixes for a11y from `@nextcloud/vue`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-20 17:07:55 +07:00
Côme Chilliet 1f4e0927ba
Improve success messages for ForwarderForHeaders setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 16:12:19 +07:00
Côme Chilliet f023216cf4
Make it an error if address is not known and we are not in CLI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 15:52:28 +07:00
Côme Chilliet f47a2bbcae
Improve wrong configuration error message when we know it’s wrong.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 15:45:46 +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 0da05fc73b
Merge pull request #41435 from nextcloud/feat/migrate-bruteforce-throttle-check
Migrate bruteforce throttle check
2023-11-20 11:32:06 +07:00
Côme Chilliet 70acf44a45
Merge pull request #41086 from nextcloud/feat/migrate-memory-limit-setup-check
Migrate memory_limit check to new SetupCheck API
2023-11-14 10:50:31 +07:00
Benjamin Gaussorgues 8be988b645 Fix application search provider order
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-13 16:38:49 +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
Marcel Klehr f6d765fc1f fix: Use getId() in ArtificialIntelligence settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 16:47:22 +07:00
Côme Chilliet 86290dd888
Add missing dots in PhpModules setup check descriptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 14:15:47 +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 273f628c3d
Merge pull request #41083 from nextcloud/feat/improve-setup-checks-wording
Improve setup checks naming and improve database version check
2023-11-07 10:02:30 +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
Côme Chilliet 4249871817
Add links to documentation for PHP modules
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-26 16:16:39 +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
Marcel Klehr 35bf7fc94e fix(TextToImage): Fix copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:39:40 +07:00
Marcel Klehr 14d1c18665 en(TextToImage): Add getId method to IProvider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:26:47 +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 6b7d4b67d1
Improve setup checks naming and improve database version check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 11:40:03 +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
Marcel Klehr 9787f9dba0 enh(Text2Image): Add AI settings section to text2image
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 11:10:24 +07:00
Côme Chilliet 0c346849f3
Migrate missing PHP modules check to new API and improve it
Test all modules listed as required in our documentation

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 15:58:45 +07:00
Côme Chilliet 2e4d1549a4
Change SetupResult API to named constructors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +07:00
Côme Chilliet 11ebf469da
Remove useless var in apps/settings/lib/SetupChecks/CheckUserCertificates.php
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-10-19 11:44:03 +07:00
Côme Chilliet 6aa6f26427
Move NeedsSystemAddressBookSync to dav application where it’s registered
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +07:00
Côme Chilliet efa2dfa641
Add OCP interface for SetupCheckManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +07:00
Côme Chilliet bd37067821
Migrate InternetConnectivity check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +07:00
Côme Chilliet 05cb1415e1
Merge setupchecks from new API into old UI
This will allow migrating checks to the new API without touching the UI
 for now.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +07:00
Côme Chilliet fa3c0e4b1c
Fix description for SetupChecks/NeedsSystemAddressBookSync
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-10-19 11:44:01 +07:00
Côme Chilliet bec6c0a441
Migrate ReadOnlyConfig and DefaultPhoneRegionSet to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +07:00
Côme Chilliet 8bfa0935b4
Migrate NeedsSystemAddressBookSync to new ISetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +07:00
Côme Chilliet a4618cfea0
Move existing setup checks to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +07:00
Côme Chilliet b41b9cf4c0
Small cleanups in SetupCheck classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +07:00
Côme Chilliet a3ec716c33
Fix UI and add PhpOutdated check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +07:00