phail
753ef98eab
fix Mail actions mixup
2022-04-19 00:59:57 +02:00
jonasc
cf0d3b0615
Save MailRule and MailAccount objects in tests
...
This fixes the errors in the tests that the new many-to-many
assign_tags property cannot be accessed due to MailRule not having an
id. In one case it it necessary to give additional names to both objects
as several are created.
2022-04-12 10:45:52 +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
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
48c1f7795f
Improves the mail handling testing to use more of the imap_tools library types instead of internal types
2022-03-15 16:25:51 -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
28e1d5ea02
mail tests
2021-01-18 22:23:53 +01:00
jonaswinkler
47ebe5c263
fix test case
2021-01-11 22:11:01 +01:00
jonaswinkler
18c44c76c5
fixes #153 , adds option for inline attachments and filename filters
2021-01-06 02:40:08 +01:00
jonaswinkler
6b7042ad3f
fixed some issues with the test cases.
2020-12-16 13:41:02 +01:00
jonaswinkler
5a978134ff
more tests
2020-12-04 15:56:26 +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
jonaswinkler
dcfea7317a
tests for mail tasks
2020-12-01 14:31:36 +01:00
Jonas Winkler
7983e9028f
updated mail: now uses mime type detection
2020-11-20 18:14:42 +01:00
Jonas Winkler
699d14e717
fixed a test case
2020-11-18 22:59:27 +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
429fb51035
the new mail features is now fully tested.
2020-11-17 22:24:47 +01:00
Jonas Winkler
bbf8d8772a
adjustments due to refactor
2020-11-17 17:12:34 +01:00
Jonas Winkler
5868e26adb
more test
2020-11-17 17:00:26 +01:00
Jonas Winkler
76c063b42f
refactor and testing
2020-11-17 16:42:19 +01:00
Jonas Winkler
0224b81949
fixed a couple things.
2020-11-17 01:08:52 +01:00
Jonas Winkler
ad643552b9
add empty test case
2020-11-17 00:18:40 +01:00