Commit Graph

131 Commits

Author SHA1 Message Date
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
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
6f4ad78536 Fix coding style in Text block renderer
[MAILPOET-2821]
2020-03-29 21:39:01 +02: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
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
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
e820d690b5 Refactor text 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
756ebe673b Get rid of global & encoding in 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
1b5afa92da Change 20px bottom block margin to 10px top+bottom padding in Renderer
[MAILPOET-1701]
2019-03-29 11:44: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
0a436087e1 Replace all WP function calls 2019-03-07 08:30:14 -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
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
0cfc9055c4 Add support for social icons alignment to renderer
[MAILPOET-1731]
2019-02-11 12:28:04 -05:00
cd2ababade Refactor utils CSS so that it can be used as service in DI container
[MAILPOET-1730]
2019-01-31 14:36:26 +01:00
f1ab901e02 Preserve inlined link styles in header and footer
[MAILPOET-1730]
2019-01-31 14:36:26 +01:00
41404ee34e Fix full width images on mobile clients
[MAILPOET-1743]
2019-01-30 11:33:34 +01:00
wxa
c2955bdf35 Fix padded ALC images breaking out of width on mobile [MAILPOET-1693] 2018-12-17 18:06:16 +03:00
28356a522a Fix images without dimensions being given size of 0
[MAILPOET-1680]
2018-12-12 17:32:41 +01:00
d0ed229373 Add css for images in columns for mobile devices
[MAILPOET-1653]
2018-12-11 16:41:19 +01:00
60a5fe2732 Remove unused parameters & variabeles, fix calls with wrong number of args 2018-11-15 11:41:04 +01:00
13329d568d Send posts published before post notification has been created
[MAILPOET-1560]
2018-11-12 08:33:00 +01:00
cb8d532d64 Fix ALC rendering of posts to have a padded title
[MAILPOET-1558]
2018-11-05 15:33:48 +01:00