Commit Graph

21722 Commits

Author SHA1 Message Date
Jan Jakes
a50fcc67ba Release 4.41.3 2024-01-16 18:15:35 +01:00
Jan Lysý
6dba7b3afc Use min function for better readability
[MAILPOET-5788]
2024-01-16 12:22:54 +01:00
Jan Lysý
1030d521c0 Use constant from SettingsController in image renderer
[MAILPOET-5788]
2024-01-16 12:22:54 +01:00
Jan Lysý
932f47b763 Fix image block rendering when image is not set
[MAILPOET-5788]
2024-01-16 12:22:54 +01:00
Jan Lysý
2fc3860512 Fix background color for full-width columns
[MAILPOET-5788]
2024-01-16 12:22:54 +01:00
Jan Lysý
fb2d89cb81 Fix rendering images with higher width than newsletter
[MAILPOET-5788]
2024-01-16 12:22:54 +01:00
Jan Lysý
56c566d189 Update Image block test
[MAILPOET-5788]
2024-01-16 12:22:54 +01:00
Jan Lysý
da16f50d33 Refactor core/image renderer for better compatibility with Outlook
[MAILPOET-5788]
2024-01-16 12:22:54 +01:00
Jan Lysý
79e6cd16e8 Fix centered image alignment when it's nested in column
[MAILPOET-5788]
2024-01-16 12:22:54 +01:00
Jan Jakes
5d006c87e7 Fix duplicate component key on automation listing page
[MAILPOET-5779]
2024-01-16 09:43:57 +05:00
Jan Jakes
f4ac59f685 Add saved/activated notices when redirecting back to automation listing
[MAILPOET-5779]
2024-01-16 09:43:57 +05:00
Jan Jakes
c1f2d48811 Fix and simplify automation listing notices, use @wordpress/notices
[MAILPOET-5779]
2024-01-16 09:43:57 +05:00
Jan Jakes
47ac9dbad5 Fix redirects to email listings after moving legacy automatic emails
[MAILPOET-5779]
2024-01-16 09:43:57 +05:00
Jan Jakes
c1909d2d30 Make legacy automatic emails notice closable
[MAILPOET-5830]
2024-01-16 09:43:57 +05:00
Jan Jakes
d9eeb5f56e Add missing button variant 2024-01-16 09:43:57 +05:00
Brezo Cordero
1162b5aca1 Verify sender Address on newsletter activation
[MAILPOET-5786]
2024-01-15 19:34:21 +05:00
Brezo Cordero
f3693f4afd Add function to verify sender Address on activation
[MAILPOET-5786]
2024-01-15 19:34:21 +05:00
Brezo Cordero
04c16042cd Apply activation restrictions
[MAILPOET-5786]
2024-01-15 19:34:21 +05:00
Brezo Cordero
4a9d57766b Add activation restrictions to window
[MAILPOET-5786]
2024-01-15 19:34:21 +05:00
Brezo Cordero
3b3be51324 Add functions to check activation restrictions
[MAILPOET-5786]
2024-01-15 19:34:21 +05:00
Brezo Cordero
01a3b3c5ca Add getFullyOrPartiallyVerifiedSenderDomains
This function will replace getVerifiedDomains

[MAILPOET-5786]
2024-01-15 19:34:21 +05:00
Brezo Cordero
aef1d65b6d Change the domain extraction
to have a sequential array so that json_encode keeps it as an array.

[MAILPOET-5786]
2024-01-15 19:34:21 +05:00
Pavel Dohnal
11df995d35 Fix Trash button deleting email permanently
[MAILPOET-5811]
2024-01-15 00:30:29 +05:00
David Remer
f21ff46623 Do not schedule a post notification if the old status was publish
[MAILPOET-5822]
2024-01-15 00:17:45 +05:00
Rostislav Wolny
97a1002397 Refactor create newsletter into a function and cache via useCallback
[MAILPOET-5810]
2024-01-14 19:43:26 +05:00
Rostislav Wolny
b35e0af691 Remove old code that was handling creating emails for the new editor
The code is no longer needed because the new emails are created via API.
[MAILPOET-5810]
2024-01-14 19:43:26 +05:00
Rostislav Wolny
852558c60f Create a new newsletter via API before redirecting to the editor
Before we switched to the custom editor, we had to rely on the 'save_post' hook
to ensure the newsletter entity is correctly created.
The code with hook was rather complex and was causing issues with duplication
of a newsletter so it seems more convenient to create a newsletter via API
similarly as we do in the current editor.
[MAILPOET-5810]
2024-01-14 19:43:26 +05:00
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
Brezo Cordero
d5ecfc58e0 Do not display sender notices on Settings and Editor
We already display the inline notices.

[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
0c5abdf8a2 Remove emailAddressDomain from Props
and extract it from emailAddress.

[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
4323723fd4 Remove DmarcPolicyChecker
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
8f7d559400 Remove getDmarcPolicyForDomain
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
5735d21e4d Remove isDomainDmarcRestricted
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
7f6b66cf8f Remove checkSenderEmailDomainDmarcPolicy
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
2d81d61c26 Improve notice text
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
c66a3b6db7 Fix setting state on showSenderDomainError
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
24bcb7633f Only show warnings for existing users until enforcement date
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
45423a8e62 Refactor functions to AuthorizedSenderDomainController
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
d84d97e7ca Refactor SenderDomainNoticeBody
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
ba627e9d2c Add sender domain limits to window
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
8c068c0232 Refactor sender domain limits
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
f03617edcc Fix concatenating input in test
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
2472941159 Do not display sender domain notice if invalid email
To avoid stacking warnings.

[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
cfb3304186 Add isPartiallyVerifiedDomain to SenderField
And show the SenderDomainWarning by default.

[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
a4905d0f61 Add isPartiallyVerifiedDomain to DefaultSender
And show the SenderDomainWarning by default.

[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
dd332fd98b Use SenderDomainInlineNotice
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
ec16bc7af1 Add SenderDomainInlineNotice component
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
5545865a73 Add partially verified domains to Window
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Brezo Cordero
1a3d836cb0 Add InlineNotice component
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00