summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/sharedstorage.php
Commit message (Collapse)AuthorAgeFilesLines
* Prevent error with orphaned shares when updating user mount cacheVincent Petry2016-08-291-1/+4
|
* Merge pull request #25789 from ↵Vincent Petry2016-08-161-8/+15
|\ | | | | | | | | owncloud/stable9.1-usermountcache-hell-shortcutstorageid [stable9.1] Fix sharedstorage recursion hell
| * Use FailedStorage when share is invalidVincent Petry2016-08-151-3/+4
| |
| * Flag to not recurse into shared mounts in getPathVincent Petry2016-08-151-1/+1
| |
| * Lazy init shared storage by tweaking jailVincent Petry2016-08-151-6/+12
| |
* | Store the shared propagator instanceVincent Petry2016-08-151-1/+6
|/ | | | This instead of recreating it for every call.
* [stable9.1] Added integration test (#25675)Thomas Müller2016-08-021-0/+10
| | | | | | * [stable9.1] Added integration test * A shared storage is never a home storage - fixes #25582
* [stable9.1] Group shares with same source and target (#25534)Vincent Petry2016-07-261-43/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Group shares with same source and target Fixes #24575 Note that this is a very limited solution and eventually we want smarter merging! * Add integration tests for merging received shares * Improved share grouping readability + fixed test * Add repair step for unmerged shares (WIP) * Added more tests for sharing's MountProvider * Group incoming shares for resharing in JS * Adjust repair version check for unmerged shares * Fix RepairUnmergedShares to not skip valid repair cases The repair step was a bit overeager to skip repairing so it missed the case where a group share exists without subshares but with an additional direct user share. * Add integration tests for double shares with rename in between * Make share target consistent when grouping group share with user share In some situations, a group share is created before a user share, and the recipient renamed the received share before the latter is created. In this situation, the "file_target" was already modified and the second created share must align to the already renamed share. To achieve this, the MountProvider now groups only by "item_source" value and sorts by share time. This makes it so that the least recent share is selected as super-share and its "file_target" value is then adjusted in all grouped shares. This fixes the issue where this situation would have different "file_target" values resulting in two shared folders appearing instead of one.
* Bring back sharedstorage hooksRoeland Jago Douma2016-06-081-0/+18
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Cleanup Files_Sharing CLASSPATHRoeland Jago Douma2016-05-021-2/+2
| | | | | | | | | | * OC\Files\Cache\SharedScanner * OC\Files\Cache\Shared_Cache * OC\Files\Cache\Shared_Permissions * OC\Files\Cache\Shared_Updater * OC\Files\Cache\Shared_Watcher * OCA\Files\Share\Maintainer * OCA\Files\Share\Proxy
* do propagation in a single queryRobin Appelman2016-04-251-1/+1
|
* Move copy- and moveFromStorage to jailRoeland Jago Douma2016-04-191-20/+0
|
* Fix resolve pathRoeland Jago Douma2016-04-191-11/+0
|
* Move SharedStorage et al over to the shareManager and jailRoeland Jago Douma2016-04-191-381/+82
|
* move failedstorage to coreRobin Appelman2016-03-111-1/+1
|
* dont break when there is an invalid shareRobin Appelman2016-03-111-5/+19
|
* Fix share mounting recursionVincent Petry2016-03-081-0/+2
|
* Return -3 for unlimited quotaVincent Petry2016-02-291-0/+4
| | | | | Returns -3 for unlimited quota in Webdav response. Also adjusted personal page to show unlimited quota when set.
* Block shares that dont have the correct source permissionsRobin Appelman2016-01-291-6/+18
|
* cleanup shared cacheRobin Appelman2016-01-281-9/+16
|
* handle noopscanner in shared scannerRobin Appelman2016-01-151-1/+1
|
* Merge pull request #21615 from owncloud/shared-islocalThomas Müller2016-01-131-0/+7
|\ | | | | implement isLocal for shared storage
| * implement isLocal for shared storageRobin Appelman2016-01-111-0/+7
| |
* | Happy new year!Thomas Müller2016-01-121-2/+2
|/
* Add reshare permission checksVincent Petry2015-12-081-1/+1
| | | | | | | Added in isSharable() in incoming remote share. Added in isSharable() in regular incoming share. Added in FileInfo to make sure the proper attributes are returned to the clients.
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-12-071-2/+0
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* take the etag of child mounts into account for the folder etagRobin Appelman2015-11-191-9/+7
| | | | this replaces shared etag propagation
* Update license headersLukas Reschke2015-10-261-1/+1
|
* Fix getEtag for roots of shared storagesRobin Appelman2015-10-061-3/+0
|
* only initialize onceRobin Appelman2015-09-231-0/+6
|
* Delay listening to owner changes untill we use a share for that ownerRobin Appelman2015-09-231-0/+15
|
* Delay setting up the filesystem for a share owner untill the share is usedRobin Appelman2015-09-031-1/+6
|
* Prevent shares being added to oc_storages via availabilityRobin McCorkell2015-08-201-0/+18
|
* just pass the share instead of searching for itRobin Appelman2015-08-051-2/+2
|
* only lock the parent foldersRobin Appelman2015-07-011-2/+2
|
* lock parent folders for the owner when locking a shared file as recipientRobin Appelman2015-07-011-0/+16
|
* update license headers and authorsMorris Jobke2015-06-251-0/+1
|
* add changeLock to the storage apiRobin Appelman2015-06-011-0/+11
|
* add locking to the storage apiRobin Appelman2015-06-011-0/+26
|
* Merge pull request #16440 from owncloud/scrutinizer-patch-1Thomas Müller2015-05-191-3/+0
|\ | | | | Scrutinizer Auto-Fixes
| * Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-05-191-3/+0
| | | | | | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* | Fix unexisting class and broken docJoas Schilling2015-05-191-1/+1
|/
* a new approach to display the error messageBjoern Schiessle2015-05-181-1/+7
|
* dont go trough the view when renaming/copying on shared storagesRobin Appelman2015-05-121-20/+21
|
* propagate etags for all user of a shareRobin Appelman2015-04-271-33/+17
|
* Merge pull request #13360 from owncloud/cross-storage-moveMorris Jobke2015-04-141-0/+34
|\ | | | | Proper copy/move between multiple local storages
| * a bit more phpdocRobin Appelman2015-04-141-0/+6
| |
| * add missing return for sharedRobin Appelman2015-04-131-2/+2
| |
| * Implement move/copyFromStorage for shared storageRobin Appelman2015-04-131-0/+28
| |