summaryrefslogtreecommitdiffstats
path: root/lib/private/share20/defaultshareprovider.php
Commit message (Collapse)AuthorAgeFilesLines
* 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 :)
* Add parent for invisible link sharesRoeland Jago Douma2016-02-111-0/+4
|
* Also add type (file/folder) to IShare objectRoeland Jago Douma2016-02-041-0/+1
| | | | We need this for the hooks :(
* Make the share object lazyRoeland Jago Douma2016-02-041-3/+2
| | | | | Share providers can now just pass in a fileId. And the node will only be created once needed.
* [Share 2.0] Fix defaultshare providerRoeland Jago Douma2016-02-031-77/+56
|
* [Share 2.0] Add exceptions to OCPRoeland Jago Douma2016-02-021-1/+1
|
* [Share 2.0] Allow moving of sharesRoeland Jago Douma2016-02-021-0/+58
| | | | | * Only recipient can move a share * Unit tests
* getChildren should not return usergroup sharesRoeland Jago Douma2016-02-021-6/+6
|
* [Share 2.0] Allow recipient to be passed in to getShareByIdRoeland Jago Douma2016-02-021-12/+12
| | | | | * This allows us to retrieve usergroup shares for a given id. If the user deleted a share or moved it this will be a different share
* Add path filter to OCS Share API ?shared_with_me=trueRoeland Jago Douma2016-01-291-10/+13
| | | | | | This allows all clients to quickly get the share info for a given path. Instead of returning everything and filtering it then manually on the client side.
* [Share 2.0] When deleting a group share delete childrenRoeland Jago Douma2016-01-281-9/+9
| | | | | | For group shares we can have children. Those are custom shares when a user has moved or deleted a group share. Those also have to be deleted if the group share is removed.
* [Share 2.0] Fix interfaces and commentsRoeland Jago Douma2016-01-281-19/+22
| | | | | | | | * Made comments more clear * Removed unneeded methods * IShares shareTime is now a proper DateTime object * IShares getPath -> getNode & setPath -> setNode * Fix unit tests
* [Share 2.0] Move IShare to OCPRoeland Jago Douma2016-01-271-12/+13
|
* [Share 2.0] Fix IShareRoeland Jago Douma2016-01-271-1/+1
|
* Merge pull request #21940 from ↵Thomas Müller2016-01-271-1/+1
|\ | | | | | | | | owncloud/share2_do_not_returned_removed_group_shares [Share 2.0] Properly handle user deleted group shares
| * [Share 2.0] Properly handle user deleted group sharesRoeland Jago Douma2016-01-271-1/+1
| | | | | | | | | | | | If a user deletes a group share we create a special share entry. To the API this is just a normal group share for that user with permissions 0. But we should not return this.
* | Merge pull request #21887 from owncloud/share2_updateShareThomas Müller2016-01-271-0/+63
|\ \ | |/ |/| [Sharing 2.0] update share
| * Fix comments from ThomasRoeland Jago Douma2016-01-261-2/+2
| |
| * [Share 2.0] Add update shareRoeland Jago Douma2016-01-261-0/+63
| |
* | We must resolve to the proper usergroup shareRoeland Jago Douma2016-01-261-3/+11
|/
* Replace other usagesJoas Schilling2016-01-251-4/+3
|
* [Share 2.0] Add deleteFromSelf methodRoeland Jago Douma2016-01-221-0/+79
| | | | | | | This allows recipient to delete a share. For user shares this is the same as deleting (at least for now). But for group shares this means creating a new share with type 2. With permissions set to 0.
* [Share 2.0] Fix displaying old shares propleryRoeland Jago Douma2016-01-211-1/+12
|
* Comments from VincentRoeland Jago Douma2016-01-211-4/+4
|
* Add Unit tests for the default share providerRoeland Jago Douma2016-01-211-13/+17
|
* [Share 2.0] Add subfiles=xRoeland Jago Douma2016-01-211-1/+1
|
* [Share 2.0] Resolve group sharesRoeland Jago Douma2016-01-211-5/+72
|
* [Sharing 2.0] Start with getSharesRoeland Jago Douma2016-01-211-5/+87
|
* [Share 2.0] Add fetching link shares to share managerRoeland Jago Douma2016-01-201-5/+30
|
* [Share 2.0] Share Object creation is a fragile thingRoeland Jago Douma2016-01-181-13/+59
| | | | | | | * We can't assume that the file still exists * We can't assume that the user/group still exists Basically we do not always nicely cleanup shares.
* Only select elements from the database that we supportRoeland Jago Douma2016-01-141-1/+26
|
* Use namedparameterRoeland Jago Douma2016-01-141-6/+3
|
* [Share 2.0] Let the factory do the factory stuffRoeland Jago Douma2016-01-131-13/+0
| | | | * Updated unit tests (bit cleaner now)
* [Share 2.0] Use full share id (providerId:shareId)Roeland Jago Douma2016-01-131-0/+16
| | | | | | | | | | | | Now that we support multiple managers we communicate shares to the outside as 'providerId:shareId'. This makes sures that id's are unique when references from the OCS API. However, since we do not want to break the OCS API v1 we need to somewhat hack around this. When we switch to OCS API v2 (which we should when we support more custom providers). We will change the id to always be the fullShareId.
* [Share 2.0] Add share provider factoryRoeland Jago Douma2016-01-131-0/+13
| | | | | | | * Add providers * Add share manager to server container * Use share manager from server container * Properly get the share manager
* Happy new year!Thomas Müller2016-01-121-1/+1
|
* [Share 2.0] Make share provider ready for create sharesRoeland Jago Douma2016-01-061-11/+113
|
* [Sharing 2.0] Fix phpdoc etcRoeland Jago Douma2015-11-241-23/+30
|
* [Sharing 2.0] Default share provider only generic DIRoeland Jago Douma2015-11-241-11/+11
| | | | | | No injection of userfolders etc. Only generic DI components (IRootFolder) etc should be used to make sure we can also run this from the cli
* [Sharing 2.0] Move hook and delete children logic to share managerRoeland Jago Douma2015-11-231-44/+9
| | | | | | | To make sure hooks are always fired and child entries are always cleaned. This logic is moved to the share manager. * Updated unit tests
* [Share2.0] OCS Share API getShare uses new codeRoeland Jago Douma2015-11-161-5/+4
|
* Add unshare hooksRoeland Jago Douma2015-11-051-2/+29
|
* The new sharing code now handles deletionRoeland Jago Douma2015-11-051-0/+248
OCS -> ShareManager -> DefaultShareProvider