Commit Graph

9623 Commits

Author SHA1 Message Date
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
Rostislav Wolny
beccbea6e2 Refactor Mailpoet\Logging\Logger to LoggerFactory
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
Jan Jakeš
1f2e1f9e4a Rename WooCommerceOrders job to WooCommercePastOrders
[MAILPOET-2465]
2019-10-10 12:09:35 +01:00
Jan Jakeš
e0244c771a Rename WooCommerce orders job to restart it even when completed
[MAILPOET-2465]
2019-10-10 12:09:35 +01:00
Rostislav Wolny
21158abe49 Rename $queue variable to $sending_task to make code more undestandable
[MAILPOET-2458]
2019-10-10 12:04:07 +01:00
Rostislav Wolny
6cbaeee868 Use PHPUnit mock instead of aspect mock in sending queue newsletter task test
[MAILPOET-2458]
2019-10-10 12:04:07 +01:00
Amine Ben hammou
31d8125b99 Make isWPUser return false for 0
[MAILPOET-2457]
2019-10-10 11:59:58 +01:00
Jan Jakeš
d2f6c48acb Prevent tracking WooCommerce purchases multiple times
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
260b9baeae Clean all previous stats records per-order before inserting new ones
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
4e15aad794 Rename meta record for last ID to restart WooCommerce purchase cron
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
Jan Jakeš
0091755301 Fix and simplify query for latest click per-newsleter-per-subscriber
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00