Commit Graph

204 Commits

Author SHA1 Message Date
96199cc586 Use the correct type when rendering newsletter
[MAILPOET-2716]
2020-04-24 11:44:09 +02:00
658aa6a1d7 Use the correct type
[MAILPOET-2716]
2020-04-24 11:44:09 +02:00
6f4ad78536 Fix coding style in Text block renderer
[MAILPOET-2821]
2020-03-29 21:39:01 +02:00
eae5c5010d Fix properties with missing visibility
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
0dcdf6e9f1 Autofix line endings
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
d0292f8624 Convert variable names to camel case in PHPDoc
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
wxa
9fdd37dbd8 Fix WC heading padding in rendering [MAILPOET-2569] 2019-12-23 21:55:40 +03:00
wxa
d84c45e5f1 Fix colors in rendering [MAILPOET-2569] 2019-12-23 21:55:40 +03:00
b22d9e1550 Fix conditional font-include comment for Outlook
[MAILPOET-2562]
2019-12-12 19:07:38 +00:00
2c0f16b0dd Fix tests and default values
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
e1a8883935 Preprocess transactional email newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
f34128d91b Add WC blocks preprocessing
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
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
9166f280d0 Move CSS to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
ade1cc4d8e Autofix alphabetically sorted use statements
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
01a0fe96c4 Remove no longer necessary checks
[MAILPOET-1948]
2019-09-12 13:59:32 +02:00
472662b106 Add test for text renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
948d58e310 Add test for social icons renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
9a2101f13f Add test for image renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
48a6a842da Add test for header renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
5055c53e2b Add test for footer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
28c87b746c Add test for divider
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
9c0d39e74b Add test for spacer renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
5d64ec168d Add rule for concatenation operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
12ff88ee21 Add rule for operator spacing
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -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 & 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