summaryrefslogtreecommitdiffstats
path: root/lib/private/files
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #17337 from owncloud/stable8.1-backport-17077Morris Jobke2015-07-152-5/+10
|\ | | | | [stable8.1] fix getting mount points when passing a path to the files:scan command
| * handle invalid results from mount providersRobin Appelman2015-07-021-1/+4
| |
| * add unit testRobin Appelman2015-07-021-2/+5
| |
| * fix getting mount points when passing a path to the files:scan commandRobin Appelman2015-07-021-3/+2
| |
* | Throw StorageNotAvailable if propfind on root failedVincent Petry2015-07-141-1/+5
|/ | | | | If PROPFIND fails with 404 or 405 on the remote share root, it means the storage is not available. Throw StorageNotAvailable is such case.
* Merge pull request #17256 from ↵Vincent Petry2015-06-301-1/+4
|\ | | | | | | | | owncloud/locking-disablecallbackwrapperwhendisabled Do not set callback wrapper when locking is disabled
| * Do not set callback wrapper when locking is disabledVincent Petry2015-06-301-1/+4
| |
* | Merge pull request #17251 from ↵Vincent Petry2015-06-301-2/+6
|\ \ | | | | | | | | | | | | owncloud/issue-17247-filesize-stat-failed-for-in-log Perform the filesize on the file that exists
| * | Perform the filesize only when the file existsJoas Schilling2015-06-301-2/+6
| |/ | | | | | | | | Regression from 95602d4069a1eb9a45e1d08edeecc0d5b90e01ca and 9b336765b69bf7b7e2cd67a824862411b249aa4d
* / Unlock first path on rename if second path is lockedVincent Petry2015-06-291-1/+6
|/
* Merge pull request #17030 from owncloud/lock-posthooksJoas Schilling2015-06-292-21/+21
|\ | | | | Keep shared lock for post-hooks
| * Remove test-specific method to make Bjoern and Joas happyVincent Petry2015-06-261-9/+0
| |
| * Keep shared locks in post hooksVincent Petry2015-06-253-21/+30
| | | | | | | | | | | | | | | | Instead of unlocking after the file operation, change exclusive locks back to shared locks during post hooks, and unlock after that. Also added unit tests to test locking in pre-hooks, during operation and post-hooks.
* | Merge pull request #17163 from owncloud/update-licensesLukas Reschke2015-06-2712-6/+14
|\ \ | | | | | | Update license headers
| * | update license headers and authorsMorris Jobke2015-06-2512-6/+14
| |/
* / Correctly check if the real file exists, otherwise try the part fileJoas Schilling2015-06-261-2/+6
|/
* Merge pull request #17070 from owncloud/lock-movemountbugVincent Petry2015-06-242-23/+62
|\ | | | | Lock correct paths when moving mount
| * Rollback folder scan if an entry was lockedVincent Petry2015-06-241-0/+5
| |
| * Fix locked paths in the moveMount caseVincent Petry2015-06-241-23/+57
| | | | | | | | | | | | | | When moving a mount point directly, the lock must be applied on the local mount point path instead of the attached storage root. Other operations will still lock the attached storage root.
* | Merge pull request #17110 from owncloud/share-error-handlingMorris Jobke2015-06-241-0/+1
|\ \ | | | | | | [sharing] handle shares of users that aren't available anymore
| * | [sharing] handle shares of users that aren't available anymoreMorris Jobke2015-06-231-0/+1
| | | | | | | | | | | | | | | * properly handle the case where an abandoned share is left and simply skip it
* | | Merge pull request #17095 from owncloud/proper-error-handlingMorris Jobke2015-06-231-1/+1
|\ \ \ | |/ / |/| | Proper error handling
| * | Added error message on initMountpoints exceptionMorris Jobke2015-06-231-1/+1
| |/
* | Merge pull request #17045 from owncloud/enc_improvementsBjörn Schießle2015-06-231-3/+5
|\ \ | |/ |/| encryption improvements
| * make sure that we always read the header from the original fileBjoern Schiessle2015-06-231-3/+5
| |
* | Merge pull request #16657 from owncloud/view-emit-pathThomas Müller2015-06-221-2/+4
|\ \ | |/ |/| emit hooks from a view as long as the path is inside the default root
| * fix check if hooks should be emited in runHooksRobin Appelman2015-06-151-1/+2
| |
| * emit hooks from a view as long as the path is inside the default rootRobin Appelman2015-06-021-1/+2
| |
* | Merge pull request #16963 from owncloud/fileinfo-lockVincent Petry2015-06-181-28/+49
|\ \ | | | | | | Acquire read lock when getting file or directory info
| * | remove unneeded normalizeRobin Appelman2015-06-181-2/+0
| | |
| * | unlock the file if the file doesnt existsRobin Appelman2015-06-181-0/+2
| | |
| * | use old cache data when lockedRobin Appelman2015-06-171-28/+49
| | |
* | | dont update the cache on rename failRobin Appelman2015-06-181-1/+1
| | |
* | | update noopscannerRobin Appelman2015-06-181-3/+3
| | |
* | | extends phpdocRobin Appelman2015-06-181-3/+4
| | |
* | | update the file cache within the write lockRobin Appelman2015-06-183-31/+43
|/ /
* | Merge pull request #16729 from owncloud/scanner-read-lockThomas Müller2015-06-172-8/+23
|\ \ | | | | | | keep a read lock while scanning a file or folder
| * | ensure normalized path form when changing locksRobin Appelman2015-06-151-0/+1
| | |
| * | properly unlock in case of failed fopenRobin Appelman2015-06-151-2/+2
| | |
| * | keep a read lock while scanning a file or folderRobin Appelman2015-06-152-7/+21
| | |
* | | Normalize path in View's lock methodsVincent Petry2015-06-161-4/+5
| | |
* | | Merge pull request #16892 from owncloud/lock-returnfullpathVincent Petry2015-06-161-10/+55
|\ \ \ | | | | | | | | Rethrow LockedException with full path
| * | | Rethrow LockedException with full pathVincent Petry2015-06-161-10/+55
| |/ / | | | | | | | | | | | | Because the path is converted to md5 from the original exception, rethrow the exception with the correct full path
* | | Merge pull request #16727 from owncloud/file-put-content-lockThomas Müller2015-06-151-2/+17
|\ \ \ | |/ / |/| | add proper locking to file_put_contents when using streams
| * | change lock back to shared before updating the cacheRobin Appelman2015-06-031-1/+4
| | |
| * | add proper locking to file_put_contents when using streamsRobin Appelman2015-06-031-2/+14
| |/
* | Webdav PUT small file lock must be shared during hooksVincent Petry2015-06-121-1/+3
| | | | | | | | | | | | | | | | Fixed code path for Webdav PUT of small files to use shared locks during hook execution, and exclusive during the file operation This makes it possible for versions to be copied by accessing the file in a post_write hook.
* | Don't use limit on explode to have only 1 code pathJoas Schilling2015-06-121-7/+2
| |
* | Add return value to lock methods and check it in testsJoas Schilling2015-06-121-5/+22
| |
* | Only lock files in data/username/files/Joas Schilling2015-06-121-9/+53
| |