Skip to content

Conversation

@danxuliu
Copy link
Member

@danxuliu danxuliu commented May 6, 2025

Backport of #1203

Kept as draft until #1203 is reviewed and approved, but opening it beforehand to have it ready if it is approved without requiring changes.

@danxuliu
Copy link
Member Author

danxuliu commented May 6, 2025

/compile amend /

The PDF viewer must be able to download the file to show it, and if the
file is not downloadable an error message was just shown. However,
Nextcloud Office ("richdocuments") is able to show PDF files even if
they can not be downloaded, so now the viewer is reopened forcing
"richdocuments" to handle opening the file when it is not downloadable.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command nextcloud-command force-pushed the backport/1203/stable31-open-pdf-file-in-richdocuments-if-it-is-not-downloadable branch from e4244d1 to 0a4915c Compare May 6, 2025 05:44
Copy link
Collaborator

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

🐘

@danxuliu danxuliu marked this pull request as ready for review May 6, 2025 08:11
@danxuliu danxuliu merged commit 49deb19 into stable31 May 6, 2025
38 checks passed
@danxuliu danxuliu deleted the backport/1203/stable31-open-pdf-file-in-richdocuments-if-it-is-not-downloadable branch May 6, 2025 09:16
@blizzz blizzz mentioned this pull request May 6, 2025
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants