Commit Graph

156 Commits

Author SHA1 Message Date
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
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
b22d9e1550 Fix conditional font-include comment for Outlook
[MAILPOET-2562]
2019-12-12 19:07:38 +00:00
e1a8883935 Preprocess transactional email newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
eb02627a98 Fix PHPStan errors in unit tests
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
273809be77 Update 'View in browser' header link
[MAILPOET-2196]
2019-08-21 11:17:13 -04: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
52eb29f7dd Add test for button 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
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
b9799a5446 Slightly improve regex in link content helper
[MAILPOET-1891]
2019-04-10 03:05:22 -04:00
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
62e47dcf12 make small improvements and additional specs details. 2018-11-06 11:01:55 +01:00
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
b21ef30202 Fix failing Scheduler test
[MAILPOET-1602]
2018-10-25 08:43:17 +02:00
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
605f8f1ce1 Try to fix flaky scheduler tests
[MAILPOET-1579]
2018-10-15 15:50:06 +02:00
c3481dd4b7 Refactor subscription links to work with subscriber entity
[MAILPOET-1495]
2018-10-12 11:33:15 +02:00
3e9be631e4 Fix rendering of nested vertical containers
[MAILPOET-1524]
2018-09-06 14:14:21 +02:00
c3e2b17aa1 Add background images support to renderer [MAILPOET-1403] 2018-07-19 14:13:06 +02:00
35825c3432 Fix spacing between paragraphs in full post [MAILPOET-1455] 2018-07-10 14:26:36 +02:00
4fba615d30 Fix rendering of posts in newsletter [MAILPOET-1416] 2018-06-25 12:45:45 +02:00
9308cffd45 Refactor fetching newsletter options to respect its type [MAILPOET-1431] 2018-06-19 17:06:56 +02:00
36e29581ef Merge pull request #1389 from mailpoet/api-errors
Improve error reporting in API [MAILPOET-1290]
2018-06-18 14:35:42 -04:00
2ad9ebf1d3 Uses full font-family name in element styles 2018-06-12 19:15:30 -04:00
71fed489ec Improve error reporting in API
[MAILPOET-1290]
2018-06-12 10:32:20 +01:00
8f758b11e1 Splits large tests into smaller ones 2018-06-11 13:40:05 -04:00
4611a7ea74 Updates method names 2018-06-11 13:40:05 -04:00
bf0c5abd4f Adds newsletter scheduler unit tests for automatic emails 2018-06-11 13:38:11 -04:00
0af3be61dd renderer: Added basic unit test for PostTransformer structrure generation with layout 2018-06-11 09:44:59 +02:00
fdc5aad62a renderer: Added unit test for PostTransformer structrure generation without layout 2018-06-11 09:00:08 +02:00
67b66856f5 removing images and headings from the excerpt 2018-06-01 11:21:59 +00:00
dbdf432c1d Merge pull request #1347 from mailpoet/queue_rendered_subject_improvement
Uses queue's rendered subject when sending newsletter [MAILPOET-1373]
2018-05-17 08:35:25 -04:00
1c6c275295 Passes single array with shortcode details 2018-05-14 19:16:24 -04:00
5912004c10 Fix: CPU usage and sending issue on slow host
On some slow host, the `newsletter` table get filled with
duplicated `notification_history` marked as `sending` that
never get sent.

To prevent this we've made the two following changes:
* We prevent firing `publis_*` hooks on post_type which
are excluded from search.
* We do not schedule a new post notification email if one
has an `notification_history` entry marked as `sending`.

[MAILPOET-1371]
2018-05-10 15:25:23 +02:00
ee4aefb6e3 Passes full shortcode object as function argument 2018-05-07 19:07:53 -04:00
be6647d763 Fix unit tests [MAILPOET-903] 2018-02-13 11:39:50 +03:00
e7ffe4d694 Replaces spaces in image URLs 2017-11-21 21:02:33 -05:00
962188bdb8 Adds unit test 2017-11-14 13:39:56 -05:00