Skip to content

Conversation

@lars-sh
Copy link

@lars-sh lars-sh commented Aug 31, 2025

Summary

I installed Nextcloud Office on my Nextcloud instance. Anyway, most of the time I simply want to download the file and view or edit it locally. Even more, this applies to receivers of share links.

Therefore, this pull request adds one system config property to control the behavior of the Nextcloud Office app to open all kind of files by default. When setting the property "richdocuments_optional_mimetypes" to "all" or an array of mimetypes files are simply downloaded.

In addition, I made the context menu function "Edit with Nextcloud Office" a little more flexible to apply to all of the mimetypes that Nextcloud Office is capable to open but does not open by default. Thanks to that change, I'm still able to use Nextcloud Office on demand.

This is somewhat of a prototype. Nonetheless, I hope it helps someone to integrate a similar feature.

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Documentation (manuals or wiki) has been updated or is not required

@lars-sh
Copy link
Author

lars-sh commented Aug 31, 2025

I just noticed, the file-action.js change should fix #3456 as well.

@github-actions
Copy link
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

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.

Share links should not open collabora on load

1 participant