51 Commits

Author SHA1 Message Date
Johannes Schöpp
0925c90047
Switched to flag()
Newer versions of imap_tools moved away from `seen()` in favour of
`flag()` and deprecated the former.

This fixes https://github.com/jonaswinkler/paperless-ng/issues/1672

I also remove the mocked `seen()` function and updated the `flag()` mock
2022-03-02 17:48:02 +01:00
kpj
fc695896dd Format Python code with black 2022-02-27 15:26:41 +01:00
Stéphane Brunner
7113a18f3b
Hide the password field (#103) 2022-02-19 22:49:57 +01:00
jonaswinkler
ff370172b5 fix pycodestyle 2021-06-13 12:18:21 +02:00
servusoft
4cd772a39e
Solving issue with search criteria maximum age for some mail server
Some mail servers (mail.ru) do not support search criteria for the maximum age. By setting the maximum age to 0, it is possible to hide the search criteria. This PR solves that problem.
2021-05-27 18:30:57 +02:00
jonaswinkler
870808f3c2 add support for configuring mail server character set per server. fixes #548 2021-05-16 11:58:32 +02:00
jonaswinkler
ed0b1fe115 better exception logging 2021-02-11 22:16:41 +01:00
jonaswinkler
019dfeb3ee separate mail logging 2021-02-06 16:59:04 +01:00
jonaswinkler
431d4fd8e4 rework most of the logging 2021-02-05 01:10:29 +01:00
jonaswinkler
e1e11de2b5 mail tests 2021-01-18 22:23:53 +01:00
jonaswinkler
9dd8b7cd88 fix test case 2021-01-11 22:11:01 +01:00
jonaswinkler
7fef27e6de fixes #305 2021-01-11 16:16:39 +01:00
jonaswinkler
e107d5df6f fixes #153, adds option for inline attachments and filename filters 2021-01-06 02:40:08 +01:00
jonaswinkler
0d5d8f7c80 add missing migrations 2021-01-02 01:21:44 +01:00
jonaswinkler
bcf17bfdc0 fix some translation issues 2021-01-02 00:45:23 +01:00
jonaswinkler
564f3b9170 fix some messages 2021-01-01 20:23:32 +01:00
jonaswinkler
fddda75f75 more translation 2020-12-31 15:59:12 +01:00
jonaswinkler
39637fc4aa fixes #175 2020-12-28 17:09:19 +01:00
jonaswinkler
e528a587cc fixed some issues with the test cases. 2020-12-16 13:41:02 +01:00
jonaswinkler
b787983e42 more tests 2020-12-15 13:47:43 +01:00
jonaswinkler
74a99cf330 removed slugs entirely, since their only purpose was purely cosmetic anyway. 2020-12-09 00:04:37 +01:00
jonaswinkler
ab871d67fc more tests 2020-12-04 15:56:26 +01:00
jonaswinkler
371745b6dc mail handling: When exceptions occur during account/rule/message handling, paperless will continue with the next account/rule/message.
mail handling: When paperless encounters a very long

fixes #82
2020-12-04 15:42:05 +01:00
jonaswinkler
1ce6466ef8 tests for mail tasks 2020-12-01 14:31:36 +01:00
Jonas Winkler
d8e27600be 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
5a292426c9 codestyle 2020-11-22 13:23:46 +01:00
Jonas Winkler
172b37239f changed a few things with the mail rule admin. 2020-11-22 11:42:17 +01:00
Jonas Winkler
54af13e4b8 much better mail rule admin 2020-11-22 01:39:48 +01:00
Jonas Winkler
af3d161f66 updated the admin, ordering for mail rules 2020-11-21 23:12:34 +01:00
Jonas Winkler
450fb877f6 code cleanup 2020-11-21 15:34:00 +01:00
Jonas Winkler
b44f8383e4 code cleanup 2020-11-21 14:03:45 +01:00
Jonas Winkler
09acb134b7 updated mail: now uses mime type detection 2020-11-20 18:14:42 +01:00
Jonas Winkler
41650f20f4 mime type handling 2020-11-20 13:31:03 +01:00
Jonas Winkler
07e2ff0c2e fixed a test case 2020-11-18 22:59:27 +01:00
Jonas Winkler
727f86c369 codestyle 2020-11-18 22:41:14 +01:00
Jonas Winkler
87e83eb71b a couple small adjustments here and there. 2020-11-18 20:41:42 +01:00
Jonas Winkler
e59696efd4 small fixes 2020-11-18 18:39:46 +01:00
Jonas Winkler
8908bc259e updated logging, logging for the mail consumer to see whats happening 2020-11-18 13:23:30 +01:00
Jonas Winkler
de1643f0ea the new mail features is now fully tested. 2020-11-17 22:24:47 +01:00
Jonas Winkler
b366d1b88f adjustments due to refactor 2020-11-17 17:12:34 +01:00
Jonas Winkler
a7f742825f more test 2020-11-17 17:00:26 +01:00
Jonas Winkler
7457beface refactor and testing 2020-11-17 16:42:19 +01:00
Jonas Winkler
292a76137d added some result processing 2020-11-17 15:23:17 +01:00
Jonas Winkler
8c3ff4fa26 register schedule 2020-11-17 15:08:08 +01:00
Jonas Winkler
826befc805 exception handling 2020-11-17 15:07:58 +01:00
Jonas Winkler
e1a3f8cd1b fixed a couple things. 2020-11-17 01:08:52 +01:00
Jonas Winkler
53cfa5a1c9 integrated the new consumer with the mail client. 2020-11-17 00:57:55 +01:00
Jonas Winkler
63444b1ab3 add empty test case 2020-11-17 00:18:40 +01:00
Jonas Winkler
20af840dfd remove unused parameter 2020-11-17 00:17:53 +01:00
Jonas Winkler
984b535980 codestyle 2020-11-17 00:04:01 +01:00