Commit graph

27 commits

Author SHA1 Message Date
Micah Lee
31b63e5471
Start switching from PyQt5 to PySide2 2020-10-26 14:52:45 -07:00
Micah Lee
13285cd024
Suppress stderr from GUI output and display it in the terminal in dark; add a dangerzone poetry entrypoint; and update dependencies 2020-10-14 09:41:23 -07:00
Micah Lee
9c90a0fa33
Rename dangerzone-container commands to remove hiphens and underscores, because old and new versions of click treat them differently 2020-04-09 13:58:22 -07:00
Micah Lee
3a1b6d457f
All dangerzone-container subprocesses get called from global_commons, and if the user cancels or fails the authentication dialog, handle gracefully 2020-03-16 14:26:07 -07:00
Micah Lee
cf367adcfa
This creates a separate script dangerzone-container which is a wrapper for running the container. This lets us run dangerzone as unprivileged, but dangerzone-container as privileged, to avoid adding the user to the dangerzone group. 2020-03-13 16:49:53 -07:00
Micah Lee
d519303150
Add --custom-container option, to run a container built locally instead of requiring download from dockerhub 2020-03-06 18:08:15 +05:30
Micah Lee
dd6c336b85
Force updating the container if flmcode/dangerzone image is not there, and show slightly more output when pulling the image 2020-02-27 15:44:13 -08:00
Micah Lee
389f9db421
Use container from dockerhub instead of building it 2020-02-27 15:18:19 -08:00
Micah Lee
52cbbca7c6
Update container 2020-02-26 17:26:18 -08:00
Micah Lee
4c9bbfe217
Refactor Common into GlobalCommon (for the whole app) and Common (for a window), and allow multiple dangerzone windows at once in macOS 2020-02-26 15:46:23 -08:00
Micah Lee
7a22b98156
Add notice about building container maybe taking a long time 2020-02-13 16:12:18 -08:00
Micah Lee
e3069e9e05
Fail early if container pull or build fail 2020-02-13 15:55:28 -08:00
Micah Lee
791d930a55
In Windows, add startupinfo to subprocess calls to prevent terminal windows from opening in the background 2020-02-13 15:33:08 -08:00
Micah Lee
abb56b68ac
In macOS, download Docker Desktop for the user if it is not installed 2020-02-06 17:12:01 -08:00
Micah Lee
46585f15a8
Start printing container output to stdout as well, and update container 2020-01-10 17:23:19 -08:00
Micah Lee
90df7894aa
Make tasks more robust in handling failure by checking for return codes 2020-01-10 16:56:50 -08:00
Micah Lee
3928a3fa5a
Switch container to ubuntu:20.04, because the file command in ubuntu:18.04 failed at properly recogonnizing a .docx MIME type, and 18.04 is soon to be released 2020-01-09 16:58:17 -08:00
Micah Lee
dd295271f5
Make work in macOS using docker instead of podman 2020-01-09 13:09:17 -08:00
Micah Lee
e1d0163504
Display command being executed in each task 2020-01-08 14:26:26 -08:00
Micah Lee
5e0c521293
Pass OCR environment variables into container 2020-01-07 16:46:04 -08:00
Micah Lee
66cf6395c8
Add support for converting xlsx to pdf 2020-01-07 11:15:06 -08:00
Micah Lee
3e1ad6376c
Add support for converting docx to pdf using headless libreoffice 2020-01-07 10:22:11 -08:00
Micah Lee
db23ced6c5
Rename container scripts to document-to-pixels and pixels-to-pdf, and add tesseract dependency 2020-01-07 09:32:51 -08:00
Micah Lee
195386d526
Finish making convert to safe PDF work 2020-01-06 18:17:48 -08:00
Micah Lee
bcad2f6256
Convert to pixel data 2020-01-06 17:02:12 -08:00
Micah Lee
fe028e5f0c
Move container to its own folder 2020-01-06 14:50:44 -08:00
Micah Lee
0b9823a34e
Initial commit 2020-01-06 14:40:09 -08:00