summaryrefslogtreecommitdiffstats
path: root/lib/private/files
Commit message (Collapse)AuthorAgeFilesLines
* Revert "FIX for webdav.mediencenter.t-online.de"Morris Jobke2015-03-261-5/+0
|
* FIX for webdav.mediencenter.t-online.de Oliver Kohl D.Sc.2015-03-251-0/+5
| | | | | | | | | https://webdav.mediencenter.t-online.de returns invalid response code. e.g. {"reqId":"f9a1c394b98108e4e5ca62bf47829c64","remoteAddr":"81.189.45.224","app":"PHP","message":"Undefined offset: 2 at \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/Sabre\/DAV\/Client.php#569","level":3,"time":"2015-03-25T18:25:48+00:00","method":"GET","url":"\/index.php\/apps\/files\/ajax\/getstoragestats.php?dir=External%2FT-Cloud%2FTests"} e.g. {"reqId":"3407d66672b3cef206b0af883e49bff4","remoteAddr":"46.74.125.245","app":"PHP","message":"Undefined index: {DAV:}getlastmodified at \/var\/www\/owncloud\/lib\/private\/files\/storage\/dav.php#563","level":3,"time":"2015-03-25T16:33:21+00:00"}
* Add `getNonExistingName()` to the node apiRobin Appelman2015-03-241-0/+12
|
* Do not automatically add "update" permission to shared mountsVincent Petry2015-03-201-1/+1
| | | | | | | | | In the past it seems the update permission was needed to be able to rename shared mounts, but it doesn't seem to be the case any more. Removing the "update" permission that used to be added automatically fixes the read-only permission check when trying to overwrite a read-only file over WebDAV.
* Merge pull request #14704 from owncloud/storage-wrapper-mountRobin Appelman2015-03-194-10/+46
|\ | | | | pass mountpoint to storage wrapper callback
| * fix factory testRobin Appelman2015-03-111-1/+0
| |
| * Allow setting the watcher policy as mount optionRobin Appelman2015-03-112-1/+9
| |
| * Copy mount options to the storageRobin Appelman2015-03-112-1/+19
| |
| * Allow getting all mount options as arrayRobin Appelman2015-03-111-0/+9
| |
| * pass mountpoint to storage wrapper callbackRobin Appelman2015-03-112-8/+10
| |
* | Remove unreqired backtick removalLukas Reschke2015-03-181-3/+0
| | | | | | | | | | | | | | | | Without this files with a ` (backtick) in the beginning of the filenames where simply not correctly referenced as the ` got removed. This can lead to all possible havoc situations. Should get backported to stable8 and in future we might consider if it is really worth to backport such changes when it is just for SQLite :see_no_evil: Regression of https://github.com/owncloud/core/pull/14734
* | Use `FILTER_UNSAFE_RAW` instead of `FILTER_SANITIZE_STRING`Lukas Reschke2015-03-171-1/+1
| | | | | | | | `FILTER_SANITIZE_STRING` will still encode everything else.
* | Merge pull request #14766 from owncloud/fix-insertifnotexists-pocMorris Jobke2015-03-162-5/+24
|\ \ | | | | | | Allow specifying the compare-array for insertIfNotExists()
| * | Throw a RuntimeException in the cache aswellJoas Schilling2015-03-112-4/+9
| | |
| * | Get the id before using itJoas Schilling2015-03-091-1/+2
| | |
| * | Better save then sorryJoas Schilling2015-03-091-0/+2
| | |
| * | insertIfNotExists() for storage insertionJoas Schilling2015-03-091-3/+9
| | |
| * | Only check unique keys for the comparison on filecache insert & update otherwiseJoas Schilling2015-03-091-1/+6
| | |
* | | Merge pull request #14776 from owncloud/fix-14629-masterThomas Müller2015-03-162-0/+10
|\ \ \ | | | | | | | | verify the file name length not to exceed 255 characters + verify path d...
| * | | verify the file name length not to exceed 255 characters + verify path ↵Thomas Müller2015-03-122-0/+10
| | | | | | | | | | | | | | | | during rename
* | | | drop any fallback code related to curl - refs ↵Thomas Müller2015-03-121-5/+1
|/ / / | | | | | | | | | https://github.com/owncloud/core/pull/14838#issuecomment-78586447
* | | Merge pull request #13893 from owncloud/create-cachedir-on-userMorris Jobke2015-03-111-8/+1
|\ \ \ | |_|/ |/| | Only make sure the cache directory exists when we use it
| * | Only make sure the cache directory exists when we use itRobin Appelman2015-02-041-8/+1
| | |
* | | Correct "one invalid characters" to "one invalid character"cmeh2015-03-111-1/+1
| | | | | | | | | Corrected "one invalid characters" to "one invalid character" in line 1575.
* | | Merge pull request #14759 from owncloud/clean-up-codeLukas Reschke2015-03-101-6/+48
|\ \ \ | | | | | | | | Clean-up code and use proper exception types
| * | | Clean-up code and use proper exception typesLukas Reschke2015-03-091-6/+48
| | |/ | |/|
* | | no translation service in common storage classThomas Müller2015-03-092-13/+17
| | |
* | | translate error messagesThomas Müller2015-03-092-9/+16
| | |
* | | Optimize loopLukas Reschke2015-03-091-6/+9
| | |
* | | fixing namespaces and PHPDocThomas Müller2015-03-091-0/+5
| | |
* | | adding storage specific filename verification - refs #13640Thomas Müller2015-03-093-11/+105
|/ /
* | use insertIfNotExist() in cache putThomas Müller2015-03-061-5/+11
| |
* | Update scanFile() and scanChildren() to the new signature of the parent classJoas Schilling2015-03-041-6/+7
| |
* | Allow disabling the cache updaterRobin Appelman2015-02-272-3/+23
| |
* | Merge pull request #14575 from owncloud/cache-rename-overwriteMorris Jobke2015-02-271-1/+4
|\ \ | | | | | | Fix cache update when doing a rename that overwrites the target
| * | Fix cache update when doing a rename that overwrites the targetRobin Appelman2015-02-271-1/+4
| | |
* | | Add "throws" lines to calling methods and interface aswellJoas Schilling2015-02-271-0/+23
|/ /
* | Merge pull request #14437 from owncloud/node-check-fileinfoThomas Müller2015-02-271-2/+16
|\ \ | | | | | | Check if we have a proper fileinfo
| * | Check if we have a proper fileinfoRobin Appelman2015-02-251-2/+16
| | |
* | | Merge pull request #14530 from owncloud/revert-14403Thomas Müller2015-02-2749-1004/+308
|\ \ \ | | | | | | | | Revert "Updating license headers"
| * | | Revert "Updating license headers"Morris Jobke2015-02-2649-1004/+308
| |/ / | | | | | | | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* / / Delete target file for unsuccessful copy/renameVincent Petry2015-02-261-10/+34
|/ /
* | Sabre Update to 2.1Vincent Petry2015-02-232-35/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - VObject fixes for Sabre\VObject 3.3 - Remove VObject property workarounds - Added prefetching for tags in sabre tags plugin - Moved oc_properties logic to separate PropertyStorage backend (WIP) - Fixed Sabre connector namespaces - Improved files plugin to handle props on-demand - Moved allowed props from server class to files plugin - Fixed tags caching for files that are known to have no tags (less queries) - Added/fixed unit tests for Sabre FilesPlugin, TagsPlugin - Replace OC\Connector\Sabre\Request with direct call to httpRequest->setUrl() - Fix exception detection in DAV client when using Sabre\DAV\Client - Added setETag() on Node instead of using the static FileSystem - Also preload tags/props when depth is infinity
* | Updating license headersJenkins for ownCloud2015-02-2349-308/+1004
| |
* | Merge pull request #13767 from owncloud/issue/13764-mimetype-raceconditionThomas Müller2015-02-201-3/+7
|\ \ | | | | | | Use insertIfNotExists() and reload mimetypes after inserting one
| * | Use insertIfNotExists() and reload mimetypes after inserting oneJoas Schilling2015-02-021-3/+7
| | |
* | | Merge pull request #14342 from owncloud/disallow-path-traversals-in-file-viewThomas Müller2015-02-191-6/+132
|\ \ \ | | | | | | | | Disallow path traversals in file view
| * | | Add some basic PHPDoc to functionsLukas Reschke2015-02-181-6/+124
| | | |
| * | | Prevent directory traversals in ctr of \OC\Files\ViewLukas Reschke2015-02-181-0/+8
| | | | | | | | | | | | | | | | This prevents a misusage of \OC\Files\View by calling it with user-supplied input. In such cases an exception is now thrown.
* | | | Merge pull request #13836 from owncloud/part-no-cache-updateThomas Müller2015-02-192-1/+13
|\ \ \ \ | |/ / / |/| | | Dont update the cache when working with part files