feat(dav): allow extending propfind properties via event#57914
Merged
juliusknorr merged 1 commit intomasterfrom Feb 5, 2026
Merged
feat(dav): allow extending propfind properties via event#57914juliusknorr merged 1 commit intomasterfrom
juliusknorr merged 1 commit intomasterfrom
Conversation
5471dd1 to
5f63dc5
Compare
juliusknorr
reviewed
Jan 29, 2026
juliusknorr
reviewed
Jan 29, 2026
juliusknorr
reviewed
Jan 29, 2026
juliusknorr
approved these changes
Jan 29, 2026
Member
juliusknorr
left a comment
There was a problem hiding this comment.
Some minor comments, but the approach is fine I think 👍
Member
|
phpunit failures do not seem related, but autoloader needs to be updated with the new class |
82179a8 to
2ec4d96
Compare
Member
|
/backport to stable33 |
Contributor
Author
|
/backport to stable32 |
67558a9 to
9c408d5
Compare
come-nc
requested changes
Feb 2, 2026
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com> Update lib/public/Files/Events/BeforePropfindEvent.php Co-authored-by: Julius Knorr <jus@bitgrid.net> Signed-off-by: Benjamin Früh <134610227+benjaminfrueh@users.noreply.github.com> Update lib/public/Files/Events/BeforePropfindEvent.php Co-authored-by: Julius Knorr <jus@bitgrid.net> Signed-off-by: Benjamin Früh <134610227+benjaminfrueh@users.noreply.github.com> refactor: rename BeforePropfindEvent to BeforeRemotePropfindEvent Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com> chore: update composer autoloader for new event class Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com> Update lib/public/Files/Events/BeforeRemotePropfindEvent.php Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Benjamin Früh <134610227+benjaminfrueh@users.noreply.github.com>
66c4ccb to
9d4b115
Compare
Merged
come-nc
approved these changes
Feb 5, 2026
This was referenced Feb 5, 2026
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.
Summary
Makes the list of WebDAV properties requested in PROPFIND calls extendable via
BeforePropfindEvent.This was implemented to enable the files_lock app to add lock properties for federation.
Changes
BeforePropfindEventinDAV::getPropfindProperties()getPropfindPropertyValue()method to access requested propertiesRequired for nextcloud/files_lock#954