Repository navigation
feat: recommend recently uploaded files - #1211
Merged
Merged
Conversation
An upload keeps the mtime it had on the uploader's device, so a file uploaded today could look weeks old. When the upload is newer than the mtime, recommend the file as uploaded, at its upload time. Assisted-by: ClaudeCode:claude-opus-5-5 Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
skjnldsv
force-pushed
the
feature/weighted-score
branch
from
October 29, 2026 07:33
7878d19 to
f3fb3f2
Compare
skjnldsv
force-pushed
the
feature/recently-uploaded
branch
from
October 29, 2026 07:33
f4987af to
fc5f19f
Compare
skjnldsv
marked this pull request as ready for review
October 29, 2026 19:15
susnux
approved these changes
Oct 29, 2026
Member
Author
|
Merged too fast, re-created in #1213 |
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.
A file uploaded today can carry an mtime from weeks ago, so it looked old or didn't show at all. When a file's upload is newer than its mtime, it's now recommended as "Uploaded …", at its upload time, with the same 0.1 weight as edited.
Relates to #888. Stacked on #1209. Needs nextcloud/server#65998 for uploads with an old mtime to come through getRecent() at all.
Tested on a 36 instance with that server change applied: a file uploaded with a 40 days old mtime shows as uploaded a second ago.
👾 This pull request was assisted by Claude Code, commits carry an
Assisted-bytrailer.