Rostislav Wolny
1b6c3c0fe5
Improve WP post duplication when we duplicate an email.
...
When adding code for the creation of WP Post, I noticed that we don't set
some important values in the WP Post when we duplicate it.
[MAILPOET-5810]
2024-01-14 19:43:26 +05:00
Rostislav Wolny
ee9ee7c491
Improve NewsletterSaveController::save to support new editor
...
The method is used in API for creating a new newsletter.
To be able to use the API for the new editor, we also need to
make sure that a WP Post is created.
For now, we can signal that the email is intended for a new editor
by adding a flag to the initial data.
[MAILPOET-5810]
2024-01-14 19:43:26 +05:00
Rodrigo Primo
97cdd9e665
Remove Newsletter model from NewsletterSaveController
...
The code that was still using the newsletter model was not needed
anymore so it was simply removed.
[MAILPOET-5682]
2024-01-12 13:25:46 +01:00
Rodrigo Primo
b2c2be4fb6
Update call Newsletter::preProcessNewsletter()
...
Newsletter::preProcessNewsletter() was refactored in a previous commit
to use Doctrine instead of Paris. As a result, the signature of this
method was changed, but one call was left using the old signature and
passing a Paris model instead of a Doctrine entity. This commit fixes
this issue.
[MAILPOET-5682]
2024-01-12 13:25:46 +01:00
Rostislav Wolny
8be034822e
Add minimalistic WpPostEntity for fetching basic post data for listing
...
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
Pavel Dohnal
79c3b8907a
Fix emoji encoding
...
[MAILPOET-5283]
2023-12-19 13:36:17 +01:00
Rostislav Wolny
61d6e41fc7
Duplicate associated post when duplicating newsletter
...
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Sam Najian
b6577565b6
Update status of corrupt newsletter after edit
...
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Sam Najian
9a2d4e83b2
Change NewsletterCoupon::cleanupSensitiveData signature
...
This change allows passing body array and retuning body array
so that NewsletterEntity instance doesn't need to get passed
around
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
7ced42a494
Fix bug when duplicated newsletter uses the source's coupon
...
On duplication, the sensitive data of the coupon were
inherited from the source
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Jan Jakes
926620e8f8
Ignore strict types rule in all existing files that don't have it
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Rodrigo Primo
d39440f1dc
Refactor Newsletter::preProcessNewsletter() to use Doctrine
...
This commit also removes almost all the usages of the old Newsletter
model from NewsletterTest.
[MAILPOET-4680]
2022-10-04 14:41:00 +02:00
David Remer
218de96024
Fix WordPress.WP.I18n.MissingTranslatorsComment errors
...
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
David Remer
445d07ac68
Prevent segmentation of automation emails
...
[MAILPOET-4432]
2022-07-04 14:04:16 +03:00
David Remer
ca3f8bdc43
Make Scheduler non-static
...
[MAILPOET-4252]
2022-04-25 12:08:18 +02:00
Jan Jakes
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00