Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update author information | Lukas Reschke | 2016-03-01 | 1 | -0/+1 |
| | | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :) | ||||
* | Add parent for invisible link shares | Roeland Jago Douma | 2016-02-11 | 1 | -0/+4 |
| | |||||
* | Also add type (file/folder) to IShare object | Roeland Jago Douma | 2016-02-04 | 1 | -0/+1 |
| | | | | We need this for the hooks :( | ||||
* | Make the share object lazy | Roeland Jago Douma | 2016-02-04 | 1 | -3/+2 |
| | | | | | Share providers can now just pass in a fileId. And the node will only be created once needed. | ||||
* | [Share 2.0] Fix defaultshare provider | Roeland Jago Douma | 2016-02-03 | 1 | -77/+56 |
| | |||||
* | [Share 2.0] Add exceptions to OCP | Roeland Jago Douma | 2016-02-02 | 1 | -1/+1 |
| | |||||
* | [Share 2.0] Allow moving of shares | Roeland Jago Douma | 2016-02-02 | 1 | -0/+58 |
| | | | | | * Only recipient can move a share * Unit tests | ||||
* | getChildren should not return usergroup shares | Roeland Jago Douma | 2016-02-02 | 1 | -6/+6 |
| | |||||
* | [Share 2.0] Allow recipient to be passed in to getShareById | Roeland Jago Douma | 2016-02-02 | 1 | -12/+12 |
| | | | | | * 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 | 1 | -10/+13 |
| | | | | | | 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] When deleting a group share delete children | Roeland Jago Douma | 2016-01-28 | 1 | -9/+9 |
| | | | | | | For group shares we can have children. Those are custom shares when a user has moved or deleted a group share. Those also have to be deleted if the group share is removed. | ||||
* | [Share 2.0] Fix interfaces and comments | Roeland Jago Douma | 2016-01-28 | 1 | -19/+22 |
| | | | | | | | | * 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 | -12/+13 |
| | |||||
* | [Share 2.0] Fix IShare | Roeland Jago Douma | 2016-01-27 | 1 | -1/+1 |
| | |||||
* | Merge pull request #21940 from ↵ | Thomas Müller | 2016-01-27 | 1 | -1/+1 |
|\ | | | | | | | | | owncloud/share2_do_not_returned_removed_group_shares [Share 2.0] Properly handle user deleted group shares | ||||
| * | [Share 2.0] Properly handle user deleted group shares | Roeland Jago Douma | 2016-01-27 | 1 | -1/+1 |
| | | | | | | | | | | | | If a user deletes a group share we create a special share entry. To the API this is just a normal group share for that user with permissions 0. But we should not return this. | ||||
* | | Merge pull request #21887 from owncloud/share2_updateShare | Thomas Müller | 2016-01-27 | 1 | -0/+63 |
|\ \ | |/ |/| | [Sharing 2.0] update share | ||||
| * | Fix comments from Thomas | Roeland Jago Douma | 2016-01-26 | 1 | -2/+2 |
| | | |||||
| * | [Share 2.0] Add update share | Roeland Jago Douma | 2016-01-26 | 1 | -0/+63 |
| | | |||||
* | | We must resolve to the proper usergroup share | Roeland Jago Douma | 2016-01-26 | 1 | -3/+11 |
|/ | |||||
* | Replace other usages | Joas Schilling | 2016-01-25 | 1 | -4/+3 |
| | |||||
* | [Share 2.0] Add deleteFromSelf method | Roeland Jago Douma | 2016-01-22 | 1 | -0/+79 |
| | | | | | | | This allows recipient to delete a share. For user shares this is the same as deleting (at least for now). But for group shares this means creating a new share with type 2. With permissions set to 0. | ||||
* | [Share 2.0] Fix displaying old shares proplery | Roeland Jago Douma | 2016-01-21 | 1 | -1/+12 |
| | |||||
* | Comments from Vincent | Roeland Jago Douma | 2016-01-21 | 1 | -4/+4 |
| | |||||
* | Add Unit tests for the default share provider | Roeland Jago Douma | 2016-01-21 | 1 | -13/+17 |
| | |||||
* | [Share 2.0] Add subfiles=x | Roeland Jago Douma | 2016-01-21 | 1 | -1/+1 |
| | |||||
* | [Share 2.0] Resolve group shares | Roeland Jago Douma | 2016-01-21 | 1 | -5/+72 |
| | |||||
* | [Sharing 2.0] Start with getShares | Roeland Jago Douma | 2016-01-21 | 1 | -5/+87 |
| | |||||
* | [Share 2.0] Add fetching link shares to share manager | Roeland Jago Douma | 2016-01-20 | 1 | -5/+30 |
| | |||||
* | [Share 2.0] Share Object creation is a fragile thing | Roeland Jago Douma | 2016-01-18 | 1 | -13/+59 |
| | | | | | | | * We can't assume that the file still exists * We can't assume that the user/group still exists Basically we do not always nicely cleanup shares. | ||||
* | Only select elements from the database that we support | Roeland Jago Douma | 2016-01-14 | 1 | -1/+26 |
| | |||||
* | Use namedparameter | Roeland Jago Douma | 2016-01-14 | 1 | -6/+3 |
| | |||||
* | [Share 2.0] Let the factory do the factory stuff | Roeland Jago Douma | 2016-01-13 | 1 | -13/+0 |
| | | | | * Updated unit tests (bit cleaner now) | ||||
* | [Share 2.0] Use full share id (providerId:shareId) | Roeland Jago Douma | 2016-01-13 | 1 | -0/+16 |
| | | | | | | | | | | | | 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 | -0/+13 |
| | | | | | | | * Add providers * Add share manager to server container * Use share manager from server container * Properly get the share manager | ||||
* | Happy new year! | Thomas Müller | 2016-01-12 | 1 | -1/+1 |
| | |||||
* | [Share 2.0] Make share provider ready for create shares | Roeland Jago Douma | 2016-01-06 | 1 | -11/+113 |
| | |||||
* | [Sharing 2.0] Fix phpdoc etc | Roeland Jago Douma | 2015-11-24 | 1 | -23/+30 |
| | |||||
* | [Sharing 2.0] Default share provider only generic DI | Roeland Jago Douma | 2015-11-24 | 1 | -11/+11 |
| | | | | | | No injection of userfolders etc. Only generic DI components (IRootFolder) etc should be used to make sure we can also run this from the cli | ||||
* | [Sharing 2.0] Move hook and delete children logic to share manager | Roeland Jago Douma | 2015-11-23 | 1 | -44/+9 |
| | | | | | | | To make sure hooks are always fired and child entries are always cleaned. This logic is moved to the share manager. * Updated unit tests | ||||
* | [Share2.0] OCS Share API getShare uses new code | Roeland Jago Douma | 2015-11-16 | 1 | -5/+4 |
| | |||||
* | Add unshare hooks | Roeland Jago Douma | 2015-11-05 | 1 | -2/+29 |
| | |||||
* | The new sharing code now handles deletion | Roeland Jago Douma | 2015-11-05 | 1 | -0/+248 |
OCS -> ShareManager -> DefaultShareProvider |