Commit Graph

53 Commits

Author SHA1 Message Date
2435cc556f Inject WooCommerce helper for statistics
[MAILPOET-1853]
2019-05-13 12:26:23 -04:00
wxa
2980bbf00b Remove the feature flag [MAILPOET-1983] 2019-05-13 10:47:09 -04:00
wxa
251ff637cb Reschedule WP sync if the task is timed out [MAILPOET-1983] 2019-05-13 10:47:09 -04:00
wxa
6c13bc3104 Use a meta field to store the in-progress flag [MAILPOET-1983] 2019-05-13 10:47:09 -04:00
wxa
02020b8271 Don't run multiple instances of WC sync, don't check timer after completion [MAILPOET-1983] 2019-05-13 10:47:09 -04:00
97ad463d5b Replace Stub:: with $this-> in DaemonHttpRunnerTest
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
ea4516d36f Remove useless method mocks
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
b3751ca775 Fix tests that were not testing what they should
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
9458a0c0ea Fix DaemonHttpRunnerTest for rewritten Daemon
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
835c8d2d26 Fix DaemonTest for rewritten Daemon
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
75288ad023 Remove useless (and duplicit) test from DaemonTest
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
f5d154d680 Reactivate all inactive subscribers when inactive interval is set to never
[MAILPOET-2003]
2019-04-25 11:41:02 -04:00
daca92097c Add feature switch for woo commerce list sync
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
f39853846b Enable WooCommerceSync worker
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
8be29b0863 Skip subscribes deactivation when tracking is disabled
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
5d70af106b Add execution of inactive subscribers worker
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
7eb0e23d22 Add cron worker for inactive subscribers
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
a9856473a3 Remove unnecessary code
[MAILPOET-1970]
2019-04-11 09:18:19 -04:00
814fc7c078 Test that inactive subscribers don't recieve newsletters
[MAILPOET-1970]
2019-04-11 09:18:19 -04:00
08a3a66f4c Cleanup export files after some time
[MAILPOET-1894]
2019-04-03 12:46:45 -04:00
658f4a6eb1 Add tests 2019-02-28 15:56:40 -05:00
6048ccba85 Inject CronTrigger into Initializer
[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
3ee58aea10 Add space between 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
fba2914392 Add space between for and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
wxa
4335872280 Add WooCommerce sync tests [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
10e56d860d Move Setting getValue and setValue to controller as a private methods
[MAILPOET-1757]
2019-01-31 15:57:59 +01: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
4c6e76dd44 Add SettingsController cache reset to integration tests
[MAILPOET-1757]
2019-01-31 14:51:07 +01:00
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01: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
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
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
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
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