Commit Graph

605 Commits

Author SHA1 Message Date
04f266518b Rewrite SimpleWorkerTest to tests of particular services
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
9c02da4626 Fix WooCommerce orders worker tests
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
9adbd7f4a8 Fix automated emails worker tests
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
a8f1cd15bf Fix Migration worker tests
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
adb4bb864e Fix Bounce worker tests
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
6e74851850 Remove no longer relevant test
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
8496dee89f Fix DaemonTest and DaemonHttpRunner tests
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
wxa
ac9c250b55 Collect subscriber IPs for 3rd party API subscriptions [MAILPOET-2575] 2019-12-16 18:06:37 +00:00
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
c5314abfd4 Move css-tidy to MailPoetVendor prefixed libraries
[MAILPOET-2563]
2019-12-12 12:46:19 +00:00
wxa
ed6bc90754 Add global styles for use in WC header and content blocks [MAILPOET-2521] 2019-12-11 18:22:46 +00:00
39cde0ece5 Fix tests
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
5cb75ae9ea Add missing argument
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
d0369e96c9 Add warning to stats notification
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
c9052d71d4 Disable send buttons and endpoints
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
042557aafa Apply new limit to new users
I refactored the SubscribersFeature class so that it's easily
unit tested. Computing the subscribers count in the constructor
is better then computing it on every call to check().

[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
0c4dd20ce6 Fix source being reported as NULL when sending
[MAILPOET-2541]
2019-12-09 13:18:09 +00:00
2c0f16b0dd Fix tests and default values
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
a5dc30c4b6 Use Doctrine to create the newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
a178b5d1e8 Use DI to inject csstidy
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
404ebc5170 Fix PHPCS errors
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
aa129f5987 Use template for WooCommerce transactional emails
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
f56ced0ef5 Add Email renderer
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
wxa
7be762c462 Improve the SPF check message [MAILPOET-2511] 2019-11-28 13:23:02 +00:00
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
5ca9b6f520 Fix shortcode being URL encoded
[MAILPOET-2540]
2019-11-27 09:44:48 +00:00
dc5e2ae386 Simplify WorkersFactory using DI and making it container-aware
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
382df5e034 Pass cron worker timer in process() method instead of a constructor
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
afecae15f5 Extract scheduling logic from SimpleWorker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
59ac38cabd Use processTaskStrategy() instead of custom logic in Bounce worker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
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