Commit Graph

530 Commits

Author SHA1 Message Date
6f4ad78536 Fix coding style in Text block renderer
[MAILPOET-2821]
2020-03-29 21:39:01 +02:00
2b1444dd53 Require that subscriber received a newsletter only for non-preview links
[MAILPOET-2761]
2020-03-24 18:37:03 +01:00
038a7fee1c Escape parameter for LIKE statement
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
65ab8fd420 Fetch statistics for listing in batch
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
8f8439d47f Use NewslettersListingRepository for newsletter groups
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
b4bcc5179c Use NewslettersListingRepository for newsletter filters
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
51882b43cf Add NewsletterListingRepository, use it for newsletters data
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
3248c77bb3 Shortcodes cannot spread to multiple lines
Wordpress as well doesn't use those modifiers

[MAILPOET-2660]
2020-03-11 16:32:42 +00:00
8b4537676a Fix featured image display for existing products with display type 'full'
[MAILPOET-2491]
2020-02-25 08:08:23 +00:00
15b166d188 Render featured image for full post display type
[MAILPOET-2491]
2020-02-25 08:08:23 +00:00
eae5c5010d Fix properties with missing visibility
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
0dcdf6e9f1 Autofix line endings
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
a3b8aa78a5 Refactor ViewInBrowserController to use methods and descriptive exceptions
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
88d76d5efa Rename Newsletters\ViewInBrowser to ViewInBrowserRenderer
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
edb18399a1 Extract view-in-browser logic to a controller
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
077591ae3c Use DI for Newsletter\ViewInBrowser
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
3cd5af448e Rewrite view-in-browser to always require newsletter ID and hash, refactor
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
ddfc9647dd Use array instead of \stdClass, fix coding style
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
923dc0d1dd Simplify and unify getViewInBroserUrl calls
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
e5fcf5819d Remove 'type' parameter for view-in-browser, always include hash
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
eb1c7673e3 Make $preview = true default for view-in-broser URL
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
22b9103460 Fix statistics
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
0069380da6 Add getChildrenCount()
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
a5679a5dbf Fix code style and small bugs
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
65c8ddf6c2 Add WC revenues to NewsletterStatistics
[MAILPOET-2503]
2020-02-10 18:07:59 +00:00
2ef41b56e0 Fix various regressions introduced by camel case conversion
[MAILPOET-2635]
2020-01-20 10:27:36 +00:00
685b4885c0 Exclude WordPress and WooCommerce variables from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
fbcaeaadbc Convert Doctrine specific code to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
6522635dc7 Exclude globals from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01: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
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
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
b22d9e1550 Fix conditional font-include comment for Outlook
[MAILPOET-2562]
2019-12-12 19:07:38 +00:00
8fb58450ed Use inferPrivatePropertyTypeFromConstructor
[MAILPOET-2568]
2019-12-10 13:24:17 +01: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
f34128d91b Add WC blocks preprocessing
[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
a012984a7a Move array_column polyfill to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
52b4d67eca Make sure values are found
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
650f9a8c90 Use proper check for existence
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
61f0250822 Use the correct type
[MAILPOET-2535]
2019-11-20 10:24:39 +00:00
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
ab1e398241 Move function to a better repository
[MAILPOET-2439]
2019-11-05 13:38:51 +00:00