148 Commits

Author SHA1 Message Date
phail
a2cd70bd2c minor test improvements 2022-11-20 20:12:41 +01:00
phail
d50e9e589a fix filenames 2022-11-20 19:53:57 +01:00
Trenton Holmes
7ab45080b7 Fixes one more place which used manual size formatting 2022-11-20 09:15:06 -08:00
Trenton Holmes
f02a4fa7cf Use Django templating engine 2022-11-20 09:13:16 -08:00
Trenton Holmes
84e95c81e9 Fixes missing return 2022-11-20 09:10:44 -08:00
phail
3b40d66af8 split handle_message function 2022-11-20 16:09:46 +01:00
phail
8b5008bee4 use imagehash instead of bitwise hashing 2022-11-20 15:44:43 +01:00
phail
1fbde90833 eml parsing requires tika 2022-11-20 14:22:30 +01:00
phail
1aba154fb7 optimize regex 2022-11-20 12:48:03 +01:00
phail
3779adb30e use html.escape instead of some self build functions 2022-11-20 12:36:49 +01:00
phail
ee4309a8bd remove log mocking, replace pytest raises, use humanfriendly 2022-11-20 12:06:35 +01:00
phail
a675952a93 fix live tests 2022-11-13 22:33:26 +01:00
phail
dbc9263fb3 add conditions to unittests 2022-11-12 15:48:30 +01:00
phail
8c2fa52315 put parser into setup
make test using convert optional
Gotenberg live testing
2022-11-03 00:58:36 +01:00
phail
16257f5288 fix string 2022-10-27 23:53:47 +02:00
phail
4caad88790 replace thumbnail creation with mock 2022-10-27 23:41:29 +02:00
phail
6d92b33d13 Downgrade pdf validation to text only 2022-10-27 23:11:41 +02:00
phail
739e291b2c improve test coverage a little 2022-10-27 00:27:15 +02:00
phail
2ea07f6497 remove erroring paramerter 2022-10-25 21:17:40 +02:00
phail
e4e4d1b0de rename help text 2022-10-24 22:15:33 +02:00
phail
b151cb7293 update variable names 2022-10-23 21:39:15 +02:00
phail
20a0ba6e57 Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-10-23 20:37:22 +02:00
phail
9d6b725fa1 add tests for mail_to_html and generate_pdf_from_mail 2022-10-23 17:18:10 +02:00
phail
6854896708 test for broken eml, add test_generate_pdf 2022-10-22 02:25:23 +02:00
phail
20e84558d6 add unittest for external images 2022-10-22 00:44:32 +02:00
phail
f1e0ab314d add unittest for generate_pdf_from_html 2022-10-19 23:19:33 +02:00
phail
3d58129666 add unittest for transform_inline_html 2022-10-18 23:48:07 +02:00
phail
cd8d4ce8ab add unittest for parse 2022-10-15 15:41:43 +02:00
phail
cef1a4f8b9 Add unitest for tika_parse() 2022-10-15 13:13:29 +02:00
phail
76dec120d1 add 2 more tests 2022-10-14 15:43:43 +02:00
phail
dec6e6c0b8 add unittest for get_thumbnail 2022-10-13 01:03:09 +02:00
shamoon
3b1f5668f5 Merge pull request #1648 from paperless-ngx/feature-use-celery
Feature: Transition to celery for background tasks
2022-10-10 00:07:55 -07:00
Trenton H
406dae1fca Enable some testing against a real email server to hopefully catch things earlier 2022-10-07 18:28:11 -07:00
Trenton H
6c269391d5 Fixes handling of gmail label extension to IMAP 2022-10-07 18:28:11 -07:00
Trenton Holmes
09287701ae Transitions the backend to celery and celery beat 2022-09-26 11:25:34 -07:00
Trenton Holmes
5eaae2201e Updates imap_tools and updates to use the new login method for UTF-8 2022-09-01 08:54:44 -07:00
Stefan
87cf215f3e adapt test to respect gmail_label keyword 2022-08-20 13:15:38 -07:00
Stefan
4cb5187901 fix debug output 2022-08-20 13:15:38 -07:00
Stefan
fe9e818aa8 Ignore tagged emails from gmail to avoid duplicated documents. 2022-08-20 13:15:38 -07:00
Stefan
e19021dc11 add test for gmail account tag handling 2022-08-20 13:15:38 -07:00
Stefan
82751e5136 fix mail tests 2022-08-20 13:15:38 -07:00
Stefan
4eede1381c fix formatting 2022-08-20 13:15:38 -07:00
Stefan
e01452d02f Handle tags for gmail email accounts
like mentioned here: https://github.com/ikvk/imap_tools/issues/174
2022-08-20 13:15:38 -07:00
Trenton Holmes
024fd8bc9b When raising an exception during exception handling, chain them together for slightly cleaner logs 2022-08-03 09:00:56 -07:00
phail
4a89e0941f Merge remote-tracking branch 'paperless/dev' into feature-consume-eml 2022-07-12 00:09:10 +02:00
Oliver Rümpelein
2c878318ab Add migration for new rule. 2022-05-29 15:22:50 +02:00
Oliver Rümpelein
78fa05da9d Clear cache instead of working around it. 2022-05-27 22:51:32 +02:00
Oliver Rümpelein
acd525a9d9 Make test work. 2022-05-26 12:42:20 +02:00
Oliver Rümpelein
164cd19296 Revert all changes to tests, will need a more structured approach. 2022-05-25 20:47:43 +02:00
Oliver Rümpelein
cbb36e8941 Add first draft implementation, test broken. 2022-05-25 19:23:52 +02:00