xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 8 forks source link

Add support for disabling the features that require an external server #105

Closed mflorea closed 4 years ago

mflorea commented 4 years ago

For those that are concerned about privacy, it should be possible to disable the features that require an external server. For this we could add a boolean (checkbox) configuration option in the Diagram administration section: "Disable features requiring an external server".

ATM this would affect the PDF export (from the diagram editor) and the image export (on IE11 only).

oanalavinia commented 4 years ago

Now features that require an external server can be disabled from Diagram Config page (disableExternalServices option, which defaults to False). This option is available for each wiki where Diagram Application is installed.

As a result, by disabling it, a pop-up will be shown for export as pdf from diagram editor, or when exporting as png / jpeg in IE browser.