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

AppProvider: make CodiMD config non hard-coded #3401

Merged
merged 8 commits into from
Nov 3, 2022

Conversation

glpatcern
Copy link
Member

@glpatcern glpatcern commented Oct 26, 2022

This PR is to clean up some hardcoded logic to support CodiMD, and make it more streamlined like for other apps.

The custom mimetype JSON file was moved to the appprovider configuration as it's not WOPI driver specific.

The required extra logic to handle the mime types <-> file extensions mapping was implemented in the go-mime package, with a PR due in https://github.com/cubewise-code/go-mime. This is why in this PR I'm pointing to my fork. If there's no active development on go-mime (not unlikely, given that the last activity is from 3 years ago whereas the mime types repo at https://github.com/micnic/mime.json was updated 1 year ago), we should actually consider alternatives.

@update-docs
Copy link

update-docs bot commented Oct 26, 2022

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@glpatcern glpatcern changed the title AppProvider: drop hardcoded config for CodiMD AppProvider: make CodiMD config non hard-coded Oct 27, 2022
@glpatcern glpatcern requested a review from a team as a code owner October 27, 2022 10:01
@labkode labkode merged commit a2b2109 into cs3org:master Nov 3, 2022
vascoguita pushed a commit to vascoguita/reva that referenced this pull request Nov 11, 2022
glpatcern added a commit to cernbox/reva that referenced this pull request Dec 3, 2022
glpatcern added a commit to cernbox/reva that referenced this pull request Dec 4, 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.

3 participants