Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move OCP\Share over to PSR-4 | Roeland Jago Douma | 2016-03-30 | 7 | -885/+0 |
| | | | | Touching the code so moving it over to PSR-4 | ||||
* | Add setId and setProviderID to the public interface | Roeland Jago Douma | 2016-03-30 | 2 | -0/+54 |
| | | | | | | Fixes #23337 We only allow the id to be set once! | ||||
* | Add config to sharemanager | Roeland Jago Douma | 2016-03-22 | 1 | -0/+7 |
| | |||||
* | Use more generic node instead of File/Folder | Roeland Jago Douma | 2016-03-11 | 2 | -8/+7 |
| | | | | | | | | | 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. | ||||
* | Fix some scrutinizer warning in the sharing code | Roeland Jago Douma | 2016-03-10 | 1 | -2/+2 |
| | | | | | | * Better phpdoc * Promper use statements * Unused parameter | ||||
* | Map Maci | Lukas Reschke | 2016-03-01 | 1 | -0/+1 |
| | |||||
* | Update author information | Lukas Reschke | 2016-03-01 | 1 | -1/+19 |
| | | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :) | ||||
* | Throw exception | Roeland Jago Douma | 2016-02-09 | 1 | -1/+2 |
| | |||||
* | 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. | ||||
* | Respect not allowing outgoing shares | Roeland Jago Douma | 2016-02-08 | 1 | -0/+7 |
| | |||||
* | getSharesBy should also expire link shares | Roeland Jago Douma | 2016-02-06 | 1 | -1/+1 |
| | |||||
* | Also add type (file/folder) to IShare object | Roeland Jago Douma | 2016-02-04 | 1 | -0/+26 |
| | | | | We need this for the hooks :( | ||||
* | Make the share object lazy | Roeland Jago Douma | 2016-02-04 | 1 | -4/+12 |
| | | | | | 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 | -10/+10 |
| | |||||
* | [Share 2.0] Fix defaultshare provider | Roeland Jago Douma | 2016-02-03 | 1 | -1/+1 |
| | |||||
* | [Share 2.0] Use strings for ids | Roeland Jago Douma | 2016-02-03 | 2 | -17/+17 |
| | | | | | | | | | | | * 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] Add exceptions to OCP | Roeland Jago Douma | 2016-02-02 | 2 | -0/+60 |
| | |||||
* | [Share 2.0] Allow moving of shares | Roeland Jago Douma | 2016-02-02 | 2 | -3/+30 |
| | | | | | * Only recipient can move a share * Unit tests | ||||
* | [Share 2.0] Allow recipient to be passed in to getShareById | Roeland Jago Douma | 2016-02-02 | 2 | -4/+9 |
| | | | | | * 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 | ||||
* | Add path filter to OCS Share API ?shared_with_me=true | Roeland Jago Douma | 2016-01-29 | 2 | -2/+6 |
| | | | | | | 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 | -18/+0 |
| | | | | Those should only ever be set by the providers | ||||
* | [Share 2.0] Fix interfaces and comments | Roeland Jago Douma | 2016-01-28 | 3 | -49/+51 |
| | | | | | | | | * 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 | -0/+210 |
| | |||||
* | [Share 2.0] Move IShare to OCP | Roeland Jago Douma | 2016-01-27 | 3 | -0/+474 |