Skip to content

Whitelist apps - #2095

Merged
glpatcern merged 7 commits into
cs3org:masterfrom
gmgigi96:whitelist-apps
Sep 28, 2021
Merged

glpatcern merged 7 commits into
cs3org:masterfrom
gmgigi96:whitelist-apps

Conversation

@gmgigi96

Copy link
Copy Markdown
Member

This PR introduces the following enhancements:

  1. Overrides the AppProvider supported mimetypes from the configuration
  2. Add a configuration for the mime types in the AppRegistry (a friendly name, default AppProvider, description, icon, ...)

@gmgigi96
gmgigi96 marked this pull request as ready for review September 23, 2021 16:57
@gmgigi96
gmgigi96 requested a review from labkode as a code owner September 23, 2021 16:57

@glpatcern glpatcern left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks all good, I just want to prepare a good list of default mime types to be included. Will do that on Monday ;-)

@glpatcern glpatcern left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

As quickly discussed, for the example config file I'd include the mime types for: docx, xlsx, pptx, odt, ods, odp, txt, md, root, ipynb.

@glpatcern glpatcern left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

All good for me!

@glpatcern
glpatcern merged commit 48d4872 into cs3org:master Sep 28, 2021
glpatcern pushed a commit to glpatcern/reva that referenced this pull request Nov 12, 2021
* Fix logic for default mapping

* Override AppProvider supported mimetypes with the ones set in the config

* Add configuration in the AppRegistry for MimeTypes

* Add default AppProvider from the configuration

* Add changelog

* Update AppRegistry tests with the mimetypes infos from the config

* Add AppRegistry mime type examples and demo AppProvider

Co-authored-by: Hugo Gonzalez Labrador <[email protected]>
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.

3 participants