Mike Jolley
435f638011
Apply rules on lib dir
2024-03-21 16:57:59 +01:00
Brezo Cordero
06b6d91456
Allow sending if domain authentication required but not in cache and shop not available
...
[MAILPOET-5921]
2024-03-04 11:37:40 +01:00
Brezo Cordero
f3c8d16439
Increase transient expiration time
...
[MAILPOET-5921]
2024-03-04 11:37:40 +01:00
Brezo Cordero
52a68ee508
Do not reload cache if no data returned
...
and a small refactor for duplicated code.
[MAILPOET-5921]
2024-03-04 11:37:40 +01:00
Brezo Cordero
d65fdd7a6d
Reset currentRecords only when needed
...
And reloadCache after domain verification.
[MAILPOET-5844]
2024-02-05 10:52:56 +01:00
Brezo Cordero
928c100839
Rename constant
...
[MAILPOET-5844]
2024-02-05 10:52:56 +01:00
Brezo Cordero
1e373ab7e0
Update Sender Domain inline notice
...
Remove unused notices displayed before enforcement date.
[MAILPOET-5844]
2024-02-05 10:52:56 +01:00
Brezo Cordero
3f8c0f2bc6
Remove restrictionsApply function
...
[MAILPOET-5844]
2024-02-05 10:52:56 +01:00
Brezo Cordero
5113e65949
Reduce sender domain authentication limits
...
[MAILPOET-5856]
2024-01-30 10:40:33 +01:00
Brezo Cordero
74a8a0aefc
Modify context for Automations
...
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
Brezo Cordero
8177c3819c
Fix PHP error warning on createAuthorizedSenderDomain
...
And reload cache
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
Brezo Cordero
1a7a424936
Add Sender Domain Data to MailPoet Context
...
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
Brezo Cordero
d76aec0431
Add return type
...
[MAILPOET-5832]
2024-01-20 13:39:23 +05:00
Brezo Cordero
b80f71f8c2
Remove unused code
...
[MAILPOET-5832]
2024-01-20 13:39:23 +05:00
Brezo Cordero
9d8de3b3cf
Use a transient to store sender domains
...
to reduce API calls.
[MAILPOET-5832]
2024-01-20 13:39:23 +05:00
Brezo Cordero
56556493fe
Add function isAuthorizedDomainRequiredForExistingCampaigns
...
[MAILPOET-5832]
2024-01-20 13:39:23 +05:00
Brezo Cordero
78faadc126
Use new function to get verified domains
...
It uses the overall status set by the shop instead of checking the records.
[MAILPOET-5832]
2024-01-20 13:39:23 +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
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
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
Brezo Cordero
ab296401b2
Allow verification of partially verified Sender domains
...
[MAILPOET-5817]
2024-01-10 02:47:40 +05:00
John Oleksowicz
0d83836b68
Add banner notices for unverified sender domains
...
MAILPOET-5783
2024-01-03 18:54:01 +01:00
John Oleksowicz
e1df697ce7
Add method to get rewritten email address for MSS
...
MAILPOET-5783
2023-12-20 13:53:59 -06:00
John Oleksowicz
518530edac
Add methods for retrieving domains by status
...
MAILPOET-5783
2023-12-20 13:53:59 -06:00
Jan Lysý
579de1cc86
Reduce the count of constants
...
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
c79787c677
Extract domain creation error messages from bridge to strings
...
As a part of those changes I tried to unify the array key with error messages.
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Jan Lysý
07954dd968
Extract domain verification error messages from bridge to strings
...
As a part of those changes I tried to unify the array key with error messages.
[MAILPOET-4639]
2023-01-16 13:46:07 +01:00
Oluwaseun Olorunsola
a006701d78
PR feedback: add type hints, create new methods and save on extra api request
...
MAILPOET-4601
2022-09-26 11:13:40 +02:00
Oluwaseun Olorunsola
fed8099227
Do not throw an error for checkAuthorizedEmailAddresses
...
Allow sending from any email address in a verified domain
MAILPOET-4601
2022-09-26 11:13:40 +02:00
Rostislav Wolny
968cbb67d8
Refactor response caching in AuthorizedSenderDomainController
...
In the previous implementation the getDomainRecords couldn't be used without
calling getAllSenderDomains or getVerifiedSenderDomains upfront.
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
Rostislav Wolny
fd1ac46207
Fix typo in isDomainDmarcRestricted method name
...
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
Rostislav Wolny
4ffdd5bed5
Add declare(strict_types = 1); to newly added PHP files
...
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
fcd12b41b5
Update DMARC Status check
...
Handle edge case for domains where DMARC `p` policy is set to reject or quarantine but `sp` (subdomain policy) is set to none
The previous implementation will return dmarcStatus === none when
sp is none but will not check for p policy as well.
If the `sp` is reject or quarantine, it would supersede the `p` status
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
5c3a9fe9b2
Add API methods for creating and verifying sender domains
...
We also included an API method for fetching Sender Domains
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
370de8050a
Add mailpoet_verified_sender_domains to newsletters and settings page
...
Update tests
MAILPOET-4302
2022-08-11 12:36:23 +02:00
Oluwaseun Olorunsola
c961e0a363
Add AuthorizedSenderDomainController class and tests
...
MAILPOET-4302
2022-08-11 12:36:23 +02:00