Skip to content

feat: set creation_time on file creation and render recently created icon#58562

Open
cristianscheid wants to merge 3 commits intomasterfrom
feat/1699/recent-files-mark-recently-created
Open

feat: set creation_time on file creation and render recently created icon#58562
cristianscheid wants to merge 3 commits intomasterfrom
feat/1699/recent-files-mark-recently-created

Conversation

@cristianscheid
Copy link
Contributor

@cristianscheid cristianscheid commented Feb 25, 2026

  • Resolves: #

Summary

This PR:

  • Sets creation_time (on filecache_extended table) when a new file is created
    • e.g. via Collabora on Files app: New > New Document
  • Adds creation_time as a supported field in file search queries
  • Renders a "recently created" icon on the Recent tab for files created in the last 24 hours

An additional frontend PR was opened on nextcloud-libraries/nextcloud-files to enable fetching creation_time:

This backend PR is independent and can be merged first, as it only adds new functionality and should not break existing behavior.

Screenshots

Before:

before

After:

after

Checklist

AI (if applicable)

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

…icon

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
@cristianscheid cristianscheid self-assigned this Feb 25, 2026
@cristianscheid cristianscheid requested review from a team and skjnldsv as code owners February 25, 2026 11:43
@cristianscheid cristianscheid requested review from ArtificialOwl, leftybournes, salmart-dev, sorbaugh and szaimen and removed request for a team February 25, 2026 11:43
@cristianscheid
Copy link
Contributor Author

/backport to stable33

Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

🐘

@szaimen szaimen added this to the Nextcloud 34 milestone Feb 25, 2026
@cristianscheid
Copy link
Contributor Author

/compile

@cristianscheid
Copy link
Contributor Author

/backport to stable32

@cristianscheid
Copy link
Contributor Author

/backport to stable31

@cristianscheid
Copy link
Contributor Author

/backport to stable30

@cristianscheid
Copy link
Contributor Author

/backport to stable29

nextcloud-command and others added 2 commits February 25, 2026 12:13
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
…pload_time capabilities

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants