DAV SEARCH: Expose upload_time and creation_time#30366
DAV SEARCH: Expose upload_time and creation_time#30366marcelklehr wants to merge 2 commits intomasterfrom
Conversation
|
php-cs linter fails due to unrelated file |
|
@icewind1991 Does Node#getFileInfo()->getCreationTime() return the file system creation time, or some value maintained in nextcloud? In my tests with this PR it always returns |
|
/rebase |
ba11d93 to
49cda5a
Compare
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
From that I understand the creation_time is set here: server/apps/dav/lib/Connector/Sabre/File.php Line 379 in 8367b02 So a client needs to send the time explicitly when uploading a file. Reading the desktop client source code, I can't find where this is set :( |
|
maybe @mgallien for where the creation time is sent ? |
my understanding is that desktop client only sets I confirm what @CarlSchwan said |
|
Hi everyone, what is needed to get this done? :) |
|
This was based on wrong assumptions |
fixes #21385
This would be very useful for nextcloud/photos#87