Commit Graph

651 Commits

Author SHA1 Message Date
Jan Jakeš
486e39af7c Eliminate SettingsController creation in analytics
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
Jan Jakeš
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
Pavel Dohnal
ab1e398241 Move function to a better repository
[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
16926f609a Use newsletter entity in Stats Notifications
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00
Pavel Dohnal
9199c9f61a Check requirements when loading subscriber ids
[MAILPOET-2486]
2019-11-04 20:48:53 +00:00
Pavel Dohnal
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
Rostislav Wolny
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
Jan Jakeš
59480cdfb2 Move ValidationException under Validator namespace
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
2bdf8643fc Use factory to create Validator, reuse AnnotationReaderProvider
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
68c1b62df5 Extract annotation reader setup to a provider class
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
83286d64c4 Add test for Doctrine entity validation
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
730f640cc3 Integrate symfony/validator with Doctrine entitites
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
Jan Jakeš
48802e47c4 Use namespaced Doctrine annotations
[MAILPOET-2437]
2019-10-24 11:03:09 +01:00
wxa
684922cbdf Update tests [MAILPOET-2460] 2019-10-24 10:57:36 +01:00
Pavel Dohnal
ef79b7efbb Add ga campaign to api response
[MAILPOET-2397]
2019-10-23 17:34:07 +01:00
Pavel Dohnal
200a9b1edb Move unrelated code to own class
[MAILPOET-2397]
2019-10-23 17:34:07 +01:00
Pavel Dohnal
a42a971efd Move GA tracking to free
[MAILPOET-2397]
2019-10-23 17:34:07 +01:00
Amine Ben hammou
86cffacdbe Add WooCommerceSettings endpoint
[MAILPOET-2278]
2019-10-18 09:41:34 +01:00
Jan Jakeš
a2982de3a8 Check all test support files with Code Sniffer
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
e1132f9e92 Run code sniffer on full tests directory, merge commands into one
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
wxa
b8334cb843 Do not progressively reschedule on cron execution timeout [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
wxa
cb3a7ed8bc Update tests [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
Jan Jakeš
fd3b07c916 Fix failing multisite tests
[MAILPOET-2466]
2019-10-10 17:17:58 +01:00
Rostislav Wolny
a460f78113 Move logger factory test to unit tests
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
10eb34ce53 Remove aspect mock from LogHandler test
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
e4262b0a6d Refactor Cron to use logger_factory instance
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
db9456d17f Refactor LoggerFactory static methods to instance methods
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
beccbea6e2 Refactor Mailpoet\Logging\Logger to LoggerFactory
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Jan Jakeš
1f2e1f9e4a Rename WooCommerceOrders job to WooCommercePastOrders
[MAILPOET-2465]
2019-10-10 12:09:35 +01:00
Rostislav Wolny
6cbaeee868 Use PHPUnit mock instead of aspect mock in sending queue newsletter task test
[MAILPOET-2458]
2019-10-10 12:04:07 +01:00
Jan Jakeš
d2f6c48acb Prevent tracking WooCommerce purchases multiple times
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
260b9baeae Clean all previous stats records per-order before inserting new ones
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
4e15aad794 Rename meta record for last ID to restart WooCommerce purchase cron
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
0091755301 Fix and simplify query for latest click per-newsleter-per-subscriber
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
c59c13f5e2 Move dynamic segment tests to test namespace
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
Jan Jakeš
70a89b7939 Move dynamic segments from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
Jan Jakeš
3c3baeb9a9 Prefix Swiftmailer class strings missed by PHPScoper, add tests
[MAILPOET-2448]
2019-10-09 10:00:03 +01:00