709 Commits

Author SHA1 Message Date
Jonas Winkler
30acfdd3f1 tests for the classifier and fixes for edge cases with minimal data. 2020-11-26 14:18:34 +01:00
Jonas Winkler
39fa02dcb1 more test 2020-11-25 21:38:19 +01:00
Jonas Winkler
f51d2be303 fixed the test cases 2020-11-25 19:51:09 +01:00
Jonas Winkler
64180b5668 fixed up a test case 2020-11-25 17:28:49 +01:00
Jonas Winkler
ea089de3b3 added a test case for the index 2020-11-22 11:42:30 +01:00
Jonas Winkler
b44f8383e4 code cleanup 2020-11-21 14:03:45 +01:00
Jonas Winkler
529cc04fd1 code cleanup 2020-11-21 12:12:19 +01:00
Jonas Winkler
3d5b66c2b7 FileType does not care about the extension anymore. 2020-11-20 16:18:59 +01:00
Jonas Winkler
41650f20f4 mime type handling 2020-11-20 13:31:03 +01:00
Jonas Winkler
727f86c369 codestyle 2020-11-18 22:41:14 +01:00
Jonas Winkler
c5b2bd6b48 Merge branch 'dev' into mail_rework 2020-11-17 18:42:40 +01:00
Jonas Winkler
bd322a0ce6 fixed test case. 2020-11-17 18:35:45 +01:00
Jonas Winkler
ffeaeca36f Merge branch 'dev' into mail_rework 2020-11-17 17:13:22 +01:00
Jonas Winkler
43b5d61483 codestyle changes 2020-11-17 17:13:08 +01:00
Jonas Winkler
829785268e Merge branch 'dev' into mail_rework 2020-11-17 17:01:15 +01:00
Jonas Winkler
09950ca199 more tests 2020-11-17 14:20:28 +01:00
Jonas Winkler
c7c6be42be refactor 2020-11-17 11:49:44 +01:00
Jonas Winkler
7164f21fbe a new test for the document classifier 2020-11-17 02:50:17 +01:00
Jonas Winkler
fef6dd38f9 Merge branch 'dev' into mail_rework 2020-11-17 00:23:10 +01:00
Jonas Winkler
d2e22e3f27 Changed the way parsers are discovered. This also prepares for upcoming changes regarding content types and file types: parsers should declare what they support, and actual file extensions should not be hardcoded everywhere. 2020-11-16 23:53:12 +01:00
Jonas Winkler
70d8e8bc56 added more testing 2020-11-16 23:16:37 +01:00
Jonas Winkler
0b1637da62 first implementation of the mail rework 2020-11-15 23:56:22 +01:00
Jonas Winkler
82168e1a51 add exception handler for invalid filename formats. 2020-11-13 20:31:51 +01:00
Jonas Winkler
2e04ba1c04 code style fixes 2020-11-12 21:09:45 +01:00
Jonas Winkler
312b0034bd test database errors. 2020-11-11 14:38:41 +01:00
Jonas Winkler
734da28b69 fixed the file handling implementation. The feature is cool, but the original implementation had so many small flaws it wasn't even funny. 2020-11-11 14:21:33 +01:00
Jonas Winkler
6d14e111b6 fixed most of the test cases 2020-11-08 13:49:15 +01:00
Jonas Winkler
9067a4f288 added the filename handling back into the code 2020-11-08 13:00:45 +01:00
Jonas Winkler
f182709fdd fixed most of the tests 2020-11-02 19:42:23 +01:00
Jonas Winkler
11af74ba36 unified document matching, legacy and automatching work alongside now 2020-10-28 11:45:11 +01:00
Jonas Winkler
c596fe6782 unified data folders 2020-10-26 00:35:24 +01:00
Jonas Winkler
65e87c116f removed reminders, changed a bunch of stuff 2020-10-20 00:35:27 +02:00
Jonas Winkler
421dab786d Merge branch 'master' into dev 2020-10-16 15:02:57 +02:00
Wolf-Bastian Poettner
ea8dd2c1d9 Add: ensure original directory is created and removed for each test case 2020-04-15 20:17:58 +00:00
Wolf-Bastian Poettner
dfd6ca2b56 Fix: testcase left unaccessible directory 2020-04-15 20:16:25 +00:00
Wolf-Bastian Poettner
4772480c83 Add: more tests 2020-04-13 13:32:13 +00:00
Wolf-Bastian Poettner
af3f421579 Add: make unit test add their temporary directory to the deletion list 2020-04-13 07:13:54 +00:00
Wolf-Bastian Poettner
6e3e066116 Removed MEDIA_ROOT setting override for test that did not require it 2020-04-13 07:13:28 +00:00
Wolf-Bastian Poettner
db6f423ca7 Add: Ability to specifically remove temporary directories that have been used by a unit test 2020-04-13 07:12:48 +00:00
Wolf-Bastian Poettner
ab908fee43 Remove temporary directories after failed tests 2020-04-10 13:12:17 +00:00
Wolf-Bastian Poettner
f64b5bf737 Recover from accidentally renamed files 2020-04-10 12:54:07 +00:00
Wolf-Bastian Poettner
07bb9aa723 Allow filename to use tags[KEY] and tags[INDEX] 2020-03-28 21:06:17 +00:00
Wolf-Bastian Poettner
845313db52 Ensure, that document root is not deleted 2020-03-28 21:04:07 +00:00
Wolf-Bastian Poettner
7f1e1052fe Get rid of fill_list and rather use defaultdict 2020-03-28 21:04:04 +00:00
Wolf-Bastian Poettner
1ce94348d8 Ensure filling in "none" when a tag has not been found 2020-02-17 21:05:34 +00:00
Wolf-Bastian Poettner
1e102efaf8 Prevent index out of bounds for tag lists 2020-02-17 21:05:31 +00:00
Wolf-Bastian Poettner
0ac93e8891 Ensure documents directory still exists after nested deletion 2020-02-17 19:49:47 +00:00
Wolf-Bastian Poettner
d8fda64cd0 Tags in filenames can now either be found by key (in case - or _ are
used as delimeter) or by index. Added some more tests.
2020-02-01 20:58:44 +00:00
Wolf-Bastian Poettner
6a671ebd22 Unified PAPERLESS_DIRECTORY_FORMAT and PAPERLESS_FILENAME_FORMAT into
one configuration setting
2020-02-01 20:09:36 +00:00
Wolf-Bastian Poettner
86a51c6fa5 Refactored delete_empty_directory into try_delete_empty_directories and
implemented feature to ensure, that all created and now empty
directories are really deleted
2020-02-01 20:03:20 +00:00