Skip to content

[stable30] feat(recent-files): add recent_files_limit config on files settings#59213

Merged
artonge merged 6 commits intostable30from
backport/58761/stable30
Mar 26, 2026
Merged

[stable30] feat(recent-files): add recent_files_limit config on files settings#59213
artonge merged 6 commits intostable30from
backport/58761/stable30

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Mar 26, 2026

Backport of #58761

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Remove all the empty commits
  • Amend HEAD commit to remove the line stating to skip CI

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

…che join and cast config limit to number

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
…ivity function

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
…t for recent files limit

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

/compile amend/

@nextcloud-command nextcloud-command force-pushed the backport/58761/stable30 branch from ccea41f to f3c4858 Compare March 26, 2026 12:31
return $node->getFileInfo()->getCreationTime();
});

$propFind->handle(self::LAST_ACTIVITY_PROPERTYNAME, function () use ($node) {

Check notice

Code scanning / Psalm

MissingClosureReturnType Note

Closure does not have a return type, expecting mixed
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure why the bot only flagged this backport PR, this follows the same pattern as the other $propFind->handle() calls in the file and other backport PRs.

@cristianscheid cristianscheid force-pushed the backport/58761/stable30 branch from f3c4858 to e23a8dc Compare March 26, 2026 12:41
…h function

feat(recent-search): pass recent_limit config value to getRecentSearch function

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@cristianscheid cristianscheid force-pushed the backport/58761/stable30 branch from e23a8dc to ba99779 Compare March 26, 2026 12:42
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
@cristianscheid cristianscheid marked this pull request as ready for review March 26, 2026 14:35
@artonge artonge merged commit 74f1d1a into stable30 Mar 26, 2026
209 of 222 checks passed
@artonge artonge deleted the backport/58761/stable30 branch March 26, 2026 17:34
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.

2 participants