Commit Graph

21667 Commits

Author SHA1 Message Date
4b9bd36b99 Update passing capabilities to upgrade info and banner components
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
62dad1eca6 Allow specifiying multiple capabilities with their values in premium banner
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
8369459e16 Allow specifiying multiple capabilities with their values in upgrade info
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
6cac814b5f Allow objects in upgrade URLs (such as "capabilities[name]=value")
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
72f49808d0 Check for required number of steps for automation templates
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
6e66bf1f4b Add tier to MailPoet object
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
9de62db7df Add number of required automation steps to templates
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
575ce3cc5c Move purchased templates to the free plugin
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
3a5f108e42 Change free-only templates to default
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
21441ecc4a Update tests to match new template markup 2024-05-01 11:15:27 +01:00
f6c9308adc Fix mocks in FlexLayoutRendererTest
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
dd93d92a8e Fix issues caused by posts not being saved and CSS inliner change
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
0bbe31b005 Fix RendeterTest
Post is save to DB and asserts are updated for the new css inliner
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
1b13d041f1 Add a helper for creating posts in integration tests
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
143e1f9e30 Fix empty columns margin render 2024-05-01 11:15:27 +01:00
e6aef6f0a5 Update ContentRenderer:testItInlinesContentStyles test
This new inliner library adds a space between the rule and value
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
76c60aa5e0 Update BlocksRegistryTest
- testItAllowsToReplaceRendererViaFilter is no longer needed as we removed the filter
- testItRemovesAllBlockRenderers this responsibility was moved to ContentRenderer
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
3f3787ac4b Empty block does not appear in blank content—update test. 2024-05-01 11:15:27 +01:00
655302006e Fix union type for php7 2024-05-01 11:15:27 +01:00
d0f75213fe Slightly polished templates for the demo
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
064c9ae160 Disable send button in template mode or when there are unsaved changes
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
86498e6478 Nicer formatting of experimental templates panel
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
20d3fb2995 Move the save panel to the dropdown under the save button
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
ac78e63db6 Fix alignment is not applied in the template preview
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
3896365aac Fix canvas height and scrolling
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
91c19d3f55 Use correct template titles in template select modal
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
a3575638b1 Make email-general template blank
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
e284fa8710 Change header based on template edit context 2024-05-01 11:15:27 +01:00
f0a743a8e0 Correct the template name in the templates panel 2024-05-01 11:15:27 +01:00
1db80991c1 Add "revert template" function 2024-05-01 11:15:27 +01:00
d9859fe19f Add select template modal appearance
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
c2c14b96d8 Fix scrolling in canvas when editing email content
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
769cf307d2 Save email styles to template theme to template's post meta
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
923db5f598 Fix error with template editing state 2024-05-01 11:15:27 +01:00
1bd7c8dae0 Remove <PostLockedModal /> 2024-05-01 11:15:27 +01:00
b4cc170f5a Show global snackbars 2024-05-01 11:15:27 +01:00
e2f99d8795 Full height editor 2024-05-01 11:15:27 +01:00
a13997cede Hide editor with null template 2024-05-01 11:15:27 +01:00
7e24ac02ad Await template load before rendering editor 2024-05-01 11:15:27 +01:00
32a1cdacaa Load and apply styles from a template in the editor
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
53d65aace8 Reuse DefaultContent in save controller 2024-05-01 11:15:27 +01:00
d39e946e82 Consistent gaps for header/content 2024-05-01 11:15:27 +01:00
49c6ed084c Make template editor fill canvas 2024-05-01 11:15:27 +01:00
275ad1cb7a Add support for color.text in styles
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
c321eb282e Refactor renderers to use template JSON 2024-05-01 11:15:27 +01:00
73ba5923ef Allow saving background.coloro to mailpoet_email_theme
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
e8352d3dc8 Save template styles to mailpoet_email_theme
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
f2333cddf5 Fix fetching styles for template previews
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
ccad08822d Use mailpoet content pattern in template previews
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
7ba921018a Use the main background in the preview components in styles
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00