Commit Graph

183 Commits

Author SHA1 Message Date
ba119846f2 Prevent blocking confirmation emails for admin
[MAILPOET-2159]
2019-08-12 12:23:59 +01:00
8739646a6a Move mailer configuration to init method
[MAILPOET-2146]
2019-07-24 13:54:49 -04:00
1aa03dc80e Use last_subscribed_at for inactive subscribers detection
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
0b40475e7a Set last_subscribed_at within subscribers import
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
b3cdf74fa6 Handle duplicities gracefully
[MAILPOET-2157]
2019-07-22 11:20:38 -04:00
512bb0f7fe Fix MailChimp import
[MAILPOET-2157]
2019-07-22 11:20:38 -04:00
wxa
7f40e5b512 Clean up unused imports [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
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