Commit Graph

9033 Commits

Author SHA1 Message Date
Jan Jakeš
2e836c174e Check acceptance tests with PHPStan, fix discovered problems
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
ffc11af689 Check data factories with PHPStan, fix discovered problems
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
eb02627a98 Fix PHPStan errors in unit tests
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
5c2cf6e3c7 Implement Codeception extension for PHPStan
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
66c48f4690 Implement PHPStan extension for PHPUnit 5 compatibility
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
175b66c273 Add PHPUnit extension for PHPStan
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
39932e9846 Run PHPStan for unit tests
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
078223cd64 Fix path usage in PHPStan setup
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
cdcd63342d Install PHPStan Shim (prefixed PHAR version) using Composer to enable extensions
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
7ecabdba3a Check also tasks and tools with code sniffer
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
cc62da6cb3 Run code sniffer also in plugin root directory
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Jan Jakeš
e1132f9e92 Run code sniffer on full tests directory, merge commands into one
[MAILPOET-2429]
2019-10-17 15:55:15 +01:00
Ján Mikláš
112273e3e6 Use specific MySQL 5.7.27-ram version
Version 5.7.28 is breaking our builds, so this is hot fix until we fix it properly.

[MAILPOET-2483]
2019-10-16 18:15:22 +03:00
Amine Ben hammou
c255c2302b Remove WC templates from saved templates tab
[MAILPOET-2467]
2019-10-16 14:09:38 +01:00
wxa
a35bb6cc0e Fix PR remarks [MAILPOEt-2392] 2019-10-16 13:55:01 +01:00
wxa
b8334cb843 Do not progressively reschedule on cron execution timeout [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
wxa
5d65a67072 Use one more temp table, use better indexes for inactives sync [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
wxa
cb3a7ed8bc Update tests [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
wxa
33c9b51ae6 Create a temp table for inactive task ids once per run [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
wxa
622ae8d4df Deactivate inactive subscribers by ID range for performance reasons [MAILPOET-2392] 2019-10-16 13:55:01 +01:00
Amine Ben hammou
d8ccb8a88c Fix dash HTML entity
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Amine Ben hammou
730866d69c Fix ESLint errors
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Amine Ben hammou
139e40bf51 Translate WooCommerce strings
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Amine Ben hammou
fb7135fe19 Add JS test for the block
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Amine Ben hammou
812b89cfee Use styles from woocommerce everytime
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Amine Ben hammou
96cbce78a3 Add content block to template
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Amine Ben hammou
80ec5c53f0 Set headings color from WooCommerce
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Amine Ben hammou
82acd544ab Add static HTML content
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Amine Ben hammou
2eb0133422 Create WoocommerceContent block
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Amine Ben hammou
67946865fb Add templates for WC content block
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Jan Jakeš
eba5fc8a00 Release 3.38.0 2019-10-15 11:02:51 +02:00
Ján Mikláš
b6a38d9209 Show Basics tab when accessing WC tab without WC active
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
Ján Mikláš
a5129b3293 Use exit instead of return after redirect
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
Ján Mikláš
4051d35910 Rewrite acceptance tests to use actual email ID
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
Ján Mikláš
9886b79631 Rewrite opening WooCommerce customizer to use async/await
Fixes bug when promise is resolved sooner than AJAX request is finished.

[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
Ján Mikláš
dc740f9645 Add acceptance test for woocommerce settings notice
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
Ján Mikláš
4d8119028d Show notice in settings to enable WC customizer
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
Ján Mikláš
01c37b9618 Redirect to settings when WC email customizer is disabled
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
Jan Jakeš
fd3b07c916 Fix failing multisite tests
[MAILPOET-2466]
2019-10-10 17:17:58 +01:00
Rostislav Wolny
a460f78113 Move logger factory test to unit tests
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
10eb34ce53 Remove aspect mock from LogHandler test
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
73bc62227a Replace log topics strings by constants
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
d3345d35d0 Refactor Loghandler crandom function to avoid closure in constructor
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
f11774156c Add loggerFactory to DI config
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
0a4aa5ce3f Refactor Newsletter and Bridge to use logger_factory instance
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
e4262b0a6d Refactor Cron to use logger_factory instance
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
9fbaa92c9b Refactor AutomaticEmails to use logger_factory instance
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
db9456d17f Refactor LoggerFactory static methods to instance methods
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
bf816f7ce3 Rename logger factory property that holds logger instances
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Rostislav Wolny
534726cf9d Add static factory method for LoggerFactory
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00