aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Files
Commit message (Collapse)AuthorAgeFilesLines
...
* Check style updateCarl Schwan2022-01-132-14/+8
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix PHP deprecation warning in File/ViewTestCôme Chilliet2021-12-161-1/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix testsRobin Appelman2021-12-021-20/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make mock config return default value to fix warningsCôme Chilliet2021-11-231-1/+12
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix FolderTest calls to Mountpoint constructor with wrong typeCôme Chilliet2021-11-231-3/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #29622 from nextcloud/feat/objectstore_multibucket-shiftVincent Petry2021-11-192-17/+41
|\ | | | | Implement multibucket shift for ObjectStore
| * Implement multibucket shift for ObjectStoreJohn Molakvoæ2021-11-112-17/+41
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Normalize directory entries in Encoding wrapperVincent Petry2021-11-171-1/+43
|/ | | | | | | | | | | | Directory entry file names are now normalized in getMetaData(), getDirectoryContents() and opendir(). This makes the scanner work properly as it assumes pre-normalized names. In case the names were not normalized, the scanner will now skip the entries and display a warning when applicable. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #27440 from nextcloud/is-file-handleJohn Molakvoæ2021-10-231-2/+2
|\
| * Update Testsacsfer2021-10-221-1/+1
| |
| * Tests updateacsfer2021-08-151-1/+1
| |
* | Merge pull request #29220 from nextcloud/s3-external-listJohn Molakvoæ2021-10-221-0/+3
|\ \
| * | ciRobin Appelman2021-10-151-0/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #26347 from J0WI/clean-path-regexJohn Molakvoæ2021-10-221-5/+22
|\ \ \ | |/ / |/| |
| * | Cleaner normalizePath regexJ0WI2021-03-271-5/+22
| | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | | explicitly close source stream on local storageDaniel Kesselberg2021-09-211-1/+2
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Refactor writeObject to only use MultipartUpload when requiredBernd Rederlechner2021-08-202-0/+105
| |/ |/| | | | | | | | | Signed-off-by: Bernd Rederlechner <Bernd.Rederlechner@t-systems.com> Co-authored-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #28220 from ↵John Molakvoæ2021-08-091-68/+30
|\ \ | | | | | | | | | nextcloud/get-by-id-multiple-mounts-single-storage
| * | fix Folder->getById() when a single storage is mounted multiple timesRobin Appelman2021-07-281-68/+30
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | add test for searching within a "root jail"Robin Appelman2021-07-281-0/+18
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Run s3 tests againJulius Härtl2021-06-301-6/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | split of query building bits from searchhelperRobin Appelman2021-06-141-20/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | update tests and fix some edge cases around new searchRobin Appelman2021-06-141-77/+69
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | rework search api to allow searching on multiple caches at onceRobin Appelman2021-06-142-3/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #26322 from nextcloud/recent-searchJulius Härtl2021-05-181-0/+13
|\ \ | | | | | | Use file search for recent files and optimize getting share types
| * | adjust testsRobin Appelman2021-04-211-0/+13
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | set mimetype for objects uploaded to object storagesRobin Appelman2021-04-213-4/+4
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #24966 from nextcloud/jknockaert-patch-1Lukas Reschke2021-04-061-4/+14
|\ \ | | | | | | avoid fread on directories and unencrypted files
| * | Update EncryptionTest.phpJasper Knockaert2021-01-051-3/+3
| | |
| * | 2nd attempt to fix testsJasper Knockaert2021-01-051-7/+11
| | |
| * | attemtp to fix testJasper Knockaert2021-01-051-1/+7
| | |
* | | Set umask before operations that create local filesRobin Appelman2021-03-231-3/+34
| |/ |/| | | | | | | | | this solves issues where "other php stuff" is messing with the umask Signed-off-by: Robin Appelman <robin@icewind.nl>
* | handle ordering in folder searchRobin Appelman2021-03-191-20/+34
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | folder filtering in sqlRobin Appelman2021-03-191-1/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | cleanup fileinfo creationRobin Appelman2021-03-191-60/+30
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | handle limit and offset in folder file searchRobin Appelman2021-03-181-41/+157
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | only require user to be set in a query that handles tagsRobin Appelman2021-03-181-16/+11
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #25136 from nextcloud/cachejail-search-filterVincent Petry2021-03-151-0/+70
|\ \ | | | | | | do cachejail search filtering in sql
| * | fix search in nested jailsRobin Appelman2021-01-261-0/+18
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | fix cachjail searching for rootRobin Appelman2021-01-261-2/+17
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | do cachejail search filtering in sqlRobin Appelman2021-01-261-0/+37
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | apply object store copy optimization when 'cross storage' copy is within the ↵Robin Appelman2021-03-091-0/+24
| | | | | | | | | | | | | | | | | | same object store Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Add some typing to SharedStorageRoeland Jago Douma2021-03-041-5/+4
| | | | | | | | | | | | | | | | | | Makes psalm a bit more happy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-185-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Cache the user backend info for 300sJoas Schilling2021-02-153-5/+28
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-082-2/+2
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Properly handle result when copying with failure and throw in testsJulius Härtl2021-01-051-1/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix writeStream mockingJulius Härtl2021-01-051-1/+1
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Replace static call to Share::unshare with ShareManager->deleteShare in testsMorris Jobke2020-11-301-1/+3
| | | | | | And then cleanup all the code that is dead then... Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* use in objectstore copyRobin Appelman2020-11-243-0/+24
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>