Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Keep shared locks in post hooks | Vincent Petry | 2015-06-25 | 1 | -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 case | Vincent Petry | 2015-06-24 | 1 | -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-path | Thomas Müller | 2015-06-22 | 1 | -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 runHooks | Robin Appelman | 2015-06-15 | 1 | -1/+2 | |
| | | ||||||
| * | emit hooks from a view as long as the path is inside the default root | Robin Appelman | 2015-06-02 | 1 | -1/+2 | |
| | | ||||||
* | | Merge pull request #16963 from owncloud/fileinfo-lock | Vincent Petry | 2015-06-18 | 1 | -28/+49 | |
|\ \ | | | | | | | Acquire read lock when getting file or directory info | |||||
| * | | remove unneeded normalize | Robin Appelman | 2015-06-18 | 1 | -2/+0 | |
| | | | ||||||
| * | | unlock the file if the file doesnt exists | Robin Appelman | 2015-06-18 | 1 | -0/+2 | |
| | | | ||||||
| * | | use old cache data when locked | Robin Appelman | 2015-06-17 | 1 | -28/+49 | |
| | | | ||||||
* | | | dont update the cache on rename fail | Robin Appelman | 2015-06-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | update the file cache within the write lock | Robin Appelman | 2015-06-18 | 1 | -19/+19 | |
|/ / | ||||||
* | | Merge pull request #16729 from owncloud/scanner-read-lock | Thomas Müller | 2015-06-17 | 1 | -8/+12 | |
|\ \ | | | | | | | keep a read lock while scanning a file or folder | |||||
| * | | ensure normalized path form when changing locks | Robin Appelman | 2015-06-15 | 1 | -0/+1 | |
| | | | ||||||
| * | | properly unlock in case of failed fopen | Robin Appelman | 2015-06-15 | 1 | -2/+2 | |
| | | | ||||||
| * | | keep a read lock while scanning a file or folder | Robin Appelman | 2015-06-15 | 1 | -7/+10 | |
| | | | ||||||
* | | | Normalize path in View's lock methods | Vincent Petry | 2015-06-16 | 1 | -4/+5 | |
| | | | ||||||
* | | | Merge pull request #16892 from owncloud/lock-returnfullpath | Vincent Petry | 2015-06-16 | 1 | -10/+55 | |
|\ \ \ | | | | | | | | | Rethrow LockedException with full path | |||||
| * | | | Rethrow LockedException with full path | Vincent Petry | 2015-06-16 | 1 | -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-lock | Thomas Müller | 2015-06-15 | 1 | -2/+17 | |
|\ \ \ | |/ / |/| | | add proper locking to file_put_contents when using streams | |||||
| * | | change lock back to shared before updating the cache | Robin Appelman | 2015-06-03 | 1 | -1/+4 | |
| | | | ||||||
| * | | add proper locking to file_put_contents when using streams | Robin Appelman | 2015-06-03 | 1 | -2/+14 | |
| |/ | ||||||
* | | Webdav PUT small file lock must be shared during hooks | Vincent Petry | 2015-06-12 | 1 | -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 path | Joas Schilling | 2015-06-12 | 1 | -7/+2 | |
| | | ||||||
* | | Add return value to lock methods and check it in tests | Joas Schilling | 2015-06-12 | 1 | -5/+22 | |
| | | ||||||
* | | Only lock files in data/username/files/ | Joas Schilling | 2015-06-12 | 1 | -9/+53 | |
|/ | ||||||
* | shared lock around hooks | Robin Appelman | 2015-06-01 | 1 | -11/+42 | |
| | ||||||
* | unlock source file when we cant lock the target in a rename | Robin Appelman | 2015-06-01 | 1 | -1/+7 | |
| | ||||||
* | fix locking root of a view | Robin Appelman | 2015-06-01 | 1 | -1/+1 | |
| | ||||||
* | dont apply callback wrapper when fopen failed | Robin Appelman | 2015-06-01 | 1 | -1/+1 | |
| | ||||||
* | dont lock on meta data operations | Robin Appelman | 2015-06-01 | 1 | -4/+4 | |
| | ||||||
* | phpdoc and minor issues | Robin Appelman | 2015-06-01 | 1 | -9/+17 | |
| | ||||||
* | Use md5 + prefix for file locking keys in memcache | Vincent Petry | 2015-06-01 | 1 | -1/+3 | |
| | | | | | Also trim slashes from paths to make sure the locks are based on the same paths. | |||||
* | Use md5 for lock key | Vincent Petry | 2015-06-01 | 1 | -2/+14 | |
| | ||||||
* | fix unlocking when moving mount points | Robin Appelman | 2015-06-01 | 1 | -0/+5 | |
| | ||||||
* | high level locking wip | Robin Appelman | 2015-06-01 | 1 | -5/+59 | |
| | ||||||
* | add locking to the view apo | Robin Appelman | 2015-06-01 | 1 | -2/+71 | |
| | ||||||
* | fix propagation when renaming a directly reshared folder | Robin Appelman | 2015-04-27 | 1 | -0/+4 | |
| | ||||||
* | typo | Robin Appelman | 2015-04-22 | 1 | -1/+1 | |
| | ||||||
* | dont allow using null as view root | Robin Appelman | 2015-04-22 | 1 | -0/+6 | |
| | ||||||
* | Merge pull request #13360 from owncloud/cross-storage-move | Morris Jobke | 2015-04-14 | 1 | -85/+24 | |
|\ | | | | | Proper copy/move between multiple local storages | |||||
| * | fix rebase issue | Robin Appelman | 2015-04-13 | 1 | -2/+2 | |
| | | ||||||
| * | Move cross storage copy logic to the storage | Robin Appelman | 2015-04-13 | 1 | -74/+13 | |
| | | ||||||
| * | Small cleanup of rename code | Robin Appelman | 2015-04-13 | 1 | -14/+14 | |
| | | ||||||
* | | Fix moving mount points | Robin Appelman | 2015-04-13 | 1 | -1/+3 | |
|/ | ||||||
* | fixes #15326 | Jörn Friedrich Dreyer | 2015-04-09 | 1 | -1/+3 | |
| | ||||||
* | kill OC_FileProxy :boom: | Thomas Müller | 2015-04-07 | 1 | -17/+5 | |
| | ||||||
* | Update license headers | Jenkins for ownCloud | 2015-03-26 | 1 | -4/+36 | |
| | ||||||
* | Do not automatically add "update" permission to shared mounts | Vincent Petry | 2015-03-20 | 1 | -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üller | 2015-03-12 | 1 | -0/+5 | |
| | | | | during rename | |||||
* | Correct "one invalid characters" to "one invalid character" | cmeh | 2015-03-11 | 1 | -1/+1 | |
| | | | Corrected "one invalid characters" to "one invalid character" in line 1575. |