Skip to content

feat(recent-search): add creation_time property and use capatabilities to identify wheter creation_time and upload_time are supported#1517

Open
cristianscheid wants to merge 2 commits intomainfrom
feat/1699/recent-files-mark-recently-created
Open

feat(recent-search): add creation_time property and use capatabilities to identify wheter creation_time and upload_time are supported#1517
cristianscheid wants to merge 2 commits intomainfrom
feat/1699/recent-files-mark-recently-created

Conversation

@cristianscheid
Copy link
Contributor

@cristianscheid cristianscheid commented Feb 25, 2026

  • Resolves: #

Summary

  • Updates getRecentSearch() in lib/dav/davProperties.ts to use capabilities instead of version checks
  • Conditionally includes creation_time and upload_time based on server capabilities

This PR is related to this backend PR:

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

…s to identify wheter creation_time and upload_time are supported

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
@susnux
Copy link
Contributor

susnux commented Feb 25, 2026

/backport to stable3

@susnux
Copy link
Contributor

susnux commented Feb 25, 2026

^ you probably need to adjust the backport manually later to also include the upload time changes

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
<d:select>
<d:prop>
${getDavProperties()}
${supportsCreationTime ? '<nc:creation_time/>' : ''}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not used in the select below?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review 3️⃣ Waiting for reviews backport-request type: enhancement 🚀 New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants