Commit Graph

81 Commits

Author SHA1 Message Date
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
96199cc586 Use the correct type when rendering newsletter
[MAILPOET-2716]
2020-04-24 11:44:09 +02: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
d84c45e5f1 Fix colors in rendering [MAILPOET-2569] 2019-12-23 21:55:40 +03: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
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
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -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
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
f3f769316a Upgrade PHPStan level to 5
[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
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
3ee58aea10 Add space between if 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
9f13f68e39 Fix "Access to undefined property" rule violations 2019-01-23 11:33:47 +02:00
60a5fe2732 Remove unused parameters & variabeles, fix calls with wrong number of args 2018-11-15 11:41:04 +01:00
8209facb5c adding custom fonts 2018-11-06 10:59:20 +01:00
2ae39c9255 Make renderer render different widths columns
[MAILPOET-1568]
2018-10-30 07:49:28 +01:00
d165732f66 Merge pull request #1431 from mailpoet/background-images
Column Background Images [MAILPOET-1403]
2018-07-23 09:33:08 -04:00
c3e2b17aa1 Add background images support to renderer [MAILPOET-1403] 2018-07-19 14:13:06 +02:00
3318dd3ace Merge pull request #1395 from mailpoet/hackday-todo
Deleted TODOs after noting required actions [MAILPOET-1433]
2018-07-16 14:35:38 -04:00
bb579370a8 Fix list ALC preview
[MAILPOET-1404]
2018-06-14 15:28:08 +01:00
2ee77e0034 Deleted TODOs after noting them as JIRA issues 2018-06-13 16:46:18 +02:00
88be42fea1 fixing naming issues 2018-05-28 10:33:13 +00:00
0a298f5fad creating new ALC block and widget 2018-05-23 07:42:30 +00:00
e7ffe4d694 Replaces spaces in image URLs 2017-11-21 21:02:33 -05:00
9501640f4f Prevents double UTF-8 encoding 2017-07-14 14:03:48 -04:00
49673fabbd Does not display logo when MSS is active or preview is enabled
Adds additional unit tests and optimizes existing
2017-06-07 12:30:42 +03:00
1c1a210542 Adds MailPoet logo to newsletters in the free version 2017-06-07 12:30:41 +03:00