aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/api
Commit message (Collapse)AuthorAgeFilesLines
* Move classes from outside lib/ to PSR-4Joas Schilling2016-05-254-1596/+0
|
* use share initiator as fall back to access the fileBjörn Schießle2016-05-201-2/+10
| | | | | in case of federated re-shares the owner can be a remote user. Therefore we can't always use to owner to access the local file
* move request handler for federated shares to the federated sharing appBjörn Schießle2016-05-201-325/+0
|
* Unlock before all returnsRoeland Jago Douma2016-04-301-7/+50
|
* Add locking to modifying operation of the OCS Share APIRoeland Jago Douma2016-04-301-2/+19
| | | | | | | | | | Fixes #17243 This is done in the OCS Share API instead of the share manager since we want lazy shares in general. However when doing modifying calls via the OCS Share API it is fine to force real nodes. * Updated unit tests to work with logging
* Merge pull request #24027 from owncloud/translate_ocs_shareThomas Müller2016-04-262-30/+37
|\ | | | | Translate OCS Share API error messages
| * Translate OCS Share API error messagesRoeland Jago Douma2016-04-252-30/+37
| | | | | | | | For https://github.com/owncloud/core/issues/22209
* | move federated sharing settings to the federatedfilesharing appBjörn Schießle2016-04-221-2/+16
|/
* Merge pull request #23398 from owncloud/block_group_sharingThomas Müller2016-03-222-3/+18
|\ | | | | Allow blocking of group sharing
| * Respect disabled group sharing in sharee endpointRoeland Jago Douma2016-03-221-3/+14
| | | | | | | | * Fix tests
| * Block group sharing in API and in share managerRoeland Jago Douma2016-03-221-0/+4
| | | | | | | | * Fix tests
* | When the Share API is disabled do not return sharesRoeland Jago Douma2016-03-221-1/+20
|/ | | | | | Fixes #22668 Block everything in the OCS Share API
* Merge pull request #23287 from owncloud/issue-22786-absolute-pathsThomas Müller2016-03-171-2/+2
|\ | | | | Fix absolute path creation for remote shares with /oc webroot
| * Make sure to append the web root as per docJoas Schilling2016-03-161-2/+2
| |
* | Specify the target user when unsharing a federated shareRobin Appelman2016-03-141-1/+1
|/
* Merge pull request #23091 from ↵Thomas Müller2016-03-131-7/+7
|\ | | | | | | | | owncloud/issue-23085-csae-insensitive-group-search Return the correct group casing in sharee api
| * Correctly lower the search input as wellJoas Schilling2016-03-111-5/+5
| |
| * Return the correct group casing in sharee apiJoas Schilling2016-03-111-2/+2
| |
* | Remove the old OCS Share API codeRoeland Jago Douma2016-03-131-645/+0
|/
* Merge pull request #23121 from owncloud/scrutinizer_share_fixesThomas Müller2016-03-102-2/+2
|\ | | | | Fix some scrutinizer warning in the sharing code
| * Fix some scrutinizer warning in the sharing codeRoeland Jago Douma2016-03-102-2/+2
| | | | | | | | | | | | * Better phpdoc * Promper use statements * Unused parameter
* | Add mimetype to OCS Share API outputRoeland Jago Douma2016-03-101-0/+1
|/ | | | Fixes #23044
* Can't convert node to stringRoeland Jago Douma2016-03-071-1/+6
|
* Move common code to functionRoeland Jago Douma2016-03-071-56/+31
| | | | | The code to get a share by id is somewhat messy. And was duplicated. Now this is done is a separate function
* Update author informationLukas Reschke2016-03-011-0/+2
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Merge pull request #22681 from owncloud/add-autodiscovery-for-ocsThomas Müller2016-03-012-0/+37
|\ | | | | Add autodiscovery support to server-to-server sharing implementation
| * Add autodiscovery support to server-to-server sharingLukas Reschke2016-02-262-0/+37
| | | | | | | | Adds autodiscovery support to server-to-server sharing as specified in the specification. If no discovery data is found it is using the fallback ownCloud endpoints for legacy support.
* | For now only allow 1 link share per file/folderRoeland Jago Douma2016-03-011-0/+9
| | | | | | | | | | | | | | | | Fixes #22692 This is a temp fix util we get #22327 We just block it in the OCS Share API since we have 1 endpoint now anyway.
* | Check correct permissions when resharingRoeland Jago Douma2016-02-291-0/+16
| | | | | | | | | | | | | | | | | | | | | | Fixes #22675 Since we only get a share id we do not know the path for the sharer. Now if we edit a share we start searching for shares for that user of that node. And deduce the permissions that way. * Intergration test added * Fix unit tests
* | Remove delete permissions for read-only federated resharesRoeland Jago Douma2016-02-251-0/+9
|/ | | | | | | | | | | | | | | An incomming federated share is just a mount point. Therefor if we request the permissions on the mountpoint DELETE permissions will be returned (among others). Since we can always remove a mountpoint, update a mount point. However now when trying to reshare we will try to reshare with DELETE permissions. Which is false. This PR removes the delete permissions if it is a shared storage. Basically a quick hack. Fixes #22587
* OCS Share API should not return invalid sharesRoeland Jago Douma2016-02-171-7/+25
| | | | | | | Since we have lazy shares it can happen that a share is actually invalid. See https://github.com/owncloud/core/issues/20908 This add checks for the get methods to handle the NotFound exception.
* Merge pull request #22337 from owncloud/new_reshare_no_initiatorThomas Müller2016-02-151-4/+4
|\ | | | | On backend hickups don't crash OCS output
| * The owner and recipient can also be nullRoeland Jago Douma2016-02-121-3/+3
| | | | | | | | | | If we have backend hickups it can be that we are unable to retrive the owner and recipient user as well. In such cases just return the UID.
| * If the initiator no longer exists return UIDRoeland Jago Douma2016-02-121-1/+1
| | | | | | | | | | | | It can happen that the share initiator is deleted. Because of the new resharing behaviour this share then still exists. We just can fetch the displayname properly.
* | Merge pull request #22351 from owncloud/fix_22277Thomas Müller2016-02-131-0/+71
|\ \ | |/ |/| show remote server on federated share auto-complete
| * add remote server to the resultBjoern Schiessle2016-02-121-0/+71
| |
* | Delete the notification when the owner unshares the remote before the user ↵Joas Schilling2016-02-111-0/+7
| | | | | | | | did anything
* | Remove the notification if accepting/declining failed because of 404Joas Schilling2016-02-111-1/+7
|/
* Fix oracle by using less quotesJoas Schilling2016-02-101-1/+1
|
* Create the actions with the correct IDJoas Schilling2016-02-101-3/+4
|
* Make sure the share ID is an integerJoas Schilling2016-02-101-2/+2
|
* Fix action pathsJoas Schilling2016-02-101-2/+2
|
* Fix the notification API usageJoas Schilling2016-02-101-1/+1
|
* Revert "Disable the remote sharing notifications until they work properly"Joas Schilling2016-02-101-3/+0
| | | | | | | This reverts commit 6bc93c740194d245bb9a7d1f230ed33461f842a7. Conflicts: apps/files_sharing/lib/external/manager.php
* Respect not allowing outgoing sharesRoeland Jago Douma2016-02-081-3/+25
|
* Update OCS Share API to use federated share providerRoeland Jago Douma2016-02-081-12/+23
|
* Even single shares are returned as arrayRoeland Jago Douma2016-02-081-1/+1
| | | | | | | When fetching a single share using ../shares/<ID> we should still return an array of shares. Fixes #22189
* [Share 2.0] Fix OCS endpointRoeland Jago Douma2016-02-031-42/+43
|
* [Share 2.0] Use GenericShareExceptionRoeland Jago Douma2016-02-021-9/+8
|
* [Share 2.0] Add exceptions to OCPRoeland Jago Douma2016-02-021-3/+3
|