Commit Graph

209 Commits

Author SHA1 Message Date
c1c2d0a102 Hide WooCommerce segments when WooCommerce is not active
[MAILPOET-2163]
2019-08-15 10:44:57 +01:00
1eecd65b3e Add unsubscribe token to new subscribers and newsletters 2019-07-31 16:50:44 -04:00
55b4635051 Update last_subscribed_at on a change
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
2456c2de7d Add last_subscribed_at to Subscriber model
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
0bb18b62b2 Add inactive subscribers notice
[MAILPOET-2088]
2019-06-20 09:22:12 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
d5ccca1966 Don't look up a subscriber for guest WP users [MAILPOET-2047] 2019-05-13 11:12:10 -04:00
8b6fd78cfa [MAILPOET-1898] 2019-04-23 12:33:15 -04:00
b76010ab2d Change subscriber groups order
[MAILPOET-1973]
2019-04-17 08:16:45 +02:00
f6a30dba38 Count inactive subscribers towards subscribers limit
[MAILPOET-1970]
2019-04-11 09:18:19 -04:00
be777c20aa Add new "inactive" subscriber status
[MAILPOET-1970]
2019-04-11 09:18:19 -04:00
3e66e9e1dd Fix phpstan level 6
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
21766421d5 Upgrade PHPStan level to 4
I had to add some ignore errors until phpstan/phpstan#1482 is resolved

[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
7d6f69ec1d Upgrade PHPStan level to 3
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
wxa
59622cd5a0 Move bulkSendConfirmationEmail() method out of the Subscriber model [MAILPOET-1922] 2019-03-21 08:30:45 -04:00
bee5e2f5d1 Return Subscriber::subscribe static method
This method is used by Thrive Leads plugin
[MAILPOET-1865]
2019-03-07 08:48:31 -05:00
ab097d356a Fix PHPStan errors 2019-03-07 08:30:14 -05:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
bed80e67f1 Use phpstan level 2
[MAILPOET-1822]
2019-02-21 13:49:52 -05:00
wxa
fb77167a1f Remove unused imports [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
wxa
7528f0f52b Move subscribe() method to a separate class an make it non-static [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
a935b091d3 Add space between elseif/else 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
3a7ea60d3f Refactor MailPoet\Model to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
44b27c32ce Fix undefined property 2019-01-29 08:25:32 +01:00
59418efa99 Merge pull request #1746 from mailpoet/phpstan-cleanup
Raise PHPStan strictness level to 1
2019-01-28 10:47:24 -05:00
1af4666744 Declare missing properties and methods for PHPStan 2019-01-23 21:30:24 +02:00
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
a9f3eeeb0d User polyfill for array_column
[MAILPOET-1618]
2018-11-27 11:13:00 +01:00
03ca022596 Fix bulk re-sending confirmation emails for subscribers
[MAILPOET-1598]
2018-10-22 10:08:35 +02:00
654dd1e8d0 Rename Send classes
[MAILPOET-1522]
2018-10-15 13:06:19 +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
ae0e03d2f3 Update code for PHP 5.5
[MAILPOET-1496]
2018-08-23 12:10:21 +02:00
71fed489ec Improve error reporting in API
[MAILPOET-1290]
2018-06-12 10:32:20 +01:00
1af5802030 Add subscriber source
[MAILPOET-1377]
2018-05-14 13:55:47 +01:00
8e13eb50bf Export lists for email
[MAILPOET-1354]
2018-05-03 16:33:22 +01:00
c8f334d782 Prevents overwriting global subscription status 2018-02-16 14:46:34 +00:00
0271675cd0 Use dynamic segments for sending queue
[PREMIUM-38]
2017-10-18 10:08:04 +01:00
9f5fc151b4 Move throttling out of the Subscriber model to the API 'subscribe' method [MAILPOET-1115] 2017-09-28 15:45:35 +01:00
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
c8d92b3cd2 Default status is set depending on the signup confirmation option 2017-08-31 18:48:43 -04:00
7e9de1fd07 Fix php notice 2017-08-30 11:25:42 +02:00
8a8108b41d Prevents WP subscribers' first/last name from being erased when updating
subscription
2017-08-24 13:19:42 -04:00
77ed4d34e8 Uses Helper's replaceLinkTags method to replace activation link in
subscription confirmation email
2017-07-08 12:00:45 -04:00
d27968a215 Uses WP's is_email() to validate email addresses in Subscriber model 2017-06-04 18:19:37 -04:00