Commit Graph

15684 Commits

Author SHA1 Message Date
4e81ac5f8f Refactor: use button component with spinner to indicate loading state
MAILPOET-4300
2022-07-18 12:53:49 +02:00
ed92fd7717 Hijack link to MP Shop, show email authorization modal on set FROM address modal
MAILPOET-4300
2022-07-18 12:53:49 +02:00
6353d44cae Refactor: rename state callback
MAILPOET-4300
2022-07-18 12:53:49 +02:00
19b9ab8183 Hijack link to MP Shop, show email authorization modal on notices
MAILPOET-4300
2022-07-18 12:53:49 +02:00
c9db69c1b8 Add support for rendering Authorize sender email modal from React root
MAILPOET-4300
2022-07-18 12:53:49 +02:00
8db444fa3f Fix notice error when the input value is changed
I'm using eslint-disable-line react-hooks/exhaustive-deps here to fix es-lint warning.
Won't allow me to commit without it

The suggestion unfortunately will not apply in this case.

setAuthorizedAddress is a props callback used to notify the parent component the sender email has been authorized

Adding it to the useEffect dependency array just causes an unnecessary double render

We can't make use of useCallback here

MAILPOET-4300
2022-07-18 12:53:49 +02:00
1b255acbe1 Update authorize Email Address in settings and
Clear prevous error notice

MAILPOET-4300
2022-07-18 12:53:49 +02:00
ee70d2dd1e Implement polling and reconfirmation
This will poll the server every certain interval (15s) for the email address
and stop polling if the email is Authorized or the modal is closed or after a certain period of time (2 hours)

MAILPOET-4300
2022-07-18 12:53:49 +02:00
183f64834c Use AuthorizeSenderEmailModal component in SenderEmailAddressWarning
MAILPOET-4300
2022-07-18 12:53:49 +02:00
f07aa5eef1 Add AuthorizeSenderEmailModal component
MAILPOET-4300
2022-07-18 12:53:49 +02:00
1fda60bfea Implement API endpoints
MAILPOET-4300
2022-07-18 12:53:49 +02:00
502087e416 Fix tests
[MAILPOET-4421]
2022-07-18 10:32:01 +02:00
35cdd7c07f Add header buttons and redirects for automation email type
[MAILPOET-4421]
2022-07-18 10:32:01 +02:00
0c5ed71239 Show only 2 steps for automation email type
[MAILPOET-4421]
2022-07-18 10:32:01 +02:00
6586ad03c1 Show MailPoet logo in the newsletter editor
[MAILPOET-4421]
2022-07-18 10:32:01 +02:00
39a3ca54f7 Extract MailPoetLogoResponsive component
[MAILPOET-4421]
2022-07-18 10:32:01 +02:00
960e917b64 Run update query only once, use Builder minLength for name
[MAILPOET-4422]
2022-07-15 11:32:58 +02:00
d3731c715b Update workflow name & status styles
[MAILPOET-4422]
2022-07-15 11:32:58 +02:00
5ac27d125b Add workflow name editing capability
[MAILPOET-4422]
2022-07-15 11:32:58 +02:00
3bbb662857 Add a workaround for NewsletterEntity::__clone when testing
Because implements NewsletterEntity::__clone and resets `id`
the test was failing after switching from Newsletter model
to NewsletterEntity and this override helps to mitigate the issue

[MAILPOET-4360]
2022-07-14 13:13:47 +02:00
b84d1d1af8 Update TransactionalEmailHooks to work with NewsletterEntity
[MAILPOET-4360]
2022-07-14 13:13:47 +02:00
d4403c6259 Adjust WooCommerce transactionalEmails render test
[MAILPOET-4360]
2022-07-14 13:13:47 +02:00
930024101f Exchange Transactional renderer to NewsletterEntity
[MAILPOET-4360]
2022-07-14 13:13:47 +02:00
fb49ce5ac4 Adjust usage of Renderer::render in SendingQueue\Tasks::Newsletter
[MAILPOET-4360]
2022-07-14 13:13:47 +02:00
35d0d03069 Make Renderer/Renderer.php method expect NewsletterEntity
[MAILPOET-4360]
2022-07-14 13:13:47 +02:00
1c33628a46 Remove array_flatten usages
[MAILPOET-4475]
2022-07-14 12:23:00 +02:00
1cdf83b60c Move composer/composer to dev dependencies
[MAILPOET-4475]
2022-07-14 12:23:00 +02:00
d625d94614 Add integration tests
[MAILPOET-4393]
2022-07-14 12:01:49 +02:00
f9f9908269 Default metaInfo type to newsletter::type if defined
[MAILPOET-4393]
2022-07-14 12:01:49 +02:00
f50ed0cd04 Add missing re_engagement type to newsletter meta info
[MAILPOET-4393]
2022-07-14 12:01:49 +02:00
c6d284cb32 Move lists testing to the separate class
[MAILPOET-4292]
2022-07-14 11:29:09 +02:00
1a9845c916 Move getting segments to the new class
[MAILPOET-4292]
2022-07-14 11:29:09 +02:00
92d39916d9 Make segment factory immutable
[MAILPOET-4292]
2022-07-14 11:29:09 +02:00
571a91b809 Fix setting segment type
[MAILPOET-4292]
2022-07-14 11:29:09 +02:00
b1bd4dded3 Remove large dimension for tags in listing
[MAILPOET-4441]
2022-07-14 10:37:49 +02:00
a0c21d8cd2 Add check for displaying tags
[MAILPOET-4441]
2022-07-14 10:37:49 +02:00
437f84ecd0 Add tags into subscribers listing
[MAILPOET-4441]
2022-07-14 10:37:49 +02:00
a80cabf59f Add possibility to use different variant
[MAILPOET-4441]
2022-07-14 10:37:49 +02:00
6328d4c8ea Add a new tag color variant
[MAILPOET-4441]
2022-07-14 10:37:49 +02:00
e8b94761e5 Add tags into listing response
[MAILPOET-4441]
2022-07-14 10:37:49 +02:00
a1daf7dc3a Fix flaky acceptance test
[MAILPOET-4339]
2022-07-14 10:29:32 +02:00
0b1a1d781a Remove old model from Subscribers admin page
[MAILPOET-4339]
2022-07-14 10:29:32 +02:00
1a58842c26 Remove old model from Segments admin page
[MAILPOET-4339]
2022-07-14 10:29:32 +02:00
53a935fae9 Remove old model from Newsletters admin page
[MAILPOET-4339]
2022-07-14 10:29:32 +02:00
72d9ed794a Remove old model from Forms admin page
[MAILPOET-4339]
2022-07-14 10:29:32 +02:00
ad29073715 Replace Paris models with Doctrine entities in Subscription\Captcha
[MAILPOET-4351]
2022-07-13 16:09:41 +02:00
282bea4cfb Remove old model usage from NewSubscriberNotificationMailerTest
[MAILPOET-4352]
2022-07-13 15:36:14 +02:00
856561c443 Remove old model usage from NewSubscriberNotificationMailer
[MAILPOET-4352]
2022-07-13 15:36:14 +02:00
ac5007f00c Add missing import
[MAILPOET-4057]
2022-07-13 09:35:18 +02:00
8136966676 Fix CSS property order
MAILPOET-4057
2022-07-13 09:35:18 +02:00