summaryrefslogtreecommitdiffstats
path: root/lib/private/share20
Commit message (Collapse)AuthorAgeFilesLines
...
* [Share 2.0] Fix interfaces and commentsRoeland Jago Douma2016-01-283-52/+55
| | | | | | | | * 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] Create IManger interface for share managerRoeland Jago Douma2016-01-271-2/+4
|
* [Share 2.0] Move IShare to OCPRoeland Jago Douma2016-01-277-477/+44
|
* [Share 2.0] Fix IShareRoeland Jago Douma2016-01-273-105/+47
|
* 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-272-15/+160
|\ \ | |/ |/| [Sharing 2.0] update share
| * Fix comments from ThomasRoeland Jago Douma2016-01-262-16/+16
| |
| * [Share 2.0] Fire off hookRoeland Jago Douma2016-01-261-5/+21
| |
| * [Share 2.0] Add update shareRoeland Jago Douma2016-01-262-4/+133
| |
* | 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-223-0/+104
| | | | | | | 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-212-8/+8
|
* Add Unit tests for the default share providerRoeland Jago Douma2016-01-211-13/+17
|
* [Share 2.0] Add subfiles=xRoeland Jago Douma2016-01-212-13/+1
|
* [Share 2.0] Resolve group sharesRoeland Jago Douma2016-01-211-5/+72
|
* [Sharing 2.0] Start with getSharesRoeland Jago Douma2016-01-213-13/+128
|
* [Share 2.0] Add fetching link shares to share managerRoeland Jago Douma2016-01-203-12/+71
|
* Properly DI the servercontainerRoeland Jago Douma2016-01-202-4/+22
|
* [Share 2.0] Share Object creation is a fragile thingRoeland Jago Douma2016-01-182-13/+84
| | | | | | | * 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] Fix pre_share and post_share hooksRoeland Jago Douma2016-01-131-1/+17
|
* [Share 2.0] Let the factory do the factory stuffRoeland Jago Douma2016-01-135-131/+53
| | | | * Updated unit tests (bit cleaner now)
* [Share 2.0] Use full share id (providerId:shareId)Roeland Jago Douma2016-01-135-61/+127
| | | | | | | | | | | | 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-135-60/+167
| | | | | | | * Add providers * Add share manager to server container * Use share manager from server container * Properly get the share manager
* [Share 2.0] Allow registering of share providersRoeland Jago Douma2016-01-132-17/+164
| | | | * Properly register the default share provider
* Happy new year!Thomas Müller2016-01-127-7/+7
|
* [Sharing 2.0] Some error cases report 404 instead of 403Roeland Jago Douma2016-01-061-2/+5
|
* [Sharing 2.0] Add L10N instance to manager for translated errorsRoeland Jago Douma2016-01-061-7/+18
|
* [Share 2.0] Make the share manager ready for share creationRoeland Jago Douma2016-01-061-9/+511
|
* [Share 2.0] Make share provider ready for create sharesRoeland Jago Douma2016-01-062-13/+114
|
* [Share 2.0] Update share classRoeland Jago Douma2016-01-062-2/+35
| | | | More getters and setters are required to properly create shares
* [Sharing 2.0] Fix phpdoc etcRoeland Jago Douma2015-11-245-40/+47
|
* [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] Removed unused DI stuffRoeland Jago Douma2015-11-241-36/+8
| | | | | The share manager etc should not care about filtering stuff. They should return what is asked for them.
* [Sharing 2.0] Move hook and delete children logic to share managerRoeland Jago Douma2015-11-233-49/+93
| | | | | | | 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-163-17/+70
|
* Add unshare hooksRoeland Jago Douma2015-11-053-2/+59
|
* The new sharing code now handles deletionRoeland Jago Douma2015-11-057-103/+532
| | | | OCS -> ShareManager -> DefaultShareProvider
* Initial setup of shareing 2.0 sharemanager and shareRoeland Jago Douma2015-11-053-0/+623
* Added sharemanager class This is the central class where all API calls talk to (OCS/Activity). This in turn talks to the share providers to get the actual sharing done. It uses all ShareObjects * Added share class Simple class to hold all the share properties that is passed around * Added IShareProvider interface Interface that providers os a share have to implement.