Commit Graph

8215 Commits

Author SHA1 Message Date
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
d8ccb8a88c Fix dash HTML entity
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
730866d69c Fix ESLint errors
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
139e40bf51 Translate WooCommerce strings
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
fb7135fe19 Add JS test for the block
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
812b89cfee Use styles from woocommerce everytime
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
96cbce78a3 Add content block to template
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
80ec5c53f0 Set headings color from WooCommerce
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
82acd544ab Add static HTML content
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
2eb0133422 Create WoocommerceContent block
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
67946865fb Add templates for WC content block
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
eba5fc8a00 Release 3.38.0 2019-10-15 11:02:51 +02:00
b6a38d9209 Show Basics tab when accessing WC tab without WC active
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
a5129b3293 Use exit instead of return after redirect
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
4051d35910 Rewrite acceptance tests to use actual email ID
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
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
dc740f9645 Add acceptance test for woocommerce settings notice
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
4d8119028d Show notice in settings to enable WC customizer
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
01c37b9618 Redirect to settings when WC email customizer is disabled
[MAILPOET-2408]
2019-10-11 15:57:38 +01:00
fd3b07c916 Fix failing multisite tests
[MAILPOET-2466]
2019-10-10 17:17:58 +01:00
a460f78113 Move logger factory test to unit tests
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
10eb34ce53 Remove aspect mock from LogHandler test
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
73bc62227a Replace log topics strings by constants
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
d3345d35d0 Refactor Loghandler crandom function to avoid closure in constructor
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
f11774156c Add loggerFactory to DI config
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
0a4aa5ce3f Refactor Newsletter and Bridge to use logger_factory instance
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
e4262b0a6d Refactor Cron to use logger_factory instance
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
9fbaa92c9b Refactor AutomaticEmails to use logger_factory instance
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
db9456d17f Refactor LoggerFactory static methods to instance methods
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
bf816f7ce3 Rename logger factory property that holds logger instances
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
534726cf9d Add static factory method for LoggerFactory
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
beccbea6e2 Refactor Mailpoet\Logging\Logger to LoggerFactory
[MAILPOET-2444]
2019-10-10 12:36:06 +01:00
1f2e1f9e4a Rename WooCommerceOrders job to WooCommercePastOrders
[MAILPOET-2465]
2019-10-10 12:09:35 +01:00
e0244c771a Rename WooCommerce orders job to restart it even when completed
[MAILPOET-2465]
2019-10-10 12:09:35 +01:00
21158abe49 Rename $queue variable to $sending_task to make code more undestandable
[MAILPOET-2458]
2019-10-10 12:04:07 +01:00
6cbaeee868 Use PHPUnit mock instead of aspect mock in sending queue newsletter task test
[MAILPOET-2458]
2019-10-10 12:04:07 +01:00
31d8125b99 Make isWPUser return false for 0
[MAILPOET-2457]
2019-10-10 11:59:58 +01:00
d2f6c48acb Prevent tracking WooCommerce purchases multiple times
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
260b9baeae Clean all previous stats records per-order before inserting new ones
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
4e15aad794 Rename meta record for last ID to restart WooCommerce purchase cron
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
0091755301 Fix and simplify query for latest click per-newsleter-per-subscriber
[MAILPOET-2446]
2019-10-09 14:29:02 +01:00
a4c1bac911 Remove useless validation rules from import code
[MAILPOET-2432]
2019-10-09 13:57:50 +01:00
54afa0661f Always use datetime validation for custom field of date type
[MAILPOET-2432]
2019-10-09 13:57:50 +01:00
8512683097 Remove no longer needed exports for Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
89fa5e20c4 Move dynamic segment acceptance tests from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
11d74e1002 Fix dynamic segment JS imports
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
2f7ad3b35d Move dynamic segments JS and CSS from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
80f335fee3 Add dynamic segments page from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00
771f4b9d63 Move dynamic segment hooks from Premium plugin
[MAILPOET-2382]
2019-10-09 13:36:24 +01:00