Backport of Trigger dav events for the public.php/webdav endpoint#35820
Merged
Backport of Trigger dav events for the public.php/webdav endpoint#35820
Conversation
Trigger dav events for the public.php/webdav endpoint. Populate the event args so that recipient of the event could use them. Signed-off-by: Sujith H <sharidasan@owncloud.com>
Contributor
Author
|
Original PR: #35759 |
11 tasks
Codecov Report
@@ Coverage Diff @@
## stable10 #35820 +/- ##
==============================================
+ Coverage 65.09% 65.11% +0.01%
- Complexity 20239 20245 +6
==============================================
Files 1300 1301 +1
Lines 77238 77286 +48
Branches 1301 1301
==============================================
+ Hits 50279 50325 +46
- Misses 26574 26576 +2
Partials 385 385
Continue to review full report at Codecov.
|
1 similar comment
Codecov Report
@@ Coverage Diff @@
## stable10 #35820 +/- ##
==============================================
+ Coverage 65.09% 65.11% +0.01%
- Complexity 20239 20245 +6
==============================================
Files 1300 1301 +1
Lines 77238 77286 +48
Branches 1301 1301
==============================================
+ Hits 50279 50325 +46
- Misses 26574 26576 +2
Partials 385 385
Continue to review full report at Codecov.
|
micbar
approved these changes
Jul 15, 2019
13 tasks
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.
Trigger dav events for the public.php/webdav endpoint.
Populate the event args so that recipient of the event
could use them.
Signed-off-by: Sujith H sharidasan@owncloud.com
Description
Trigger events in order to know when the public.php/webdav endpoint is being accessed. The main goal for this is to know when a download through this public endpoint happens.
Note that these events aren't being listened by anyone for now.
Related Issue
Foundation to solve https://github.com/owncloud/admin_audit/issues/162
Motivation and Context
This will allow us to know when a file is being downloaded through the public.php/webdav endpoint, or when a file is being uploaded through the same endpoint (assuming enough permissions to do so)
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: