6cf0a1c04f
Update block renderer to be reusable for multiple emails
...
[MAILPOET-2961]
2020-06-04 10:40:02 +02:00
36e3d2cae4
Change visibility of setPosts,getPosts in blocks renderer.
...
[MAILPOET-2961]
2020-06-04 10:40:02 +02:00
9f37ee4811
Use post notifications history parent to fetch latest sent post
...
[MAILPOET-2960]
2020-06-03 14:14:12 +02:00
c63c49af89
Use doctrine for latest post fetching
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
7b0c5e61fe
Use Newsletter entity in renderer
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
f8a16b5e5a
Remove public properties from renderer
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
7e0b536ff4
Use Di for newsletter renderer
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
c3686d9973
Move data from constructor
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
be631bd549
Use DI for blocks rendering
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
5f73f9ee3e
Use DI in block renderer
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
7561730407
Use DI in ALC
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
93e574da4e
Fix typo
...
[MAILPOET-2887]
2020-05-28 09:35:20 +02:00
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
9fdd37dbd8
Fix WC heading padding in rendering [MAILPOET-2569]
2019-12-23 21:55:40 +03:00
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