Commit Graph

651 Commits

Author SHA1 Message Date
Jan Jakeš
adb4bb864e Fix Bounce worker tests
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
Jan Jakeš
6e74851850 Remove no longer relevant test
[MAILPOET-2539]
2019-12-17 19:54:23 +00:00
Jan Jakeš
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
Jan Jakeš
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
Rostislav Wolny
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
Amine Ben hammou
39cde0ece5 Fix tests
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
Amine Ben hammou
5cb75ae9ea Add missing argument
[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
Amine Ben hammou
c9052d71d4 Disable send buttons and endpoints
[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
Amine Ben hammou
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
Jan Jakeš
0c4dd20ce6 Fix source being reported as NULL when sending
[MAILPOET-2541]
2019-12-09 13:18:09 +00:00
Amine Ben hammou
2c0f16b0dd Fix tests and default values
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a5dc30c4b6 Use Doctrine to create the newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a178b5d1e8 Use DI to inject csstidy
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
404ebc5170 Fix PHPCS errors
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
aa129f5987 Use template for WooCommerce transactional emails
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
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
Jan Jakeš
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Amine Ben hammou
5ca9b6f520 Fix shortcode being URL encoded
[MAILPOET-2540]
2019-11-27 09:44:48 +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š
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š
4e8165c4b4 Fix MailPoet & WordPress cron trigger tests
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
f4c2dda560 Fix DaemonHttpRunnerTest
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
072aa54f37 Move CronTriggerTest from integration to unit
[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
650f9a8c90 Use proper check for existence
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Pavel Dohnal
5e5d4c3ff8 Ensure the correct instance
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
Jan Jakeš
e3507a334e Use PHPMail as a fallback in WordPressMailer
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
Jan Jakeš
15acedc94f Remove static (mis)usages of Mailer::getMailerConfig()
[MAILPOET-2515]
2019-11-14 10:02:28 +00:00
Jan Jakeš
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
Jan Jakeš
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
Rostislav Wolny
b0ef65a1eb Allow saving forms without name
[MAILPOET-2450]
2019-11-06 16:54:40 +00:00
Rostislav Wolny
7a960ff16e Setup basic layout classes for block editor
[MAILPOET-2450]
2019-11-06 16:54:40 +00:00
Jan Jakeš
826ba18e14 Remove old Setting model and test
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
Jan Jakeš
40c87d50fe Remove old Setting model from integration tests
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
Jan Jakeš
7bddf631c5 Clear EntityManager also before tests
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
Jan Jakeš
52e53181b9 Move default sender tests from old model to API test
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
Jan Jakeš
388ced8b53 Remove static behavior from SettingsController
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
Jan Jakeš
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
Jan Jakeš
c91cd1255a Eliminate SettingsController creation in Helpscout Beacon
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00