Commit Graph

20446 Commits

Author SHA1 Message Date
5d7d697379 Add a document actions panel for email name editing
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
f9a7ffc337 Allow title for the email custom post
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
b3a39271e1 Improve the name of the action for updating mailpoet-specific data
The original name suggested that the method could be used for
updating any property of a full email post entity but actually updates only mailpoet
specific data.

[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
28a3d40bda Fix column with calculation when missing
In specific cases could defining padding for columns without width looked differently in preview.
[MAILPOET-5739]
2024-01-05 11:17:46 +01:00
34b14791aa Define box-sizing for block columns
Because it's very difficult to calculate columns width when a column width is defined by percent and has defined padding. I added box-sizing for email preview unification with the email editor.
[MAILPOET-5739]
2024-01-05 11:17:46 +01:00
df9c3f5890 Add comments about color variables conversion
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
4b306dbca1 Remove unused constant
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
d4e2836a9d Unify typehint by BlockRenderer interface
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
61892595ee Fix blocks width across email clients
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
efd9abcf76 Skip width style setting in blocks paragraph and heading
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
6aca73ff2e Remove exception in width block width calculation
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
1331e7e257 Extend block paragraph integration test
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
61e8d2d200 Implement rendering block core/paragraph
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
3228ae5794 Fix stretch alignment for the column/core block
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
37d893ff47 Disable fontWeight settings for Paragraphs
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
52214962a6 Disable dropCap settings for Paragraphs
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
445f7545a1 Reuse function from SettingsController in Heading renderer
[MAILPOET-5642]
2024-01-05 10:17:23 +01:00
20cc82d4d9 Release 4.41.0 2024-01-04 09:45:44 -06:00
862c0d26b2 Don't display banner notices to new users
MAILPOET-5783
2024-01-03 18:54:01 +01:00
b2222f65b5 Make notices dismissible
MAILPOET-5783
2024-01-03 18:54:01 +01:00
cbcae3714d Extract methods for verification/error style
MAILPOET-5783
2024-01-03 18:54:01 +01:00
0d83836b68 Add banner notices for unverified sender domains
MAILPOET-5783
2024-01-03 18:54:01 +01:00
769faf9c3f Fix error handling for requests without abort signal
[MAILPOET-5789]
2023-12-29 16:02:22 +01:00
b8efadf097 Punctuation and remove extension
[MAILPOET-5770]
2023-12-25 21:45:08 +01:00
f68a360562 Convert to TS
[MAILPOET-5770]
2023-12-25 21:45:08 +01:00
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
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
7c1dc4339a Update Manage Sender Domain
[MAILPOET-5770]
2023-12-25 21:45:08 +01:00
2c64908aac Indicate correctly when a Newsletter is sent
MAILPOET-5795
2023-12-25 21:38:02 +01:00
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
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
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
52e8fc3a12 Add exception for subtracting padding for full-width blocks
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
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
1b94347bb4 Add wrapping full-width blocks into core/column block
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
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
a854c3407a Enable alignWide in BlockEditor
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
aa40d7eb7b Set BlockList layout
[MAILPOET-5688]
2023-12-21 13:04:10 +01:00
e1df697ce7 Add method to get rewritten email address for MSS
MAILPOET-5783
2023-12-20 13:53:59 -06:00
518530edac Add methods for retrieving domains by status
MAILPOET-5783
2023-12-20 13:53:59 -06:00
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
35a2dffaeb Fix mobile preview for columns with configured width
[MAILPOET-5746]
2023-12-20 15:59:42 +01:00
06d7397c0d Reset old plugins
[MAILPOET-5283]
2023-12-19 13:36:17 +01:00
79c3b8907a Fix emoji encoding
[MAILPOET-5283]
2023-12-19 13:36:17 +01:00
6585d2b692 Cast all sub-objects to array
MAILPOET-5803
2023-12-19 13:27:21 +01:00
074674a498 Properly format response from API
MAILPOET-5803
2023-12-19 13:27:21 +01:00
e21adaf9ca Fix validation logic for "was sent" filter
MAILPOET-5801
2023-12-19 12:52:08 +01:00
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
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
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