Add API to undelete delete group shares#9909
Merged
MorrisJobke merged 9 commits intomasterfrom Jul 5, 2018
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9909 +/- ##
============================================
- Coverage 51.42% 51.29% -0.14%
+ Complexity 26413 26031 -382
============================================
Files 1690 1596 -94
Lines 97716 89005 -8711
Branches 1292 0 -1292
============================================
- Hits 50248 45652 -4596
+ Misses 47468 43353 -4115
|
65b5bd4 to
0861a86
Compare
2 tasks
b051bee to
13cca8f
Compare
skjnldsv
approved these changes
Jun 26, 2018
MorrisJobke
reviewed
Jun 26, 2018
lib/public/Share/IManager.php
Outdated
| * @param int $limit The maximum number of shares returned, -1 for all | ||
| * @param int $offset | ||
| * @return IShare[] | ||
| * @since 9.0.0 |
MorrisJobke
approved these changes
Jun 26, 2018
Member
MorrisJobke
left a comment
There was a problem hiding this comment.
Tested and code looks good 👍
Member
|
@rullzer Could you fix the CI - then this is good to go in. |
Member
Author
|
I can have a look. |
ca35f1b to
6bdffa9
Compare
Member
|
@rullzer 🙈 |
| @@ -0,0 +1,144 @@ | |||
| <?php | |||
|
|
|||
| namespace OCA\Files_Sharing\Controller; | |||
Member
Author
|
@skjnldsv could you have a look at the failing js unit tests? |
6bdffa9 to
874162e
Compare
Member
Author
|
@skjnldsv still failing jsunit tests :S |
Member
|
@rullzer sorry, missed this |
874162e to
3a9616c
Compare
Member
|
When a group share is deleted we keep track of this in the DB. Right now it is only possible for a recipient to get back the share by asking the sharer to delete it and to share it again. This doesn't scale. This endpoint makes it possible to get back the share. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3a9616c to
f39dfc7
Compare
Member
|
Failure unrelated: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a group share is deleted we keep track of this in the DB.
Right now it is only possible for a recipient to get back the share by
asking the sharer to delete it and to share it again. This doesn't
scale.
This endpoint makes it possible to get back the share.
Signed-off-by: Roeland Jago Douma roeland@famdouma.nl