Commit Graph

51 Commits

Author SHA1 Message Date
Jan Jakeš
5214e93787 Add sniff for use empty line spacing, fix found occurences
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Rostislav Wolny
7dba4d900c Rename Subscription\Url to Subscription\SubscriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
653dbe5783 Remove aspect mock from Confirmation mailer test
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Amine Ben hammou
ab63bde9ed Add LinkTokens service
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
3dcde4170e Add meta when sending new subscriber notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
eebe6e828f Add meta when sending confirmation emails
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Rostislav Wolny
d6d9885a1e Add link_token for new subscribers during import
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Amine Ben hammou
a71e7ff1eb Update integration tests
[MAILPOET-2328]
2019-09-12 15:45:34 +02:00
Amine Ben hammou
25ddc80a9a Optimize SQL query using temporary table 2019-08-27 16:46:46 -04:00
Ján Mikláš
c547d348e0 Fix tests
[MAILPOET-2187]
2019-08-20 13:09:35 -04:00
Amine Ben hammou
1eecd65b3e Add unsubscribe token to new subscribers and newsletters 2019-07-31 16:50:44 -04:00
Rostislav Wolny
1aa03dc80e Use last_subscribed_at for inactive subscribers detection
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
Rostislav Wolny
0b40475e7a Set last_subscribed_at within subscribers import
[MAILPOET-1993]
2019-07-23 09:57:46 -04:00
wxa
7f40e5b512 Clean up unused imports [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
Pavel Dohnal
62a7d17582 Prevent showing mailer errors to subscribers
[MAILPOET-2120]
2019-06-26 11:21:12 -04:00
Rostislav Wolny
f86c0c9612 Refactor authorized emails validation from Bridge to Controller
[MAILPOET-2022]
2019-06-03 12:54:24 -04:00
Rostislav Wolny
8f79d01334 Fix coding style errors
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Rostislav Wolny
ced9c549f6 Prevent sending confirmation emails when address is unauthorized
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Pavel Dohnal
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Pavel Dohnal
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Rostislav Wolny
296ad974d8 Improve readability of inactive subscribers controller test
[MAILPOET-2040]
2019-05-15 07:26:46 -04:00
Rostislav Wolny
02ead5bedc Reactivate subscribers created before recent MP2 migration
[MAILPOET-2040]
2019-05-15 07:26:46 -04:00
Rostislav Wolny
279289cb34 Do not deactivate subscribers when mp2 migration completed recently
[MAILPOET-2040]
2019-05-15 07:26:46 -04:00
wxa
2fd244528d Move assorted tests from integration to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
wxa
f2e0dc7d2f Refactor URL helper to DI and move its test to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
Rostislav Wolny
f5d154d680 Reactivate all inactive subscribers when inactive interval is set to never
[MAILPOET-2003]
2019-04-25 11:41:02 -04:00
Rostislav Wolny
a8584523d3 Consider also confirmed_at for subscribers deactivation
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Rostislav Wolny
7b433a4273 Add reactivation of recently active subscribers
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Rostislav Wolny
9edace78f0 Add inactive subscribers deactivation
[MAILPOET-1971]
2019-04-22 10:58:13 -04:00
Pavel Dohnal
46a0b7501b Update phpstan to level 5
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
Pavel Dohnal
6493f7ceb4 Validate only fields in form
[MAILPOET-1828]
2019-04-08 10:35:20 -04:00
Pavel Dohnal
2330532f35 Use default sender
[MAILPOET-1868]
2019-03-12 07:35:00 -04: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
Ján Mikláš
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
a935b091d3 Add space between elseif/else if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Ján Mikláš
fba2914392 Add space between for and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
Rostislav Wolny
90d369a721 Fix fatal error with confirmation email sending thru MP API
[MAILPOET-1801]
2019-02-11 11:14:35 -05:00
Rostislav Wolny
ce7ad292b8 Refactor MailPoet\Subscribers, Subscription to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01:00
Rostislav Wolny
4c6e76dd44 Add SettingsController cache reset to integration tests
[MAILPOET-1757]
2019-01-31 14:51:07 +01:00
Amine Ben hammou
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
Ján Mikláš
f96e65dc15 Add integration test for limiting confirmation emails 2019-01-30 13:59:49 +01:00
Pavel Dohnal
b66c724c4a Fix tests
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
Ján Mikláš
4260960b59 Fix typos - subsciber => subscriber 2018-12-15 13:08:47 +01:00
Pavel Dohnal
a9f3eeeb0d User polyfill for array_column
[MAILPOET-1618]
2018-11-27 11:13:00 +01:00