Commit Graph

558 Commits

Author SHA1 Message Date
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
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
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
82bdd343bd Add new fonts
[MAILPOET-1733]
2019-02-10 18:39:59 -05:00
1b2a759297 Merge pull request #1761 from mailpoet/renderer-css-specificity
Css specificity fixes in renderer [MAILPOET-1730]
2019-01-31 15:27:06 -05:00
fce709a7fc Refactor MailPoet\Newsletter to use new settings
[MAILPOET-1757]
2019-01-31 15:57:58 +01: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
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +01:00
41404ee34e Fix full width images on mobile clients
[MAILPOET-1743]
2019-01-30 11:33:34 +01:00
8dc3fc8684 Fix images with full-width [MAILPOET-1743] 2019-01-29 16:15:05 +01:00
59418efa99 Merge pull request #1746 from mailpoet/phpstan-cleanup
Raise PHPStan strictness level to 1
2019-01-28 10:47:24 -05:00
eb1376eeef Fix post images detection in editor
MAILPOET-1756
2019-01-25 09:42:04 +01:00
44bc27df90 Define default variable values in cases when they can be undefined 2019-01-23 21:29:46 +02:00
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
3a26049270 Add missing array & class typehints
[MAILPOET-1684]
2019-01-08 14:48:05 +01:00
08a2fa8f8f Split transform tags code to multiple methods
[MAILPOET-1684]
2019-01-08 14:47:19 +01:00
0d80d7492a Filter out <figure> tags without images
[MAILPOET-1684]
2019-01-08 09:34:03 +01:00
88f14575dc Use image alignment from <figure> or <img>
[MAILPOET-1684]
2019-01-08 08:48:46 +01:00
4d97a2f6a7 Extract nested img element more safely
[MAILPOET-1684]
2019-01-08 08:48:46 +01:00
0c7c725629 Simplify code transforming images from posts
[MAILPOET-1684]
2019-01-08 08:48:46 +01:00
wxa
0573a7915e Merge pull request #1689 from mailpoet/wp-functions
Encapsulating WP calls
2018-12-27 11:05:08 +03:00
wxa
c2955bdf35 Fix padded ALC images breaking out of width on mobile [MAILPOET-1693] 2018-12-17 18:06:16 +03:00