Commit Graph

176 Commits

Author SHA1 Message Date
62a7d17582 Prevent showing mailer errors to subscribers
[MAILPOET-2120]
2019-06-26 11:21:12 -04:00
561649b25e Reject role-based email address on import
[MAILPOET-2101]
2019-06-20 11:51:46 -04:00
f86c0c9612 Refactor authorized emails validation from Bridge to Controller
[MAILPOET-2022]
2019-06-03 12:54:24 -04:00
ced9c549f6 Prevent sending confirmation emails when address is unauthorized
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
aa105effc7 Fix silent errors in confirmation mailer
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
879a36e0f2 Rename translation functions 2019-05-21 09:04:00 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
12ff88ee21 Add rule for 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
9f16cb6a5f Check for unused privates
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
fcf5fe1d5d Move code snipper to its own directory
Because our main composer has php engine specified as 5.6
we cannot use tools and libraries dependent on php 7

[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
02ead5bedc Reactivate subscribers created before recent MP2 migration
[MAILPOET-2040]
2019-05-15 07:26:46 -04:00
279289cb34 Do not deactivate subscribers when mp2 migration completed recently
[MAILPOET-2040]
2019-05-15 07:26:46 -04:00
591f75c49a Replace uniqid with random_bytes 2019-05-02 09:47:01 -04:00
wxa
12d2b9b46a Add WooCommerce checkout opt-in functionality [MAILPOET-1483] 2019-04-29 09:33:12 -04:00
9cba72edb2 Fix coding style issues
[MAILPOET-2003]
2019-04-25 11:41:02 -04:00
f5d154d680 Reactivate all inactive subscribers when inactive interval is set to never
[MAILPOET-2003]
2019-04-25 11:41:02 -04:00
a8584523d3 Consider also confirmed_at for subscribers deactivation
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
7b433a4273 Add reactivation of recently active subscribers
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
9edace78f0 Add inactive subscribers deactivation
[MAILPOET-1971]
2019-04-22 10:58:13 -04:00
3e66e9e1dd Fix phpstan level 6
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
46a0b7501b Update phpstan to level 5
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
e8a2b970df Send text version of confirmation email
[[MAILPOET-1966]
2019-04-10 06:36:47 -04:00
6493f7ceb4 Validate only fields in form
[MAILPOET-1828]
2019-04-08 10:35:20 -04:00
08a3a66f4c Cleanup export files after some time
[MAILPOET-1894]
2019-04-03 12:46:45 -04:00
c5b5d8f45d Downgrade PHPStan level to 4
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
f3f769316a Upgrade PHPStan level to 5
[MAILPOET-1915]
2019-03-21 14:02:59 -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
wxa
59622cd5a0 Move bulkSendConfirmationEmail() method out of the Subscriber model [MAILPOET-1922] 2019-03-21 08:30:45 -04:00
2330532f35 Use default sender
[MAILPOET-1868]
2019-03-12 07:35:00 -04: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
1868d1e45f Add a lazy instantiation of Mailer in NewSubscriberNofiticationMailer
[MAILPOET-1823]
2019-02-25 06:38:25 -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
100db25ed9 Add space between while and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a8972ca281 Add space between switch 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
90d369a721 Fix fatal error with confirmation email sending thru MP API
[MAILPOET-1801]
2019-02-11 11:14:35 -05:00
ce7ad292b8 Refactor MailPoet\Subscribers, Subscription to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
b663d9761e Encapsulate is_user_logged_in function 2019-01-30 13:59:49 +01:00
8e51a56426 Limit number of confirmation emails sent to one email
MAILPOET-1734
2019-01-30 13:59:49 +01:00
0e3f27add3 Merge pull request #1728 from mailpoet/stats-notifications
Stats notifications [ MAILPOET-1571]
2019-01-28 13:22:21 -05:00
59418efa99 Merge pull request #1746 from mailpoet/phpstan-cleanup
Raise PHPStan strictness level to 1
2019-01-28 10:47:24 -05:00
b66c724c4a Fix tests
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00