Commit Graph

544 Commits

Author SHA1 Message Date
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
wxa
81caa04479 Use CronHelper service in cron workers [MAILPOET-2459] 2019-11-06 09:58:36 +00:00
wxa
3436fed6e7 Use CronHelper service in cron core classes [MAILPOET-2459] 2019-11-06 09:58:36 +00:00
wxa
ed7784d945 Refactor CronHelper to a service [MAILPOET-2459] 2019-11-06 09:58:36 +00:00
1418abbdb1 Better method name
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
ab1e398241 Move function to a better repository
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
8fa6321b7e Remove redundant property
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
37a97d966f Use better alias for queries
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
0e6ee238e9 Remove code that is not needed
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
cf08200c5d Rename functions
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
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
c280b2bd55 Add configuration check to Linux Cron
[MAILPOET-2507]
2019-11-04 20:38:24 +00:00
wxa
8f4321487b Remove AspectMock from CronHelperTest [MAILPOET-2464] 2019-10-30 23:22:48 +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