Commit Graph

230 Commits

Author SHA1 Message Date
Tautvidas Sipavičius
e13789b768 Fix "Static call to instance method" errors on Models
Paris uses magic methods to create model instance for static calls
2019-01-23 18:44:43 +02: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
Pavel Dohnal
a9f3eeeb0d User polyfill for array_column
[MAILPOET-1618]
2018-11-27 11:13:00 +01:00
Rostislav Wolny
03ca022596 Fix bulk re-sending confirmation emails for subscribers
[MAILPOET-1598]
2018-10-22 10:08:35 +02:00
Pavel Dohnal
654dd1e8d0 Rename Send classes
[MAILPOET-1522]
2018-10-15 13:06:19 +02:00
Pavel Dohnal
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
Pavel Dohnal
4249c7a2cb Send an email notification on new subscriber
[MAILPOET-1522]
2018-10-11 10:23:06 +02:00
Pavel Dohnal
ae0e03d2f3 Update code for PHP 5.5
[MAILPOET-1496]
2018-08-23 12:10:21 +02:00
Pavel Dohnal
71fed489ec Improve error reporting in API
[MAILPOET-1290]
2018-06-12 10:32:20 +01:00
Pavel Dohnal
1af5802030 Add subscriber source
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
Pavel Dohnal
8e13eb50bf Export lists for email
[MAILPOET-1354]
2018-05-03 16:33:22 +01:00
Vlad
c8f334d782 Prevents overwriting global subscription status 2018-02-16 14:46:34 +00:00
Pavel Dohnal
0271675cd0 Use dynamic segments for sending queue
[PREMIUM-38]
2017-10-18 10:08:04 +01:00
stoletniy
9f5fc151b4 Move throttling out of the Subscriber model to the API 'subscribe' method [MAILPOET-1115] 2017-09-28 15:45:35 +01:00
stoletniy
8a91eb46e6 Fix the possibility of repeatedly submitting a form with an existing e-mail address [MAILPOET-1115] 2017-09-28 12:59:57 +01:00
Vlad
c8d92b3cd2 Default status is set depending on the signup confirmation option 2017-08-31 18:48:43 -04:00
Pavel Dohnal
7e9de1fd07 Fix php notice 2017-08-30 11:25:42 +02:00
Vlad
8a8108b41d Prevents WP subscribers' first/last name from being erased when updating
subscription
2017-08-24 13:19:42 -04:00
Vlad
77ed4d34e8 Uses Helper's replaceLinkTags method to replace activation link in
subscription confirmation email
2017-07-08 12:00:45 -04:00
Vlad
d27968a215 Uses WP's is_email() to validate email addresses in Subscriber model 2017-06-04 18:19:37 -04:00
Vlad
dba21c68fd Schedules welcome notification upon subscription when subscription
confirmation is disabled
Schedules welcome notification upon subscription confirmation
Checks when 'REMOTE_ADDR' is not set
Adds unit tests
2017-05-29 22:04:47 -04:00
Vlad
a4c1095db7 Moves custom field extraction logic from CustomField model to Subscriber
model where it's used
2017-05-16 20:58:44 -04:00
Vlad
3a1bf88c22 Extracts some logic into resuable methods 2017-05-16 20:58:43 -04:00
stoletniy
d8ff251c71 Fix WP user first/last name being cleared after subscription management form submit 2017-05-15 10:22:47 +03:00
Alexey Stoletniy
3833688115 Exclude trashed segments from subscriber listing filter and 'not in list' count [MAILPOET-893] 2017-04-26 11:23:16 +03:00
Vlad
9ef74e0951 Stops execution when there are no subscriber columns to update 2017-04-10 21:41:37 -04:00
Vlad
7ffbf6c378 Updates code style and adds wp_user_id column to the list of columns
that should be ignore when updating existing subscribers
2017-04-09 22:05:02 -04:00
Alexey Stoletniy
6811d8e38d Improve performance of a subscriber listing on MySQL 5.5 and lower [MAILPOET-867] 2017-03-30 13:12:53 +03:00
Vlad
3cde437628 Adds enforcement of global subcriber subscription status and
subscribption to segments to which newsletter is sent
2017-03-09 20:38:34 -05:00
Tautvidas Sipavičius
3d64a42126 Merge pull request #819 from mailpoet/bulk_delete_custom_fields
Deletes custom fields associations when bulk deleting subscribers [MAILPOET-820]
2017-02-21 11:32:11 +02:00
stoletniy
9955b8fda1 Merge pull request #821 from mailpoet/php53_fix
Replaces references to self::$variable with Class:$variable for PHP 5.3 hosts [MAILPOET-821]
2017-02-16 11:53:34 +03:00
Alexey Stoletniy
c994438fa8 Replace more self:: references in closures for PHP 5.3 [MAILPOET-821] 2017-02-16 11:22:26 +03:00
Vlad
3085ae575a Replaces references to self::$variable with Class:$variable for PHP 5.3
hosts
2017-02-15 18:27:52 -05:00
Vlad
793b8ce29e Deletes custom fields associations when bulk deleting subscribers 2017-02-15 15:40:26 -05:00
Vlad
e7698b0131 Optimizes DB query and result processing code 2017-02-15 10:02:13 -05:00
Vlad
440b7e4e6c Fixes DB query that returns large result set when there are thousands of
subscribers
2017-02-14 21:07:40 -05:00
mrcasual
3567779faf Merge pull request #792 from mailpoet/remove_all_lists_fix
Fix 'Subscribers without a list' filter not showing unsubscribed subscribers [MAILPOET-789]
2017-01-19 20:47:58 -05:00
Alexey Stoletniy
4d3c90ce0d Exclude trashed and multiple-list subscribers [MAILPOET-789] 2017-01-19 23:04:29 +03:00
Alexey Stoletniy
1102467e39 Fix 'Subscribers without a list' filter not showing unsubscribed subscribers [MAILPOET-789] 2017-01-19 17:36:28 +03:00
Alexey Stoletniy
a4d9d55b09 Fix code style [MAILPOET-780] 2017-01-18 19:37:16 +03:00
Alexey Stoletniy
8cf918013d Fix MySQL strict mode error when saving a subscriber without first or last name [MAILPOET-780] 2017-01-18 19:06:33 +03:00
Alexey Stoletniy
d5a1d94bca Wipe unconfirmed subscriber data during import [MAILPOET-760] 2016-12-30 10:53:29 +03:00
Alexey Stoletniy
95f8f130ea Update subscriber data on repeated subscriptions [MAILPOET-760] 2016-12-29 15:29:32 +03:00
Vlad
98c6c29716 - Limits the length of subscriber token to allow for smaller URL data
objects
2016-12-18 23:08:07 -05:00
Tautvidas Sipavičius
c658778476 Merge pull request #723 from mailpoet/bounced_subscribers
Add 'Bounced' status to subscribers [MAILPOET-684]
2016-11-29 12:47:41 +02:00
Alexey Stoletniy
36b935b9ae Add 'Bounced' status to subscribers [MAILPOET-684]
Fix SubscriberTest->testItHasGroupFilter() making only one of four assertions due to lack of data.
Fix a small issue with Import. Unexpected values for the status field were converted to 'unconfirmed' rather than 'subscribed' due to non-strict comparison in in_array(). This hindered 'bounced' status import as well.
2016-11-28 19:37:47 +03:00
Vlad
6f49201393 - Extends save() method to convert emails to lowercase format 2016-11-22 12:13:13 -05:00
Vlad
d8b1be9ccc - Deletes related custom fields when deleting subscriber
- Updates unit tests
2016-11-21 22:38:43 -05:00
Tautvidas Sipavičius
58f97ea43d Merge pull request #711 from mailpoet/issue_645
[MAILPOET-645] Protect some fields from being specified when subscribing
2016-11-14 18:39:27 +02:00