Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move (new) sharing over to composer autoloader | Roeland Jago Douma | 2016-03-20 | 1 | -1150/+0 |
| | |||||
* | 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 | 1 | -9/+1 |
| | | | | | | | | | 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. | ||||
* | Update author information | Lukas Reschke | 2016-03-01 | 1 | -0/+2 |
| | | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :) | ||||
* | 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 | 1 | -0/+23 |
| | | |||||
* | | Properly check for legacy methods | Roeland Jago Douma | 2016-02-11 | 1 | -1/+1 |
|/ | | | | | | | | 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 | 1 | -7/+31 |
|\ | | | | | 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 | 1 | -3/+14 |
| | | |||||
| * | Only set the default expiration date on share creation | Roeland Jago Douma | 2016-02-09 | 1 | -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. | ||||
* | | Move password update hook after update | Roeland Jago Douma | 2016-02-09 | 1 | -8/+10 |
| | | |||||
* | | 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 | 1 | -0/+7 |
| | |||||
* | Add federated share provider to core | Roeland Jago Douma | 2016-02-08 | 1 | -0/+4 |
| | |||||
* | 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 | 1 | -0/+12 |
| | |||||
* | Also add type (file/folder) to IShare object | Roeland Jago Douma | 2016-02-04 | 1 | -3/+3 |
| | | | | We need this for the hooks :( | ||||
* | Make the share object lazy | Roeland Jago Douma | 2016-02-04 | 1 | -10/+7 |
| | | | | | 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] Use GenericShareException | Roeland Jago Douma | 2016-02-02 | 1 | -10/+11 |
| | |||||
* | [Share 2.0] Add exceptions to OCP | Roeland Jago Douma | 2016-02-02 | 1 | -1/+1 |
| | |||||
* | Merge pull request #22013 from owncloud/share2_moveshare | Thomas Müller | 2016-02-02 | 1 | -0/+19 |
|\ | | | | | [Share 2.0] Allow moving of shares | ||||
| * | [Share 2.0] Allow moving of shares | Roeland Jago Douma | 2016-02-02 | 1 | -0/+19 |
| | | | | | | | | | | * 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 | 1 | -0/+1 |
| | | |||||
* | | [Share 2.0] Allow recipient to be passed in to getShareById | Roeland Jago Douma | 2016-02-02 | 1 | -8/+3 |
|/ | | | | | * 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 |
| | | |||||
* | | Add path filter to OCS Share API ?shared_with_me=true | Roeland Jago Douma | 2016-01-29 | 1 | -9/+4 |
|/ | | | | | | 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 interface | Roeland Jago Douma | 2016-01-28 | 1 | -2/+0 |
| | | | | Those should only ever be set by the providers | ||||
* | [Share 2.0] Fix interfaces and comments | Roeland Jago Douma | 2016-01-28 | 1 | -26/+26 |
| | | | | | | | | * 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 manager | Roeland Jago Douma | 2016-01-27 | 1 | -2/+4 |
| | |||||
* | [Share 2.0] Move IShare to OCP | Roeland Jago Douma | 2016-01-27 | 1 | -36/+29 |
| |