summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
Commit message (Collapse)AuthorAgeFilesLines
* Remove \OCP\Files::tmpFileRoeland Jago Douma2018-03-191-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8857 from nextcloud/swift-verify-cached-tokenMorris Jobke2018-03-192-12/+24
|\ | | | | verify cached swift token
| * verify cached swift tokenRobin Appelman2018-03-162-12/+24
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #8830 from nextcloud/node_emit_readRoeland Jago Douma2018-03-151-0/+7
|\ \ | | | | | | Emit read for nodes
| * | Emit read for nodesRoeland Jago Douma2018-03-151-0/+7
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fix bucket and container usageRoeland Jago Douma2018-03-142-2/+6
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Properly cache swift v3 tokenRoeland Jago Douma2018-03-121-1/+6
|/ | | | | | | The V3 token has an export function. Without this the token is effectively never cached. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8715 from nextcloud/objectstore-no-part-filesRoeland Jago Douma2018-03-081-0/+4
|\ | | | | disable part files for object stores
| * disable part files for object storesRobin Appelman2018-03-071-0/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | don't read existing file when overwriting using object storeRobin Appelman2018-03-071-7/+13
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #8289 from nextcloud/appdata_hardeningJoas Schilling2018-03-021-1/+35
|\ | | | | AppData hardening
| * Hardening of SimpleFile getContentRoeland Jago Douma2018-02-271-1/+35
| | | | | | | | | | | | | | if file_get_contents fails remove the file. And traverse up the tree checking if the other folders are there. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #8284 from nextcloud/lib_log-storage-test-failedRoeland Jago Douma2018-03-011-0/+3
|\ \ | |/ |/| External storage test: log exceptions
| * External storage test: log exceptionsRoland Tapken2018-02-111-0/+3
| | | | | | | | | | | | | | | | If an external storage test fails the exception's message is now written into the logfile (level INFO). Additionally, the stack trace is printed as DEBUG. This helps to resolve the reason for a failing connection. Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
* | User proper username + passRoeland Jago Douma2018-02-261-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | add support for v3 swift authRobin Appelman2018-02-261-7/+27
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | adjust swift external storage to new openstack sdkRobin Appelman2018-02-192-34/+51
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | adjust swift object storage to new openstack sdkRobin Appelman2018-02-192-212/+184
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | 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>
* | | Merge pull request #8335 from nextcloud/remove-unused-importMorris Jobke2018-02-142-4/+0
|\ \ \ | | | | | | | | Remove unused import statements
| * | | Remove unused import statementsMorris Jobke2018-02-142-4/+0
| | |/ | |/| | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / | Simplify return statementMorris Jobke2018-02-131-3/+1
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Try to silence phanRoeland Jago Douma2018-02-081-0/+3
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | don't swallow exception from touchRobin Appelman2018-02-082-2/+10
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | better error message on catalog errorRobin Appelman2018-02-082-1/+6
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #8033 from nextcloud/s3-uploaderMorris Jobke2018-02-081-43/+2
|\ | | | | Use S3Client::upload instead of splitting single/multipart upload ourselves
| * Use S3Client::upload instead of splitting single/multipart upload ourselvesRobin Appelman2018-01-241-43/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #8023 from nextcloud/webdavsearch_limit_order_fixingMorris Jobke2018-02-081-2/+9
|\ \ | | | | | | Respect limit and order in webdav search
| * | CacheJail should apply limit and offset after searchingRoeland Jago Douma2018-02-071-2/+9
| | | | | | | | | | | | | | | | | | Else the results might not be correct. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | actually return stream from swiftRobin Appelman2018-02-071-1/+1
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Do not try to get the jailed path if we can't find the idRoeland Jago Douma2018-02-031-0/+4
| | | | | | | | | | | | | | | | | | Fixes #8047 If we can't find the file by id there we should just return null instead of trying to get the jailed path of null. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Use ::class statement instead of stringMorris Jobke2018-01-293-4/+5
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove unneeded semicolon and parenthesesMorris Jobke2018-01-266-8/+8
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8071 from nextcloud/remove-silly-codeMorris Jobke2018-01-261-2/+1
|\ \ | | | | | | Cleanup unused code
| * | Cleanup unused codeMorris Jobke2018-01-261-2/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #8054 from nextcloud/substr-use-indexMorris Jobke2018-01-263-12/+8
|\ \ \ | |/ / |/| | Use index based string access for substr with length of 1
| * | Use index based string access for substr with length of 1Morris Jobke2018-01-263-12/+8
| |/ | | | | | | 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 #8063 from nextcloud/inline-valueJoas Schilling2018-01-261-6/+3
|\ \ | | | | | | Return value immediately instead of assigning to a one-time variable
| * | Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-261-6/+3
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8058 from nextcloud/useless-returnRoeland Jago Douma2018-01-262-9/+0
|\ \ | | | | | | Remove useless return statements
| * | Remove useless return statementsMorris Jobke2018-01-252-9/+0
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Use proper code flow instead of not needed else branchMorris Jobke2018-01-251-2/+1
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7918 from nextcloud/properly-log-exceptionsRoeland Jago Douma2018-01-235-12/+21
|\ | | | | Properly log the full exception instead of only the message
| * Properly log the full exception instead of only the messageMorris Jobke2018-01-235-12/+21
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7858 from nextcloud/fix-local-storageMorris Jobke2018-01-233-7/+15
|\ \ | |/ |/| Use fallback path if data dir is not available for Storage/Local.php
| * Use fallback path if data dir is not available for Storage/Local.phpMorris Jobke2018-01-183-7/+15
| | | | | | | | | | | | | | Found while testing strict types for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de> Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Support arbitrary number of arguments for d:or and d:and in search queriesRobin Appelman2018-01-161-2/+12
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove deprecated \OCP\ConfigRoeland Jago Douma2018-01-131-1/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>