Skip to content

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

Merged
susnux merged 3 commits intomainfrom
feat/1699/recent-files-mark-recently-created
Mar 10, 2026
Merged

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

Conversation

@cristianscheid
Copy link
Copy Markdown
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
Copy Markdown
Contributor

susnux commented Feb 25, 2026

/backport to stable3

@susnux
Copy link
Copy Markdown
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>
…of nc:creation_time

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

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.05%. Comparing base (1af7237) to head (c19d771).
⚠️ Report is 20 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1517      +/-   ##
==========================================
+ Coverage   85.92%   86.05%   +0.12%     
==========================================
  Files          30       30              
  Lines         668      667       -1     
  Branches      198      195       -3     
==========================================
  Hits          574      574              
  Misses         80       80              
+ Partials       14       13       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@susnux susnux merged commit f1c7276 into main Mar 10, 2026
12 checks passed
@susnux susnux deleted the feat/1699/recent-files-mark-recently-created branch March 10, 2026 18:24
@backportbot
Copy link
Copy Markdown

backportbot bot commented Mar 10, 2026

The backport to stable3 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable3
git pull origin stable3

# Create the new backport branch
git checkout -b backport/1517/stable3

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 9079548e ff4b5a4d c19d7717

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/1517/stable3

Error: Failed to check for changes with origin/stable3: No changes found in backport branch


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

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