David Remer
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
David Remer
4102f854b0
Add WordPress functions
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
6a90ca9080
Add CommentSubject and Payload
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
David Remer
87810b871a
Expose ApiFetch
...
[PREMIUM-248]
2023-10-30 21:22:23 +01:00
John Oleksowicz
e4386fd41a
Update tests to use verify instead of expect
...
MAILPOET-5577
2023-10-30 10:51:04 +01:00
John Oleksowicz
9985405d82
Add backend logic for number of clicks filter
...
MAILPOET-5577
2023-10-30 10:51:04 +01:00
John Oleksowicz
5ee24e3a8b
Update frontend for number of clicks filter
...
MAILPOET-5577
2023-10-30 10:51:04 +01:00
John Oleksowicz
c28eed2388
Backend logic for number of emails received
...
MAILPOET-5577
2023-10-30 10:51:04 +01:00
John Oleksowicz
fda176c269
Fix import order
...
MAILPOET-5577
2023-10-30 10:51:04 +01:00
John Oleksowicz
ee9e3a791f
Add frontend for emails received filter
...
MAILPOET-5577
2023-10-30 10:51:04 +01:00
John Oleksowicz
b20c7e06d4
Use @wordpress/i18n for email option labels
...
MAILPOET-5577
2023-10-30 10:51:04 +01:00
John Oleksowicz
ae73e2d97b
Update tracking for first order filter
...
MAILPOET-5577
2023-10-30 10:51:04 +01:00
John Oleksowicz
10f593bf2c
Backend logic for first order filter
...
MAILPOET-5577
2023-10-30 10:51:04 +01:00
Rodrigo Primo
a7609499e3
Implement front-end code of the new first order filter
...
[MAILPOET-5577]
2023-10-30 10:51:04 +01:00
Rodrigo Primo
5f19f7d032
Replace MailPoet.i18n with WP i18n funtions in woocommerce-options.ts
...
[MAILPOET-5577]
2023-10-30 10:51:04 +01:00
Rodrigo Primo
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
Rodrigo Primo
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
Rodrigo Primo
f2214c8cf9
Refactor UnsubscribeTokens to use Doctrine instead of Paris
...
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
Rodrigo Primo
d305d7ed4f
Replace Newsletter model with Doctrine in UnsubscribeTokensTest
...
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
Rodrigo Primo
13c105f6d9
Add method to set unsubscribeToken to Newsletter factory
...
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
Rodrigo Primo
b2afbf99c5
Replace Subscriber model with Doctrine in UnsubscribeTokensTest
...
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
Rodrigo Primo
fdb23cc143
Add method to set unsubscribeToken to Subscriber factory
...
[MAILPOET-5680]
2023-10-30 09:56:38 +01:00
Rodrigo Primo
893f96f180
Replace Segment model with Doctrine code in WPTest
...
[MAILPOET-5066]
2023-10-26 11:36:07 -05:00
Rodrigo Primo
3bb9d744f3
Replace SubscriberSegment model with Doctrine code in WPTest
...
[MAILPOET-5066]
2023-10-26 11:36:07 -05:00
Rodrigo Primo
05a8d698d2
Replace Subscriber model with Subscriber entity in WPTest
...
[MAILPOET-5066]
2023-10-26 11:36:07 -05:00
Rodrigo Primo
95568e770b
The minimum supported PHP version in PHPCS checks should be 7.3
...
[MAILPOET-5681]
2023-10-26 16:17:58 +02:00
Oluwaseun Olorunsola
58e031df13
Fix CircleCI zip file downloader
...
MAILPOET-5679
2023-10-26 14:25:38 +03:00
Rostislav Wolny
7069f97d68
Hide block margins in the editor canvas
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
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
Rostislav Wolny
5dfacc9083
Adjust email document styles in editor canvas
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
df1562cfa1
Add support for spotlight mode
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
f0e8a074f2
Add support for fixed toolbar
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
aeaadf7cab
Add error notice when email saving fails
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
c390e860ed
Add default and snackbar notices
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
0abc7bae9a
Enable media upload button for image block
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
554b862bf3
Enable media upload
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
6b7cd39dc1
Add keyboard shortcuts support
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
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
Rostislav Wolny
afe2cd562a
Remove unnecessary CSS queueing for the email editor
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
df663464fc
Add Clear block selection functionality
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
75ab5e845d
Enable rich text formating features
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
9f0e015f44
Load core editor setting as the base settings for the email editor
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
b4b7a5b6d2
fixup! Move layout into block editor
2023-10-26 10:43:00 +02:00
Rostislav Wolny
4d9fbd8d11
Focus Block tab in sidebar on block selection
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
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
Rostislav Wolny
d3b37f0463
Fix duplicate entity fetch request
...
[MAILPOET-5660]
2023-10-26 10:43:00 +02:00
Rostislav Wolny
30cdac6674
Fix scrolling in editor inserter
...
[MAILPOET-5637]
2023-10-26 10:43:00 +02:00
Rodrigo Primo
46f317563e
Don't thrown an exception if data is incorrect
...
See https://github.com/mailpoet/mailpoet/pull/5238#discussion_r1371462690
[MAILPOET-4368]
2023-10-25 21:09:39 +02:00
Rodrigo Primo
040ed6fa80
Minor improvement: use ScheduledTaskEntity::getSendingQueue()
...
Using it to avoid using $this->queue->id
[MAILPOET-4368]
2023-10-25 21:09:39 +02:00
Rodrigo Primo
d4a80c7230
Move SendingQueueEntity::toArray() to SendingQueuesResponseBuilder::build()
...
Based on a suggestion during the review of the PR, it was decided that
it makes more sense for the code that was created as
SendingQueueEntity::toArray() tp be moved to
SendingQueuesResponseBuilder::build(). It is used only to build the
format that is send in the API response.
[MAILPOET-4368]
2023-10-25 21:09:39 +02:00