Commit Graph

19873 Commits

Author SHA1 Message Date
dd103b81d7 Catch exceptions when trying to match filters in trigger handler
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
8f529491e8 Move WordPress context factory to free plugin
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
e465f5a5bb Add new classes to DI container
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
1ca932d088 Add wordpress:made-a-comment stub
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
f92d560d6a Add comment to subscriber subject transformer
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
53f3a5d001 Allow to return null in SubjectTransformer::transform()
Sometimes a transformer can't return a subject. In this case transform() will return null
instead of throwing an exception. This means an automation can run until it comes to a
step where the subject would be needed. There it would fail.

[PREMIUM-248]
2023-10-30 21:22:23 +01:00
4102f854b0 Add WordPress functions
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
6a90ca9080 Add CommentSubject and Payload
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
87810b871a Expose ApiFetch
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
e4386fd41a Update tests to use verify instead of expect
MAILPOET-5577
2023-10-30 10:51:04 +01:00
9985405d82 Add backend logic for number of clicks filter
MAILPOET-5577
2023-10-30 10:51:04 +01:00
5ee24e3a8b Update frontend for number of clicks filter
MAILPOET-5577
2023-10-30 10:51:04 +01:00
c28eed2388 Backend logic for number of emails received
MAILPOET-5577
2023-10-30 10:51:04 +01:00
fda176c269 Fix import order
MAILPOET-5577
2023-10-30 10:51:04 +01:00
ee9e3a791f Add frontend for emails received filter
MAILPOET-5577
2023-10-30 10:51:04 +01:00
b20c7e06d4 Use @wordpress/i18n for email option labels
MAILPOET-5577
2023-10-30 10:51:04 +01:00
ae73e2d97b Update tracking for first order filter
MAILPOET-5577
2023-10-30 10:51:04 +01:00
10f593bf2c Backend logic for first order filter
MAILPOET-5577
2023-10-30 10:51:04 +01:00
a7609499e3 Implement front-end code of the new first order filter
[MAILPOET-5577]
2023-10-30 10:51:04 +01:00
5f19f7d032 Replace MailPoet.i18n with WP i18n funtions in woocommerce-options.ts
[MAILPOET-5577]
2023-10-30 10:51:04 +01:00
2736348feb Remove remaining use of SendingQueue model in Newsletter class
As far as I could test, calling validate() directly is not necessary.
The call to $sendingTask->save() right above calls validate() internaly
and then any errors will be returned by $sendingTask->getErrors().

I added a integration test that seems to confirm this interpretation.

[MAILPOET-4693]
2023-10-30 10:11:11 +01:00
4d3ee84e38 Improve query by getting only the ID as we don't need the rest
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
f2214c8cf9 Refactor UnsubscribeTokens to use Doctrine instead of Paris
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
d305d7ed4f Replace Newsletter model with Doctrine in UnsubscribeTokensTest
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
13c105f6d9 Add method to set unsubscribeToken to Newsletter factory
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
b2afbf99c5 Replace Subscriber model with Doctrine in UnsubscribeTokensTest
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
fdb23cc143 Add method to set unsubscribeToken to Subscriber factory
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
893f96f180 Replace Segment model with Doctrine code in WPTest
[MAILPOET-5066]
2023-10-26 11:36:07 -05:00
3bb9d744f3 Replace SubscriberSegment model with Doctrine code in WPTest
[MAILPOET-5066]
2023-10-26 11:36:07 -05:00
05a8d698d2 Replace Subscriber model with Subscriber entity in WPTest
[MAILPOET-5066]
2023-10-26 11:36:07 -05:00
95568e770b The minimum supported PHP version in PHPCS checks should be 7.3
[MAILPOET-5681]
2023-10-26 16:17:58 +02:00
58e031df13 Fix CircleCI zip file downloader
MAILPOET-5679
2023-10-26 14:25:38 +03:00
7069f97d68 Hide block margins in the editor canvas
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
98c0741ee8 Fix missing CSS for editor when Gutenberg is active
We use the post editor CSS files for the layout styles of the email editor.
When the Gutenberg plugin is active, editor styles are loaded from the plugin directory,
which was not allowed in our ConflictResolver

This commit allows fetching CSS from the Gutenberg plugin folder.
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
5dfacc9083 Adjust email document styles in editor canvas
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
df1562cfa1 Add support for spotlight mode
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
f0e8a074f2 Add support for fixed toolbar
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
aeaadf7cab Add error notice when email saving fails
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
c390e860ed Add default and snackbar notices
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
0abc7bae9a Enable media upload button for image block
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
554b862bf3 Enable media upload
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
6b7cd39dc1 Add keyboard shortcuts support
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
bfa87d7548 Render email editor UI after the email is loaded
This prevents the initial rendering of an empty editor.
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
afe2cd562a Remove unnecessary CSS queueing for the email editor
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
df663464fc Add Clear block selection functionality
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
75ab5e845d Enable rich text formating features
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
9f0e015f44 Load core editor setting as the base settings for the email editor
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
b4b7a5b6d2 fixup! Move layout into block editor 2023-10-26 10:43:00 +02:00
4d9fbd8d11 Focus Block tab in sidebar on block selection
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
db8dcd38db Move layout into block editor
With this change, we can get rid of Slots/Fills for ListView, Library, and Block Inspector.
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00