-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add API to undelete delete group shares #9909
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
b051bee
to
13cca8f
Compare
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me fix this. ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and code looks good 👍
@rullzer Could you fix the CI - then this is good to go in. |
I can have a look. |
ca35f1b
to
6bdffa9
Compare
@rullzer 🙈 |
@@ -0,0 +1,144 @@ | |||
<?php | |||
|
|||
namespace OCA\Files_Sharing\Controller; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
license missing
@skjnldsv could you have a look at the failing js unit tests? |
6bdffa9
to
874162e
Compare
@skjnldsv still failing jsunit tests :S |
@rullzer sorry, missed this |
874162e
to
3a9616c
Compare
|
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
Failure unrelated: |
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