Commit Graph

8 Commits

Author SHA1 Message Date
Mikhail Novosyolov
824ac26208 Clean up junk after LibreOffice failure
"set -e" stops the whole script if soffice/docker command fails.
An attacker may fullfill all tmpfs in /tmp by uploading documents on processing which ones LibreOffice will fail.

"exit 0" in the end of the script makes no sense.
2021-10-09 09:35:58 +03:00
Gustavo Trott
1b8ad22c51 Set 1gb as memory limit for Office-conversion Docker 2021-09-28 09:33:52 -03:00
Gustavo Trott
6cba3cf702 Makes Libreoffice Docker mounts the system fonts instead of install fonts in container 2021-04-29 17:39:27 -03:00
Gustavo Trott
7d6ade0e05 brackets are not required and quotes should be used to protect against spaces in the file names 2021-04-26 17:38:30 -03:00
Gustavo Trott
e430df0a31 Apply security enhancements for libreoffice conversion scripts 2021-04-19 13:36:03 -03:00
Gustavo Trott
4869660fdb Makes convert scripts support Etherpad exportation 2021-04-13 10:41:16 -03:00
Gustavo Trott
bdae83a2b1 Clear and document conversion shellScript files 2021-03-22 15:48:08 -03:00
Gustavo Trott
e9d5eca664 Replaces the presentation Office to Pdf converter using shellScript instead of jodconverter 2021-03-22 15:32:22 -03:00