898 Commits

Author SHA1 Message Date
jonaswinkler
7543dd6ffa Merge pull request #69 from jayme-github/feature-directory-tags
Create tags from sub directories
2020-11-30 22:53:52 +01:00
jonaswinkler
5af70f4dad more testing. 2020-11-30 22:04:25 +01:00
jonaswinkler
8d2bef3821 this change caused index optimization to fail. 2020-11-30 21:53:39 +01:00
jonaswinkler
68e5a08fe5 versions. 2020-11-30 16:26:20 +01:00
jonaswinkler
a913dcd8c5 changelog, codestyle 2020-11-30 16:25:10 +01:00
jonaswinkler
f6e510694e searching for types and dates, error catching, documentation and changelog. 2020-11-30 16:13:35 +01:00
jonaswinkler
8bebca466b searching for tags, spelling corrections fixes #74 2020-11-30 15:14:23 +01:00
jayme-github
a90b7a647e Create tags from sub directories
The names of sub directories in the consumer directory will be added as
tags for the document to be consumed.
To enable this, set:
PAPERLESS_CONSUMER_RECURSIVE=1
PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS=1

Fixes #50
2020-11-30 14:22:35 +01:00
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
0e6426e052 removed the encryption logic. 2020-11-28 22:22:01 +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
0a9c64e950 changelog and versions. 2020-11-27 15:48:53 +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
bd8a2eaf1e codestyle 2020-11-25 16:05:52 +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
b275297a05 added setting PAPERLESS_AUTO_LOGIN_USERNAME 2020-11-23 22:50:02 +01:00
Jonas Winkler
460b707607 prep work for 0.9.2 2020-11-23 00:25:19 +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
ac9ef68362 codestyle 2020-11-22 13:23:46 +01:00
Jonas Winkler
ae198f0767 new setting: PAPERLESS_OCR_PAGES 2020-11-22 12:54:08 +01:00
Jonas Winkler
0e301e4563 added a test case for the index 2020-11-22 11:42:30 +01:00
Jonas Winkler
93613c00d8 changed a few things with the mail rule admin. 2020-11-22 11:42:17 +01:00