phail
3b40d66af8
split handle_message function
2022-11-20 16:09:46 +01:00
phail
2ea07f6497
remove erroring paramerter
2022-10-25 21:17:40 +02:00
phail
20a0ba6e57
Merge remote-tracking branch 'paperless/dev' into feature-consume-eml
2022-10-23 20:37:22 +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
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
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
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
cbb36e8941
Add first draft implementation, test broken.
2022-05-25 19:23:52 +02:00
phail
07b000a01d
switch to From: Header instead of date to compensate for older libmagic versions
2022-05-19 22:51:17 +02:00
phail
d605ef9ce0
workaround for wrong mime detection of .eml files
2022-05-14 16:47:12 +02:00
phail
dae148bdc5
Add log messages for mail errors ( #727 )
...
* adapt to starttls interface change in imap_tools
pin imap-tools version to avoid breaking changes
improve mail log
* fix unittest
* remove uneeded print and fix merge fail
* bump to next version
2022-05-02 15:54:51 -07:00
phail
276b99b340
Merge remote-tracking branch 'paperless/dev' into feature-consume-eml
2022-04-29 23:52:56 +02:00
Trenton Holmes
47191e9690
Adds some logging so we know which login method has failed
2022-04-26 09:41:36 -07:00
Trenton Holmes
402cca2b5f
Implements a fallback to AUTH=PLAIN in the event of a UnicodeEncodeError during a normal login
2022-04-26 09:41:36 -07:00
Michael Shamoon
421a604b92
Merge branch 'main' into dev
2022-04-25 10:33:40 -07:00
Trenton Holmes
72d48f50c1
Includes exception information during exception listing folders
...
Co-authored-by: Florian <florian.brandes@posteo.de>
2022-04-19 13:40:04 -07:00
phail
c7d7052974
fix Mail actions mixup
2022-04-19 20:14:31 +02:00
Trenton Holmes
4539869016
Only output the folder names
2022-04-19 09:03:08 -07:00
Trenton Holmes
5e95f1017b
In the event of an error when setting the mail account folder, attempt to list the account's folders to the log
2022-04-19 08:32:34 -07:00
phail
753ef98eab
fix Mail actions mixup
2022-04-19 00:59:57 +02:00
phail
39cb1c9098
work in progress Mail parsing
2022-04-19 00:39:00 +02:00
phail
1393dd84f4
add feature to consume imap mail als .eml
2022-04-15 14:40:02 +02:00
phail
edafe401a5
remove uneeded print and fix merge fail
2022-04-14 00:19:30 +02:00
phail
8cd9e35857
Merge branch 'dev' into fix-mail-starttls
2022-04-13 23:55:38 +02:00
phail
77122dc26e
fix unittest
2022-04-13 23:37:21 +02:00
shamoon
3662e648aa
Merge pull request #270 from jonasc/dev
...
Allow setting more than one tag in mail rules
2022-04-13 03:11:38 -07:00
Florian Brandes
a5e6e637be
fixes #697
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2022-04-12 15:54:18 +02:00
jonasc
00f0beb550
Allow setting more than one tag in mail rules
...
The three migrations do the following to preserve existing data in
assign_tag:
1. Add the new many-to-many field assign_tags.
2. Copy existing data from the assign_tag field to the assign_tags.
3. Delete the existing assign_tag field.
2022-04-12 10:41:08 +02:00
shamoon
3505a08633
Merge pull request #550 from stumpylog/feature-mail-consume-improve-docs
...
Feature mail consume improve docs
2022-04-10 08:46:45 -07:00
phail
b83f8a1cab
adapt to starttls interface change in imap_tools
...
pin imap-tools version to avoid breaking changes
improve mail log
2022-04-09 13:07:14 +02:00
Trenton Holmes
4443a03df0
Fixes the matching of attachment files names to patterns
2022-04-08 13:42:42 -07:00
Trenton Holmes
c36ddc27f9
Updates the mail db model to use the built-in enum capabilities and runs the migrations
2022-04-08 08:55:40 -07:00
Trenton Holmes
f63805afb3
Fixes the EmailAddress which was a dict and is now a class
2022-03-15 14:00:01 -07:00
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