Commit Graph

551 Commits

Author SHA1 Message Date
44c6e5db91 Ensure that unsubscribe link is always saved before sending
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
wxa
26041d61a7 Fix rescheduling of outdated tasks [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
12c526e120 Merge SingleInstanceSimpleWorker into SimpleWorker [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
0805dc365f Make startProgress() and stopProgress() methods private [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
2a48d0846d Move exception handling from concrete workers into processTask() [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
2a0bf3f3c8 Extract rescheduling out of the isInProgress() check [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
f598137f3b Ensure that getMeta() returns an array in the scheduled task model [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
ce645306a5 Use single instance protection for inactive subscribers sync [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
9b1f7f2d8c Refactor WooCommerce sync worker to use common single instance protection [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
wxa
b5106d9d42 Add a single-instance simple worker [MAILPOET-2385] 2019-09-30 14:18:08 +01:00
1bedf1fd1a Allow modifing cron limits
[MAILPOET-2367]
2019-09-25 13:21:17 +01:00
7dba4d900c Rename Subscription\Url to Subscription\SubscriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
d90d5c6385 Refactor getUnsubscribeUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
692ff1ed22 Use getToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
f1ee32399f Use array_column from Util
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
777cf0bdd7 Add meta when sending newsletters
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
d40747e0ac Add meta when sending stats notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
11b2516d99 Make sure only subscribed users recieve welcome emails
[MAILPOET-2331]
2019-09-19 16:18:26 +02:00
ac09343910 Don't mark obsolete tokens as deprecated
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
2b02d22232 Modify cron to generate short link_tokens
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
d00e260550 Fix hardcoded wp_post table in WooCommerce orders processing
[MAILPOET-2361]
2019-09-16 13:00:40 +02:00
ec3b5ca1e3 Optimize the SQL query
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
69f011f63c Add missing use statements
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
459dc8bff8 Schedule the task only when needed
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
75017d93ba Reduce scheduling priority
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
36322978ae Add Cron task to generate link_tokens for existing subscribers 2019-09-12 17:32:05 +02:00
3ea9c99090 Use link_token when tracking and rendering links 2019-09-12 17:32:05 +02:00
d6a29e1b91 Schedule it immediately if needed
[MAILPOET-2340]
2019-09-12 14:59:02 +02:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
493e16606c Move constans to their classes
[MAILPOET-2348]
2019-09-11 19:16:21 +01:00
3f3983113a Remove unused argument
[MAILPOET-2219]
2019-08-28 12:48:22 -04:00
4588d9ee67 Remove unused parameter from pingDaemon
[MAILPOET-2290]
2019-08-23 12:12:12 -04:00
89ed90dddb Fix task scheduler isReachable status
[MAILPOET-2290]
2019-08-23 12:12:12 -04:00
11aebe2e05 Fix notice
[MAILPOET-2267]
2019-08-21 14:34:14 -04:00
a3411d0a15 Disable Tracy debug bar in tests
[MAILPOET-2239]
2019-08-12 14:43:37 +02:00
83d9c85737 Use the rendered subject in stats email 2019-08-09 19:27:27 +01:00
wxa
2d8484deb9 Make WP cron trigger run without time interval by default [MAILPOET-2251] 2019-08-06 12:13:54 +01:00
wxa
cd3cfbe1ab Make cron able to stop itself if the cron trigger is WordPress [MAILPOET-2181] 2019-08-01 13:09:18 -04:00
wxa
c4f2be2edf Clear the in_progress flag if WC sync task fails [MAILPOET-2202] 2019-08-01 13:09:18 -04:00
wxa
8b867a7b4f Reschedule failing cron tasks progressively [MAILPOET-2181] 2019-08-01 13:09:18 -04:00
wxa
e1b8462254 Execute WordPress cron trigger with a time interval [MAILPOET-2181] 2019-08-01 13:09:18 -04:00
1600e4c5ee Add unsubscribe token to existing subscribers and newsletters 2019-07-31 16:50:44 -04:00
9ddc737b79 Fix stats notification scheduling after sending a post notification
[MAILPOET-2231]
2019-07-31 15:22:14 -04:00
2b8325a738 Remove feature flag for woocommerce revenues
[MAILPOET-1990]
2019-07-30 04:31:28 -04:00
6d414a1695 Use value that is properly saved
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
1069cef646 Add spacer to end of template
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
e330fe1713 Fill templates
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
dd9340c18c Give automated stats lower priority
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
7a978a3098 Create a newsletter and send it
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
d58b2ed40e Refactor code to the common place
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00