Commit Graph

422 Commits

Author SHA1 Message Date
0b88eccc91 Remove unneeded join
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
5b6b21b23f Make method more clear
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
f1934ff880 Use a better name for method
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
ac9761228a Simplify fetching a single result from database
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
95564cfa32 Use doctrine in stats notifications for auto emails
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
5a2edff9fe Add newsletter statistics to doctrine
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
ad6e6009d2 Use Newsletter Link Entity in Stats Notifications
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
6b338a14fc Use doctrine in stats notifications worker
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
c6c7320737 Use Doctrine in Scheduler
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
368ed59f2a Create a new repository
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
16926f609a Use newsletter entity in Stats Notifications
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
92bbb3f4e8 Create StatsNotifications entity
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
wxa
8fb18e7c2e Extract usage of emoji encoding from the sending queue model [MAILPOET-2460] 2019-10-24 10:57:36 +01:00
a42a971efd Move GA tracking to free
[MAILPOET-2397]
2019-10-23 17:34:07 +01:00
wxa
f4267a6f03 Process each entry only once in unsubscribe tokens worker [MAILPOET-2447] 2019-10-21 12:44:15 +01:00
wxa
b8334cb843 Do not progressively reschedule on cron execution timeout [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
wxa
622ae8d4df Deactivate inactive subscribers by ID range for performance reasons [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
73bc62227a Replace log topics strings by constants
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
e4262b0a6d Refactor Cron to use logger_factory instance
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
beccbea6e2 Refactor Mailpoet\Logging\Logger to LoggerFactory
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
1f2e1f9e4a Rename WooCommerceOrders job to WooCommercePastOrders
[MAILPOET-2465]
2019-10-10 12:09:35 +01:00
e0244c771a Rename WooCommerce orders job to restart it even when completed
[MAILPOET-2465]
2019-10-10 12:09:35 +01:00
21158abe49 Rename $queue variable to $sending_task to make code more undestandable
[MAILPOET-2458]
2019-10-10 12:04:07 +01:00
260b9baeae Clean all previous stats records per-order before inserting new ones
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
4e15aad794 Rename meta record for last ID to restart WooCommerce purchase cron
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
wxa
c7b0f50c4c Store the in_progress flag for all workers [MAILPOET-2443] 2019-10-08 15:03:48 +01:00
wxa
f98ed72d83 Store the 'in_progress' flag for workers in a separate column [MAILPOET-2443] 2019-10-08 15:03:48 +01:00
5214e93787 Add sniff for use empty line spacing, fix found occurences
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
4fbf8ed7be Replace unsubscribe link short code strings by constant
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
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
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