Repository navigation
feat: indicate if file has preview - #214
Conversation
c83d771 to
ef83818
Compare
rhafer
left a comment
There was a problem hiding this comment.
I am not really happy that we add yet another reva -> opencloud depency here, but I am also lacking some better idea currently.
170145d to
a33e570
Compare
I spoke with @aduffeck We can shift the mimetypes map to reva. |
Can we? The defaults for |
|
related WEB-UI TIcket opencloud-eu/web#864 |
d802488 to
dde4262
Compare
|
@rhafer Rebased and cleaned up the go deps. |
|
Please also create mobile client follow-up issues when you create a new feature in server, not only web UI :) Android here: opencloud-eu/android#217 |
|
Small bug by (for whatever creates the .txt thumbnail, not for this PR here): https://demo.opencloud.eu returns has-preview 1 for the sample .txt file there. (Different side issue: Maybe it should not render the .txt file so small if the contents are so little, right now I guess it assumes A4 or so?) EDIT: Ok, @dschmidt explained me this "honest has-preview" relationshiop could be part of opencloud-eu/opencloud#3210 |
Description
Indicate if a resource can render a thumbnail.
Context
We have different implementations of our thumbnail service which include capabilities for different formats.
This flag on the PROPFIND enables clients to see if a preview is available and can be reqested.
openCloud context
We have two thumbnailers:
libvipsbindingsThe included mimetype list is different in the two build scenarios.
Examples
Request
Response