Commit Graph

86 Commits

Author SHA1 Message Date
Jan Jakeš
2b1444dd53 Require that subscriber received a newsletter only for non-preview links
[MAILPOET-2761]
2020-03-24 18:37:03 +01:00
Jan Jakeš
310d658647 Add tests for remaining NewslettersListingRepository functionality
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
Jan Jakeš
cf88ada402 Rewrite old tests to NewslettersListingRepository tests
[MAILPOET-2645]
2020-03-11 17:06:02 +00:00
Jan Jakeš
b52def5c57 Add integration tests for 'fullPostFeaturedImagePosition'
[MAILPOET-2491]
2020-02-25 08:08:23 +00:00
Jan Jakeš
8b4537676a Fix featured image display for existing products with display type 'full'
[MAILPOET-2491]
2020-02-25 08:08:23 +00:00
Jan Jakeš
1774b48666 Autofix unused "use" statements
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
b39dac75d6 Autofix number of newlines between methods
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
4c4a0e4caa Fix and refactor ViewInBrowserRendererTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
ce21cc2085 Move Newsletter\ViewInBrowserTest to ViewInBrowserRendererTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
e3cc5a0ec0 Fix and refactor ViewInBrowserControllerTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
216341d5f6 Move ViewInBrowserTest to ViewInBrowserControllerTest
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
923dc0d1dd Simplify and unify getViewInBroserUrl calls
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
e5fcf5819d Remove 'type' parameter for view-in-browser, always include hash
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
eb1c7673e3 Make $preview = true default for view-in-broser URL
[MAILPOET-2430]
2020-02-13 18:40:37 +00:00
Jan Jakeš
835d8bc0af Fix PHPUnit 6 & Codeception\Verify incompatibilities
[MAILPOET-2582]
2020-01-28 20:18:39 +00:00
Jan Jakeš
685b4885c0 Exclude WordPress and WooCommerce variables from camel case conversion
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
94afd66325 Convert properties not caught by Code Sniffer to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
8c848cfa28 Convert property names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
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
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
0e964de6d4 Move nesbot/carbon to vendor-prefixed
[MAILPOET-2560]
2019-12-15 21:55:48 +00:00
Jan Jakeš
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
Jan Jakeš
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
Jan Jakeš
50043472ee Mock is-WooCommerce-active detection in PostContentManagerTest
[MAILPOET-2382]
2019-10-08 14:22:55 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Rostislav Wolny
85dea70801 Remove unused use statements in newsletter links test
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
Rostislav Wolny
86fd634563 Mark Newsletter/Links methods used only internally as private
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
Rostislav Wolny
028c5e6de5 Add ensure unsubscribe link method to newsletters links
[MAILPOET-2245]
2019-10-01 14:07:39 +01:00
Rostislav Wolny
4d3a005b20 Inject LinkTokens dependency to SubscriptionUrlFactory using DI
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
0dd7b5fb7a Remove unnecessary aliases for SubcriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
7dba4d900c Rename Subscription\Url to Subscription\SubscriptionUrlFactory
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
d90d5c6385 Refactor getUnsubscribeUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Rostislav Wolny
4e75f8883e Refactor getManageUrl to instance method
[MAILPOET-2381]
2019-09-25 10:29:20 +01:00
Amine Ben hammou
bc31ca6c6d Remove Subscriber::generateToken()
[MAILPOET-2340]
2019-09-24 14:40:22 +01:00
Amine Ben hammou
5e5c744c3d Create WC transactional email
[MAILPOET-2280]
2019-09-22 10:34:06 +02:00
Amine Ben hammou
3ea9c99090 Use link_token when tracking and rendering links 2019-09-12 17:32:05 +02:00
Pavel Dohnal
41c01ca230 Move automatic emails to own scheduler
[MAILPOET-2348]
2019-09-11 19:16:21 +01:00
Pavel Dohnal
493e16606c Move constans to their classes
[MAILPOET-2348]
2019-09-11 19:16:21 +01:00
Pavel Dohnal
3d750c5bb8 Move post notification scheduling to service
[MAILPOET-2348]
2019-09-11 19:16:21 +01:00
Pavel Dohnal
c90a2e41a1 Use separate scheduler for welcome emails
[MAILPOET-2321]
2019-08-29 13:55:49 -04:00