| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The last sharing hook to be moved over.
* Added unit tests
* Removed old tests that relied on old behaviour
* Removed old hooks.php
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
|
|\
| |
| | |
Fix addUserToGroup hook of the share code
|
| |
| |
| |
| |
| |
| | |
* sets up the filesystem of the user that is added to a group
to properly accept shares
* fixes #18499
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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)
|
| |
|
|
|
|
|
| |
targets before the user was added to the group otherwise we will always detect
a name collision
|
| |
|
|
|
|
|
| |
* should make scrutinizer a lot more happy
* reduces maybe memory footprint
|
| |
|
|
|
|
| |
This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
|
| |
|
| |
|
| |
|
| |
|
|
to a "constants" class
|