Oluwaseun Olorunsola
6585d2b692
Cast all sub-objects to array
...
MAILPOET-5803
2023-12-19 13:27:21 +01:00
Oluwaseun Olorunsola
074674a498
Properly format response from API
...
MAILPOET-5803
2023-12-19 13:27:21 +01:00
John Oleksowicz
e21adaf9ca
Fix validation logic for "was sent" filter
...
MAILPOET-5801
2023-12-19 12:52:08 +01:00
John Oleksowicz
d477b01111
Fix ALL query
...
The previous implementation relied on INTERSECT, which isn't available
in MySQL
MAILPOET-5264
2023-12-18 12:02:48 +01:00
John Oleksowicz
08f2540bf9
Fix logic for ALL operator
...
Determining the proper conditions for product categories when we are
looking for a customer who purchased all of the provided category IDs is
tricky because we need to account for the hierarchical nature of these
categories. In order to avoid more complex logic, I decided to apply
the ANY logic for each individual category ID and then return the
intersection of those queries.
MAILPOET-5264
2023-12-18 12:02:48 +01:00
John Oleksowicz
0a8e58928f
Fix test category creation
...
The products should use Woo product categories, not default WordPress
categories
MAILPOET-5264
2023-12-18 12:02:48 +01:00
John Oleksowicz
c536959331
Move test data creation into tests
...
This will allow for more complex test cases without having to worry
about how new data will affect existing tests
MAILPOET-5264
2023-12-18 12:02:48 +01:00
John Oleksowicz
463fcc23cb
Simplify test data creation and fix cleanup
...
MAILPOET-5264
2023-12-18 12:02:48 +01:00
John Oleksowicz
88263067b7
Fix woo category filter
...
The previous implementation was based on the number of order IDs, which
was not reliable.
MAILPOET-5264
2023-12-18 12:02:48 +01:00
John Oleksowicz
9e33dc57f9
Add test customer who ordered multiple product categories
...
MAILPOET-5264
2023-12-18 12:02:48 +01:00
Veljko
4e900f0f3a
Update test to match proper automation template
2023-12-14 10:00:58 -06:00
veljko
b3136fde51
Add AutomateWoo plugin to Automation tests
...
[MAILPOET-5794]
2023-12-14 10:00:58 -06:00
Rostislav Wolny
b271985b51
Update Woo and its extensions for integration and acceptance tests in CI
...
[MAILPOET-5792]
2023-12-13 16:44:15 +01:00
Rostislav Wolny
51d3b82bdf
Update minimal and required Woo versions in main plugin file
...
[MAILPOET-5792]
2023-12-13 16:44:15 +01:00
Jan Lysý
1f249fea30
Fix PHPStan error about parameter passed to strval()
...
[MAILPOET-5719]
2023-12-13 13:27:45 +01:00
Pavel Dohnal
8b7c1a317f
Add a kb link about preheader
...
[MAILPOET-5757]
2023-12-13 12:47:45 +01:00
Pavel Dohnal
c3596cb426
Position counter in the label
...
[MAILPOET-5757]
2023-12-13 12:47:45 +01:00
Pavel Dohnal
65050bdf56
Use colours from Wordpress
...
[MAILPOET-5757]
2023-12-13 12:47:45 +01:00
Pavel Dohnal
a52fbc060a
Warn user if counter goes over recommended length
...
[MAILPOET-5757]
2023-12-13 12:47:45 +01:00
Pavel Dohnal
7081010e72
Add preview text counter
...
[MAILPOET-5757]
2023-12-13 12:47:45 +01:00
Pavel Dohnal
09d5cc7024
Add preview explanation
...
[MAILPOET-5757]
2023-12-13 12:47:45 +01:00
Pavel Dohnal
43b48f476a
Move preview text from tooltip
...
[MAILPOET-5757]
2023-12-13 12:47:45 +01:00
Veljko
3ffe7c3aa3
Reverting back to latest version
...
[MAILPOET-5759]
2023-12-13 12:41:06 +01:00
Jan Lysý
19070263e0
Use WooCommerce 8.4.0 RC
...
[MAILPOET-5759]
2023-12-13 12:41:06 +01:00
Jan Lysý
a0865ad2a6
Use filter to avoid exception when WC orders are out of sync
...
[MAILPOET-5759]
2023-12-13 12:41:06 +01:00
Veljko
7d24708d3b
Testing compatibility with Woo beta 1 8.4.0
...
[MAILPOET-5759]
2023-12-13 12:41:06 +01:00
Jan Lysý
eaf320bb89
Unify version pattern in composer.json for PHPStan
...
[MAILPOET-5719]
2023-12-13 11:48:14 +01:00
Jan Lysý
1762ab3edf
Increase used PHP version in static_analysis job
...
[MAILPOET-5719]
2023-12-13 11:48:14 +01:00
Jan Lysý
cf9e0c2584
Changing static analysis instance class from medium to medium+
...
After updating PHPStan static analysis started failing due to memory. It was possible to disable parallel runs but it took 5 minutes.
[MAILPOET-5719]
2023-12-13 11:48:14 +01:00
Jan Lysý
80ee6e4160
Remove redundant configuration for PHPStan
...
[MAILPOET-5719]
2023-12-13 11:48:14 +01:00
Jan Lysý
71a90f5d37
Keep SQLite Drivers in Doctrine package
...
From some reason PHPStan on the premium plugin fails when those files are missing.
I haven't found the exact reason. I checked it only in the error stack trace.
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Jan Lysý
eee5a9e31e
Remove WP_PLUGIN_DIR constant definition from
...
PHPStan bootstrap
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Jan Lysý
525c80bac4
Fix PHPStan warnings in lib
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Jan Lysý
41a55262fe
Fix PHPStan warnings in tests
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Jan Lysý
1119e73056
Unify PHPStan baseline for PHP 8.0 and 8.1
...
Because both files were identical, I decided for simplification.
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Jan Lysý
981232bfbc
Update PHPStan and related packages to the latest version
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Rostislav Wolny
23666f060b
Release 4.40.0
2023-12-12 14:22:53 +01:00
Jan Jakes
496240d0ae
Add error message on preview request failure
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
c7a5dd4efa
Catch request errors when loading template previews
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
d4f0dac54a
Do not report aborted requests as errors
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
ebea81b5ce
Remove styles that are now covered by templates grid
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
fb07dbcd69
Display scrollbars only when necessary
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
6b8dfc973a
Fix scrolling inside automation popovers
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
1e2f35f1d9
Add popover slot to automation to make popovers and dropdowns work everywhere
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
401a0f15ec
Make create from template errors dismissible
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
d5aa68ed8a
Fix filters list to work in automation template previews
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
26c13d938c
Abort outdated requests when fetching template previews
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
da5127adc4
Fix tests to work with the new automation template dialog
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
6decd27dbe
Add icon to template detail error message
...
[MAILPOET-4534]
2023-12-11 20:51:12 +01:00
Jan Jakes
39968927b7
Center automation flow in the preview
...
[MAILPOET-4537]
2023-12-11 20:51:12 +01:00