aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/share/hooks.php
Commit message (Collapse)AuthorAgeFilesLines
* Move post_removeFromGroup to shareManagerRoeland Jago Douma2016-04-131-46/+0
| | | | | | | | The last sharing hook to be moved over. * Added unit tests * Removed old tests that relied on old behaviour * Removed old hooks.php
* Migrate post_groupDelete hook to share manager (#23841)Roeland Douma2016-04-121-13/+0
| | | | | | | | 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
* Remove pre/post_addToGroup hooks for sharesRoeland Jago Douma2016-04-081-118/+0
| | | | | There is no need to perform the checks for unique targets on add to group as we have to do this all when mounting the shares anyway.
* Migrate post_userDelete hook to share managerRoeland Jago Douma2016-04-041-18/+0
| | | | | | | | | | | | | 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
* Update author informationLukas Reschke2016-03-011-0/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Merge pull request #21854 from owncloud/fix-share-hook-group-addThomas Müller2016-02-251-0/+17
|\ | | | | Fix addUserToGroup hook of the share code
| * Fix addUserToGroup hook of the share codeMorris Jobke2016-01-221-0/+17
| | | | | | | | | | | | * sets up the filesystem of the user that is added to a group to properly accept shares * fixes #18499
* | When a user is removed we should remove the right sharesRoeland Jago Douma2016-02-051-1/+1
|/ | | | | | | | | | | | | | | * This means all the shares directly shared with them * Or all group shares having a special share with them This patch fixes the operator precedece (AND before OR). So before this patch: (share_with = <deleted user> AND share_type = 0) OR share_type=2 So it deleted all user specific shares Now: share_with = <deleted user> AND (share_type = 0 OR (share_type=2)
* Happy new year!Thomas Müller2016-01-121-2/+2
|
* intproduce pre_addToGroup hook. we need to calculate the possible uniqueBjoern Schiessle2015-07-061-28/+87
| | | | | targets before the user was added to the group otherwise we will always detect a name collision
* owner is stored as 'uid_owner', not as 'owner' in the oc_share tableBjoern Schiessle2015-07-021-2/+2
|
* Remove unused variablesMorris Jobke2015-04-181-1/+1
| | | | | * should make scrutinizer a lot more happy * reduces maybe memory footprint
* Update license headersJenkins for ownCloud2015-03-261-12/+14
|
* Revert "Updating license headers"Morris Jobke2015-02-261-13/+13
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-13/+13
|
* some small fixed, suggested by scrutinizerBjoern Schiessle2014-09-291-1/+1
|
* fix add user to group to work with grouped sharesBjoern Schiessle2014-09-241-10/+18
|
* Fix all PHPDoc types and variable names, in /libRobin McCorkell2014-05-131-5/+5
|
* add a "helper" and a "hooks" class. Move constants needed by multiple classesBjoern Schiessle2014-03-251-0/+108
to a "constants" class