Commit Graph

51 Commits

Author SHA1 Message Date
wxa
ac9c250b55 Collect subscriber IPs for 3rd party API subscriptions [MAILPOET-2575] 2019-12-16 18:06:37 +00:00
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
c90a2e41a1 Use separate scheduler for welcome emails
[MAILPOET-2321]
2019-08-29 13:55:49 -04:00
c5ee2baaa2 Fix missing arguments in addSubscriber API method
[MAILPOET-2226]
2019-07-29 15:51:44 -04:00
b52b943c97 Prevent sending notification twice
[MAILPOET-2131]
2019-06-20 11:01:48 -04:00
f17e7251c3 Use constants for exception codes
[MAILPOET-2107]
2019-06-06 11:22:48 -04:00
f130c8d17b Add new api exception
[MAILPOET-2107]
2019-06-06 11:22:48 -04:00
c15c693507 Add method for creating custom fields in API
[MAILPOET-2041]
2019-05-30 13:03:33 -04:00
c4a086ba29 Add an option for sending admin notification
[MAILPOET-2042]
2019-05-29 09:58:18 -04:00
79bda9756e Return all information in getSubcriberFields response
[MAILPOET-2099]
2019-05-28 10:39:02 -04:00
352a4b82e7 Accept only whitelisted fields in addList API
[MAILPOET-2093]
2019-05-27 08:32:24 -04:00
97dc68c655 Accept only whitelisted fields in addSubscriber API
[MAILPOET-2093]
2019-05-27 08:32:24 -04:00
c4d8a8137a Refactor $segment_ids to $list_ids to unify naming
[MAILPOET-2035]
2019-05-27 06:10:46 -04:00
85e1976312 Allow only default segments to be used for subscription
[MAILPOET-2035]
2019-05-27 06:10:46 -04:00
879a36e0f2 Rename translation functions 2019-05-21 09:04:00 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
e479aecdc0 Send confirmation email also within subscribeToLists
[MAILPOET-1992]
2019-05-06 11:13:49 -04:00
3e66e9e1dd Fix phpstan level 6
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
wxa
2f487fd300 Inject subscribe() action instead of calling it statically [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
wxa
5bf968fbc6 Address PR review remarks [MAILPOET-1721] 2019-01-22 12:25:59 +03:00
wxa
a4ff9822ad Add WooCommerce customers list [MAILPOET-1721] 2019-01-17 21:42:57 +03:00
a42787d10d Refactor MP v1 API to obtain services via constructor
[MAILPOET-1637]
2018-11-15 09:03:43 +01:00
wxa
6b6f488f1e Schedule welcome email only if subscriber is confirmed in MPAPI [MAILPOET-1589] 2018-10-16 19:03:44 +03:00
654dd1e8d0 Rename Send classes
[MAILPOET-1522]
2018-10-15 13:06:19 +02:00
40c19cd5d8 Fix parameters
[MAILPOET-1522]
2018-10-15 12:56:15 +02:00
70debcc828 Refactor confirmation email sending
Aspect mock stopped working for me so I had to create a separate service
for sending confirmation emails.

[MAILPOET-1522]
2018-10-11 13:39:39 +02:00
4249c7a2cb Send an email notification on new subscriber
[MAILPOET-1522]
2018-10-11 10:23:06 +02:00
ac33e11c60 Reject requests without mandatory custom fields
We need to make sure subscribers cannot be created without custom fields
Users require GDPR consent and we need to make sure there are no way to
create a subscriber without mandatory custom fields

[MAILPOET-1405]
2018-08-21 15:03:08 +02:00
71fed489ec Improve error reporting in API
[MAILPOET-1290]
2018-06-12 10:32:20 +01:00
582f241ea4 Add source to subscribed entered in admin
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
78f9fea2b0 Sends welcome notifications when subscribing to lists via MP's API
[MAILPOET-1295]
2018-03-15 13:04:30 +00:00
d7bf6addf1 Fixes error due to throwing exception inside array_map 2017-11-14 09:58:01 -05:00
087f2ebcdd Uses a built-in method to handle plural exception cases
Implements check for empty segments
Implements check for WP segment when unsubscribing
2017-11-13 10:12:50 -05:00
3d2a63f319 Adds methods to unsubscribe from list(s) 2017-11-13 10:12:50 -05:00
54dd3b621a Improves error messages, cleans up code 2017-11-13 10:11:07 -05:00
6694555592 Adds method to get subscriber 2017-11-10 18:47:53 -05:00
3d78d6bbe9 Add a method to create a new list to public API [MAILPOET-1197] 2017-11-02 22:13:50 +03:00
6c777ca074 Reloads subscriber or else status and other fields populated at save
time are not returned
Schedules welcome notifications only for subscribers with "subscribed"
status
Extracts confirmation email sending/welcome notification scheduling into
separate functions for easy testing
2017-06-11 12:16:34 -04:00
766c0dfcfc Enables subscriber email to be passed when subscribing to list(s)
List subscription methods return array with subscriber data
2017-05-19 09:51:29 -04:00
a4c1095db7 Moves custom field extraction logic from CustomField model to Subscriber
model where it's used
2017-05-16 20:58:44 -04:00
fc51d5f98c Sends confirmation email and schedules welcome notification by default
Fixes a typo in text string
2017-05-16 20:58:43 -04:00
a1b3aaf1f8 Adds method to create subscriber 2017-05-16 20:58:43 -04:00
73121c2ca5 Adds method to return all segments minus WP Users segment(s) 2017-05-16 20:56:56 -04:00
5e23fa4295 Adds method to subscribe to single or multiple lists 2017-05-16 20:56:56 -04:00
5e34bbf9d5 Adds method to return subscriber fields 2017-05-16 20:56:56 -04:00