Commit Graph

312 Commits

Author SHA1 Message Date
f3f769316a Upgrade PHPStan level to 5
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
5621d1df25 Set newsletter's ID when sending preview or actual newsletter
[MAILPOET-1882]
2019-03-21 13:15:29 -04:00
2330532f35 Use default sender
[MAILPOET-1868]
2019-03-12 07:35:00 -04:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
b5bc6ec3c6 Remove ununsed method 2019-02-28 15:56:40 -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
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
9e9561e576 Add space between catch 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
wxa
eb860c487b Add a scheduled task for WooCommerce sync [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
a12d0ff4bc Refactor newly added cron workers to use new settings
[MAILPOET-1757]
2019-01-31 15:57:59 +01:00
ff238bf69a Refactor MailPoet\Cron 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
9f533ad5c7 Fix undefined method 2019-01-29 08:17:55 +01:00
0e3f27add3 Merge pull request #1728 from mailpoet/stats-notifications
Stats notifications [ MAILPOET-1571]
2019-01-28 13:22:21 -05:00
d7db761f73 Add text template
[MAILPOET-1571]
2019-01-28 14:16:43 +01:00
3eb640597b Fix rates
[MAILPOET-1571]
2019-01-28 11:09:06 +01:00
06370ea245 Fix links
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
9eeda50b07 Render newsletters without clicked links
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
e76f8d5159 Prevent sending stats newsletter if tracking is disabled
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
627088e43d Add condition to WordPress trigger method
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
b66c724c4a Fix tests
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
1db75f40fb Add statistics to template
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
3bd80aecd3 Move dependencies creation to DI container
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
ef5eba31d1 Add test
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
96f2f79d48 Refactor Stats notifications to spearate classes
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
6452e83476 Only schedule notification for standard newsletters
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
1d34613b17 Schedule a notification
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
d346a44974 Use a separate table instead of sending_queue
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
9080b5260e Create a new table for stats notification
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
423341abb0 Add stats notifications email scheduler
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
75761d57ed Refactor Daemon to use DI
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00
44bc27df90 Define default variable values in cases when they can be undefined 2019-01-23 21:29:46 +02:00
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
wxa
0573a7915e Merge pull request #1689 from mailpoet/wp-functions
Encapsulating WP calls
2018-12-27 11:05:08 +03:00
wxa
a1fa3dcd28 Use a default subject if a rendered newsletter subject is empty [MAILPOET-1462] 2018-12-13 22:13:01 +03:00
a46d98ec44 Refactor WPFunctions to be injectable with DI 2018-12-12 16:43:52 +01:00
0e4de4197d Merge pull request #1651 from mailpoet/array-column-fix
User polyfill for array_column [MAILPOET-1618]
2018-11-27 07:51:31 -05:00
a9f3eeeb0d User polyfill for array_column
[MAILPOET-1618]
2018-11-27 11:13:00 +01:00
wxa
467bef1d61 Do not require pluggable.php [MAILPOET-1650] 2018-11-22 17:01:33 +03:00
8557cbccb1 Refactor SimpleWorker to be more expressive (so PHPStan understands it) 2018-11-15 11:41:04 +01:00
1e7542848a Merge pull request #1556 from mailpoet/arrays-to-objects
Replace entity arrays with objects [MAILPOET-1495]
2018-10-22 14:59:12 -04:00
fd893cec0e Remove newsletter logging where is no newsletter
[MAILPOET-1595]
2018-10-18 09:07:32 +02:00
b45c47a9e7 Update SubscriberFinder and Scheduler to use object entities
[MAILPOET-1495]
2018-10-12 11:26:23 +02:00
e4db455a47 Add post notification logging
[MAILPOET-1536]
2018-10-01 15:02:12 +02:00
665fce9dbb Temporarily set every sending error to hard
This is temporary solution until we implement follow-up feature https://mailpoet.atlassian.net/browse/MAILPOET-1155

[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
624c6d900e Add processing of soft errors
When processing soft error we only save error to particular subscriber and continue sending.

[MAILPOET-1154]
2018-09-13 11:12:38 +02:00
ea4c5f46fb Refactor sendingQueue to distinguish bulk/individual sending method
[MAILPOET-1154]
2018-09-13 11:12:38 +02:00