Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ONHOLD/WIP: POC allow customizing supported formats via app config #459

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mrow4a
Copy link
Contributor

@mrow4a mrow4a commented Mar 2, 2022

feat: #207
feat: https://github.com/owncloud/enterprise/issues/3061

previous: it was not possible to specify which formats are supported by Collabora
now: it is possible to specify formats with which Collabora should be opened

todo:

  • settings for formats are populated from backend
  • app setting can be added command line
  • probably needs also mapping from extension to format e.g. ("application/pdf"->".pdf") (1md)
  • app setting can be added in Admin UI (this parts begs for refactor but can be like this too..) (1-2md)
  • validate settings added whether they are really supported by collabora (0.5md)
  • add tests and qa (2md)
  • add admin docs (0.5md)

By default all supported formats are allowed, to customize execute (e.g. remove pdf if not needed):

occ config:app:set richdocuments supported_mimetypes --value '["application\/pdf","application\/vnd.oasis.opendocument.text","application\/vnd.oasis.opendocument.spreadsheet","application\/vnd.oasis.opendocument.graphics","application\/vnd.oasis.opendocument.presentation","application\/vnd.oasis.opendocument.text-flat-xml","application\/vnd.oasis.opendocument.spreadsheet-flat-xml","application\/vnd.oasis.opendocument.graphics-flat-xml","application\/vnd.oasis.opendocument.presentation-flat-xml","application\/vnd.lotus-wordpro","image\/svg+xml","application\/vnd.visio","application\/vnd.wordperfect","application\/msonenote","application\/msword","application\/rtf","text\/rtf","text\/plain","application\/vnd.openxmlformats-officedocument.wordprocessingml.document","application\/vnd.openxmlformats-officedocument.wordprocessingml.template","application\/vnd.ms-word.document.macroEnabled.12","application\/vnd.ms-word.template.macroEnabled.12","application\/vnd.ms-excel","application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application\/vnd.openxmlformats-officedocument.spreadsheetml.template","application\/vnd.ms-excel.sheet.macroEnabled.12","application\/vnd.ms-excel.template.macroEnabled.12","application\/vnd.ms-excel.addin.macroEnabled.12","application\/vnd.ms-excel.sheet.binary.macroEnabled.12","application\/vnd.ms-powerpoint","application\/vnd.openxmlformats-officedocument.presentationml.presentation","application\/vnd.openxmlformats-officedocument.presentationml.template","application\/vnd.openxmlformats-officedocument.presentationml.slideshow","application\/vnd.ms-powerpoint.addin.macroEnabled.12","application\/vnd.ms-powerpoint.presentation.macroEnabled.12","application\/vnd.ms-powerpoint.template.macroEnabled.12","application\/vnd.ms-powerpoint.slideshow.macroEnabled.12"]'

@mrow4a mrow4a requested review from AlexAndBear and JammingBen March 2, 2022 18:01
@mrow4a mrow4a self-assigned this Mar 2, 2022
@mrow4a mrow4a changed the title WIP/POC: allow customizing supported formats via app config WIP: POC allow customizing supported formats via app config Mar 2, 2022
@ownclouders
Copy link
Contributor

💥 Acceptance tests pipeline webUISecV-master-chrome-mariadb10.2-php7.4 failed. The build has been cancelled.

https://drone.owncloud.com/owncloud/richdocuments/1826/11/1

@ownclouders
Copy link
Contributor

💥 Acceptance tests pipeline webUISecV-latest-chrome-mariadb10.2-php7.4 failed. The build has been cancelled.

https://drone.owncloud.com/owncloud/richdocuments/1826/13/1

@mrow4a
Copy link
Contributor Author

mrow4a commented Sep 30, 2022

from PM -> on hold

@mrow4a mrow4a changed the title WIP: POC allow customizing supported formats via app config ONHOLD/WIP: POC allow customizing supported formats via app config Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants