summaryrefslogtreecommitdiffstats
path: root/lib/public/Share
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #16723 from nextcloud/fix/sharing/unshare-messageJoas Schilling2019-08-261-0/+8
|\ | | | | Add expiration event for shares
| * Add expiration event for sharesJohn Molakvoæ (skjnldsv)2019-08-211-0/+8
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Make the sharing constants publicly availableJoas Schilling2019-08-231-0/+57
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* allow to add labels to sharesBjoern Schiessle2018-11-011-0/+17
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Extend IShare to show hide download stateRoeland Jago Douma2018-10-301-0/+21
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add "sendPasswordByTalk" property to sharesDaniel Calviño Sánchez2018-07-241-0/+23
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* allow to add a personal note to a shareBjoern Schiessle2018-07-211-0/+18
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #5280 from nextcloud/shared-with-display-nameMorris Jobke2018-07-131-0/+34
|\ | | | | sharedWithDisplayName & sharedWithAvatar
| * SharedWithDisplayName + SharedWithAvatarMaxence Lange2018-05-211-0/+34
| | | | | | | | | | Signed-off-by: Maxence Lange <maxence@nextcloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | implement federated group sharesBjoern Schiessle2018-07-111-0/+8
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Fix PHPDocMorris Jobke2018-07-051-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | getDeletedSharedWith methodJohn Molakvoæ (skjnldsv)2018-07-051-0/+14
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Add API to undelete delete group sharesRoeland Jago Douma2018-07-052-0/+29
| | | | | | | | | | | | | | | | | | | | | | When a group share is deleted we keep track of this in the DB. Right now it is only possible for a recipient to get back the share by asking the sharer to delete it and to share it again. This doesn't scale. This endpoint makes it possible to get back the share. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | replace \OCP\Federation\Exception\ShareNotFoundException with the generic ↵Bjoern Schiessle2018-07-021-2/+1
| | | | | | | | | | | | \OCP\Share\Exception\ShareNotFound exception Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | implement accept share notificationBjoern Schiessle2018-07-021-3/+3
|/ | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Update license headersMorris Jobke2017-11-066-0/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add exceptions to PHPDoc of interfaceLukas Reschke2017-09-101-0/+3
| | | | | | Improves static code analysis here and also keeps expectations proper. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Replace wrong PHPDocsLukas Reschke2017-08-011-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Improve wording of various error messagesJan-Christoph Borchardt2017-06-211-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Adjust docs and make !$currentAccess simplerJoas Schilling2017-04-132-16/+25
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix returned paths for remote sharesJoas Schilling2017-04-133-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Return the paths for the users without setting them all upJoas Schilling2017-04-133-10/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix commentsRoeland Jago Douma2017-04-132-2/+47
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Offload acceslist creation to providersRoeland Jago Douma2017-04-131-0/+17
| | | | | | | | * This allows for effective queries. * Introduce currentAccess parameter to speciy if the users needs to have currently acces (deleted incomming group share). (For notifications) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Added to public interfaceRoeland Jago Douma2017-04-131-0/+30
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* update unit testsBjoern Schiessle2017-04-071-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* let the share backend get the node cacheentry to save queriesRobin Appelman2016-11-171-0/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* @since 9.2.0 to @since 11.0.0Roeland Jago Douma2016-11-153-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* fix phpdocRobin Appelman2016-11-091-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add method to check if a share provider for a given type is loadedBjoern Schiessle2016-11-011-0/+8
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Stricter signatureRoeland Jago Douma2016-10-312-4/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add getShareTypesInFolder to optimize folder listeningRobin Appelman2016-10-313-0/+28
| | | | Signed-off-by: Robin Appelman <icewind@owncloud.com>
* Fix othersJoas Schilling2016-07-217-14/+21
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Fix phpdocRoeland Jago Douma2016-05-101-2/+1
|
* Move post_removeFromGroup to shareManagerRoeland Jago Douma2016-04-132-1/+22
| | | | | | | | 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-122-0/+19
| | | | | | | | 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
* Migrate post_userDelete hook to share managerRoeland Jago Douma2016-04-042-0/+21
| | | | | | | | | | | | | 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
* Move OCP\Share over to PSR-4Roeland Jago Douma2016-03-307-0/+885
Touching the code so moving it over to PSR-4