Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented May 6, 2025

Backport of #52360

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

Todo

  • Review and resolve any conflicts
  • 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.

This allows callers to use the API without increasing the disk usage.

Example: blurhash generation, where we request a preview for all uploaded pictures, but don't want to necessarily store that preview.
Signed-off-by: Louis Chemineau <louis@chmn.me>
@backportbot backportbot bot requested review from artonge, come-nc and skjnldsv May 6, 2025 12:19
@backportbot backportbot bot added bug enhancement 3. to review Waiting for reviews feature: previews and thumbnails php Pull requests that update Php code labels May 6, 2025
@artonge artonge force-pushed the backport/52360/stable29 branch from de3b0fb to 754e032 Compare May 6, 2025 12:58
@artonge artonge marked this pull request as ready for review May 6, 2025 13:03
@artonge
Copy link
Contributor

artonge commented May 6, 2025

EOL

@artonge artonge closed this May 6, 2025
@artonge artonge reopened this May 12, 2025
@artonge artonge force-pushed the backport/52360/stable29 branch 2 times, most recently from e044f03 to 13f4f6e Compare May 13, 2025 08:12
This allows to benefit from all the checks done by the preview API.

This also use the newly introduced `cacheResult` argument to limit disk usage.

Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge artonge force-pushed the backport/52360/stable29 branch from 13f4f6e to 62c2525 Compare May 13, 2025 09:16
@sorbaugh sorbaugh merged commit b483969 into stable29 May 14, 2025
199 of 214 checks passed
@sorbaugh sorbaugh deleted the backport/52360/stable29 branch May 14, 2025 08:05
@tobiasKaminsky
Copy link
Member

@sorbaugh this is needed to be in next maintenance 29 release

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 bug enhancement feature: previews and thumbnails php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants