Brezo Cordero
f68a360562
Convert to TS
...
[MAILPOET-5770]
2023-12-25 21:45:08 +01:00
Brezo Cordero
5d80e01912
Remove acceptance tests for DMARC
...
With new DMARC requirements, these tests require a more complex setup. They will be implemented in a separate ticket.
[MAILPOET-5770]
2023-12-25 21:45:08 +01:00
Brezo Cordero
4e3d51ac0e
Update Sender errors on inputs
...
Do not stack errors and remove the tabs from the Modal.
[MAILPOET-5770]
2023-12-25 21:45:08 +01:00
Brezo Cordero
7c1dc4339a
Update Manage Sender Domain
...
[MAILPOET-5770]
2023-12-25 21:45:08 +01:00
Oluwaseun Olorunsola
2c64908aac
Indicate correctly when a Newsletter is sent
...
MAILPOET-5795
2023-12-25 21:38:02 +01:00
Oluwaseun Olorunsola
c76c8f2abb
Save the correct datetime value for newsletter sentAt column
...
We don't need to use the value from `processedAt` here since we can rightfully use the current datetime value
Also, I found out `processedAt` is usually null here for standard newsletters which cause new Carbon to use the server datetime settings
MAILPOET-5795
2023-12-25 21:38:02 +01:00
Oluwaseun Olorunsola
639d779088
Unify ProcessedAt timezone
...
Fix a problem in the codebase where we create, schedule and update newsletters in the user time zone, but we set the ProcessedAt with another timezone
Also, `Carbon::createFromTimestamp($this->wp->currentTime('mysql'))` is not a valid date.
It would return date: '1970-01-01 00:35:29.000000'
MAILPOET-5795
2023-12-25 21:38:02 +01:00
Jan Lysý
832ffc1568
Add layout left and right padding to columns block
...
Because side paddings were removed from template.html it was necessary add them to the columns block to correct compatibility across different email client.
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Lysý
52e8fc3a12
Add exception for subtracting padding for full-width blocks
...
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Lysý
2ce746a156
Fix getting style attribute in the image block
...
In some cases wasn't the style attribute set and it caused type error in calling method for parsing styles.
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Lysý
1b94347bb4
Add wrapping full-width blocks into core/column block
...
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Lysý
6ec1a46492
Add theme.json containing padding and email width
...
I used theme.json for generating classes useful for full-width in the email editor.
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Lysý
a854c3407a
Enable alignWide in BlockEditor
...
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
Jan Lysý
aa40d7eb7b
Set BlockList layout
...
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
John Oleksowicz
e1df697ce7
Add method to get rewritten email address for MSS
...
MAILPOET-5783
2023-12-20 13:53:59 -06:00
John Oleksowicz
518530edac
Add methods for retrieving domains by status
...
MAILPOET-5783
2023-12-20 13:53:59 -06:00
John Oleksowicz
71dd3168fd
Extract method for raw sender domains API response
...
We are going to add a new property to these responses which we'll use
for other logic, so we can't only rely on the transformed version of the
API response anymore.
MAILPOET-5783
2023-12-20 13:53:59 -06:00
Jan Lysý
35a2dffaeb
Fix mobile preview for columns with configured width
...
[MAILPOET-5746]
2023-12-20 15:59:42 +01:00
Pavel Dohnal
06d7397c0d
Reset old plugins
...
[MAILPOET-5283]
2023-12-19 13:36:17 +01:00
Pavel Dohnal
79c3b8907a
Fix emoji encoding
...
[MAILPOET-5283]
2023-12-19 13:36:17 +01:00
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