Commit Graph

517 Commits

Author SHA1 Message Date
Jan Jakeš
b7294bd86c Move cron-scheduling logic from SimpleWorker to CronWorkerRunner
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
Jan Jakeš
07fc94f046 Fix Carbon-related problems reported by PHPStan
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
Jan Jakeš
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
Amine Ben hammou
df628ad78d Use SubscribersRepository instead of Subscriber model
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
Amine Ben hammou
d0369e96c9 Add warning to stats notification
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
Jan Jakeš
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
a012984a7a Move array_column polyfill to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Amine Ben hammou
371b6a2824 Remove tasks if processing requirements are false
[MAILPOET-2530]
2019-11-25 15:43:57 +00:00
Jan Jakeš
dc5e2ae386 Simplify WorkersFactory using DI and making it container-aware
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
382df5e034 Pass cron worker timer in process() method instead of a constructor
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
afecae15f5 Extract scheduling logic from SimpleWorker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
59ac38cabd Use processTaskStrategy() instead of custom logic in Bounce worker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
ac794aaca2 Use processTaskStrategy() instead of custom logic in Migration worker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
8a8b34e554 Remove useless method
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
cd93940940 Make static methods in cron workers non-static
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
ba41f4901e Move SQL queries from SimpleWorker to model, improve naming
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
c1d5c8068d Use DI for cron triggers
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
7a91641d11 Make cron triggers non-static
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
b1aed487be Simplify CronTrigger methods list & its usage
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Pavel Dohnal
69b79b4f6c Fix types
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Pavel Dohnal
2f262bc8ac Make sure value is correct
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Pavel Dohnal
650f9a8c90 Use proper check for existence
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Jan Jakeš
15acedc94f Remove static (mis)usages of Mailer::getMailerConfig()
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
Jan Jakeš
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
Pavel Dohnal
1418abbdb1 Better method name
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
ab1e398241 Move function to a better repository
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
8fa6321b7e Remove redundant property
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
37a97d966f Use better alias for queries
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
0e6ee238e9 Remove code that is not needed
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
cf08200c5d Rename functions
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
0b88eccc91 Remove unneeded join
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
5b6b21b23f Make method more clear
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
f1934ff880 Use a better name for method
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
ac9761228a Simplify fetching a single result from database
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
95564cfa32 Use doctrine in stats notifications for auto emails
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
5a2edff9fe Add newsletter statistics to doctrine
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
ad6e6009d2 Use Newsletter Link Entity in Stats Notifications
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
6b338a14fc Use doctrine in stats notifications worker
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
c6c7320737 Use Doctrine in Scheduler
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
368ed59f2a Create a new repository
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
16926f609a Use newsletter entity in Stats Notifications
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
92bbb3f4e8 Create StatsNotifications entity
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Rostislav Wolny
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
Pavel Dohnal
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