Commit Graph

17780 Commits

Author SHA1 Message Date
Oluwaseun Olorunsola
2da4f5f3b9 Add basic accordion to group coupon data and free shipping field
MAILPOET-4762
2023-01-30 11:48:48 +01:00
Oluwaseun Olorunsola
7549ed7f0f Add other WooCommerce coupon option methods
MAILPOET-4762
2023-01-30 11:48:48 +01:00
Jan Lysý
0719f3c4e3 Add small code style improvements
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Jan Lysý
ba055b4278 Move static variable into a property
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Jan Lysý
0b5a809883 Extend CouponPreProcessor unit test
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Jan Lysý
a4f7a05bff Disable coupon generating when coupon id is set
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Jan Lysý
1730578a23 Use coupon id instead of text
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Jan Lysý
f88623e48d Add settings code and resetting placeholder
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Jan Lysý
46fdd8eeb3 Add select with existing coupons
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Jan Lysý
40f4216ff8 Add method for getting WC coupons
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Jan Lysý
fe536fcdd0 Add coupon source switch
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Rostislav Wolny
62cff7b388 Refactor analytics data campaigns_count to be more future proof
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
b24beb1dae Track only revenue data in the current shop currency
This is a protection against an edge case when a shop changes
the currency. We want to make sure we don't mix currencies.
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
b52c53f7f5 Add comment about revenue being tracked once per purchase
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
f66be1b947 Improve typehints and doctypes for the woo revenue tracking
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
5d3b26bb58 Remove unnecessary tracking enabled check
Registering the hook doesn't cost us much and it makes sense to register
it even when the tracking is disabled so that the data are always loaded
when calling: wp wc tracker snapshot --format=yaml
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
55b64d0354 Flatten array campaigns revenue tracking data
This format will be more suitable for further processing for Looker.
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
7ce1b6eb6c Cast numeric revenue tracking data
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
97b42a4a91 Add currency of the store to the tracking data
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
bedde323bd Add proper test group for the tracker integration test
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
0cf2787937 Add email campaigns count to WC tracker data
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
f0bc53766b Catch and log errors when fetching data in MailPoet Woo Tracker
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
f7fc2c16c1 Add Woo revenues to test/dev data generator for Woo revenues
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
f6d80b6e8b Fix type error in Woo orders data generator script
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
17d3f66316 Register filter for tracking revenue data
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
23e08ecb44 Add method for fetching revenue data for the WC Tracker
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
4dfdfc8423 Add dummy Woo Tracker class
[MAILPOET-5014]
2023-01-30 09:21:39 +01:00
Rostislav Wolny
5cdce529b5 Create integration docker containers prior running tests
This fixes Error response from daemon: Conflict. The container name "/wordpress_0".
which occasionally occurs when integration tests start.
We applied the same fix for the acceptance tests and it fixed the issue.
[MAILPOET-4947]
2023-01-30 09:15:23 +01:00
Rostislav Wolny
522b8a87db Fix flaky MailerLog testItTruncatesOutdatedEntriesWhenIncrementingSentCount
The test was setting the value that was later checked to the very edge of the allowed interval.
So if the tested method was executed a second later test failed.
This commit sets the tested value a second before the end or the interval so
there should be enough time for the method to run with the expected outcome.
[MAILPOET-4866]
2023-01-30 09:32:31 +02:00
Veljko
6e8660dcc4 Update Readme with the remaining info
[MAILPOET-4944]
2023-01-26 16:46:58 +01:00
Veljko
936b7fed74 Update Readme with test environment
[MAILPOET-4944]
2023-01-26 16:46:58 +01:00
Veljko
d87794aa1f Reorder tests structure
[MAILPOET-4944]
2023-01-26 16:46:58 +01:00
Veljko
8675aaef6e Update Readme with headless info 2023-01-26 16:46:58 +01:00
Veljko
824e097639 Update Readme file 2023-01-26 16:46:58 +01:00
Veljko
dce8e94f8e Add Readme file
[MAILPOET-4944]
2023-01-26 16:46:58 +01:00
Veljko
e22ffcb5e3 Establishing k6 into mailpoet env
[MAILPOET-4944]
2023-01-26 16:46:58 +01:00
 Ján Mikláš
8f94096cdd Hide unnecessary close button, that causes vertical scrollbars in form editor on desktops
[MAILPOET-4607]
2023-01-26 14:45:33 +01:00
 Ján Mikláš
faa17b0d5c Add animation on close button in form editor
[MAILPOET-4607]
2023-01-26 14:45:33 +01:00
 Ján Mikláš
c4d4a6e594 Add bottom padding so the HelpScout icon never overlays editor's UI
[MAILPOET-4605]
2023-01-26 14:27:55 +01:00
 Ján Mikláš
9937bcc2d5 Remove custom HelpScout position in form editor
[MAILPOET-4605]
2023-01-26 14:27:55 +01:00
Jan Jakes
031c7d9866 Expose external link component
[PREMIUM-215]
2023-01-26 14:12:22 +01:00
Jan Jakes
0e84ddb957 Fix error styles for radio inputs
[PREMIUM-215]
2023-01-26 14:12:22 +01:00
Jan Jakes
5672823472 Export automation config for reuse
[PREMIUM-215]
2023-01-26 14:12:22 +01:00
Jan Jakes
d03e11f938 Use detected locale in localized strings
[PREMIUM-215]
2023-01-26 14:12:22 +01:00
Jan Jakes
3dbd91bfef Add Intl.Locale detection for formatting localized strings
[PREMIUM-215]
2023-01-26 14:12:22 +01:00
Jan Jakes
d0ff2a9eae Process also day format for custom fields
Although not currently offered in the UI, day format is partially implemented and passes validation.

[PREMIUM-215]
2023-01-26 14:12:22 +01:00
Jan Jakes
78314944aa Do not require default props in the premium plugin
This aligns the configuration with the free plugin.

[PREMIUM-215]
2023-01-26 14:12:22 +01:00
Jan Jakes
872bf07b25 Remove hover effect from plain titles
This is consisteng with Gutenberg editor behavior.

[PREMIUM-215]
2023-01-26 14:12:22 +01:00
Jan Jakes
17b79ee29f Expose textarea, radio, and select components
[PREMIUM-215]
2023-01-26 14:12:22 +01:00
Jan Jakes
f5b411e2ae Use plugin context for segments in automation UI
[PREMIUM-215]
2023-01-26 14:12:22 +01:00