Conversation
Codecov Report
@@ Coverage Diff @@
## master #33180 +/- ##
============================================
+ Coverage 64.18% 64.21% +0.02%
- Complexity 18700 18701 +1
============================================
Files 1181 1180 -1
Lines 70349 70302 -47
Branches 1270 1271 +1
============================================
- Hits 45156 45143 -13
+ Misses 24823 24789 -34
Partials 370 370
Continue to review full report at Codecov.
|
3628b2a to
59e3478
Compare
| }); | ||
|
|
||
| $container->registerService('Share20OcsController', function (SimpleContainer $c) use ($server) { | ||
| return new Share20OcsController( |
There was a problem hiding this comment.
I guess automagic DI does not work here due to complex arguments ?
There was a problem hiding this comment.
@PVince81 it can't resolve \OCP\IUser to inject current user properly
33a18b9 to
746978d
Compare
|
Ready for review |
PVince81
left a comment
There was a problem hiding this comment.
Awesome!
Please check why codecov is complaining (good luck getting an actual report page if it's in the right mood).
Also please state how you confirmed that it still worked as required by the issue template. Would be good to confirm that the button as clicked in the web UI still behaves as before.
|
ok, so codecov issue related to the code that declares the new routes, not testable. |
51ccc9e to
c8798bc
Compare
Go go go! |
Description
API::registerinvocations in favor of routingShare20OCSto be a controllerRelated Issue
Motivation and Context
Sharing code cleanup
How Has This Been Tested?
share with user
click
notify by emailcheck that email has been arrived
reload the page and check that there is no
notify by emailbutton any moreLogin as user and check that the emailed permalink works
share with group
click
notify by emailcheck that email for all users with emails have been arrived
reload the page and check that there is no
notify by emailbutton any moreLogin as any user from this group and check that permalink works (TBH I didn't test them all)
Types of changes
Checklist:
Open tasks:
Since it doesn't beak anything a backport would be nice