aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | chore: update RepairMimeTypes migrationfeat/zstJohn Molakvoæ (skjnldsv)2024-09-172-22/+23
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | fix(Storage): Document getOwner() can return falseprovokateurin2024-09-171-1/+1
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #48009 from ↵Côme Chilliet2024-09-169-37/+39
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/remove-references-to-deprected-storage-interface fix: Remove OCP\Files\Storage interface deprecated since version 9
| * | | chore: Fix encryption test use statementCôme Chilliet2024-09-161-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix: Fix other uses of removed Storage interfaceCôme Chilliet2024-09-162-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix: Remove OCP\Files\Storage interface deprecated since version 9Côme Chilliet2024-09-167-34/+34
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #46480 from nextcloud/fix/mailer-binaryfinder-fallbackRobin Appelman2024-09-161-1/+2
|\ \ \ \ | |/ / / |/| | | fix(Mailer): Fix sendmail binary fallback
| * | | fix(Mailer): Fix sendmail binary fallbackfix/mailer-binaryfinder-fallbackJosh2024-09-161-1/+2
| | |/ | |/| | | | | | | | | | | | | feat: add debug logging to sendmail binary finder Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | Merge pull request #46140 from nextcloud/fix-nc-env-inclusionRobin Appelman2024-09-161-0/+7
|\ \ \ | | | | | | | | fix(config): Add missing handling for `envCache` in `getKeys()`
| * | | Merge branch 'master' into fix-nc-env-inclusionfix-nc-env-inclusionRobin Appelman2024-09-16459-8274/+10496
| |\| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | fix(config): add envCache tests for getKeys()Josh Richards2024-07-081-0/+7
| | | | | | | | | | | | | | | | Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* | | | feat: Make `CheckServerResponseTrait` public and provide as ↵feat/make-setup-check-trait-publicFerdinand Thiessen2024-09-162-0/+252
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | `OCP\SetupCheck\CheckServerResponseTrait` This trait is used by other apps for creating setup checks, so we should provide it instead apps using private API. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #47852 from nextcloud/sharding-code-fixesJohn Molakvoæ2024-09-161-2/+2
|\ \ \
| * | | fix: misc code fixes around db shardingsharding-code-fixesRobin Appelman2024-09-092-14/+14
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #48008 from nextcloud/fix/entity/strict-typesKate2024-09-161-2/+7
|\ \ \ \
| * | | | fix(Entity): Fix magic setter call for custom strong typed settersfix/entity/strict-typesprovokateurin2024-09-151-2/+7
| | |_|/ | |/| | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | Merge pull request #48049 from nextcloud/refactor/void-testsAnna2024-09-16418-3112/+3112
|\ \ \ \ | | | | | | | | | | refactor: Add void return type to PHPUnit test methods
| * | | | refactor: Add void return type to PHPUnit test methodsChristoph Wurst2024-09-15418-3112/+3112
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #48046 from nextcloud/refactor/self-class-referenceAnna2024-09-151-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | refactor: Replace __CLASS__ with ::class references
| * | | | refactor: Replace __CLASS__ with ::class referencesrefactor/self-class-referenceChristoph Wurst2024-09-151-2/+2
| |/ / / | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / / / feat(db): switch from settype to castsfeat/switch-from-settype-to-castsAnna Larch2024-09-153-6/+6
|/ / / | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | | feat(PsrLoggerAdapter): Allow to use `Psr\Log\LogLevel` for `log` methodFerdinand Thiessen2024-09-141-0/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | There is the `Psr\Log\LogLevel` class defining loglevel constants, to be fully compatible we should at least support those logging levels. Moreover this is the last part that was still required from `ILogger` interface, as we did not have alternatives for the loglevel constants. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #47927 from nextcloud/fix/migrate-away-from-oc_appCôme Chilliet2024-09-136-14/+35
|\ \ \ | | | | | | | | Migrate away from OC_App to IAppManager
| * | | chore(tests): Fix Router test by mocking AppManager methods correctlyCôme Chilliet2024-09-131-1/+13
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | fix: Replace OC_App::getAllApps with a method in AppManagerCôme Chilliet2024-09-132-6/+2
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_AppCôme Chilliet2024-09-133-7/+20
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Merge pull request #47865 from ↵Côme Chilliet2024-09-131-6/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/admin_audit/enh/move-to-event-listeners-v2 Move admin_audit to proper event listeners v2
| * | | | feat: Add mimetype into BeforePreviewFetchedEvent eventThomas Citharel2024-09-101-6/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | | fix(config): Throw PreconditionException always when it didn't matchJoas Schilling2024-09-131-0/+36
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously even when the precondition did not match, the call "passed" when the after value was the expected one. This however can lead to race conditions, duplicate code excutions and other things. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #47685 from nextcloud/fix/move-apihelper-to-oc-namespaceCôme Chilliet2024-09-125-114/+93
|\ \ \ \ | | | | | | | | | | fix: Move OC_API into \OC\ApiHelper in standard namespace
| * | | | chore: Adapt tests to OC_API refactoringCôme Chilliet2024-09-095-114/+93
| | |/ / | |/| | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | fix: Add whiteboard to education and public sector bundleJulius Knorr2024-09-121-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | | | fix(RichObjectStrings/Validator): Validate key value types of rich object ↵provokateurin2024-09-101-0/+23
| |/ / |/| | | | | | | | | | | | | | parameters Signed-off-by: provokateurin <kate@provokateurin.de>
* | | fix(NavigationManager): Skip invalid default navigation entriesprovokateurin2024-09-091-0/+57
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | refactor(AppManager): Deprecated default apps handlingprovokateurin2024-09-091-153/+0
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | feat(NavigationManager): Add default entries handlingprovokateurin2024-09-091-1/+168
|/ / | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix(files): Check if the target path is a descendant of the shared folder pathGit'Fellow2024-09-051-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: fix tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: add tests Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> fix: tests
* | chore: adjust code to adhere to coding standardAnna Larch2024-09-052-2/+2
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge pull request #47417 from nextcloud/fix/files/create-mountpoint-parentsKate2024-09-041-0/+31
|\ \
| * | fix(files): Create non-existent parents of mountpointsprovokateurin2024-08-221-0/+31
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | fix: share manager tests translation stringJohn Molakvoæ2024-09-041-1/+1
| | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* | | refactor(IMenuAction): Make public menu actions use the new Vue UIFerdinand Thiessen2024-09-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | This removes custom rendering code an replaces it with the declarative menu actions. Also adjust the template to allow the Vue UI to mount. Custom entries still are possible. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | chore: Remove unused `CsrfTokenManager` from `CSPMiddleware`Ferdinand Thiessen2024-08-311-5/+0
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | fix(TaskProcessing): Fix namespace of TaskProcessingTest.phpMarcel Klehr2024-08-301-1/+1
| | | | | | | | | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | fix(taskprocessing): fix testsJulien Veyssier2024-08-302-13/+5
| | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | Merge pull request #47546 from nextcloud/fix/files-view-error-messagesAndy Scherzinger2024-08-291-1/+1
|\ \ \ | | | | | | | | fix: Adjust filename validation messages
| * | | fix: Adjust filename validation messagesFerdinand Thiessen2024-08-271-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | test(phpunit): skip sharding tests on 32bitArthur Schiwon2024-08-292-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | fix(tests): Fix ImageTest testCôme Chilliet2024-08-291-5/+7
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | fix: Remove all references to OC_ImageCôme Chilliet2024-08-293-57/+60
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>