summaryrefslogtreecommitdiffstats
path: root/tests/lib/Files/ObjectStore
Commit message (Collapse)AuthorAgeFilesLines
* Run s3 tests againJulius Härtl2021-07-051-6/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* set mimetype for objects uploaded to object storagesRobin Appelman2021-04-213-4/+4
| | | | 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>
* use in objectstore copyRobin Appelman2020-11-243-0/+24
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-102-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-104-4/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use a blank line after the opening tagChristoph Wurst2020-04-093-3/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-092-2/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add basic tests for s3 seeking and add some error handling if reopen return ↵Robin Appelman2020-04-012-4/+20
| | | | | | the wrong range Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-271-1/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-251-1/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-262-5/+5
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make phpunit8 compatibleRoeland Jago Douma2019-11-272-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-223-1/+2
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* dont delete cache entries if deleting an object from object store failedRobin Appelman2019-09-252-0/+79
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* always use multipart uploader for s3 uploadsRobin Appelman2019-01-281-3/+28
| | | | | | the multipart uploader handles non seekable streams while `upload` does not Signed-off-by: Robin Appelman <robin@icewind.nl>
* upload new files in objectstore to a .part path firstRobin Appelman2018-12-123-1/+107
| | | | | | | | This prevent the object store and cache from getting out of sync when an objectstore silently fails or the php process get's killed during the upload without giving us the chance to cleanup Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add objectExists to objectstore interfaceRobin Appelman2018-12-121-0/+15
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Moves the logo files to logoMichael Weimann2018-10-021-1/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* add azure unit tests with azuriteRobin Appelman2018-06-041-0/+38
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add ci for swift primary storageRobin Appelman2018-02-081-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use S3Client::upload instead of splitting single/multipart upload ourselvesRobin Appelman2018-01-241-5/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add tests for multipart uploadRobin Appelman2017-09-211-4/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add ci support for s3 object storeRobin Appelman2017-01-021-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add amazon s3 objectstore backendRobin Appelman2016-11-161-0/+38
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* split testing of objectstoragestorage and objectstore implementationsRobin Appelman2016-11-164-177/+319
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Allow setting a maximun number of buckets for multibucketRobin Appelman2016-11-021-5/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* File getMock Files testsRoeland Jago Douma2016-09-071-2/+3
|
* Add mapper unit testsRoeland Jago Douma2016-05-231-0/+50
|
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-202-0/+274
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader