Commit Graph

20468 Commits

Author SHA1 Message Date
195756c0c7 Add renderer for core/button block
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
f907f574ea Fix block width preprocessor for blocks with percentage width
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
6807189df3 Enable border-related settings in the email editor
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
3a74c1c4a0 Enable blocks and register dummy button/buttons renderers
[MAILPOET-5644]
2024-01-08 09:21:16 +01:00
dec3020cd2 Disable send button when saved content is empty
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
631b75363b Improve isEmpty selector to check also campaign name
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
90b7a16a9b Refactor Send button to an extra component
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
267e3c550e Add campaign name to the sending page
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
d54847ce83 Refactor construction of NewsletterEntity when creating an email in the new editor
When we create a new email in the new editor we ensure there is
also an associated NewsletterEntity.
This commit improves this functionality by replacing custom code with
 NewsletterSaveController, which ensures that the sender name and address are set.
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
966014d71d Improve name of a getter for campaign name or subject on NewsletterEntity
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
159c3bf139 Move campaign name title to TextControl label
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
e05264cadd Increase width of the campaign name dropdown
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
e37f42ac58 Rename the component for setting the campaign name
Let's go with the specific name. We can come up with a more abstract name
as we add more settings to the component.
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
4734aafef5 Mark WpPostEntity as read-only
Read-only was added to prevent using the entity for modifying post
data.
We want to allow modifying posts only via WP functions so that we don't skip any hooks etc.
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
2ea0ea4c3b Extend the editor acceptance test by checking campaign name functionality
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
598db897d6 Display campaign name and subject on the newsletter stats page
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
b8b5696ab1 Use campaign name if available in newsletters listing in segment editor
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
6607b2945f Allow sorting by name + subject in newsletters listing
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
f7a2cfc5b7 Fetch campaign titles from wp_posts in newsletters listing
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
8be034822e Add minimalistic WpPostEntity for fetching basic post data for listing
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
c9c7146ef1 Improve table prefixing to allow Doctrine entities for WP tables
WordPress tables use only the DB prefix, but MailPoet tables use
DB prefix + plugin prefix (mailpoet).

This commit changes TablePrefixMetadataFactory to be able to distiguish
WP table for posts and adds proper prefix.
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
1565151179 Show the campaign name alongside the subject in standard emails listing
[MAILPOET-5646]
2024-01-08 12:04:06 +05:00
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