Trenton Holmes
1771d18a21
Runs the pre-commit hooks over all the Python files
2022-03-11 11:34:28 -08:00
kpj
fc695896dd
Format Python code with black
2022-02-27 15:26:41 +01:00
Felix Eckhofer
64304c5121
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
1d27a3a14b
fixed the write permission check
2021-04-05 21:33:04 +02:00
Robert
57a5df1fce
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
f872221c49
filesystem permission checks now issue warnings instead of errors, improves NFS compatibility
2021-01-28 22:22:25 +01:00
jonaswinkler
b10e7abbe8
don't know how that got in here
2020-12-20 15:25:47 +01:00
jonaswinkler
e79c45c98d
fix test cases
2020-12-19 20:39:56 +01:00
jonaswinkler
1b1b57eb6a
more tests
2020-12-19 15:54:13 +01:00
Jonas Winkler
d3c13f6c93
removed unused settings.
2020-11-25 19:30:11 +01:00
Jonas Winkler
e59696efd4
small fixes
2020-11-18 18:39:46 +01:00
Jonas Winkler
0421031128
add some more checks.
2020-11-12 21:20:12 +01:00
Jonas Winkler
2e04ba1c04
code style fixes
2020-11-12 21:09:45 +01:00
Jonas Winkler
5c4849796b
fixed folders, compatible with previous paperless version
2020-10-29 14:30:15 +01:00
Jonas Winkler
c596fe6782
unified data folders
2020-10-26 00:35:24 +01:00
Daniel Quinn
750ab5bf85
Use optipng to optimise document thumbnails
2018-10-07 14:56:38 +01:00
Daniel Quinn
b79caa64d0
Remove checks we weren't using
2018-05-28 12:58:28 +01:00
Daniel Quinn
f66d7e1c2d
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
7699a881d0
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