Commit Graph

530 Commits

Author SHA1 Message Date
wxa
2fd244528d Move assorted tests from integration to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
810f2bd041 Exclude non-public posts hidden by 3rd-party plugins from ALC
[MAILPOET-1964]
2019-04-29 05:46:16 -04:00
5fa8b92476 Fix inconsistent ALC query type when used with/without taxonomies
[MAILPOET-1960]
2019-04-23 12:12:42 -04:00
87434bf3fa Improve compatibility with plugins using tax_query
[MAILPOET-1963]
2019-04-23 10:31:25 -04:00
317db5cff7 More readable code
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
f81083e046 Add wc_get_product function to WC helper
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
42f43e96e1 Allow <del> element in editor to correctly format discounted product
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
6fd9c69a27 Always show product image in editor
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
b40e4bb28a Use WC functions to get short and full description in products widget
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
b131afa73e Update products display options - add price property
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
3e66e9e1dd Fix phpstan level 6
[MAILPOET-1969]
2019-04-10 09:55:13 -04:00
a27b224d8f Fix usage of content helpers to respect context
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
b9799a5446 Slightly improve regex in link content helper
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
724363d892 Remove unnecessary parameters from block helpers
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
4f7afb9829 Add php doc to block render helpers
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
bc32e5f6f3 Get rid of unused argument in inlineCss
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
c2f5a98893 Get rid of double parsing of html within rendering
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
7116ff2720 Fix mail preheader
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
e820d690b5 Refactor text renderer
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
7fc2c25fa1 Refactor column renderer
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
fbb015dc8c Refactor social renderer
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
e345f7ead1 Refactor image renderer
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
604583bbc8 Refactor footer and header renderer
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
5a5cdf4fd1 Refactor divider and spacer renderers
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
50386ba9ed Refactor button renderer
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
d07f64038b Add output helpers
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
756ebe673b Get rid of global &amp; encoding in post process
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
fdb7dc971c Get rid of removing !important flags in render post process
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
51de087c01 Remove top padding for ALC & Post block titles
[MAILPOET-1701]
2019-03-29 11:44:22 -04:00
8d689f4f60 Remove heading bottom margin for ALC, Post, and header-only blocks
[MAILPOET-1701]
2019-03-29 11:44:22 -04:00
1b5afa92da Change 20px bottom block margin to 10px top+bottom padding in Renderer
[MAILPOET-1701]
2019-03-29 11:44:22 -04:00
92a2934e51 Replace double quotes with unicode alternative
[MAILPOET-1937]
2019-03-28 12:50:22 -04:00
ff4d5be38a Add a non breaking space
Instead of a normal space that has been removed by outlook I added a non breaking space

[MAILPOET-1827]
2019-03-27 09:45:21 -04:00
f3f769316a Upgrade PHPStan level to 5
[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
21766421d5 Upgrade PHPStan level to 4
I had to add some ignore errors until phpstan/phpstan#1482 is resolved

[MAILPOET-1915]
2019-03-21 14:02:59 -04:00
wxa
f0683f5226 Revert "Get rid of double html parsing during render" [MAILPOET-1914]
This reverts commit 6056dcd417.
2019-03-20 09:23:14 -04:00
ab097d356a Fix PHPStan errors 2019-03-07 08:30:14 -05:00
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -05:00
4ff8e4031a Move getImageInfo to PostTransformer 2019-03-07 08:30:14 -05:00
c8f2ff7f30 Update condition for better readability
[MAILPOET-1710]
2019-03-06 07:48:33 -05:00
6d3beaa45d Render post position
[MAILPOET-1710]
2019-03-06 07:48:33 -05:00
00f6a5bcd8 Add annotations to renderer
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
66ae3edf78 Get rid of double html parsing during render
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
4e27152c93 Add private access to internal methods in Renderer
[MAILPOET-1797]
2019-03-05 13:47:15 -05:00
35d39a6ac9 Implement adjustable line-height
[MAILPOET-1450]
2019-03-05 07:21:16 -05:00
wxa
fb77167a1f Remove unused imports [MAILPOET-1825] 2019-02-21 09:51:53 -05:00
3ee58aea10 Add space between if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a935b091d3 Add space between elseif/else if and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
9e9561e576 Add space between catch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
a8972ca281 Add space between switch and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00