19 Commits

Author SHA1 Message Date
Trenton Holmes
43e51cd7a9 Check for and handle the mail's date being naive 2022-12-31 12:35:42 -08:00
phail
daf5a72e82 change order of elements in parsed Texts 2022-11-20 20:24:36 +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
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
b151cb7293 update variable names 2022-10-23 21:39:15 +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
3d58129666 add unittest for transform_inline_html 2022-10-18 23:48:07 +02:00
phail
cef1a4f8b9 Add unitest for tika_parse() 2022-10-15 13:13:29 +02:00
phail
037c8a4950 add attachment size to pdf 2022-05-05 00:20:32 +02:00
phail
b14153b6cf fix consumption of mails without html
split pdf generation functions
2022-05-04 23:42:59 +02:00
phail
9c5f824bb3 add parsing of inline attachments
remove insecure chromium option
fix html parsing
2022-05-03 23:21:33 +02:00
phail
404026dafb remove .eml parser from tika 2022-05-03 18:02:08 +02:00
phail
79579d6239 add eml parser to paperless_mail 2022-04-29 22:58:11 +02:00