aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/share
Commit message (Collapse)AuthorAgeFilesLines
* Move OCP\Share over to PSR-4Roeland Jago Douma2016-03-307-885/+0
| | | | Touching the code so moving it over to PSR-4
* Add setId and setProviderID to the public interfaceRoeland Jago Douma2016-03-302-0/+54
| | | | | | Fixes #23337 We only allow the id to be set once!
* Add config to sharemanagerRoeland Jago Douma2016-03-221-0/+7
|
* Use more generic node instead of File/FolderRoeland Jago Douma2016-03-112-8/+7
| | | | | | | | | The phpdoc for the sharing functions was very restrictive. As a consequence passing node object (for example from the OCS Share API where we don't really care if it is a file or folder), would actually be invalid. With this loser restriction the interfaces become more generic.
* Fix some scrutinizer warning in the sharing codeRoeland Jago Douma2016-03-101-2/+2
| | | | | | * Better phpdoc * Promper use statements * Unused parameter
* Map MaciLukas Reschke2016-03-011-0/+1
|
* Update author informationLukas Reschke2016-03-011-1/+19
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Throw exceptionRoeland Jago Douma2016-02-091-1/+2
|
* Only set the default expiration date on share creationRoeland Jago Douma2016-02-091-1/+1
| | | | | | | | | Fixes #19685 The default expiration date should only be set when we create a new share. So if a share is created and the expiration date is unset. And after that the password is updated the expiration date should remain unset.
* Respect not allowing outgoing sharesRoeland Jago Douma2016-02-081-0/+7
|
* getSharesBy should also expire link sharesRoeland Jago Douma2016-02-061-1/+1
|
* Also add type (file/folder) to IShare objectRoeland Jago Douma2016-02-041-0/+26
| | | | We need this for the hooks :(
* Make the share object lazyRoeland Jago Douma2016-02-041-4/+12
| | | | | Share providers can now just pass in a fileId. And the node will only be created once needed.
* [Share 2.0] Fix shareManagerRoeland Jago Douma2016-02-031-10/+10
|
* [Share 2.0] Fix defaultshare providerRoeland Jago Douma2016-02-031-1/+1
|
* [Share 2.0] Use strings for idsRoeland Jago Douma2016-02-032-17/+17
| | | | | | | | | | | * sharedWith * sharedBy * shareOwner Now all set/get strings with the id. (userId, groupId, federatedsharerId). This to avoid a huge amount of if statements
* [Share 2.0] Add exceptions to OCPRoeland Jago Douma2016-02-022-0/+60
|
* [Share 2.0] Allow moving of sharesRoeland Jago Douma2016-02-022-3/+30
| | | | | * Only recipient can move a share * Unit tests
* [Share 2.0] Allow recipient to be passed in to getShareByIdRoeland Jago Douma2016-02-022-4/+9
| | | | | * 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-292-2/+6
| | | | | | 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] Remove setId and setProviderId from the interfaceRoeland Jago Douma2016-01-281-18/+0
| | | | Those should only ever be set by the providers
* [Share 2.0] Fix interfaces and commentsRoeland Jago Douma2016-01-283-49/+51
| | | | | | | | * 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-0/+210
|
* [Share 2.0] Move IShare to OCPRoeland Jago Douma2016-01-273-0/+474