Commit Graph

217 Commits

Author SHA1 Message Date
Pavel Dohnal
7163ee6430 Refactor Scheduler to use DI
[MAIPOET-2100]
2019-06-21 11:33:08 -04:00
Rostislav Wolny
f86c0c9612 Refactor authorized emails validation from Bridge to Controller
[MAILPOET-2022]
2019-06-03 12:54:24 -04:00
wxa
4d45e97ec4 Add last seen error date to the system status page [MAILPOET-2083] 2019-05-21 11:07:26 -04:00
Rostislav Wolny
7711e7fed1 Enable authorized emails worker
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Rostislav Wolny
84f31484e9 Prevent automatic rescheduling of auth. emails check
[MAILPOET-1987]
2019-05-21 09:58:29 -04:00
Rostislav Wolny
cab9324f2c Add cron worker for authorized emails check
[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
9f16cb6a5f Check for unused privates
[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
wxa
6b4e1fc055 Add more logging for sending debugging [MAILPOET-2084] 2019-05-16 14:21:51 -04:00
Jan Jakeš
4b0beecdfb Convert 'display_revenues' setting to feature flag
[MAILPOET-2008]
2019-05-16 10:45:55 -04:00
Ján Mikláš
9f21ff1285 Fix checking if post notification email contains any ALC posts
[MAILPOET-2029]
2019-05-16 09:33:00 -04:00
Ján Mikláš
c6c9442588 Make PostsTask method non-static
[MAILPOET-2029]
2019-05-16 09:33:00 -04:00
Jan Jakeš
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
Jan Jakeš
97ad463d5b Replace Stub:: with $this-> in DaemonHttpRunnerTest
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
Jan Jakeš
ea4516d36f Remove useless method mocks
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
Jan Jakeš
b3751ca775 Fix tests that were not testing what they should
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
Jan Jakeš
9458a0c0ea Fix DaemonHttpRunnerTest for rewritten Daemon
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
Jan Jakeš
835c8d2d26 Fix DaemonTest for rewritten Daemon
[MAILPOET-2017]
2019-05-02 08:48:17 -04:00
Jan Jakeš
75288ad023 Remove useless (and duplicit) test from DaemonTest
[MAILPOET-2017]
2019-05-02 08:48:17 -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
daca92097c Add feature switch for woo commerce list sync
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
Rostislav Wolny
f39853846b Enable WooCommerceSync worker
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
Rostislav Wolny
8be29b0863 Skip subscribes deactivation when tracking is disabled
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Rostislav Wolny
5d70af106b Add execution of inactive subscribers worker
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Rostislav Wolny
7eb0e23d22 Add cron worker for inactive subscribers
[MAILPOET-1791]
2019-04-22 10:58:13 -04:00
Ján Mikláš
a9856473a3 Remove unnecessary code
[MAILPOET-1970]
2019-04-11 09:18:19 -04:00
Ján Mikláš
814fc7c078 Test that inactive subscribers don't recieve newsletters
[MAILPOET-1970]
2019-04-11 09:18:19 -04:00
Pavel Dohnal
08a3a66f4c Cleanup export files after some time
[MAILPOET-1894]
2019-04-03 12:46:45 -04:00
Amine Ben hammou
658f4a6eb1 Add tests 2019-02-28 15:56:40 -05:00
Rostislav Wolny
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
Ján Mikláš
3ee58aea10 Add space between 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
wxa
4335872280 Add WooCommerce sync tests [MAILPOET-1723] 2019-02-12 08:56:40 -05:00
Rostislav Wolny
10e56d860d Move Setting getValue and setValue to controller as a private methods
[MAILPOET-1757]
2019-01-31 15:57:59 +01:00
Rostislav Wolny
a12d0ff4bc Refactor newly added cron workers to use new settings
[MAILPOET-1757]
2019-01-31 15:57:59 +01:00
Rostislav Wolny
ff238bf69a Refactor MailPoet\Cron 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
Pavel Dohnal
d7db761f73 Add text template
[MAILPOET-1571]
2019-01-28 14:16:43 +01:00
Pavel Dohnal
3eb640597b Fix rates
[MAILPOET-1571]
2019-01-28 11:09:06 +01:00
Pavel Dohnal
06370ea245 Fix links
[MAILPOET-1571]
2019-01-28 10:56:01 +01:00