Commit Graph

12 Commits

Author SHA1 Message Date
Rostislav Wolny
dd0a19a314 Add BC for importing older exported templates
We allow exporting templates as JSON and templates exported from the older plugin versions use thumbnail key for storing the image data.
[MAILPOET-2686]
2021-11-08 13:24:53 +01:00
Rostislav Wolny
5134713c2d Optimize memory usage for batch processing of template images
NewsletterTemplateEntity carries base64 data of image. This commit changes how we load templates entities when we process thumbnail images so that there is only one template in memory.
[MAILPOET-2686]
2021-11-08 13:24:53 +01:00
Rostislav Wolny
b51f7b2d0e Save new templates image data to the new columns
[MAILPOET-2686]
2021-11-08 13:24:53 +01:00
Pavel Dohnal
9e8ccd2c17 Use native array_column
[MAILPOET-3173]
2020-10-12 10:10:03 +02:00
Lysy Jan
1a1a8c4887 Display Recently sent first in the email template selection
Fixes: #2963
[MAILPOET-2087]
2020-08-05 15:15:09 +02:00
Jan Jakeš
86a24ad674 Use PHPStan generics
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
Jan Jakeš
7e60e9ba7e Make NewsletterTemplateEntity name mandatory
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
a88cc069a7 Implement NewsletterTempates::cleanRecentlySent() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
e9ae4df4bc Remove 'description' from newsletter templates, it's not used anymore
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
32f5777945 Implement NewsletterTempates::save() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
29ebd113b5 Implement NewsletterTempates::getAll() API using Doctrine
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00
Jan Jakeš
a50a23c0e2 Add NewsletterTemplateEntity and repository
[MAILPOET-2647]
2020-03-23 00:33:40 +01:00