Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [Share 2.0] Fix interfaces and comments | Roeland Jago Douma | 2016-01-28 | 3 | -52/+55 | |
| | | | | | | | | * 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 | 7 | -477/+44 | |
| | ||||||
* | [Share 2.0] Fix IShare | Roeland Jago Douma | 2016-01-27 | 3 | -105/+47 | |
| | ||||||
* | 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 | 2 | -15/+160 | |
|\ \ | |/ |/| | [Sharing 2.0] update share | |||||
| * | Fix comments from Thomas | Roeland Jago Douma | 2016-01-26 | 2 | -16/+16 | |
| | | ||||||
| * | [Share 2.0] Fire off hook | Roeland Jago Douma | 2016-01-26 | 1 | -5/+21 | |
| | | ||||||
| * | [Share 2.0] Add update share | Roeland Jago Douma | 2016-01-26 | 2 | -4/+133 | |
| | | ||||||
* | | 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 | 3 | -0/+104 | |
| | | | | | | | 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 | 2 | -8/+8 | |
| | ||||||
* | 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 | 2 | -13/+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 | 3 | -13/+128 | |
| | ||||||
* | [Share 2.0] Add fetching link shares to share manager | Roeland Jago Douma | 2016-01-20 | 3 | -12/+71 | |
| | ||||||
* | Properly DI the servercontainer | Roeland Jago Douma | 2016-01-20 | 2 | -4/+22 | |
| | ||||||
* | [Share 2.0] Share Object creation is a fragile thing | Roeland Jago Douma | 2016-01-18 | 2 | -13/+84 | |
| | | | | | | | * 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] Fix pre_share and post_share hooks | Roeland Jago Douma | 2016-01-13 | 1 | -1/+17 | |
| | ||||||
* | [Share 2.0] Let the factory do the factory stuff | Roeland Jago Douma | 2016-01-13 | 5 | -131/+53 | |
| | | | | * Updated unit tests (bit cleaner now) | |||||
* | [Share 2.0] Use full share id (providerId:shareId) | Roeland Jago Douma | 2016-01-13 | 5 | -61/+127 | |
| | | | | | | | | | | | | 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 | 5 | -60/+167 | |
| | | | | | | | * 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 | 2 | -17/+164 | |
| | | | | * Properly register the default share provider | |||||
* | Happy new year! | Thomas Müller | 2016-01-12 | 7 | -7/+7 | |
| | ||||||
* | [Sharing 2.0] Some error cases report 404 instead of 403 | Roeland Jago Douma | 2016-01-06 | 1 | -2/+5 | |
| | ||||||
* | [Sharing 2.0] Add L10N instance to manager for translated errors | Roeland Jago Douma | 2016-01-06 | 1 | -7/+18 | |
| | ||||||
* | [Share 2.0] Make the share manager ready for share creation | Roeland Jago Douma | 2016-01-06 | 1 | -9/+511 | |
| | ||||||
* | [Share 2.0] Make share provider ready for create shares | Roeland Jago Douma | 2016-01-06 | 2 | -13/+114 | |
| | ||||||
* | [Share 2.0] Update share class | Roeland Jago Douma | 2016-01-06 | 2 | -2/+35 | |
| | | | | More getters and setters are required to properly create shares | |||||
* | [Sharing 2.0] Fix phpdoc etc | Roeland Jago Douma | 2015-11-24 | 5 | -40/+47 | |
| | ||||||
* | [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] Removed unused DI stuff | Roeland Jago Douma | 2015-11-24 | 1 | -36/+8 | |
| | | | | | The share manager etc should not care about filtering stuff. They should return what is asked for them. | |||||
* | [Sharing 2.0] Move hook and delete children logic to share manager | Roeland Jago Douma | 2015-11-23 | 3 | -49/+93 | |
| | | | | | | | 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 | 3 | -17/+70 | |
| | ||||||
* | Add unshare hooks | Roeland Jago Douma | 2015-11-05 | 3 | -2/+59 | |
| | ||||||
* | The new sharing code now handles deletion | Roeland Jago Douma | 2015-11-05 | 7 | -103/+532 | |
| | | | | OCS -> ShareManager -> DefaultShareProvider | |||||
* | Initial setup of shareing 2.0 sharemanager and share | Roeland Jago Douma | 2015-11-05 | 3 | -0/+623 | |
* Added sharemanager class This is the central class where all API calls talk to (OCS/Activity). This in turn talks to the share providers to get the actual sharing done. It uses all ShareObjects * Added share class Simple class to hold all the share properties that is passed around * Added IShareProvider interface Interface that providers os a share have to implement. |