Commit Graph

825 Commits

Author SHA1 Message Date
ac794aaca2 Use processTaskStrategy() instead of custom logic in Migration worker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
cd93940940 Make static methods in cron workers non-static
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
ba41f4901e Move SQL queries from SimpleWorker to model, improve naming
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
4e8165c4b4 Fix MailPoet & WordPress cron trigger tests
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
f4c2dda560 Fix DaemonHttpRunnerTest
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
072aa54f37 Move CronTriggerTest from integration to unit
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
b1aed487be Simplify CronTrigger methods list & its usage
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
650f9a8c90 Use proper check for existence
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
5e5d4c3ff8 Ensure the correct instance
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
e3507a334e Use PHPMail as a fallback in WordPressMailer
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
15acedc94f Remove static (mis)usages of Mailer::getMailerConfig()
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
1da56efd32 Use mailer from DI in preview, remove $data['mailer'] param (misused for tests only)
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
8f029d8308 Remove unneeded non-DI fallbacks
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
wxa
93346ede3b Update tests [MAILPOET-2514] 2019-11-11 16:00:40 +00:00
wxa
68eb3ade6e Customize the WC transactional email template based on WC settings [MAILPOET-2339] 2019-11-06 17:06:07 +00:00
b0ef65a1eb Allow saving forms without name
[MAILPOET-2450]
2019-11-06 16:54:40 +00:00
7a960ff16e Setup basic layout classes for block editor
[MAILPOET-2450]
2019-11-06 16:54:40 +00:00
826ba18e14 Remove old Setting model and test
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
40c87d50fe Remove old Setting model from integration tests
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
7bddf631c5 Clear EntityManager also before tests
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
52e53181b9 Move default sender tests from old model to API test
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
388ced8b53 Remove static behavior from SettingsController
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
c91cd1255a Eliminate SettingsController creation in Helpscout Beacon
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
486e39af7c Eliminate SettingsController creation in analytics
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
456cdacf26 Use constants from SettingsController instead of Setting model
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
wxa
70c73295d7 Fix bulk trashing/deletion of subscribers with wp_user_id = 0 [MAILPOET-2489] 2019-11-06 16:22:37 +00:00
wxa
31d224ea4f Use CronHelper service in API and UI classes [MAILPOET-2459] 2019-11-06 09:58:36 +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
ab1e398241 Move function to a better repository
[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
16926f609a Use newsletter entity in Stats Notifications
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
9199c9f61a Check requirements when loading subscriber ids
[MAILPOET-2486]
2019-11-04 20:48:53 +00:00
4f1ef835dc Check requirements when counting subscribers
[MAILPOET-2486]
2019-11-04 20:48:53 +00:00
wxa
1374156386 Remove AspectMock package [MAILPOET-2464] 2019-10-30 23:22:48 +00:00
wxa
8f4321487b Remove AspectMock from CronHelperTest [MAILPOET-2464] 2019-10-30 23:22:48 +00:00
152d4c6251 Convert empty string to null in json type property
[MAILPOET-2504]
2019-10-29 15:17:29 +00:00
wxa
6667c70e19 Remove AspectMock usage from PostContentTransformerTest [MAILPOET-2454] 2019-10-28 16:02:48 +00:00
59480cdfb2 Move ValidationException under Validator namespace
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
2bdf8643fc Use factory to create Validator, reuse AnnotationReaderProvider
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
68c1b62df5 Extract annotation reader setup to a provider class
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
83286d64c4 Add test for Doctrine entity validation
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
730f640cc3 Integrate symfony/validator with Doctrine entitites
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
48802e47c4 Use namespaced Doctrine annotations
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00