cs3org / wopiserver

A vendor-neutral application gateway compatible with the WOPI specifications.
Apache License 2.0
52 stars 27 forks source link

Allow disabling the creation of zmd files in CodiMD #49

Closed glpatcern closed 2 years ago

glpatcern commented 2 years ago

A new boolean flag disablezip is defined in the config (defaults to False, i.e. previous behavior), which disables converting a .md file to .zmd, but preserves existing .zmd files.

To be seen if we want to force converting existing .zmd files to .md.

This goes in the direction of fixing #40 though the complete fix would be to integrate the ownCloud file picker and include a public link to pictures in the markdown document.

glpatcern commented 2 years ago

(Did not have time to discuss live, let's keep the discussion here)

My assumption is we can get the file picker quite rapidly, but let me validate this with Javier and Michal in fact ;-) Otherwise, you have a point in that we'd need to look after the pictures stored in the storage before dismantling it, which is not great. So if the above assumption is not true, I won't merge this now.

glpatcern commented 2 years ago

In a second thought, I'll merge this and leave it disabled in the config. We will enable it in QA as appropriate.