aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #52949 from nextcloud/fix/delete-legacy-autoloaderFerdinand Thiessen3 days1-51/+0
|\ | | | | fix: Remove useless legacy autoloader
| * fix: Remove useless legacy autoloaderfix/delete-legacy-autoloaderCôme Chilliet9 days1-51/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #52242 from nextcloud/artonge/fix/copy_subfolders_s3Louis3 days1-0/+13
|\ \
| * | test: add test that object store folder copy preserves folder sizeartonge/fix/copy_subfolders_s3Robin Appelman8 days1-0/+13
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | test: Mock ITaskManager to remove test interactionsJoas Schilling7 days1-7/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | feat: add support for sensitive Declarative settings values encryptionAndrey Borysenko7 days1-1/+37
| | | | | | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* | Merge pull request #52816 from nextcloud/primary-object-store-settingsRobin Appelman8 days3-112/+142
|\ \ | | | | | | feat: move primary object store configuration to a single place
| * | feat: move primary object store configuration to a single placeprimary-object-store-settingsRobin Appelman8 days3-112/+142
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / test: adjust library tests for PHPunit deprecationsFerdinand Thiessen8 days2-4/+4
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Remove useless legacy autoloader for testsfix/cleanup-test-legacy-autoloaderCôme Chilliet9 days2-8/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(IUser): add `getQuotaBytes` method to get machine readable quotafeat/user-get-quota-bytesFerdinand Thiessen14 days1-4/+5
| | | | | | | | | | | Proper replacement for deprecated `OC_Util::getUserQuota`. Also we still use this in some cases we can now replace, moreover it just makes sense to have a machine readable format in the API instead of only the human readable format which is less precise. Alings also with `getQuota` of the quota storage, which already returned the machine readable format. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Speed up comments testJoas Schilling2025-05-211-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(UserMountCache): Emit events for added, removed and updated mountsfeat/mountmanager/emit-eventsprovokateurin2025-05-191-17/+68
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Merge pull request #52848 from nextcloud/fix/cleanup-servercontainerKate2025-05-196-7/+7
|\
| * fix: Remove calls to legacy callers in testsfix/cleanup-servercontainerCôme Chilliet2025-05-162-2/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * fix(tests): Remove calls to removed getMountProviderCollection from testsCôme Chilliet2025-05-164-5/+5
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | test: replace `OC_Helper:rmdirr` with `OCP\Files::rmdirr`chore/remove-deprecated-oc-helperFerdinand Thiessen2025-05-168-10/+22
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | test: move legacy tests to non-depecated class testsFerdinand Thiessen2025-05-164-104/+123
|/ | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(RouteParser): bail out if method name contains hashtagrefactor/app/remove-register-routesFerdinand Thiessen2025-05-151-0/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(AppFramework): Remove unused RouteConfig class and migrate tests to ↵provokateurin2025-05-152-477/+338
| | | | | | RouteParser Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #52822 from nextcloud/feat/mime-namesJohn Molakvoæ2025-05-151-1/+8
|\
| * feat(core): add human readable mimesJohn Molakvoæ (skjnldsv)2025-05-141-1/+8
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | test: Fix coding standardsci/noid/update-phpunit10Joas Schilling2025-05-1516-25/+25
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix most tests/lib/DB/QueryBuilderJoas Schilling2025-05-156-42/+43
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix non-static data providersJoas Schilling2025-05-1557-186/+181
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/FilesJoas Schilling2025-05-1510-103/+95
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Make Archive test order independentJoas Schilling2025-05-151-1/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/[S-Z]*Joas Schilling2025-05-159-62/+73
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/Security/Joas Schilling2025-05-1513-28/+22
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/[H-N]*Joas Schilling2025-05-159-91/+72
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/[C-G]*Joas Schilling2025-05-157-57/+75
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Fix tests/lib/App*Joas Schilling2025-05-1530-174/+134
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Cleanup tests/lib/Files/*Joas Schilling2025-05-1517-89/+99
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | test: Remove more withConsecutiveJoas Schilling2025-05-1526-460/+506
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #52544 from nextcloud/chore/drop-deprecated-account-scopesJohn Molakvoæ2025-05-141-5/+0
|\ \
| * | chore(IAccountManager): remove deprecated visibility constantschore/drop-deprecated-account-scopesFerdinand Thiessen2025-05-141-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 Gaussorgues2025-05-141-0/+4
|\ \ \ | | | | | | | | | | | | nextcloud/bugfix/noid/last-insert-id-when-reconnecting
| * | | test: Sort the reactions before comparingbugfix/noid/last-insert-id-when-reconnectingJoas Schilling2025-05-141-0/+4
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #48560 from nextcloud/fix/migrate-encryption-away-from-hooksCôme Chilliet2025-05-143-118/+98
|\ \ \ | |_|/ |/| | feat(encryption): Migrate from hooks to events
| * | fix(encryption): Improve Update class and event listeneningCôme Chilliet2025-05-132-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 Chilliet2025-05-131-0/+14
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix(tests): Remove Encryption disabling in ViewTest to avoid side effectsCôme Chilliet2025-05-131-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 Chilliet2025-05-131-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 Chilliet2025-05-131-35/+14
| |/ | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #52775 from nextcloud/nested-jail-rootAndy Scherzinger2025-05-141-0/+11
|\ \ | | | | | | fix unjailedroot of nested jails if there are other wrappers in between
| * | test: add test for nested cache jail unjailedrootRobin Appelman2025-05-131-0/+11
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix: log requests exceeding the rate limitingbug/noid/log-requests-exceeding-rate-limitDaniel Kesselberg2025-05-141-5/+18
| |/ |/| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #52688 from nextcloud/feat/ocp-sanitize-filenamesCôme Chilliet2025-05-131-0/+134
|\ \ | | | | | | feat(FilenameValidator): allow to sanitize filenames
| * | feat(FilenameValidator): allow to sanitize filenamesfeat/ocp-sanitize-filenamesFerdinand Thiessen2025-05-131-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-processingSebastianKrupinski2025-05-121-176/+804
|/ | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>