aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* test: replace `OC_Helper:rmdirr` with `OCP\Files::rmdirr`chore/remove-deprecated-oc-helperFerdinand Thiessen16 hours8-10/+22
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: move legacy tests to non-depecated class testsFerdinand Thiessen16 hours4-104/+123
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(RouteParser): bail out if method name contains hashtagrefactor/app/remove-register-routesFerdinand Thiessen2 days1-0/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(AppFramework): Remove unused RouteConfig class and migrate tests to ↵provokateurin2 days2-477/+338
| | | | | | RouteParser Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #52822 from nextcloud/feat/mime-namesJohn Molakvoæ2 days1-1/+8
|\
| * feat(core): add human readable mimesJohn Molakvoæ (skjnldsv)3 days1-1/+8
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | test: Fix coding standardsci/noid/update-phpunit10Joas Schilling2 days16-25/+25
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix most tests/lib/DB/QueryBuilderJoas Schilling2 days6-42/+43
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix non-static data providersJoas Schilling2 days57-186/+181
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/FilesJoas Schilling2 days10-103/+95
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Make Archive test order independentJoas Schilling2 days1-1/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/[S-Z]*Joas Schilling2 days9-62/+73
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/Security/Joas Schilling2 days13-28/+22
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/[H-N]*Joas Schilling2 days9-91/+72
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/[C-G]*Joas Schilling2 days7-57/+75
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/App*Joas Schilling2 days30-174/+134
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Cleanup tests/lib/Files/*Joas Schilling2 days17-89/+99
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Remove more withConsecutiveJoas Schilling2 days26-460/+506
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #52544 from nextcloud/chore/drop-deprecated-account-scopesJohn Molakvoæ3 days1-5/+0
|\ \
| * | chore(IAccountManager): remove deprecated visibility constantschore/drop-deprecated-account-scopesFerdinand Thiessen3 days1-5/+0
| | | | | | | | | | | | | | | | | | | | | Those constants are not used anywhere anymore and are deprecated for more than ten versions. So its time to cleanup the interface. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #52684 from ↵Benjamin Gaussorgues3 days1-0/+4
|\ \ \ | | | | | | | | | | | | nextcloud/bugfix/noid/last-insert-id-when-reconnecting
| * | | test: Sort the reactions before comparingbugfix/noid/last-insert-id-when-reconnectingJoas Schilling3 days1-0/+4
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #48560 from nextcloud/fix/migrate-encryption-away-from-hooksCôme Chilliet3 days3-118/+98
|\ \ \ | |_|/ |/| | feat(encryption): Migrate from hooks to events
| * | fix(encryption): Improve Update class and event listeneningCôme Chilliet4 days2-85/+70
| | | | | | | | | | | | | | | | | | to avoid back&forth between path and Node object Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix(tests): Disable encryption wrapper when it makes senseCôme Chilliet4 days1-0/+14
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix(tests): Remove Encryption disabling in ViewTest to avoid side effectsCôme Chilliet4 days1-10/+6
| | | | | | | | | | | | | | | | | | Adapt tests a bit to make them pass with Encryption wrapper registered Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix(tests): Unregister encryption modules in ViewTest to avoid side effectsCôme Chilliet4 days1-0/+6
| | | | | | | | | | | | | | | | | | It was clearing the hooks with the same results before Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | feat(encryption): Migrate from hooks to eventsCôme Chilliet4 days1-35/+14
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #52775 from nextcloud/nested-jail-rootAndy Scherzinger3 days1-0/+11
|\ \ | | | | | | fix unjailedroot of nested jails if there are other wrappers in between
| * | test: add test for nested cache jail unjailedrootRobin Appelman4 days1-0/+11
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: log requests exceeding the rate limitingbug/noid/log-requests-exceeding-rate-limitDaniel Kesselberg3 days1-5/+18
| |/ |/| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #52688 from nextcloud/feat/ocp-sanitize-filenamesCôme Chilliet4 days1-0/+134
|\ \ | | | | | | feat(FilenameValidator): allow to sanitize filenames
| * | feat(FilenameValidator): allow to sanitize filenamesfeat/ocp-sanitize-filenamesFerdinand Thiessen4 days1-0/+134
| |/ | | | | | | | | | | Share the filename sanitizing with the OCP filename validator. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* / fix: check if properties exist before using themfix/noid-check-for-properties-before-processingSebastianKrupinski5 days1-176/+804
|/ | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* Merge pull request #52634 from nextcloud/perf/share20/get-all-shares-in-folderKate9 days1-15/+8
|\
| * perf(Share20): Add interface to query all shares in a folder without ↵perf/share20/get-all-shares-in-folderprovokateurin9 days1-15/+8
| | | | | | | | | | | | filtering by user Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #52360 from ↵Louis11 days1-22/+10
|\ \ | |/ |/| | | nextcloud/artonge/fix/use_preview_api_for_blurhash_generation
| * fix(blurhash): Use preview API to generate the previewsartonge/fix/use_preview_api_for_blurhash_generationLouis Chemineau12 days1-22/+10
| | | | | | | | | | | | | | This allows to benefit from all the checks done by the preview API. This also use the newly introduced `cacheResult` argument to limit disk usage. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | test: Fix coding standardsbugfix/noid/make-comments-test-better-readableJoas Schilling12 days1-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test(comments): Make Comments test result output properly readableJoas Schilling12 days1-184/+158
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* test: Finish migrating tests/Core/ to PHPUnit 10 compatible codetest/noid/more-phpunit-10Joas Schilling2025-05-0213-689/+615
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* test: Prepare more tests for PHPUnit 10Joas Schilling2025-04-309-129/+125
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(navigation): Fix default app entry registered as closureJoas Schilling2025-04-251-3/+37
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #52299 from nextcloud/refactor/preview-testsFerdinand Thiessen2025-04-242-46/+30
|\ | | | | refactor: Thumbnail Generator logging and tests
| * refactor: Thumbnail Generator logging and testsrefactor/preview-testsnfebe2025-04-232-46/+30
| | | | | | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* | fix(federation): allows equal signs in federation idfix/noid/allows-some-char-from-federationidMaxence Lange2025-04-221-0/+4
|/ | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #52221 from ↵F. E Noel Nfebe2025-04-221-1/+6
|\ | | | | | | | | nextcloud/feat/no-issue/add-logging-preview-generation feat: add logging to preview generation
| * feat: add logging to preview generationfeat/no-issue/add-logging-preview-generationnfebe2025-04-171-1/+6
| | | | | | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* | Merge pull request #52224 from ↵Arthur Schiwon2025-04-171-0/+29
|\ \ | |/ |/| | | | | nextcloud/bugfix/noid/dont-break-when-checking-if-too-long-user-exists fix(usermanager): Don't throw when checking if a too long user id is an existing user
| * fix(usermanager): Don't throw when checking if a too long user id is an ↵Joas Schilling2025-04-161-0/+29
| | | | | | | | | | | | existing user Signed-off-by: Joas Schilling <coding@schilljs.com>