13 Commits

Author SHA1 Message Date
jonasc
2dbae8c46f Reset related_name (was set to prevent duplicate) 2022-04-12 10:45:56 +02:00
jonasc
261eddd21c Add backwards data migration
The documents.tests.test_migration_mime_type test suite failes if no
backwards migration is provided. This simple backwards migration sets
the old assign_tag field with a tag if exactly one is set in
assign_tags.
2022-04-12 10:45:56 +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
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
kpj
c56cb25b5f Format Python code with black 2022-02-27 15:26:41 +01:00
jonaswinkler
d6446b3efd add support for configuring mail server character set per server. fixes #548 2021-05-16 11:58:32 +02:00
jonaswinkler
18c44c76c5 fixes #153, adds option for inline attachments and filename filters 2021-01-06 02:40:08 +01:00
jonaswinkler
e1e19685b9 add missing migrations 2021-01-02 01:21:44 +01:00
Jonas Winkler
93613c00d8 changed a few things with the mail rule admin. 2020-11-22 11:42:17 +01:00
Jonas Winkler
fd803435c1 updated the admin, ordering for mail rules 2020-11-21 23:12:34 +01:00
Jonas Winkler
14d18b1ce7 a couple small adjustments here and there. 2020-11-18 20:41:42 +01:00
Jonas Winkler
b583e7a48b register schedule 2020-11-17 15:08:08 +01:00
Jonas Winkler
d99b4623f8 first implementation of the mail rework 2020-11-15 23:56:22 +01:00