Commit Graph

9623 Commits

Author SHA1 Message Date
Amine Ben hammou
a178b5d1e8 Use DI to inject csstidy
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
9a8a353095 Fix PHPStan errors
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
822f48468e Show default heading if WC one is empty
[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
e1a8883935 Preprocess transactional email newsletter
[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
Amine Ben hammou
45da91f670 Separate the template creation into a class
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
f34128d91b Add WC blocks preprocessing
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
5f5a254548 Move preprocessing logic into Preprocessor class
[MAILPOET-2286]

Additional preprocessing logic is needed to handle WooCommerce
blocks, so instead of making the Renderer class even bigger,
I am creating a new Preprocessor class. I wanted to move the
`addMailpoetLogoContentBlock` logic as well but it will break
tests and require a lot of refactor to fix them so I am leaving
it here for now.
2019-11-28 14:07:38 +00:00
Amine Ben hammou
9e27afc994 Fix bug
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
c24f43b2e8 Remove default context value
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
76d0dc0d9b Add context to help entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
3345903eaa Add context to forms entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
b98df95ccc Add context to form editor entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
62bd6f1126 Add context to features entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
1b5e371177 Add context to dynamic_segments entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
de08105dff Add context to wizard entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
6ce548ef1b Add context to import entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
8dba06f8b9 Add context to subscribers entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
65cc655e7f Add context to settings entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
e5554a8227 Add context to segments entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
89d0362f13 Add context to newsletters entrypoint
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Amine Ben hammou
41697e1580 Refactor newsletters entry point
[MAILPOET-2389]
2019-11-28 13:46:36 +00:00
Jan Jakeš
01eb608303 Remove no longer present errors from PHPStan baseline
[MAILPOET-2551]
2019-11-28 13:35:57 +00:00
Jan Jakeš
6c2ff1ca73 Make test actually fail when errors or exceptions found
[MAILPOET-2551]
2019-11-28 13:35:57 +00:00
Jan Jakeš
f8b74aef96 Check errors from both error.log and exception.log
[MAILPOET-2551]
2019-11-28 13:35:57 +00:00
wxa
7be762c462 Improve the SPF check message [MAILPOET-2511] 2019-11-28 13:23:02 +00:00
Jan Jakeš
1a79305766 Fix order of implode params for PHP 7.4
[MAILPOET-2550]
2019-11-28 10:09:12 +00:00
Jan Jakeš
99760d1de1 Upgrade Tracy for compatibility with PHP 7.4
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
a91f79263e Replace join() with implode() for compatibility with PHP 7.4
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
9a2dea5f37 Add Sudzy to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
5c212e7483 Add Paris to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
eb130c1aea Move Idiorm and Paris from vendor to MailPoetVendor
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
45c2b19dfa Move XSLXWriter to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
9166f280d0 Move CSS 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
Jan Jakeš
bfdaf4da1e Move 3rd-party libs to a dedicated directory
[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
Rostislav Wolny
56c0eb8cba Add comments for scroll offsets
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Rostislav Wolny
158a914ff0 Fix scrolling in manage subscription test
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Rostislav Wolny
c69328b228 Fix payment selection in orderProduct
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Rostislav Wolny
381546f093 Fix js code in acceptance test
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Rostislav Wolny
e6f2115748 Switch acceptance tests to WP5.3 container
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Jan Jakeš
82156a29d4 Release 3.40.1 2019-11-26 09:46:03 +01: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