aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into fix-nc-env-inclusionfix-nc-env-inclusionRobin Appelman2024-09-16459-8274/+10496
|\ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * 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>
| * | | fix: Renaming does not need update but delete permissionsFerdinand Thiessen2024-08-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Renaming is basically copy + delete (a move), so no need to update permissions. Especially if the node is in a invalid directory the node should be moveable but not editable. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | | chore: Apply php:cs recommendationsLouis Chemineau2024-08-285-18/+18
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | | fix: implement sharding compatible cleanup for various bitsRobin Appelman2024-08-282-11/+10
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | test: fix share provider tests for shardingRobin Appelman2024-08-282-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | test: run sharding tests in ciRobin Appelman2024-08-281-0/+21
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | test: mark share test cleanup as running across all shardsRobin Appelman2024-08-281-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | feat: implement distributing partitioned queries over multiple shardsRobin Appelman2024-08-285-2/+154
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | feat: add option to automatically partition queries by specific tablesRobin Appelman2024-08-282-0/+290
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | fix: delay calculating global cache prefix untill a cache is createdRobin Appelman2024-08-281-3/+3
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-25110-4067/+4067
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | perf: delay getting (sub)admin status for user in the security middleware ↵Robin Appelman2024-08-231-2/+15
| | | | | | | | | | | | | | | | | | untill we need it Signed-off-by: Robin Appelman <robin@icewind.nl>