6e4a08f022
Update chai from 4.3.6 to 4.3.8
...
MAILPOET-4391
2023-10-02 10:00:28 +02:00
20b0cab1f0
Update autoprefixer from 10.4.4 to 10.4.15
...
MAILPOET-4391
2023-10-02 10:00:28 +02:00
40cbec0bf6
Create robo command to update JS dependencies
...
MAILPOET-4391
2023-10-02 10:00:28 +02:00
f5a0b67e9f
Fix message displayed when a new segment is created
...
There was a bug and the code was displaying `Segment succesfully
updated!` instead of `Segment succesfull added!` when the user created a
new segment.
This commit fixes this problem. The issue was that
Number(match.params.id) returns `NaN` instead of `undefined` when there
is no segment ID. So the check inside handleSave() was always calling
messages.onUpdate().
Since the segment ID was never used. I replaced it with a boolean and
renamed the variable from `segmentId` to `isNewSegment` to better
indicate how it is used.
[MAILPOET-5615]
2023-09-28 22:22:50 +03:00
125d5e9d1f
Fix Redirect to the landing page after activation
...
When the plugin was not activated on the WP plugins page (e.g., via WC NUX)
we forgot to clean the activation flag. That caused us to redirect
to the landing page on a subsequent plugin activation, even if the user activated
a different plugin.
This commit fixes the issue by making sure the PLUGIN_ACTIVATED flag is unset even when plugin
is not activated from WP plugins page.
[MAILPOET-5221]
2023-09-27 18:58:04 +02:00
57c277d428
Fix form width on mobile
...
[MAILPOET-5419]
2023-09-27 13:57:58 +02:00
e0acb20047
Release 4.29.0
2023-09-27 09:47:02 +02:00
9f1c226199
Bump WooCommerce version to 8.1
...
[MAILPOET-5589]
2023-09-26 11:15:12 -03:00
a464df2831
Ensure WP_DEBUG is cast to a boolean value
...
[MAILPOET-5608]
2023-09-26 13:26:22 +02:00
ad56797328
Add integration tests for deleting multiple newsletters
...
[MAILPOET-5607]
2023-09-26 01:52:19 -07:00
899b68f2df
Remove setting click_id to zero and keep the old one
...
Setting newsletter_id and click_id blocked deleting newsletters due to the unique index.
[MAILPOET-5607]
2023-09-26 01:52:19 -07:00
f5ee3b9736
Bump used WooCommerce and AutomateWoo
...
Because there was a bug in AutomateWoo in compatibility with WC 8.1.0 that was fixed in AutomateWoo 6.0.4,
we can use the latest version again.
[MAILPOET-5588]
2023-09-25 14:34:38 -05:00
26093737e3
Ensure options.path exists
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
3de300da3a
Change method name to withStep
...
trunk changed the method name, this commit reflects this change for the tests
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
8876007085
Add test for BuysFromACategoryTrigger
...
[MAILPOET-5517]
2023-09-25 07:11:43 -07:00
5ef146cc2b
Add BuysFromACategory Trigger backend
...
[MAILPOET-5517]
2023-09-25 07:11:43 -07:00
90105f5025
Add BuysFromACategory Trigger frontend
...
[MAILPOET-5517]
2023-09-25 07:11:43 -07:00
a62618ffdd
Add test for BuysAProductTrigger
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
a7f66d9812
Add BuysAProduct trigger backend
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
2ea9a69a40
Make method public
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
5bb8ea214d
Add Buys A Product trigger frontend
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
63e7db963a
Prepare <OrderStatusPanel /> to be used by different steps
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
5a740f50ad
Switch api URL for wc-analytics
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
f8cab8f888
Fix text-domains
...
[MAILPOET-5516]
2023-09-25 07:11:43 -07:00
c12438db08
Add filter to remove restriction on Woo Express
...
[MAILPOET-5573]
2023-09-25 07:02:19 -07:00
748995d9d5
Use createInterpolateElement
...
[MAILPOET-5573]
2023-09-25 06:56:27 -07:00
1be36ed7f5
Add automations info notice on KB Help tab
...
This is for Woo Express customers where the automations are hidden when AutomateWoo is enabled.
[MAILPOET-5598]
2023-09-25 06:56:27 -07:00
d5ea0fab02
Add automations info notice on Woo Settings tab
...
This is for Woo Express customers where the automations are hidden when AutomateWoo is enabled.
[MAILPOET-5598]
2023-09-25 06:56:27 -07:00
946d4a87f8
Add read more link to automateWoo type
...
[MAILPOET-5598]
2023-09-25 06:56:27 -07:00
7fac20fc8c
Make default error value NULL, make data non-nullable
...
[MAILPOET-5599]
2023-09-25 06:10:52 -07:00
c5f50b2a47
Fix "Field 'run_number' doesn't have a default value"
...
[MAILPOET-5599]
2023-09-25 06:10:52 -07:00
6388a7307f
Check table exists before altering it
...
[MAILPOET-5590]
2023-09-25 05:48:48 -07:00
99bbf4ffd0
Fix ts error
...
[MAILPOET-5435]
2023-09-25 03:18:34 -07:00
eaf82fce3f
Improve naming of symlink constant
...
[MAILPOET-5435]
2023-09-25 03:18:34 -07:00
967de81760
Update upgrade_info with premium status
...
[MAILPOET-5435]
2023-09-25 03:18:34 -07:00
fc101a9ad2
Use Premium Modal on upgrade banner
...
[MAILPOET-5435]
2023-09-25 03:18:34 -07:00
1c4e6f45d2
Use Premium modal on key activation
...
[MAILPOET-5435]
2023-09-25 03:18:34 -07:00
d0e72c8fa8
Ignore exceptions when symlink premium
...
This is a nice to have and should not block the installation.
[MAILPOET-5435]
2023-09-25 03:18:34 -07:00
2d31cc4bc4
Symlink premium if Dotcom platform
...
[MAILPOET-5435]
2023-09-25 03:18:34 -07:00
688d1ff0aa
Add displaying loader in react select
...
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
abcfdebcf6
Add integration test for Coupon API endpoint
...
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
5356415b48
Add debouncing to coupon search inputs
...
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
76ec7e6466
Fix EditorCouponCest after coupon block changes
...
I added waiting for element because coupons are loaded with Ajax call now.
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
edb2c97286
Refactor used coupon filter to load coupons via API
...
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
191bd69fac
Remove coupons from dynamic segments page
...
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
26417bab52
Change Coupon API parameter from include_coupon_id to include_coupon_id
...
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
38fe1cce6a
Refactor component for existing coupons to use Ajax call
...
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
79d506ca34
Create new API endpoint for WC coupons
...
Because I haven't found an easy way how to use WP or WC API,
I decided to create a MailPoet endpoint for getting coupons that
allows me loading them via Ajax.
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
019b9ec3fa
Remove coupons loading from NewsletterEditor
...
[MAILPOET-5123]
2023-09-25 02:28:51 -07:00
6a8c47382b
Make sure tracking happens before redirecting user to another page
...
See https://github.com/mailpoet/mailpoet/pull/5156#discussion_r1327025254
[MAILPOET-5400]
2023-09-25 00:21:06 -07:00