Commit Graph

144 Commits

Author SHA1 Message Date
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
4323723fd4 Remove DmarcPolicyChecker
[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
8c068c0232 Refactor sender domain limits
[MAILPOET-5782]
2024-01-14 19:37:36 +05:00
Pavel Dohnal
fdec5e819a Fix tag mismatch
[MAILPOET-5827]
2024-01-12 13:29:53 +01:00
John Oleksowicz
efe4c47568 Display different notices before Feb 1st
MAILPOET-5819
2024-01-11 20:13:59 +05:00
John Oleksowicz
862c0d26b2 Don't display banner notices to new users
MAILPOET-5783
2024-01-03 18:54:01 +01:00
John Oleksowicz
b2222f65b5 Make notices dismissible
MAILPOET-5783
2024-01-03 18:54:01 +01:00
John Oleksowicz
cbcae3714d Extract methods for verification/error style
MAILPOET-5783
2024-01-03 18:54:01 +01:00
John Oleksowicz
0d83836b68 Add banner notices for unverified sender domains
MAILPOET-5783
2024-01-03 18:54:01 +01:00
Jan Lysý
525c80bac4 Fix PHPStan warnings in lib
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
 Ján Mikláš
e2a849ceb9 Display the PHP outdated version warning for sites running PHP < 8.0
[MAILPOET-5727]
2023-11-27 13:23:29 +01:00
Oluwaseun Olorunsola
0d771a7fc5 Add support for creating styles from block attributes e.g., text alignment styles
MAILPOET-5643
2023-11-17 09:49:06 +01:00
 Ján Mikláš
fccd3d0a5f Don't show the banner on Woo Express
[MAILPOET-5707]
2023-11-16 16:24:34 +01:00
 Ján Mikláš
54e0df9116 Link to the upgrade page form BFCM banner
[MAILPOET-5440]
2023-11-16 16:24:34 +01:00
 Ján Mikláš
19e35c948a Update BFCM sale dates and copy
[MAILPOET-5707]
2023-11-16 16:24:34 +01:00
John Oleksowicz
e6365e2cde Add rel="noreferrer" for consistency
MAILPOET-5631
2023-11-02 18:15:55 +01:00
John Oleksowicz
d531a8fb60 Split pending approval message into title and body
MAILPOET-5631
2023-11-02 18:15:55 +01:00
John Oleksowicz
4a4ecc8204 Consistent pending approval message
MAILPOET-5631
2023-11-02 18:15:55 +01:00
John Oleksowicz
50e1bce74c Update pending subscription notice
MAILPOET-5631
2023-11-02 18:15:55 +01: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
Brezo Cordero
3104b61005 Remove data-beacon-article
[MAILPOET-5551]
2023-09-07 14:50:35 +02:00
Jan Lysý
1053f062e3 Change info notice to success notice
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00
Jan Lysý
7d6e69e639 Add notice when premium features for key are available
[MAILPOET-5429]
2023-08-03 12:31:02 +02:00
alex-mailpoet
3b2d60bb4f Fix counts cache update for below minimum subscribers
[MAILPOET-5390]
2023-06-21 10:33:00 +02:00
 Ján Mikláš
0ab2f8e6a3 Show June 2023 sale banner
[MAILPOET-5213]
2023-06-05 09:47:15 +02:00
alex-mailpoet
5203eb5268 Don't cache if subscribers count is below minimum value
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
Jan Jakes
906e76c73c Map subscriber custom fields to automation fields
[MAILPOET-5036]
2023-05-17 12:36:05 +02:00
Rostislav Wolny
77e64a7c57 Return plan limit data also for underprivileged keys
When a key is underprivileged it is still considered valid and
we can use the state data about limits.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
600c83943c Change login of MailPoet.hasValidApiKey key JS property
The API key that is underprivileged for MSS and Premium
is still considered as valid because the API can still authenticate the key
and the key can be used reporting subscriber stats etc.

I've check places where we use the property and in all cases we use
to distinguish if the plugin uses a subscription plan (free or paid) or no plan.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
6aaa56466e Display subscribers limit reached also when API reports restricted access
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
20a8afa2f1 Fix logic for detecting emails volume reached error
The values we have in key state might be missing or outdated.
We need to check also if the key check on MSS returned error
about access being restricted due email volume limit.

[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
48f1034180 Read email volume limit from and send emails count from MSS key data
Currently the starter plan has no access to premium so the plugin is
not able to fetch email volume limit using premium key endpoint.
Also the data are related to sending so it makes more sense to read those
from MSS key state.
[MAILPOET-5191]
2023-05-10 13:05:37 +02:00
Rostislav Wolny
8ce8524ee3 Adjust conditions for displaying pending approval notice
The method was displayed even when MSS was set but key was not valid.
This may happen when a key loses the access to MSS.
[MAILPOET-5103]
2023-04-26 10:57:40 +02:00
 Ján Mikláš
63be8969f3 Improve strings based on translators' feedback
[MAILPOET-5201]
2023-04-10 13:03:18 +02:00
Pavel Dohnal
535f880c8d Use a better transient key
[MAILPOET-5085]
2023-03-27 11:35:48 +02:00
Pavel Dohnal
0f4ffd7849 Use get_plugin_data from WPFunctions
[MAILPOET-5085]
2023-03-27 11:35:48 +02:00
Pavel Dohnal
cf88a3fab2 Display warning for unsupported WooCommerce version
[MAILPOET-5085]
2023-03-27 11:35:48 +02:00
Jan Lysý
518918b675 Change pending approval notice from error to warning
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
612500c612 Change the value of option name constant
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
22b0278003 Add notice when the subscription is waiting on approval
[MAILPOET-4528]
2023-02-27 11:59:05 +01:00
Jan Lysý
a9d8a2b164 Add condition for displaying
[MAILPOET-4830]
2023-02-15 12:19:35 +01:00
Oluwaseun Olorunsola
10ea5ec55b Remove extra sending method check for new users.
mta.method is probably not set yet.

MAILPOET-4929
2023-02-06 12:11:12 +01:00
Oluwaseun Olorunsola
805804f3d3 Add WP Filter to disable the mail function check
MAILPOET-4929
2023-02-06 12:11:12 +01:00
Oluwaseun Olorunsola
5b78ea9a69 Update test mail information for DisabledMailFunctionNotice
In this commit, we change the test mail subject, body and destination address

MAILPOET-4929
2023-02-06 12:11:12 +01:00
Rodrigo Primo
5d56a0368a Update outdated PHP version message
Changing the message to make it more clear that PHP >= 7.2 and <= 7.3 is
not recommended but still supported.

[MAILPOET-4933]
2023-01-31 13:58:52 +01:00
Rodrigo Primo
106db48f8d Display the PHP outdated version warning for sites running PHP <= 7.3
[MAILPOET-4933]
2023-01-31 13:58:52 +01:00
Jan Jakes
d0ff2a9eae Process also day format for custom fields
Although not currently offered in the UI, day format is partially implemented and passes validation.

[PREMIUM-215]
2023-01-26 14:12:22 +01:00
 Ján Mikláš
7aea3528c4 Allow full-site-editing and wpcomsh plugins in ConflictResolver
[MAILPOET-5017]
2023-01-26 09:31:27 +01:00
Oluwaseun Olorunsola
2ebcad1468 Exclude Notices from landingpage
MAILPOET-4797
2023-01-09 14:38:09 +01:00