]> source.dussan.org Git - nextcloud-server.git/commit
Provide hasPreview in files_versions DAV API
authorLouis Chemineau <louis@chmn.me>
Mon, 19 Jun 2023 15:51:53 +0000 (17:51 +0200)
committerLouis Chemineau <louis@chmn.me>
Wed, 28 Jun 2023 14:46:48 +0000 (16:46 +0200)
commit36c3846475cf132caca656c11a954343495dccbe
treea61ebc97f3e0263efb584a34db51a40e1e12e90b
parent0d9abed75454d022190024f5a5951cd1aed315b8
Provide hasPreview in files_versions DAV API

This allow to no request non existing previews
I also set some properties to the img element to reduce preview loading to what the browser think is necessary

Signed-off-by: Louis Chemineau <louis@chmn.me>
apps/files_versions/lib/Sabre/Plugin.php
apps/files_versions/lib/Sabre/VersionFile.php
apps/files_versions/src/components/Version.vue
apps/files_versions/src/utils/davRequest.js
apps/files_versions/src/utils/versions.js