Commit Graph

3171 Commits

Author SHA1 Message Date
Amine Ben hammou
042557aafa Apply new limit to new users
I refactored the SubscribersFeature class so that it's easily
unit tested. Computing the subscribers count in the constructor
is better then computing it on every call to check().

[MAILPOET-2394]
2019-12-10 14:46:13 +00:00
wxa
1a66031457 Update tests [MAILPOET-2520] 2019-12-10 10:07:11 +00:00
Jan Jakeš
0c4dd20ce6 Fix source being reported as NULL when sending
[MAILPOET-2541]
2019-12-09 13:18:09 +00:00
Pavel Dohnal
cba3bc655d Add check in test
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
24b8b53380 Add test for last name
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
b381be6af5 Add a unit test for name blocks
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
08eab3940c Fix code after tests have run
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
076ae12e78 Remove .only
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Pavel Dohnal
90d9ea8f1e Acceptance test
[MAILPOET-2452]
2019-12-05 13:01:55 +01:00
Rostislav Wolny
17dc239578 Fix mock object php doc
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
3a65f103b0 Add test for form saving started reducer
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
fe204ec53f Add test and fixes form form validator
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
b90939e118 Add check that input is an array to data mappers
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
e9ee0323d3 Add acceptance test for email and submit editing
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
fa4ecaa445 Set full width text inputs as a default for newly created forms
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
effd37a0ad Refactor Form\Utils\Styles to injectable service
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
c9d73f6970 Add mapper for mapping blocks to form body data
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
4e71908332 Add mapper for mapping form body to blocks
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Rostislav Wolny
fcee93f436 Remove unnecessary imports from JS test
[MAILPOET-2451]
2019-12-04 12:49:30 +00:00
Jan Jakeš
fa4dcb246f Try to fix flaky WooCommerce checkout optin checkbox
[MAILPOET-2543]
2019-12-02 20:11:48 +00:00
Jan Jakeš
7e6872b6dd Retry clicks failed on 'element click intercepted' to avoid flakiness
[MAILPOET-2543]
2019-12-02 20:11:48 +00:00
Rostislav Wolny
6015a1370d Refactor simple JS to be main JS tests
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
a6dfab1178 Add test for panel toggle reducer
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Rostislav Wolny
a1ac7cb4fd Add acceptance test for basic form editing
[MAILPOET-2455]
2019-11-28 15:39:50 +00:00
Amine Ben hammou
2c0f16b0dd Fix tests and default values
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a5dc30c4b6 Use Doctrine to create the newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a178b5d1e8 Use DI to inject csstidy
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
404ebc5170 Fix PHPCS errors
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
aa129f5987 Use template for WooCommerce transactional emails
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
e1a8883935 Preprocess transactional email newsletter
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
f56ced0ef5 Add Email renderer
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Jan Jakeš
6c2ff1ca73 Make test actually fail when errors or exceptions found
[MAILPOET-2551]
2019-11-28 13:35:57 +00:00
Jan Jakeš
f8b74aef96 Check errors from both error.log and exception.log
[MAILPOET-2551]
2019-11-28 13:35:57 +00:00
wxa
7be762c462 Improve the SPF check message [MAILPOET-2511] 2019-11-28 13:23:02 +00:00
Jan Jakeš
60889c53f4 Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
45c2b19dfa Move XSLXWriter to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Jan Jakeš
9166f280d0 Move CSS to MailPoetVendor namespace
[MAILPOET-2545]
2019-11-27 12:38:20 +00:00
Amine Ben hammou
5ca9b6f520 Fix shortcode being URL encoded
[MAILPOET-2540]
2019-11-27 09:44:48 +00:00
Rostislav Wolny
56c0eb8cba Add comments for scroll offsets
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Rostislav Wolny
158a914ff0 Fix scrolling in manage subscription test
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Rostislav Wolny
c69328b228 Fix payment selection in orderProduct
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Rostislav Wolny
381546f093 Fix js code in acceptance test
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Rostislav Wolny
e6f2115748 Switch acceptance tests to WP5.3 container
[MAILPOET-2544]
2019-11-26 11:14:13 +01:00
Jan Jakeš
dc5e2ae386 Simplify WorkersFactory using DI and making it container-aware
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
382df5e034 Pass cron worker timer in process() method instead of a constructor
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
afecae15f5 Extract scheduling logic from SimpleWorker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
59ac38cabd Use processTaskStrategy() instead of custom logic in Bounce worker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
ac794aaca2 Use processTaskStrategy() instead of custom logic in Migration worker
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
cd93940940 Make static methods in cron workers non-static
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00
Jan Jakeš
ba41f4901e Move SQL queries from SimpleWorker to model, improve naming
[MAILPOET-2538]
2019-11-25 12:30:18 +00:00