Commit Graph

103 Commits

Author SHA1 Message Date
f1261fc728 Add integration test for ALC block processing
[MAILPOET-2961]
2020-06-04 10:40:02 +02:00
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
7561730407 Use DI in ALC
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
00fa2379e3 Add paragraph spaces to post excerpts
[MAILPOET-2627]
2020-05-28 10:01:14 +02:00
4862d42e8b Test all supported save fields
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
688338bcdf Refactor save controller tests, use Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
770cda5c3c Move API save tests to controller tests
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
e1819d4334 Set newsletter option data using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
0e5e95310f Set newsletter segment data using Doctrine
[MAILPOET-2900]
2020-05-25 17:49:07 +02:00
5bfbabf25b Partially use Doctrine for Newsletter::sendPreview()
[MAILPOET-2646]
2020-05-07 11:18:20 +02:00
81dc5ad480 Extract Newsletters::sendPreview() logic to a controller
[MAILPOET-2646]
2020-05-07 11:18:20 +02:00
d19e7714c3 Use instant unsubscribe URL for List-Unsubscribe header
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
1f744453d4 Switch unsubscribe url shortcode to the confirm page
[MAILPOET-2736]
2020-05-05 14:40:11 +02:00
2b1444dd53 Require that subscriber received a newsletter only for non-preview links
[MAILPOET-2761]
2020-03-24 18:37:03 +01:00
310d658647 Add tests for remaining NewslettersListingRepository functionality
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
cf88ada402 Rewrite old tests to NewslettersListingRepository tests
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
b52def5c57 Add integration tests for 'fullPostFeaturedImagePosition'
[MAILPOET-2491]
2020-02-25 08:08:23 +00:00
8b4537676a Fix featured image display for existing products with display type 'full'
[MAILPOET-2491]
2020-02-25 08:08:23 +00:00
1774b48666 Autofix unused "use" statements
[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
4c4a0e4caa Fix and refactor ViewInBrowserRendererTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
ce21cc2085 Move Newsletter\ViewInBrowserTest to ViewInBrowserRendererTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
e3cc5a0ec0 Fix and refactor ViewInBrowserControllerTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
216341d5f6 Move ViewInBrowserTest to ViewInBrowserControllerTest
[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
835d8bc0af Fix PHPUnit 6 & Codeception\Verify incompatibilities
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
685b4885c0 Exclude WordPress and WooCommerce variables from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
94afd66325 Convert properties not caught by Code Sniffer to camel case
[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
wxa
cde877122a Fix various undefined variables and argument types [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
09a1411c81 Fix types with annotations [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
bd1a84c5c3 Fix types by casting [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
6ed3915b1a Use a wrapped function for current_time [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
176aba69fe Specify types for mocks [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
7285a4a075 Fix extra arguments in method calls [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
wxa
1d757e1374 Fix undefined properties in tests [MAILPOET-2488] 2019-12-30 14:51:22 +01:00
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
wxa
93346ede3b Update tests [MAILPOET-2514] 2019-11-11 16:00:40 +00:00
d970dda637 Replace "new SettingsController()" with fetch from DI container
[MAILPOET-2436]
2019-11-06 16:32:32 +00:00
wxa
6667c70e19 Remove AspectMock usage from PostContentTransformerTest [MAILPOET-2454] 2019-10-28 16:02:48 +00:00
wxa
684922cbdf Update tests [MAILPOET-2460] 2019-10-24 10:57:36 +01:00