Skip to content

feat(recent-files): add recent_files_limit config on files settings#58761

Merged
provokateurin merged 9 commits intomasterfrom
feat/1700/limit-recent-files
Mar 26, 2026
Merged

feat(recent-files): add recent_files_limit config on files settings#58761
provokateurin merged 9 commits intomasterfrom
feat/1700/limit-recent-files

Conversation

@cristianscheid
Copy link
Copy Markdown
Contributor

@cristianscheid cristianscheid commented Mar 6, 2026

  • Resolves: #

Summary

This PR focuses on the backend part of implementation.

Checklist

AI (if applicable)

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

@cristianscheid cristianscheid force-pushed the feat/1700/limit-recent-files branch 6 times, most recently from 7631ec7 to da37572 Compare March 6, 2026 22:56
@cristianscheid cristianscheid force-pushed the feat/1700/limit-recent-files branch 3 times, most recently from 654547e to 0ee97af Compare March 18, 2026 13:07
@cristianscheid cristianscheid self-assigned this Mar 18, 2026
@nextcloud-command nextcloud-command force-pushed the feat/1700/limit-recent-files branch from 0ee97af to a999f0e Compare March 18, 2026 18:53
@cristianscheid cristianscheid marked this pull request as ready for review March 19, 2026 11:39
@cristianscheid cristianscheid requested review from ArtificialOwl, CarlSchwan, leftybournes, sorbaugh and szaimen and removed request for a team March 19, 2026 11:39
@cristianscheid cristianscheid added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 19, 2026
@cristianscheid cristianscheid force-pushed the feat/1700/limit-recent-files branch from a999f0e to 40362f5 Compare March 19, 2026 17:40
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
@cristianscheid cristianscheid force-pushed the feat/1700/limit-recent-files branch from 09d3bdd to 48ce8c3 Compare March 24, 2026 18:39
@cristianscheid
Copy link
Copy Markdown
Contributor Author

Quick update on the state of this PR:

  • after internal discussion with @artonge, it was agreed that this PR should focus only on the backend part for now.
  • also, @susnux you were right, the recent_limit setting should be an app config, not a user config (I misunderstood).

PR updated to handle only the backend part and to enable setting recent_limit via occ config:app:set files recent_limit --value=50.

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
@cristianscheid cristianscheid force-pushed the feat/1700/limit-recent-files branch from e7b9b07 to 9b605de Compare March 24, 2026 23:45
…h function

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
@cristianscheid cristianscheid requested a review from artonge March 25, 2026 17:13
@cristianscheid
Copy link
Copy Markdown
Contributor Author

/backport to stable33

Copy link
Copy Markdown
Collaborator

@artonge artonge left a comment

Choose a reason for hiding this comment

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

Looks good to me besides one question

@cristianscheid
Copy link
Copy Markdown
Contributor Author

/backport to stable32

@cristianscheid
Copy link
Copy Markdown
Contributor Author

/backport to stable31

@cristianscheid
Copy link
Copy Markdown
Contributor Author

/backport to stable30

@cristianscheid
Copy link
Copy Markdown
Contributor Author

/backport to stable29

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

Labels

3. to review Waiting for reviews enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants