aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #53671 from nextcloud/fix/read-only-share-downloadHEADmasterJohn Molakvoæ54 min.1-18/+6
|\
| * feat(files_sharing): allow viewing files with download disabledskjnldsv5 days1-18/+6
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | Merge branch 'master' into remove-x-xss-protectionJoas Schilling19 hours271-1728/+2656
|\ \
| * | fix(nullcache): make get compliant with the interfacedebt/noid/wrong-return-type-nullcacheDaniel Kesselberg5 days1-1/+1
| |/ | | | | | | | | | | The interface defines ICacheEntry|false, thus we should not return null. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * refactor: split off value casting out of config:system:set commandRobin Appelman7 days2-50/+71
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * feat(lexicon): new tests about lexicon migrationMaxence Lange7 days2-3/+59
| | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * feat(lexicon): fix testsMaxence Lange7 days2-29/+23
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * feat(lexicon): migrate config key/valueMaxence Lange7 days5-5/+22
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * fix: revive always storing lowercased email addressesRichard Steinmetz7 days2-0/+34
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
| * Merge pull request #53417 from nextcloud/fix/fix-32bits-phpunitCôme Chilliet12 days1-6/+3
| |\ | | | | | | fix(tests): Fix 32bits PHPUnit tests
| | * fix(tests): Simplify error handling in tests/enable_all.phpCôme Chilliet2025-06-101-6/+2
| | | | | | | | | | | | | | | | | | | | | Simply let the Exception bubble up instead of caching it and using grep to then detect it. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| | * fix(tests): Enable more PHP modules in phpunit-32bitsCôme Chilliet2025-06-101-1/+2
| | | | | | | | | | | | | | | | | | | | | Also add output when enabling applications, and watch phpunit configuration file for changes. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix(FilenameValidator): use `_` as default replacement for invalid charsfix/validation-defaultsFerdinand Thiessen13 days1-6/+6
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | style(occ): clean up SettingTest classSalvatore Martire2025-06-171-27/+14
| | | | | | | | | | | | Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
| * | feat: allow reading profile properties from occSalvatore Martire2025-06-171-0/+470
| | | | | | | | | | | | | | | | | | | | | This change adds support for reading profile information through the occ command, and updates the corresponding test. Signed-off-by: Salvatore Martire <4652631+klarkent@users.noreply.github.com>
| * | test: adjust karma global state mockFerdinand Thiessen2025-06-161-7/+5
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * | chore: run rector on tests with new rulerector-testsRobin Appelman2025-06-1228-102/+86
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | chore: run rector on testsRobin Appelman2025-06-12250-1494/+1864
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix: Remove X-XSS-Protection use, check and recommendationinvario2025-06-131-1/+0
|/ / | | | | | | | | Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: invario <67800603+invario@users.noreply.github.com>
* | Merge pull request #53000 from nextcloud/fix/noid/stuck-ffmpegDaniel2025-06-103-4/+25
|\ \ | | | | | | fix: unblock ffmpeg on some broken videos
| * | fix: unbloc ffmpeg on some broken videosfix/noid/stuck-ffmpegArthur Schiwon2025-05-203-4/+25
| | | | | | | | | | | | | | | Co-authored-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #52743 from nextcloud/bug/noid/expires-date-formatKate2025-06-102-6/+6
|\ \ \
| * | | fix: use correct format for expires, last-modified, and if-modified-since ↵Daniel Kesselberg2025-06-102-6/+6
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | headers Before: Sat, 10 May 2025 18:17:41 +0000 After: Sat, 10 May 2025 18:17:41 GMT RFC: https://httpwg.org/specs/rfc9110.html#http.date Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* / | test: addd test for hideFromCollaborationdebt/noid/use-logical-operatorDaniel Kesselberg2025-06-101-0/+53
|/ / | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #52538 from nextcloud/feat/use-php84-lazy-objectsCôme Chilliet2025-06-101-1/+9
|\ \ | | | | | | Use PHP 8.4 lazy ghosts for Dependency injection
| * | fix(tests): Force lazy ghost initialisation in container testsCôme Chilliet2025-06-051-1/+9
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | chore: update openAPI filesdependabot/composer/vendor-bin/openapi-extractor/nextcloud/openapi-extractor-1.8.0Ferdinand Thiessen2025-06-093-10/+10
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | test: Add a hint message on boolean comparisonJoas Schilling2025-06-061-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | ci: Migrate PHPUnit configsJoas Schilling2025-06-062-45/+31
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | test: Load all apps locally as wellJoas Schilling2025-06-061-2/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | test: Enable all default appsJoas Schilling2025-06-061-10/+8
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | test: Remove tests/apps.php which is no longer supportedJoas Schilling2025-06-062-55/+2
| | | | | | | | | | | | | | | | | | | | | PHPUnit 10 says: > Class apps cannot be found in …/server/tests/apps.php Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | test: Remove suffix to reduce warnings about not extending TestCaseJoas Schilling2025-06-062-3/+3
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | chore(tests): Add test for AppConfig::getAppInstalledVersionsCôme Chilliet2025-06-051-5/+19
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore(tests): Adapt AppManager test to the use of searchValuesCôme Chilliet2025-06-052-5/+14
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | test: cleanup karma (jsunit) tests and move files_external to Cypresscleanup/karmaFerdinand Thiessen2025-06-021-77/+2
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #52949 from nextcloud/fix/delete-legacy-autoloaderFerdinand Thiessen2025-06-021-51/+0
|\ \ | | | | | | fix: Remove useless legacy autoloader
| * | fix: Remove useless legacy autoloaderfix/delete-legacy-autoloaderCôme Chilliet2025-05-271-51/+0
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #52242 from nextcloud/artonge/fix/copy_subfolders_s3Louis2025-06-021-0/+13
|\ \ \
| * | | test: add test that object store folder copy preserves folder sizeartonge/fix/copy_subfolders_s3Robin Appelman2025-05-281-0/+13
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | test: Mock ITaskManager to remove test interactionsJoas Schilling2025-05-291-7/+7
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | feat: add support for sensitive Declarative settings values encryptionAndrey Borysenko2025-05-281-1/+37
| | | | | | | | | | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* | | Merge pull request #52816 from nextcloud/primary-object-store-settingsRobin Appelman2025-05-283-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 Appelman2025-05-283-112/+142
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / / test: adjust library tests for PHPunit deprecationsFerdinand Thiessen2025-05-282-4/+4
|/ / | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | chore: Remove useless legacy autoloader for testsfix/cleanup-test-legacy-autoloaderCôme Chilliet2025-05-272-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 Thiessen2025-05-221-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>
* Merge pull request #50157 from nextcloud/feat/mountmanager/emit-eventsKate2025-05-191-17/+68
|\
| * feat(UserMountCache): Emit events for added, removed and updated mountsfeat/mountmanager/emit-eventsprovokateurin2025-05-191-17/+68
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>