Commit Graph

91 Commits

Author SHA1 Message Date
8fb58450ed Use inferPrivatePropertyTypeFromConstructor
[MAILPOET-2568]
2019-12-10 13:24:17 +01:00
e1a8883935 Preprocess transactional email newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
wxa
6667c70e19 Remove AspectMock usage from PostContentTransformerTest [MAILPOET-2454] 2019-10-28 16:02:48 +00:00
50043472ee Mock is-WooCommerce-active detection in PostContentManagerTest
[MAILPOET-2382]
2019-10-08 14:22:55 +01: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
79d9deb6c4 Remove image captions from classic editor posts
[MAILPOET-2194]
2019-08-20 08:32:26 -04:00
3721698b67 Remove image captions from gutenberg posts
[MAILPOET-2194]
2019-08-20 08:32:26 -04:00
9b4163e9dc Fix discovered notices and warnings
[MAILPOET-2239]
2019-08-12 14:43:37 +02: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
9f16cb6a5f Check for unused privates
[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
317db5cff7 More readable code
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
f81083e046 Add wc_get_product function to WC helper
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
42f43e96e1 Allow <del> element in editor to correctly format discounted product
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
6fd9c69a27 Always show product image in editor
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
b40e4bb28a Use WC functions to get short and full description in products widget
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
b131afa73e Update products display options - add price property
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00
51de087c01 Remove top padding for ALC & Post block titles
[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
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
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
ebbdec5ebd Add space between foreach and ‘(‘
[MAILPOET-1791]
2019-02-13 08:26:27 -05:00
8b602bd947 Move WPHooks methods to WPFunctions 2019-01-31 13:25:00 +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
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
28356a522a Fix images without dimensions being given size of 0
[MAILPOET-1680]
2018-12-12 17:32:41 +01:00
a46d98ec44 Refactor WPFunctions to be injectable with DI 2018-12-12 16:43:52 +01:00
cb8d532d64 Fix ALC rendering of posts to have a padded title
[MAILPOET-1558]
2018-11-05 15:33:48 +01: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
bb579370a8 Fix list ALC preview
[MAILPOET-1404]
2018-06-14 15:28:08 +01:00
b36537a4e8 renderer: Processing Post without layout renders featured_image only for excerpt display type [MAILPOET-1409] 2018-06-08 17:05:37 +02:00
62fd56400b renderer: Fixed notice in PostTransformer for older data without 'withLayout' property [MAILPOET-1409] 2018-06-08 17:02:03 +02:00