Michael Shamoon
b894f4ad1c
Allow PAPERLESS_OCR_CLEAN=none
2022-09-27 08:48:04 -07:00
Trenton H
4032b5afe6
Fixes a missing option for OCR mode and incorrect clean mode
2022-09-26 11:05:19 -07:00
Trenton H
61bb45124a
Fixes an issue where the consume directory wasn't included in the permissions fix at Docker entry
2022-09-16 07:52:33 -07:00
Trenton Holmes
f870c6bfa6
Adds validation and testing to cover some of the common settings
2022-09-09 11:48:57 -07:00
Trenton Holmes
ef6ebf9888
Entirely removes the optipng, updates ghostscript fall back to also use WebP. Updates the conversion to use a multiprocessing pool
2022-06-11 08:38:49 -07:00
Trenton Holmes
6635fa5f0d
Runs the pre-commit hooks over all the Python files
2022-03-11 11:34:28 -08:00
kpj
c56cb25b5f
Format Python code with black
2022-02-27 15:26:41 +01:00
Felix Eckhofer
feed3ddfcf
Add PAPERLESS_TRASH_DIR
...
When set, original files are moved here instead of being permanently
removed when a document is deleted.
2021-08-24 12:50:13 +02:00
jonaswinkler
f78a8761df
fixed the write permission check
2021-04-05 21:33:04 +02:00
Robert
c2e06db69e
fix writable check for NFS mounts
...
For some reason, os.access(directory, os.W_OK | os.X_OK) does not work correctly on NFS mounts.
After some research, found out that the only secure and portable way to check for write access, is to touch a file.
2021-03-07 23:46:29 +01:00
jonaswinkler
c699acec1c
filesystem permission checks now issue warnings instead of errors, improves NFS compatibility
2021-01-28 22:22:25 +01:00
jonaswinkler
d3669b4e90
don't know how that got in here
2020-12-20 15:25:47 +01:00
jonaswinkler
0902f464b6
fix test cases
2020-12-19 20:39:56 +01:00
jonaswinkler
a3334293af
more tests
2020-12-19 15:54:13 +01:00
Jonas Winkler
8b1aa9cf68
removed unused settings.
2020-11-25 19:30:11 +01:00
Jonas Winkler
62ee9d6ee5
small fixes
2020-11-18 18:39:46 +01:00
Jonas Winkler
4734dec465
add some more checks.
2020-11-12 21:20:12 +01:00
Jonas Winkler
eb6805e37e
code style fixes
2020-11-12 21:09:45 +01:00
Jonas Winkler
46d1fdc108
fixed folders, compatible with previous paperless version
2020-10-29 14:30:15 +01:00
Jonas Winkler
d3af1e8815
unified data folders
2020-10-26 00:35:24 +01:00
Daniel Quinn
bc898c1992
Use optipng to optimise document thumbnails
2018-10-07 14:56:38 +01:00
Daniel Quinn
27b541c330
Remove checks we weren't using
2018-05-28 12:58:28 +01:00
Daniel Quinn
2d83a2f013
Drop SHARED_SECRET in favour of EMAIL_SECRET
...
Originally we used SHARED secret both for email and for the API. That
was a bad idea, and now that we're only using this value for one case,
I've renamed it to reflect its actual use.
2017-06-18 22:08:42 +01:00
Dashie
454e5fb126
Add check for PAPERLESS_MEDIADIR
2017-02-01 00:28:37 +01:00
Daniel Quinn
75884285cf
Added checks for expected binaries in the PATH
...
Fixes #112
2017-01-14 18:04:15 +00:00
Daniel Quinn
30be13ae33
Added system checks to warn people of misconfigurations
2017-01-01 18:39:34 +00:00