Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move tests/ to PSR-4 (#24731) | Joas Schilling | 2016-05-20 | 1 | -2570/+0 |
| | | | | | | | | | | | | | | | | | | | | * Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader | ||||
* | Fix tests | Roeland Jago Douma | 2016-04-19 | 1 | -3/+7 |
| | |||||
* | Add test | Lukas Reschke | 2016-04-12 | 1 | -0/+40 |
| | |||||
* | Fix ShareManager tests | Roeland Jago Douma | 2016-04-08 | 1 | -1/+1 |
| | |||||
* | Set proper permissions on link share | Roeland Jago Douma | 2016-04-08 | 1 | -0/+19 |
| | | | | | | | | If we do not allow public upload we should limit the permissions on links shares upon retrieval. * Added unit test * Allow fetching federated shares by token as well | ||||
* | Non moveable mount points should always be UPDATE+DELETE shareable | Roeland Jago Douma | 2016-03-30 | 1 | -0/+11 |
| | | | | | | | | | | | | Fixes #23536 The new sharing code is much stricter in checking permissions. However for non moveable mounts the permissions UPDATE+DELETE are not reported on the mount point. This is just a quick fix. * Updated unit tests | ||||
* | Block group sharing in API and in share manager | Roeland Jago Douma | 2016-03-22 | 1 | -0/+30 |
| | | | | * Fix tests | ||||
* | Merge pull request #22683 from owncloud/fix_22682 | Thomas Müller | 2016-02-29 | 1 | -0/+11 |
|\ | | | | | Relax rootfolder check | ||||
| * | Relax rootfolder check | Roeland Jago Douma | 2016-02-26 | 1 | -0/+11 |
| | | | | | | | | | | * Updated unit tests * Added intergration test | ||||
* | | Expiration date can only be enforced if default is enabled | Roeland Jago Douma | 2016-02-26 | 1 | -0/+15 |
|/ | | | | | | 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/+29 |
|\ | | | | | 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/+29 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | -6/+27 |
|\ \ | | | | | | | 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 | -6/+27 |
| |/ | | | | | | | | | | | | | 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 | -2/+3 |
|/ | | | | | | 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 | -9/+88 |
| | | | | | | | | | | | | 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 | -31/+10 |
| | | | | Fixes #22402 | ||||
* | Merge pull request #22309 from owncloud/infinite-recursion-on-expired-link | Thomas Müller | 2016-02-12 | 1 | -12/+2 |
|\ | | | | | Do not getShare in deleteShare, it's already there when deleting | ||||
| * | Fix unit tests | Roeland Jago Douma | 2016-02-11 | 1 | -12/+2 |
| | | |||||
* | | Add parent for invisible link shares | Roeland Jago Douma | 2016-02-11 | 1 | -0/+4 |
|/ | |||||
* | Only set the default expiration date on share creation | Roeland Jago Douma | 2016-02-09 | 1 | -0/+16 |
| | | | | | | | | | 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. | ||||
* | getSharesBy should also expire link shares | Roeland Jago Douma | 2016-02-06 | 1 | -0/+103 |
| | |||||
* | Delete expired share when fetched by id | Roeland Jago Douma | 2016-02-06 | 1 | -0/+27 |
| | |||||
* | Delete a link share if it is expired on access | Roeland Jago Douma | 2016-02-06 | 1 | -0/+43 |
| | | | | | 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 | -2/+5 |
| | |||||
* | [Share 2.0] Add missing post_update_permissions hook | Roeland Jago Douma | 2016-02-04 | 1 | -7/+34 |
| | |||||
* | Also add type (file/folder) to IShare object | Roeland Jago Douma | 2016-02-04 | 1 | -0/+80 |
| | | | | We need this for the hooks :( | ||||
* | Make the share object lazy | Roeland Jago Douma | 2016-02-04 | 1 | -46/+47 |
| | | | | | 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 | -170/+176 |
| | |||||
* | [Share 2.0] Use GenericShareException | Roeland Jago Douma | 2016-02-02 | 1 | -3/+3 |
| | |||||
* | [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/+73 |
|\ | | | | | [Share 2.0] Allow moving of shares | ||||
| * | [Share 2.0] Allow moving of shares | Roeland Jago Douma | 2016-02-02 | 1 | -0/+73 |
| | | | | | | | | | | * Only recipient can move a share * Unit tests | ||||
* | | Update old password hashed for link shares on access | Roeland Jago Douma | 2016-02-01 | 1 | -0/+21 |
|/ | | | | Fixes https://github.com/owncloud/core/issues/16594 | ||||
* | Add Unit tests | Roeland Jago Douma | 2016-01-30 | 1 | -19/+111 |
| | |||||
* | [Share 2.0] Fix interfaces and comments | Roeland Jago Douma | 2016-01-28 | 1 | -54/+54 |
| | | | | | | | | * 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] Move IShare to OCP | Roeland Jago Douma | 2016-01-27 | 1 | -21/+23 |
| | |||||
* | Fix comments from Thomas | Roeland Jago Douma | 2016-01-26 | 1 | -18/+18 |
| | |||||
* | [share 2.0] manager unit tests | Roeland Jago Douma | 2016-01-26 | 1 | -1/+245 |
| | |||||
* | [Share 2.0] Fix unit tests | Roeland Jago Douma | 2016-01-26 | 1 | -46/+52 |
| | |||||
* | Add Unit tests | Roeland Jago Douma | 2016-01-20 | 1 | -0/+65 |
| | |||||
* | Properly DI the servercontainer | Roeland Jago Douma | 2016-01-20 | 1 | -1/+5 |
| | |||||
* | [Share 2.0] Fix pre_share and post_share hooks | Roeland Jago Douma | 2016-01-13 | 1 | -0/+7 |
| | |||||
* | [Share 2.0] Let the factory do the factory stuff | Roeland Jago Douma | 2016-01-13 | 1 | -184/+41 |
| | | | | * Updated unit tests (bit cleaner now) | ||||
* | [Share 2.0] Use full share id (providerId:shareId) | Roeland Jago Douma | 2016-01-13 | 1 | -7/+20 |
| | | | | | | | | | | | | Now that we support multiple managers we communicate shares to the outside as 'providerId:shareId'. This makes sures that id's are unique when references from the OCS API. However, since we do not want to break the OCS API v1 we need to somewhat hack around this. When we switch to OCS API v2 (which we should when we support more custom providers). We will change the id to always be the fullShareId. | ||||
* | [Share 2.0] Add share provider factory | Roeland Jago Douma | 2016-01-13 | 1 | -271/+140 |
| | | | | | | | * Add providers * Add share manager to server container * Use share manager from server container * Properly get the share manager | ||||
* | [Share 2.0] Allow registering of share providers | Roeland Jago Douma | 2016-01-13 | 1 | -10/+240 |
| | | | | * Properly register the default share provider | ||||
* | [Sharing 2.0] Some error cases report 404 instead of 403 | Roeland Jago Douma | 2016-01-06 | 1 | -6/+11 |
| | |||||
* | [Sharing 2.0] Add L10N instance to manager for translated errors | Roeland Jago Douma | 2016-01-06 | 1 | -16/+38 |
| | |||||
* | [Share 2.0] Make the share manager ready for share creation | Roeland Jago Douma | 2016-01-06 | 1 | -12/+1165 |
| |