634 Commits

Author SHA1 Message Date
jonaswinkler
3f456d4234 filename changes: don't include time. 2020-11-30 00:52:21 +01:00
jonaswinkler
7658c07b4d added file type checks to the parsers to prevent temporary files from being consumed. Also: parsers announce file types they wish to use as default for each mime type. 2020-11-30 00:40:04 +01:00
jonaswinkler
0e9d88ef7d test cases for #67 2020-11-29 15:47:56 +01:00
jonaswinkler
744b86bb91 fixes an issue with paperless not assigning metadata when FILENAME_FORMAT is specified and resolves an invalid warning about missing files fixes #67 2020-11-29 14:45:43 +01:00
jonaswinkler
906fe4a68d fixes #61 2020-11-28 19:28:46 +01:00
jonaswinkler
1d12b310f6 fixes to the search index 2020-11-28 11:49:46 +01:00
jonaswinkler
0bc68d7d1a more tests and bugfixes. 2020-11-27 15:36:32 +01:00
jonaswinkler
cc15391114 parallel tests. 2020-11-27 14:00:52 +01:00
jonaswinkler
d2e919849a refactored the test cases to use a mixin for setting up temporary directories. 2020-11-27 14:00:41 +01:00
jonaswinkler
b941cd5fa8 fixed an issue with the search api opening the index on import (that's way too early.) 2020-11-27 13:59:24 +01:00
jonaswinkler
984da65b7e refrain from creating the index as part of the migrations, messes with the test cases. 2020-11-27 13:56:07 +01:00
jonaswinkler
c6627eac1f fix warnings about unclosed files. 2020-11-27 13:19:58 +01:00
jonaswinkler
77d0fb670e tests: wait for the consumer to exit before removing directories. 2020-11-27 13:14:02 +01:00
jonaswinkler
6cd54034d2 tests: disable db logger in all tests except logger tests 2020-11-27 13:13:11 +01:00
jonaswinkler
29867ba6bd inotify: cleanup descriptor when done 2020-11-27 13:12:34 +01:00
jonaswinkler
72b4f817df moved consumption dir check into the correct spot 2020-11-27 13:12:13 +01:00
jonaswinkler
c4904b8dfc todo note 2020-11-27 12:03:24 +01:00
jonaswinkler
f47837efde add empty test case. 2020-11-27 00:05:29 +01:00
jonaswinkler
f49bf187eb more tests. 2020-11-26 23:56:57 +01:00
jonaswinkler
9627a91654 removed some obsolete exporter code. 2020-11-26 23:09:17 +01:00
jonaswinkler
f4d6c3e5b8 The index is now recreated in case loading fails. 2020-11-26 22:18:30 +01:00
jonaswinkler
4ab7577069 improved test cases. Python 3.6 compatibility. 2020-11-26 22:17:14 +01:00
jonaswinkler
221c1e76e9 couple changes to the consumer. 2020-11-26 18:55:05 +01:00
jonaswinkler
dac7971cd6 Apparently there was a very good reason to use inotify. fixes #46 complete with test cases for inotify and polling. 2020-11-26 17:57:03 +01:00
Jonas Winkler
d08e6f333a Test cases for the API 2020-11-26 17:57:00 +01:00
Jonas Winkler
c4f5f640ee tests for the classifier and fixes for edge cases with minimal data. 2020-11-26 14:18:34 +01:00
Jonas Winkler
61d9794824 fixed the decryption code, but its still untested. 2020-11-25 21:10:50 +01:00
Jonas Winkler
3ba603a2e8 Paperless will continue to operate with encrypted files, however, all new files will be stored unencrypted. 2020-11-25 21:03:06 +01:00
Jonas Winkler
18165ccad2 Removed ability to encrypt documents. 2020-11-25 20:23:25 +01:00
Jonas Winkler
4dab170745 Basic support for metadata added. Fixes 404 for actions on invalid document ids. 2020-11-25 17:16:04 +01:00
Jonas Winkler
34de0cf858 added a simple sanity checker. 2020-11-25 16:04:58 +01:00
Jonas Winkler
7a6dcf8520 default language check 2020-11-25 10:52:38 +01:00
Jonas Winkler
9c23207b84 workaround for a bug in django-q: task results with too long names would not show up in the result lists. 2020-11-22 13:53:19 +01:00
Jonas Winkler
0e301e4563 added a test case for the index 2020-11-22 11:42:30 +01:00
Jonas Winkler
4f7e655425 reversible migrations. 2020-11-22 11:41:13 +01:00
Jonas Winkler
fd803435c1 updated the admin, ordering for mail rules 2020-11-21 23:12:34 +01:00
Jonas Winkler
a532200d10 code cleanup 2020-11-21 15:34:00 +01:00
Jonas Winkler
afc3753e58 code cleanup 2020-11-21 14:03:45 +01:00
Jonas Winkler
779157c4d5 code cleanup 2020-11-21 12:12:19 +01:00
Jonas Winkler
198a301884 using mime type checking during upload 2020-11-21 01:42:55 +01:00
Jonas Winkler
408c2cdd70 making the migration reversible 2020-11-20 18:45:37 +01:00
Jonas Winkler
fc0ba2098a FileType does not care about the extension anymore. 2020-11-20 16:18:59 +01:00
Jonas Winkler
f976a0b4ba mime type handling 2020-11-20 13:31:03 +01:00
Jonas Winkler
d8cbb74dac make the index dir if it does not exist. 2020-11-20 11:21:09 +01:00
Jonas Winkler
4230a0a474 a new setting that allows you to skip thumbnail optimization. 2020-11-18 22:42:05 +01:00
Jonas Winkler
8c40c54421 codestyle 2020-11-18 22:41:14 +01:00
Jonas Winkler
680ab3d56b updated logging, logging for the mail consumer to see whats happening 2020-11-18 13:23:30 +01:00
Jonas Winkler
7408d3855c bugfix 2020-11-18 11:32:48 +01:00
Jonas Winkler
5eb5aa6fb6 removed unused code. 2020-11-18 00:54:51 +01:00
Jonas Winkler
f3de56d030 Merge branch 'mail_rework' into dev 2020-11-17 22:31:49 +01:00