summaryrefslogtreecommitdiffstats
path: root/lib/private/files/view.php
Commit message (Collapse)AuthorAgeFilesLines
...
* Keep shared locks in post hooksVincent Petry2015-06-251-20/+20
| | | | | | | | 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.
* 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 #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 the file cache within the write lockRobin Appelman2015-06-181-19/+19
|/ /
* | Merge pull request #16729 from owncloud/scanner-read-lockThomas Müller2015-06-171-8/+12
|\ \ | | | | | | 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-151-7/+10
| | |
* | | 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
|/
* shared lock around hooksRobin Appelman2015-06-011-11/+42
|
* unlock source file when we cant lock the target in a renameRobin Appelman2015-06-011-1/+7
|
* fix locking root of a viewRobin Appelman2015-06-011-1/+1
|
* dont apply callback wrapper when fopen failedRobin Appelman2015-06-011-1/+1
|
* dont lock on meta data operationsRobin Appelman2015-06-011-4/+4
|
* phpdoc and minor issuesRobin Appelman2015-06-011-9/+17
|
* Use md5 + prefix for file locking keys in memcacheVincent Petry2015-06-011-1/+3
| | | | | Also trim slashes from paths to make sure the locks are based on the same paths.
* Use md5 for lock keyVincent Petry2015-06-011-2/+14
|
* fix unlocking when moving mount pointsRobin Appelman2015-06-011-0/+5
|
* high level locking wipRobin Appelman2015-06-011-5/+59
|
* add locking to the view apoRobin Appelman2015-06-011-2/+71
|
* fix propagation when renaming a directly reshared folderRobin Appelman2015-04-271-0/+4
|
* typoRobin Appelman2015-04-221-1/+1
|
* dont allow using null as view rootRobin Appelman2015-04-221-0/+6
|
* Merge pull request #13360 from owncloud/cross-storage-moveMorris Jobke2015-04-141-85/+24
|\ | | | | Proper copy/move between multiple local storages
| * fix rebase issueRobin Appelman2015-04-131-2/+2
| |
| * Move cross storage copy logic to the storageRobin Appelman2015-04-131-74/+13
| |
| * Small cleanup of rename codeRobin Appelman2015-04-131-14/+14
| |
* | Fix moving mount pointsRobin Appelman2015-04-131-1/+3
|/
* fixes #15326Jörn Friedrich Dreyer2015-04-091-1/+3
|
* kill OC_FileProxy :boom:Thomas Müller2015-04-071-17/+5
|
* Update license headersJenkins for ownCloud2015-03-261-4/+36
|
* 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.
* verify the file name length not to exceed 255 characters + verify path ↵Thomas Müller2015-03-121-0/+5
| | | | during rename
* Correct "one invalid characters" to "one invalid character"cmeh2015-03-111-1/+1
| | | Corrected "one invalid characters" to "one invalid character" in line 1575.