summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20/Manager.php
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersLukas Reschke2016-05-261-1/+2
|
* use share initiator as fall back to access the fileBjörn Schießle2016-05-201-3/+12
| | | | | in case of federated re-shares the owner can be a remote user. Therefore we can't always use to owner to access the local file
* Fix related logicRoeland Jago Douma2016-04-191-20/+31
|
* Move post_removeFromGroup to shareManagerRoeland Jago Douma2016-04-131-0/+8
| | | | | | | | The last sharing hook to be moved over. * Added unit tests * Removed old tests that relied on old behaviour * Removed old hooks.php
* set $share to null if getShareByToken() failedBjörn Schießle2016-04-121-1/+1
|
* Migrate post_groupDelete hook to share manager (#23841)Roeland Douma2016-04-121-0/+8
| | | | | | | | The hook now calls the share manager that will call the responsible shareProvider to do the proper cleanup. * Unit tests added Again nothing should change it is just to cleanup old code
* Set proper permissions on link shareRoeland Jago Douma2016-04-081-1/+19
| | | | | | | | If we do not allow public upload we should limit the permissions on links shares upon retrieval. * Added unit test * Allow fetching federated shares by token as well
* Migrate post_userDelete hook to share managerRoeland Jago Douma2016-04-041-0/+12
| | | | | | | | | | | | | This makes the post_userDelete hook call the sharemanager. This will cleanup to and from this user. * All shares owned by this user * All shares with this user (user) * All custom group shares * All link share initiated by this user (to avoid invisible link shares) Unit tests are added for the defaultshare provider as well as the federated share provider
* Non moveable mount points should always be UPDATE+DELETE shareableRoeland Jago Douma2016-03-301-1/+13
| | | | | | | | | | | | Fixes #23536 The new sharing code is much stricter in checking permissions. However for non moveable mounts the permissions UPDATE+DELETE are not reported on the mount point. This is just a quick fix. * Updated unit tests
* Block group sharing in API and in share managerRoeland Jago Douma2016-03-221-0/+5
| | | | * Fix tests
* Add config to sharemanagerRoeland Jago Douma2016-03-221-0/+7
|
* Move (new) sharing over to composer autoloaderRoeland Jago Douma2016-03-201-0/+1150