c75bc388c9
Remove unnecessary cleanup code
...
MAILPOET-5145
2023-04-07 12:11:12 -05:00
c507229dd2
Add unsubscribe API method
...
It can be used by calling:
```
$mailpoet_api = \MailPoet\API\API::MP('v1');
$mailpoet_api->unsubscribe($subscriberId);
```
[MAILPOET-5152]
2023-03-27 19:25:49 +02:00
d37b961c2b
Use getServiceWithOverrides() to create an instance of Subscribers
...
By using this helper method, we don't need to change the code that
instantiate Subscribers whenever the class signature changes as it is
going to happen in a subsequent commit.
[MAILPOET-5152]
2023-03-27 19:25:49 +02:00
82aeb89854
Use strict types in tests
...
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
8c5222d850
Fix WordPress.Security.ValidatedSanitizedInput.InputNotSanitized and related errors
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
7db40b27b5
Fix errors automatically with phpcbf
...
[MAILPOET-4850]
2022-11-28 22:54:13 +03:00
725e0ecb00
Remove automation feature flag
...
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
8f38dc451e
Add test cases for MP API getSubscribersCount
...
[MAILPOET-4717]
2022-10-17 09:12:10 +02:00
66000fada4
Add test cases for MP API getSubscribers
...
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
296a47f8e7
Add new API method getSubscribers
...
[MAILPOET-4716]
2022-10-13 11:12:10 +02:00
09f5790120
Move getSubscribers integration test into specific test file
...
[MAILPOET-4295]
2022-09-21 16:02:23 +02:00
79e11fe939
Move MP API addSubscriber tests under Subscribers class tests
...
[MAILPOET-4293]
2022-08-18 12:08:30 +02:00
2356c62be3
Refactor MP API addSubscriber to doctrine
...
[MAILPOET-4293]
2022-08-18 12:08:30 +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
877fd9d7da
Move MP API unsubscribe from list test to a separate file
...
[MAILPOET-4291]
2022-08-17 13:20:39 +02:00
c6d284cb32
Move lists testing to the separate class
...
[MAILPOET-4292]
2022-07-14 11:29:09 +02:00
86d934ba36
Add hook for segment subscription
...
This will be used for a "SegmentSubscribed" trigger for automation
that can trigger welcome emails and other actions.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
9f790efbf0
Move plugin files to a subfolder
...
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00