Commit Graph

168 Commits

Author SHA1 Message Date
Pavel Dohnal
df7b961768 Fix 1px line rendering bug in Outlook 2016
[MAILPOET-3448]
2021-05-26 09:34:58 +02:00
Rodrigo Primo
030bd8c1c8 Fix PHPStan parameter type error introduced after update to version 0.12.83
This commit fixes the following PHPStan errors introduced after the update to version 0.12.83:

```
 ------ ----------------------------------------------------------------------
  Line   lib/Newsletter/Renderer/Blocks/Footer.php
 ------ ----------------------------------------------------------------------
  18     Parameter #1 $html of method MailPoet\Util\pQuery\pQuery::parseStr()
         expects string, array|string|null given.
 ------ ----------------------------------------------------------------------

 ------ ----------------------------------------------------------------------
  Line   lib/Newsletter/Renderer/Blocks/Header.php
 ------ ----------------------------------------------------------------------
  18     Parameter #1 $html of method MailPoet\Util\pQuery\pQuery::parseStr()
         expects string, array|string|null given.
 ------ ----------------------------------------------------------------------
```

[MAILPOET-3491]
2021-04-12 08:55:14 +02:00
Pavel Dohnal
deb4d7833d Fix text align
[MAILPOET-3473]
2021-03-15 09:54:46 +01:00
Rostislav Wolny
137245eede Fix unit tests to work with updated codeception/verify
[MAILPOET-3203]
2020-10-20 13:18:43 +02:00
wxa
0dffed35e9 Extract ALC and ACC block classes out of block renderer [MAILPOET-2979] 2020-10-07 11:48:50 +02:00
Pavel Dohnal
7b0c5e61fe Use Newsletter entity in renderer
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
be631bd549 Use DI for blocks rendering
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
5f73f9ee3e Use DI in block renderer
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
93e574da4e Fix typo
[MAILPOET-2887]
2020-05-28 09:35:20 +02:00
Rostislav Wolny
58ca138da9 Add unit test for handling empty paragraphs within text block
[MAILPOET-2821]
2020-03-29 21:39:01 +02:00
Jan Jakeš
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
0dcdf6e9f1 Autofix line endings
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
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
Jan Jakeš
b22d9e1550 Fix conditional font-include comment for Outlook
[MAILPOET-2562]
2019-12-12 19:07:38 +00:00
Amine Ben hammou
e1a8883935 Preprocess transactional email newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Jan Jakeš
eb02627a98 Fix PHPStan errors in unit tests
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Ján Mikláš
273809be77 Update 'View in browser' header link
[MAILPOET-2196]
2019-08-21 11:17:13 -04:00
Rostislav Wolny
472662b106 Add test for text renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
948d58e310 Add test for social icons renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
52eb29f7dd Add test for button renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
9a2101f13f Add test for image renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
48a6a842da Add test for header renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
5055c53e2b Add test for footer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
28c87b746c Add test for divider
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Rostislav Wolny
9c0d39e74b Add test for spacer renderer
[MAILPOET-2086]
2019-05-20 13:14:43 -04:00
Pavel Dohnal
b9af15e19f Enforce array trailling commas
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
2fd244528d Move assorted tests from integration to unit [MAILPOET-2009] 2019-05-03 08:41:05 -04:00
Rostislav Wolny
b9799a5446 Slightly improve regex in link content helper
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
Rostislav Wolny
d07f64038b Add output helpers
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
wxa
0fbbcf3f9e Fix conflicts for test coverage to work [MAILPOET-1607] 2018-11-14 17:51:20 +03:00
Amine Ben hammou
62e47dcf12 make small improvements and additional specs details. 2018-11-06 11:01:55 +01:00
Amine Ben hammou
8209facb5c adding custom fonts 2018-11-06 10:59:20 +01:00
wxa
87e515b89d Move current unit tests to integration tests 2018-10-29 17:57:47 +03:00
Rostislav Wolny
b21ef30202 Fix failing Scheduler test
[MAILPOET-1602]
2018-10-25 08:43:17 +02:00
M. Shull
1e7542848a Merge pull request #1556 from mailpoet/arrays-to-objects
Replace entity arrays with objects [MAILPOET-1495]
2018-10-22 14:59:12 -04:00
Pavel Dohnal
605f8f1ce1 Try to fix flaky scheduler tests
[MAILPOET-1579]
2018-10-15 15:50:06 +02:00
Rostislav Wolný
c3481dd4b7 Refactor subscription links to work with subscriber entity
[MAILPOET-1495]
2018-10-12 11:33:15 +02:00
Rostislav Wolny
3e9be631e4 Fix rendering of nested vertical containers
[MAILPOET-1524]
2018-09-06 14:14:21 +02:00
Rostislav Wolny
c3e2b17aa1 Add background images support to renderer [MAILPOET-1403] 2018-07-19 14:13:06 +02:00
Rostislav Wolny
35825c3432 Fix spacing between paragraphs in full post [MAILPOET-1455] 2018-07-10 14:26:36 +02:00
Rostislav Wolny
4fba615d30 Fix rendering of posts in newsletter [MAILPOET-1416] 2018-06-25 12:45:45 +02:00
Rostislav Wolny
9308cffd45 Refactor fetching newsletter options to respect its type [MAILPOET-1431] 2018-06-19 17:06:56 +02:00
Michelle Shull
36e29581ef Merge pull request #1389 from mailpoet/api-errors
Improve error reporting in API [MAILPOET-1290]
2018-06-18 14:35:42 -04:00
Vlad
2ad9ebf1d3 Uses full font-family name in element styles 2018-06-12 19:15:30 -04:00
Pavel Dohnal
71fed489ec Improve error reporting in API
[MAILPOET-1290]
2018-06-12 10:32:20 +01:00
Vlad
8f758b11e1 Splits large tests into smaller ones 2018-06-11 13:40:05 -04:00