summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that FileInfo return values as required by its phpdoc.Piotr M2017-03-221-6/+8
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* mount shared mounts lastRobin Appelman2017-03-222-2/+34
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Move error message to log entryLukas Reschke2017-03-201-1/+12
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix malformed logging in exceptionkdslkdsaldsal2017-03-191-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #3892 from nextcloud/downstream-27101Joas Schilling2017-03-171-1/+5
|\ | | | | Redirect unlink to rmdir
| * Redirect unlink to rmdir (#27101)Vincent Petry2017-03-161-1/+5
| | | | | | | | | | | | | | Many API callers will call unlink even for directories and it can mess up with some wrappers like the encryption wrapper Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Skip FailedStorage in background scanVincent Petry2017-03-171-0/+12
|/ | | | | | | | The background job that scans storages must skip failed storages to avoid potential exceptions, especially when the failed storage comes from a shared storage where the source is not accessible. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #3838 from Xuanwo/basename-fixRoeland Jago Douma2017-03-141-1/+2
|\ | | | | [OC/Files/Cache]: Fix wrong usage of basename
| * [OC/Files/Cache]: Fix wrong usage of basenameXuanwo2017-03-141-1/+2
| | | | | | | | | | | | Fix https://github.com/nextcloud/server/issues/3837 Signed-off-by: Xuanwo <xuanwo@yunify.com>
* | 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>
* | dont allow empty wildcard searchRobin Appelman2017-03-131-0/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Allow searching for favoritesRobin Appelman2017-03-083-7/+60
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Implement webdav SEARCHRobin Appelman2017-03-018-25/+175
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | add icewind/searchdavRobin Appelman2017-02-285-0/+322
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Refactor files' CacheEntry object creation to call cacheEntryFromData() all ↵Frédéric Fortier2017-02-221-36/+16
| | | | | | | | | | | | the time thus allowing proper casts to be done Signed-off-by: Frédéric Fortier <frederic.fortier@oronospolytechnique.com>
* | Typecast filecache 'storage' as int to return it as documented, fixes #3461Frédéric Fortier2017-02-201-0/+2
| | | | | | | | Signed-off-by: Frédéric Fortier <frederic.fortier@oronospolytechnique.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-152-1/+10
|\ \ \ | | | | | | | | also apply permissions mask in getMetaData
| * | | also apply permissions mask in getMetaDataRobin Appelman2017-02-102-1/+10
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #3262 from nextcloud/jail-scanner-storage-idRoeland Jago Douma2017-02-153-7/+3
|\ \ \ \ | | | | | | | | | | 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-253-7/+3
| | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #2970 from nextcloud/notify-self-testMorris Jobke2017-01-302-0/+117
|\ \ \ | | | | | | | | Add self-test for files_external:notify
| * | | Add a more powerful notify mechanismRobin Appelman2017-01-272-0/+117
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | 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>
* | | Merge pull request #3238 from nextcloud/dav-testLukas Reschke2017-01-262-5/+9
|\ \ \ | |/ / |/| | Make DAV external storage test more reliable
| * | Make DAV external storage test more reliableRobin Appelman2017-01-242-5/+9
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #3030 from nextcloud/filesapi-renamefailcaseMorris Jobke2017-01-243-109/+82
|\ \ \ | |/ / |/| | Fix files node API failed rename/copy
| * | Fix files node API failed rename/copyVincent Petry2017-01-123-108/+81
| | | | | | | | | | | | | | | | | | | | | Whenever a rename or copy operation failed on the view, we must throw an exception instead of just ignoring. Signed-off-by: Vincent Petry <pvince81@owncloud.com>
| * | Refactor files node API for more code reuseVincent Petry2017-01-111-1/+1
| | | | | | | | | | | | Signed-off-by: Vincent Petry <pvince81@owncloud.com>
* | | Merge pull request #3212 from mwalbeck/mimetype-hidden-filesRobin Appelman2017-01-231-0/+4
|\ \ \ | | | | | | | | Mimetype detection for hidden files
| * | | Reduced code for filename trimMagnus Walbeck2017-01-231-3/+1
| | | | | | | | | | | | | | | | Signed-off-by: Magnus Walbeck <mw@mwalbeck.org>
| * | | Mimetype detection for hidden filesMagnus Walbeck2017-01-231-0/+6
| |/ / | | | | | | | | | Signed-off-by: Magnus Walbeck <mw@mwalbeck.org>
* / / Prevent PHP request to get killed when using fclose callback (#26775)Vincent Petry2017-01-231-0/+2
|/ / | | | | | | | | | | | | | | * Prevent PHP request to get killed when using fclose callback * Add ignore_user_abort everywhere where the time limit is set to 0 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
| * | Fix DAV stat cache to properly cache 404Vincent Petry2017-01-051-52/+53
| | | | | | | | | | | | | | | | | | 404 errors were not properly cached due to catching the wrong exception. Now catching ClientHttpException and checking the error code. In case of 404, adjust the stat cache accordingly.
* | | Only check for local shared storagesRoeland Jago Douma2017-01-101-2/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Skip local shares in bkg scan and occ files:scan (#26590)Vincent Petry2017-01-101-5/+15
| | | | | | | | | | | | | | | Local shares should only be scanned when doing it for the owner to avoid repeatedly rescanning the same shared storage over and over again for every recipient.
* | | replace close:// streamwrapper with CallBackWrapperRobin Appelman2017-01-063-144/+14
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #2934 from nextcloud/quota-stream-non-globalRoeland Jago Douma2017-01-061-74/+20
|\ \ \ | | | | | | | | remove the need to register the quota streamwrapper globally
| * | | remove the need to register the quota streamwrapper globallyRobin Appelman2017-01-041-74/+20
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | log a warning when trying to use a non basic fopen modeRobin Appelman2017-01-051-14/+11
| |/ / |/| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | remove static:// stream wrapperRobin Appelman2017-01-041-171/+0
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | remove no longer used fakedir stream wrapperRobin Appelman2017-01-031-67/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>