aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Storage
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8259 from nextcloud/guzzle6Morris Jobke2018-02-141-2/+2
|\ | | | | update guzzlehttp/guzzle to 6.3.0
| * Adjust dav client to new guzzleRobin Appelman2018-02-091-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Simplify return statementMorris Jobke2018-02-131-3/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8054 from nextcloud/substr-use-indexMorris Jobke2018-01-261-7/+3
|\ | | | | Use index based string access for substr with length of 1
| * Use index based string access for substr with length of 1Morris Jobke2018-01-261-7/+3
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Simplify ternary operator statementsMorris Jobke2018-01-261-2/+2
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7918 from nextcloud/properly-log-exceptionsRoeland Jago Douma2018-01-232-4/+6
|\ | | | | Properly log the full exception instead of only the message
| * Properly log the full exception instead of only the messageMorris Jobke2018-01-232-4/+6
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use fallback path if data dir is not available for Storage/Local.phpMorris Jobke2018-01-182-6/+14
|/ | | | | | | Found while testing strict types for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de> Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix call to clearstatcache to actually use the file pathMorris Jobke2018-01-121-1/+1
| | | | | | | | * found while adding the strict_typing for PHP 7+ migration * first argument is a boolean - second one is the path * see http://php.net/manual/en/function.clearstatcache.php Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* additional debug logging on smb copy/rename failuresRobin Appelman2017-12-181-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #6682 from nextcloud/dav-mimetype-fallbackRoeland Jago Douma2017-12-111-9/+17
|\ | | | | Fallback to filename based detection if the remote dav server doesn't…
| * Fallback to filename based detection if the remote dav server doesn't know ↵Robin Appelman2017-09-281-9/+17
| | | | | | | | | | | | the mimetype Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use the correct root for shared jail when the source storage is also a jailRobin Appelman2017-11-101-0/+11
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Run updated license header updaterMorris Jobke2017-11-071-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Update license headersMorris Jobke2017-11-0611-1/+18
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use ::class and fix missing docJoas Schilling2017-10-281-1/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #6052 from nextcloud/fix_jail_copyMorris Jobke2017-08-101-0/+6
|\ | | | | Fix copy from jailed storage
| * Fix copy from jailed storageRoeland Jago Douma2017-08-091-0/+6
| | | | | | | | | | | | | | If we have a jailed storage we must also fix the internal path on copy. Else we pass in the wrong path. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Make definition compatibleLukas Reschke2017-08-091-1/+1
|/ | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Replace wrong PHPDocsLukas Reschke2017-08-019-36/+45
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix scan permissions with nested permissions masksRobin Appelman2017-07-131-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix propagating changes within jail wrapperRobin Appelman2017-07-111-0/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fixed a crash caused by Local::copyFromStorage() not conforming to ↵Michael Munger2017-05-231-1/+1
| | | | Common::copyFromStorage. Issue# 5071
* use unmasked permissions during scanningRobin Appelman2017-05-181-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make sure we use the passed-in storage when there is oneJoas Schilling2017-05-101-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove unused use statementsMorris Jobke2017-04-221-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #4329 from nextcloud/move-out-shared-folderMorris Jobke2017-04-122-42/+49
|\ | | | | Fix moving files out of a shared folder
| * use unjailed path when moving files out of a shared storageRobin Appelman2017-04-121-2/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * rename Jail::getSourcePath to getUnjailedPath to fix conflict with ↵Robin Appelman2017-04-121-40/+40
| | | | | | | | | | | | Local::getSourcePath Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Optimize put - Dont try to fetch filecache for not existing filecache in ↵Piotr M2017-04-121-2/+4
|/ | | | encription
* Dont use the permissions mask while scanningRobin Appelman2017-04-101-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove verbose error messageLukas Reschke2017-03-291-2/+3
| | | | | | There's no need to have this included in the error message. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* allow configuring authType for DAV backendJörn Friedrich Dreyer2017-03-221-2/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #3600 from coletivoEITA/masterRoeland Jago Douma2017-03-142-0/+14
|\ | | | | added method needsPartFile() in Storage
| * added method needsPartFile() in StorageVinicius Cubas Brand2017-03-142-0/+14
| | | | | | | | Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
* | Merge pull request #3495 from nextcloud/dav-protectedRoeland Jago Douma2017-02-151-7/+7
|\ \ | | | | | | Make it easier to subclass DAV storage
| * | Make it easier to subclass DAV storageRobin Appelman2017-02-151-7/+7
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #3447 from nextcloud/getmetadata-permissions-maskRoeland Jago Douma2017-02-151-0/+9
|\ \ \ | | | | | | | | also apply permissions mask in getMetaData
| * | | also apply permissions mask in getMetaDataRobin Appelman2017-02-101-0/+9
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #3262 from nextcloud/jail-scanner-storage-idRoeland Jago Douma2017-02-151-1/+1
|\ \ \ \ | | | | | | | | | | Make sure we use the correct storage id and parent id when scanning a jailed storage
| * | | | Make sure we use the correct storage id when scanning a jailed storageRobin Appelman2017-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #3465 from nextcloud/storage-log-locksLukas Reschke2017-02-142-3/+84
|\ \ \ \ \ | |_|_|/ / |/| | | | Add option to enable locking debug logging
| * | | | Add missing PHPDoc and properly throw exceptionMorris Jobke2017-02-132-0/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | Add storage to log item as wellLukas Reschke2017-02-131-3/+33
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | | | Add option to enable locking debug loggingRobin Appelman2017-02-131-3/+48
| | |/ / | |/| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / | | bug when connect to yandex webdav servervkuimov2017-02-101-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | server think that request like <?xml version="1.0" encoding="UTF-8"?> <d:propfind xmlns:d="DAV:"> <d:prop/> </d:propfind> is 400: Bad Request
* | | remove obsolete hack (#26928)Jörn Friedrich Dreyer2017-01-271-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * remove obsolete hack > // file_get_contents() has a memory leak: https://bugs.php.net/bug.php?id=61961 was closed 4 years ago. we could also use the Common implementation Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Make DAV external storage test more reliableRobin Appelman2017-01-242-5/+9
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #2744 from nextcloud/oc_26324Roeland Jago Douma2017-01-111-52/+53
|\ \ | | | | | | [downstream] Fix DAV stat cache to properly cache 404