Commit Graph

25 Commits

Author SHA1 Message Date
Pavel Dohnal
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
Rostislav Wolny
9308cffd45 Refactor fetching newsletter options to respect its type [MAILPOET-1431] 2018-06-19 17:06:56 +02:00
Rostislav Wolny
9446e3cd50 Fix codeception deprecated call in API test 2018-06-19 16:07:10 +02:00
Michelle Shull
36e29581ef Merge pull request #1389 from mailpoet/api-errors
Improve error reporting in API [MAILPOET-1290]
2018-06-18 14:35:42 -04:00
Rostislav Wolny
daeee55118 Update Codeception deprecated method calls 2018-06-15 10:35:51 +02:00
Pavel Dohnal
71fed489ec Improve error reporting in API
[MAILPOET-1290]
2018-06-12 10:32:20 +01:00
Pavel Dohnal
582f241ea4 Add source to subscribed entered in admin
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
mrcasual
78f9fea2b0 Sends welcome notifications when subscribing to lists via MP's API
[MAILPOET-1295]
2018-03-15 13:04:30 +00:00
Vlad
4f77ca31a3 Rebased master 2017-11-13 12:41:46 -05:00
Vlad
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
Vlad
3d2a63f319 Adds methods to unsubscribe from list(s) 2017-11-13 10:12:50 -05:00
Vlad
54dd3b621a Improves error messages, cleans up code 2017-11-13 10:11:07 -05:00
Vlad
6694555592 Adds method to get subscriber 2017-11-10 18:47:53 -05:00
stoletniy
3d78d6bbe9 Add a method to create a new list to public API [MAILPOET-1197] 2017-11-02 22:13:50 +03:00
Amine Ben hammou
d35763662e Fixing MP API test 2017-09-18 12:00:43 +00:00
stoletniy
321393f119 Fix Squiz.Classes.ClassFileName sniffer rule in tests [MAIPOET-1025] 2017-07-26 17:03:43 +03:00
stoletniy
09f4f2e78a Fix a unit test [MAILPOET-942] 2017-06-12 11:38:01 +03:00
Vlad
420058a86d Optimizes tests
Adds new tests
2017-06-11 12:18:14 -04:00
Tautvidas Sipavičius
3783384ea6 Add a test to ensure subscribers can be identified by their email
address via MPAPI
2017-05-22 13:49:01 +03:00
Vlad
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
Vlad
87a6c7100e Uses real object's ID 2017-05-16 20:58:43 -04:00
Vlad
fc51d5f98c Sends confirmation email and schedules welcome notification by default
Fixes a typo in text string
2017-05-16 20:58:43 -04:00
Vlad
a1b3aaf1f8 Adds method to create subscriber 2017-05-16 20:58:43 -04:00
Vlad
bd39c34f03 Adds unit tests 2017-05-16 20:56:56 -04:00
Vlad
73121c2ca5 Adds method to return all segments minus WP Users segment(s) 2017-05-16 20:56:56 -04:00