Commit Graph

436 Commits

Author SHA1 Message Date
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
Rostislav Wolny
7dba4d900c Rename Subscription\Url to Subscription\SubscriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
d90d5c6385 Refactor getUnsubscribeUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Amine Ben hammou
692ff1ed22 Use getToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
f1ee32399f Use array_column from Util
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
777cf0bdd7 Add meta when sending newsletters
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Amine Ben hammou
d40747e0ac Add meta when sending stats notifications
[MAILPOET-2333]
2019-09-22 10:58:17 +02:00
Pavel Dohnal
11b2516d99 Make sure only subscribed users recieve welcome emails
[MAILPOET-2331]
2019-09-19 16:18:26 +02:00
Rostislav Wolny
ac09343910 Don't mark obsolete tokens as deprecated
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
2b02d22232 Modify cron to generate short link_tokens
[MAILPOET-2364]
2019-09-17 17:47:57 +02:00
Rostislav Wolny
d00e260550 Fix hardcoded wp_post table in WooCommerce orders processing
[MAILPOET-2361]
2019-09-16 13:00:40 +02:00
Amine Ben hammou
ec3b5ca1e3 Optimize the SQL query
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
Amine Ben hammou
69f011f63c Add missing use statements
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
Amine Ben hammou
459dc8bff8 Schedule the task only when needed
[MAILPOET-2313]
2019-09-12 17:32:05 +02:00
Amine Ben hammou
36322978ae Add Cron task to generate link_tokens for existing subscribers 2019-09-12 17:32:05 +02:00
Amine Ben hammou
3ea9c99090 Use link_token when tracking and rendering links 2019-09-12 17:32:05 +02:00
Amine Ben hammou
d6a29e1b91 Schedule it immediately if needed
[MAILPOET-2340]
2019-09-12 14:59:02 +02:00
Jan Jakeš
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
Pavel Dohnal
493e16606c Move constans to their classes
[MAILPOET-2348]
2019-09-11 19:16:21 +01:00
Pavel Dohnal
3f3983113a Remove unused argument
[MAILPOET-2219]
2019-08-28 12:48:22 -04:00
Pavel Dohnal
11aebe2e05 Fix notice
[MAILPOET-2267]
2019-08-21 14:34:14 -04:00
Amine Ben hammou
83d9c85737 Use the rendered subject in stats email 2019-08-09 19:27:27 +01: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
Amine Ben hammou
1600e4c5ee Add unsubscribe token to existing subscribers and newsletters 2019-07-31 16:50:44 -04:00
Rostislav Wolny
9ddc737b79 Fix stats notification scheduling after sending a post notification
[MAILPOET-2231]
2019-07-31 15:22:14 -04:00
Ján Mikláš
2b8325a738 Remove feature flag for woocommerce revenues
[MAILPOET-1990]
2019-07-30 04:31:28 -04:00
Pavel Dohnal
6d414a1695 Use value that is properly saved
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
Pavel Dohnal
1069cef646 Add spacer to end of template
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
Pavel Dohnal
e330fe1713 Fill templates
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
Pavel Dohnal
7a978a3098 Create a newsletter and send it
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
Pavel Dohnal
d58b2ed40e Refactor code to the common place
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
Pavel Dohnal
8f5fb52f15 Check settings before processing task
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
Pavel Dohnal
8a86a473df Create worker
[MAILPOET-1859]
2019-07-29 09:01:22 -04:00
Pavel Dohnal
8739646a6a Move mailer configuration to init method
[MAILPOET-2146]
2019-07-24 13:54:49 -04:00
wxa
7f40e5b512 Clean up unused imports [MAILPOET-2208] 2019-07-19 08:54:50 -04:00
Pavel Dohnal
b297929943 Add stats link for free user
[MAILPOET-2119]
2019-07-10 07:01:34 -04:00
Jan Jakeš
0ea8715ef0 Add feature flag for WooCommerce orders sync job
[MAILPOET-2165]
2019-07-03 09:48:28 -04:00
Amine Ben hammou
7fba1be402 Fix code style and add checks 2019-06-27 08:38:33 -04:00
Amine Ben hammou
ac54e198bf Add test 2019-06-27 08:38:33 -04:00
Amine Ben hammou
d980f9e3f4 Update last announcement date automatically 2019-06-27 08:38:33 -04:00
Amine Ben hammou
2fe193d5d9 Add Beamer Worker 2019-06-27 08:38:33 -04:00
Pavel Dohnal
6ff194e8e5 Replace shortcodes with human readable text
[MAILPOET-2085]
2019-06-27 07:23:16 -04:00
Jan Jakeš
574f10b029 Add background job to track historical WooCommerce revenues
[MAILPOET-1857]
2019-06-25 11:06:19 -04:00
Pavel Dohnal
e1e96d0c12 Reschedule bounce task
[MAILPOET-2100]
2019-06-21 11:33:08 -04:00
Pavel Dohnal
7163ee6430 Refactor Scheduler to use DI
[MAIPOET-2100]
2019-06-21 11:33:08 -04:00