14eb8db540
Propagate error details to REST API responses
...
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
9e86fa69b9
Add missing return typehint
...
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
296a47f8e7
Add new API method getSubscribers
...
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
f1b59173dd
Add filters into newsletter response
...
[MAILPOET-4583]
2022-10-05 14:14:34 +02:00
7e6f708df8
Create tags when do not exist
...
[MAILPOET-4557]
2022-09-28 11:42:51 +02:00
d50aee988e
Extract logic to get email domain to Helpers class
...
MAILPOET-4601
2022-09-26 11:13:40 +02:00
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
5bcb80d2a0
Allow Congratulatory Mss Email with any email from verified domains
...
MAILPOET-4601
2022-09-26 11:13:40 +02:00
bd7da6b28c
Allow user send with any email address from verified domain
...
MAILPOET-4601
2022-09-26 11:13:40 +02:00
1dac2522c6
Refactor public API getSubscriber to doctrine
...
[MAILPOET-4295]
2022-09-21 16:02:23 +02:00
5c57dd2006
Add saving tags for imported subscribers
...
[MAILPOET-4558]
2022-09-15 11:26:10 +02:00
ba35ddf6e6
Extract automation API to MailPoet REST API
...
[MAILPOET-4523]
2022-09-12 14:40:36 -05:00
c601aaa3eb
Autofix issues detected by CodeSniffer
...
[MAILPOET-4617]
2022-09-06 17:38:01 +02:00
2356c62be3
Refactor MP API addSubscriber to doctrine
...
[MAILPOET-4293]
2022-08-18 12:08:30 +02:00
1bf751978c
Make a parameter in private method in MP API non-optional
...
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
5d3c851d02
Change order of MP API subscribe/unsubscribe calls checks to be backward compatible
...
In the previous version we checked the lists parameter before the subscriber.
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
c3251f4092
Refactor MP API unsubscribe from lists to doctrine
...
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
fbaf37ed0c
Refactor getting subscriber and segments into a private methods
...
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
98e056bec7
Remove code that checks if the MP2 migration is in progress
...
[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
9a5fbfbb24
Remove MP2 migration endpoints from the JSON API
...
[MAILPOET-4376]
2022-08-15 12:46:22 +02:00
90ff2db0d1
Fix errors caught by translations code sniff
...
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
e03e375942
Fix variable names and comments typos
...
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
c58c613959
Use WordPress translation functions directly
...
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
fd1ac46207
Fix typo in isDomainDmarcRestricted method name
...
[MAILPOET-4302]
2022-08-11 12:36:23 +02:00
847d199352
Implement the Manage Sender Domain component and
...
The AuthorizeSenderDomainModal
MAILPOET-4302
2022-08-11 12:36:23 +02:00
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
9e5f1d0ff0
Implement Show sender domain warning for settings
...
This would show the sender domain warning message for
domains that are not verified and have a Retricted DMARC Policy
MAILPOET-4302
2022-08-11 12:36:23 +02:00
76048224d1
Fix WordPress.WP.I18n.NonSingularStringLiteralText errors
...
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
218de96024
Fix WordPress.WP.I18n.MissingTranslatorsComment errors
...
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
b05e6d414c
Remove WP\Functions::__ and other translate functions
...
Under the new sniffer rules, those functions produce errors and, when those methods
are used, the sniffer can not properly be applied.
[MAILPOET-4524]
2022-08-09 13:23:16 +02:00
98d9952a44
Fix prefetching subscriber relations
...
[MAILPOET-4501]
2022-08-08 10:57:42 +02:00
c8278dde2a
Use correct exception type when saving segment to DB fails
...
[MAILPOET-4294]
2022-08-04 13:31:53 +02:00
9c5dca0206
Refactor MailPoet\API\MP\v1\API::addList to doctrine
...
[MAILPOET-4294]
2022-08-04 13:31:53 +02:00
d3e2bcdf34
Refactor daemon trigger and daemon run actions to extra classes
...
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
eedc18bb7f
Trigger action scheduler runner immediately when starting sending
...
When users click send email in UI, they need to wait a minute or more to
see some emails started going out.
This commit adds additional trigger into sending queue API.
If emails is set to send it triggers Action Scheduler immediately.
Users will get immediate feedback that emails are sending.
[MAILPOET-4274]
2022-08-03 10:36:57 +02:00
bd3b4f1e93
Remove Newsletter model usages
...
[MAILPOET-4361]
2022-07-18 16:47:48 +02:00
5d8b721a52
Annotate return type and use consistent return data
...
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
1fda60bfea
Implement API endpoints
...
MAILPOET-4300
2022-07-18 12:53:49 +02:00
1a9845c916
Move getting segments to the new class
...
[MAILPOET-4292]
2022-07-14 11:29:09 +02:00
e8b94761e5
Add tags into listing response
...
[MAILPOET-4441]
2022-07-14 10:37:49 +02:00
856561c443
Remove old model usage from NewSubscriberNotificationMailer
...
[MAILPOET-4352]
2022-07-13 15:36:14 +02:00
a4b45368de
Add loading tags into subscriber edit form
...
[MAILPOET-4440]
2022-07-12 13:35:00 +02:00
134bd7c6de
Add a comment
2022-07-05 10:11:20 +02:00
3d1365595b
Remove catch block and change quotes
...
Remove catch block to log unexpected exceptions and change quotes for consistency on error message.
[MAILPOET-4259]
2022-06-06 11:59:27 +02:00
53b9f79e65
Catch the correct Exception when creating a list on import
...
This is not part of this issue but found it when looking at the Exception types.
[MAILPOET-4259]
2022-06-06 11:59:27 +02:00
2e5e8e808f
Verify that new email is unique when editing a subscriber
...
Throws an exception with information message if email already exists.
[MAILPOET-4259]
2022-06-06 11:59:27 +02:00
5ab04b8b22
Remove usage constant from the old model
...
[MAILPOET-4338]
2022-05-19 14:18:06 +02:00
ab609c8867
Remove subscriber check from newsletter validator
...
Checking the subscriber limit has nothing to do with the newsletter
itself, so it makes more sense to continue to perform that check as
needed elsewhere in the codebase.
MAILPOET-4236
2022-05-16 11:17:29 +02:00
8983d5e3f7
Move subscriber limit check into validator
...
[MAILPOET-4236]
2022-05-16 11:17:29 +02:00