Trenton Holmes
6635fa5f0d
Runs the pre-commit hooks over all the Python files
2022-03-11 11:34:28 -08:00
Johannes Schöpp
49b27d1bc6
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
c56cb25b5f
Format Python code with black
2022-02-27 15:26:41 +01:00
jonaswinkler
ff7187672d
fix pycodestyle
2021-06-13 12:18:21 +02:00
servusoft
90914d9613
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
d6446b3efd
add support for configuring mail server character set per server. fixes #548
2021-05-16 11:58:32 +02:00
jonaswinkler
6c00a63015
separate mail logging
2021-02-06 16:59:04 +01:00
jonaswinkler
e5a7dc0cc7
rework most of the logging
2021-02-05 01:10:29 +01:00
jonaswinkler
4b616feaa6
fixes #305
2021-01-11 16:16:39 +01:00
jonaswinkler
18c44c76c5
fixes #153 , adds option for inline attachments and filename filters
2021-01-06 02:40:08 +01:00
jonaswinkler
b28987681e
fixes #175
2020-12-28 17:09:19 +01:00
jonaswinkler
e1a3186ab9
more tests
2020-12-15 13:47:43 +01:00
jonaswinkler
ba7bf9b2d2
removed slugs entirely, since their only purpose was purely cosmetic anyway.
2020-12-09 00:04:37 +01:00
jonaswinkler
249422570e
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
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
fd803435c1
updated the admin, ordering for mail rules
2020-11-21 23:12:34 +01:00
Jonas Winkler
a532200d10
code cleanup
2020-11-21 15:34:00 +01:00
Jonas Winkler
afc3753e58
code cleanup
2020-11-21 14:03:45 +01:00
Jonas Winkler
7983e9028f
updated mail: now uses mime type detection
2020-11-20 18:14:42 +01:00
Jonas Winkler
f976a0b4ba
mime type handling
2020-11-20 13:31:03 +01:00
Jonas Winkler
14d18b1ce7
a couple small adjustments here and there.
2020-11-18 20:41:42 +01:00
Jonas Winkler
680ab3d56b
updated logging, logging for the mail consumer to see whats happening
2020-11-18 13:23:30 +01:00
Jonas Winkler
bbf8d8772a
adjustments due to refactor
2020-11-17 17:12:34 +01:00
Jonas Winkler
76c063b42f
refactor and testing
2020-11-17 16:42:19 +01:00
Jonas Winkler
82139abb2a
added some result processing
2020-11-17 15:23:17 +01:00
Jonas Winkler
c2982922d4
exception handling
2020-11-17 15:07:58 +01:00
Jonas Winkler
0224b81949
fixed a couple things.
2020-11-17 01:08:52 +01:00
Jonas Winkler
a93088843f
integrated the new consumer with the mail client.
2020-11-17 00:57:55 +01:00
Jonas Winkler
ef6a965a50
remove unused parameter
2020-11-17 00:17:53 +01:00
Jonas Winkler
d99b4623f8
first implementation of the mail rework
2020-11-15 23:56:22 +01:00