Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Do not recurse link share fetching | Roeland Jago Douma | 2016-03-13 | 1 | -0/+5 |
| | | | | * Might fix an issue on oracle | ||||
* | Use more generic node instead of File/Folder | Roeland Jago Douma | 2016-03-11 | 2 | -18/+2 |
| | | | | | | | | | 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. | ||||
* | Select queries in the default share provider should query for file/folder | Roeland Jago Douma | 2016-03-09 | 1 | -10/+51 |
| | | | | | There can be leftover calendar and contacts shares in the oc_share table. We need to filter those out properly. | ||||
* | Update author information | Lukas Reschke | 2016-03-01 | 3 | -0/+4 |
| | | | | 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-ocs | Thomas Müller | 2016-03-01 | 1 | -1/+7 |
|\ | | | | | Add autodiscovery support to server-to-server sharing implementation | ||||
| * | Add autodiscovery support to server-to-server sharing | Lukas Reschke | 2016-02-26 | 1 | -1/+7 |
| | | | | | | | | 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. | ||||
* | | Merge pull request #22683 from owncloud/fix_22682 | Thomas Müller | 2016-02-29 | 1 | -1/+1 |
|\ \ | | | | | | | Relax rootfolder check | ||||
| * | | Relax rootfolder check | Roeland Jago Douma | 2016-02-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | * Updated unit tests * Added intergration test | ||||
* | | | Expiration date can only be enforced if default is enabled | Roeland Jago Douma | 2016-02-26 | 1 | -1/+2 |
|/ / | | | | | | | | | | | If the default expiration date is not enebaled it can not be enforced. * Added unit tests | ||||
* | | Merge pull request #22660 from owncloud/fix_22656 | Thomas Müller | 2016-02-26 | 1 | -0/+5 |
|\ \ | | | | | | | Do not allow sharing of the users root folder | ||||
| * | | Do not allow sharing of the root folder | Roeland Jago Douma | 2016-02-25 | 1 | -0/+5 |
| |/ | | | | | | | | | | | | | | | | | | | | | Sharing of the users root folder should not be allowed as it is very weird UX. Also many of our clients have no proper way of displaying this. Added unit test Also added intergration tests to make sure we won't allow it in the future. | ||||
* | | Merge pull request #22646 from owncloud/fix_22642 | Thomas Müller | 2016-02-26 | 1 | -16/+16 |
|\ \ | | | | | | | Set default expiration date if none given on share creation | ||||
| * | | Set default expiration date if none given on share creation | Roeland Jago Douma | 2016-02-25 | 1 | -16/+16 |
| |/ | | | | | | | | | | | | | When we create a share for the first time we should set the default expiration date. If none is given. Fixes #22642 | ||||
* / | Fix verifyExpirationDate passwordSet argument | Roeland Jago Douma | 2016-02-25 | 1 | -1/+1 |
|/ | | | | | | Password set should be false if the password is null. Also updated the unit tests to tests this now. | ||||
* | When (re-)sharing an incomming federated share set the corrent owner | Roeland Jago Douma | 2016-02-19 | 1 | -2/+14 |
| | | | | | | | | | | | | Incomming federated shares are a special kind. We mount them as normal webdav shares but we do supply owner info with the federated cloud id of the share owner. Since we do not yet have the new resharing behaviour on federated shares we need to set the correct owner. Which will allow sharing and proper mounting for other users. fixes #22500 | ||||
* | Return proper error string if sharing for this user is disabled | Roeland Jago Douma | 2016-02-16 | 1 | -11/+5 |
| | | | | Fixes #22402 | ||||
* | Merge pull request #22309 from owncloud/infinite-recursion-on-expired-link | Thomas Müller | 2016-02-12 | 1 | -2/+2 |
|\ | | | | | Do not getShare in deleteShare, it's already there when deleting | ||||
| * | Do not getShare in deleteShare, it's already there when deleting | Joas Schilling | 2016-02-11 | 1 | -2/+2 |
| | | |||||
* | | Add parent for invisible link shares | Roeland Jago Douma | 2016-02-11 | 2 | -0/+27 |
| | | |||||
* | | Properly check for legacy methods | Roeland Jago Douma | 2016-02-11 | 2 | -3/+10 |
|/ | | | | | | | | The new shares are completely without parents eventually. But for some current legacy reasons the methods are still around. But we should properly check for them. Fixes #22309 | ||||
* | Merge pull request #22192 from owncloud/fix_19685 | Thomas Müller | 2016-02-09 | 2 | -7/+34 |
|\ | | | | | Only set the default expiration date on share creation | ||||
| * | Catch exception | Roeland Jago Douma | 2016-02-09 | 1 | -4/+17 |
| | | |||||
| * | Throw exception | Roeland Jago Douma | 2016-02-09 | 2 | -4/+15 |
| | | |||||
| * | Only set the default expiration date on share creation | Roeland Jago Douma | 2016-02-09 | 2 | -1/+4 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Move password update hook after update | Roeland Jago Douma | 2016-02-09 | 1 | -8/+10 |
| | | |||||
* | | Example hook check | Roeland Jago Douma | 2016-02-09 | 1 | -0/+1 |
| | | |||||
* | | add post hook on link-share password change | Arthur Schiwon | 2016-02-08 | 1 | -1/+9 |
|/ | |||||
* | Respect not allowing outgoing shares | Roeland Jago Douma | 2016-02-08 | 2 | -7/+31 |
| | |||||
* | Add federated share provider to core | Roeland Jago Douma | 2016-02-08 | 2 | -0/+53 |
| | |||||
* | Fix exception on delete | Roeland Jago Douma | 2016-02-06 | 1 | -1/+6 |
| | |||||
* | getSharesBy should also expire link shares | Roeland Jago Douma | 2016-02-06 | 1 | -1/+47 |
| | |||||
* | Delete expired share when fetched by id | Roeland Jago Douma | 2016-02-06 | 1 | -0/+8 |
| | |||||
* | Delete a link share if it is expired on access | Roeland Jago Douma | 2016-02-06 | 1 | -1/+5 |
| | | | | | If we access a link share we should check if it has expired already. If so we should remove it and throw a ShareNotFound exception | ||||
* | Path should be relative | Roeland Jago Douma | 2016-02-04 | 1 | -1/+3 |
| | |||||
* | [Share 2.0] Add missing post_update_permissions hook | Roeland Jago Douma | 2016-02-04 | 2 | -0/+14 |
| | |||||
* | Also add type (file/folder) to IShare object | Roeland Jago Douma | 2016-02-04 | 3 | -3/+41 |
| | | | | We need this for the hooks :( | ||||
* | Make the share object lazy | Roeland Jago Douma | 2016-02-04 | 3 | -20/+52 |
| | | | | | Share providers can now just pass in a fileId. And the node will only be created once needed. | ||||
* | [Share 2.0] Fix shareManager | Roeland Jago Douma | 2016-02-03 | 1 | -52/+66 |
| | |||||
* | [Share 2.0] Fix defaultshare provider | Roeland Jago Douma | 2016-02-03 | 1 | -77/+56 |
| | |||||
* | [Share 2.0] Use strings for ids | Roeland Jago Douma | 2016-02-03 | 1 | -0/+9 |
| | | | | | | | | | | | * 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] Use GenericShareException | Roeland Jago Douma | 2016-02-02 | 1 | -10/+11 |
| | |||||
* | [Share 2.0] Add exceptions to OCP | Roeland Jago Douma | 2016-02-02 | 3 | -27/+2 |
| | |||||
* | Merge pull request #22013 from owncloud/share2_moveshare | Thomas Müller | 2016-02-02 | 2 | -0/+77 |
|\ | | | | | [Share 2.0] Allow moving of shares | ||||
| * | [Share 2.0] Allow moving of shares | Roeland Jago Douma | 2016-02-02 | 2 | -0/+77 |
| | | | | | | | | | | * Only recipient can move a share * Unit tests | ||||
* | | Merge pull request #22057 from owncloud/share2_update_hash | Thomas Müller | 2016-02-02 | 1 | -1/+3 |
|\ \ | |/ |/| | Update old password hashed for link shares on access | ||||
| * | Update old password hashed for link shares on access | Roeland Jago Douma | 2016-02-01 | 1 | -1/+3 |
| | | | | | | | | Fixes https://github.com/owncloud/core/issues/16594 | ||||
* | | getChildren should not return usergroup shares | Roeland Jago Douma | 2016-02-02 | 2 | -6/+7 |
| | | |||||
* | | [Share 2.0] Allow recipient to be passed in to getShareById | Roeland Jago Douma | 2016-02-02 | 2 | -20/+15 |
|/ | | | | | * 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 | ||||
* | Merge pull request #22028 from owncloud/share_hook_expirationdate | Thomas Müller | 2016-02-01 | 1 | -9/+23 |
|\ | | | | | Share hook expirationdate | ||||
| * | Emit hook for expirationDate verification | Roeland Jago Douma | 2016-01-30 | 1 | -9/+23 |
| | |