summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/API
Commit message (Collapse)AuthorAgeFilesLines
* Move Share20OCS to ShareAPIControllerRoeland Jago Douma2016-10-241-805/+0
| | | | | | | | | | | | It was already a controller just still residing in its old location. * Moved ShareAPIController to user plain userID instead of user object * Moved Share20OCS to ShareAPIController * Removed initisation of class from Application.php and leave it to the AppFramework * Fixed tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* remove unneeded unlockRobin Appelman2016-10-121-2/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* get node by path as fallbackRobin Appelman2016-10-121-6/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix getting recipient share in ocs apiRobin Appelman2016-10-121-14/+18
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* re-use the share node while formating if we already have itRobin Appelman2016-10-121-7/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Always unlock node after trying to create a shareRobin Appelman2016-10-121-1/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Allow increasing permissions for share ownerVincent Petry2016-09-131-1/+1
| | | | | | In some cases, the owner of the share is also recipient through a group share. The owner must still be able to increase permissions in that situation.
* Move remote_shares OCS endpoint to AppFrameworkRoeland Jago Douma2016-09-091-230/+0
|
* dont show shares you own in "shared with you"Robin Appelman2016-09-071-0/+5
|
* Sharee API to AppFrameworkRoeland Jago Douma2016-08-261-537/+0
| | | | | | | | * Move to OCSController * Move to Controller folder * Use automatic DI * Use function parameters * Updated tests
* HTTPHelper is deprecatedRoeland Jago Douma2016-08-241-6/+6
| | | | Use the IClientService instead
* Move updateShare and getShares over to use proper parametersRoeland Jago Douma2016-08-171-12/+23
| | | | * Update tests
* Use parameters in createShareRoeland Jago Douma2016-08-171-18/+17
| | | | * Fix tests
* Move the Share20OCS code over to use the proper DataResponseRoeland Jago Douma2016-08-101-7/+7
|
* Fix testsRoeland Jago Douma2016-08-051-2/+2
|
* DataResponse required ['data' => DATA]Roeland Jago Douma2016-08-051-9/+9
|
* More exceptionsRoeland Jago Douma2016-08-051-57/+24
|
* Add OCSShareAPIMiddlewareRoeland Jago Douma2016-08-051-75/+24
| | | | | * This will cleanup the locks after each request * Move check for enabled share api to the middleware
* Throw OCSNotFoundExceptionsRoeland Jago Douma2016-08-051-91/+40
|
* Remove unneeded wrapperRoeland Jago Douma2016-08-051-64/+0
|
* Convert Share API to use the AppFrameworkRoeland Jago Douma2016-08-051-59/+187
|
* Do not allow to delete/update group shares as a group memberJoas Schilling2016-08-021-4/+4
|
* Fix apps/Joas Schilling2016-07-214-11/+16
|
* Allow shares with create permissions only aswellJoas Schilling2016-07-141-5/+6
|
* Add explicit delete permission to link sharesVincent Petry2016-06-241-4/+17
| | | | | | | | | | | | Link shares always allowed deletion, however internally the permissions were stored as 7 which lacked delete permissions. This created an inconsistency in the Webdav permissions. This fix makes sure we include delete permissions in the share permissions, which now become 15. In case a client is still passing 7 for legacy reasons, it gets converted automatically to 15.
* Show the path relative to the requesting userRoeland Jago Douma2016-06-071-12/+12
| | | | | | | | | | | A share can only be requested by 3 'types' of people * owner * initiator * recipient So we have to get the path as the current user. Since that is the only path that has any meaning to the user.
* Update license headersLukas Reschke2016-05-263-2/+3
|
* Move classes from outside lib/ to PSR-4Joas Schilling2016-05-254-0/+1596