Commit Graph

21722 Commits

Author SHA1 Message Date
Jan Lysý
47d5fa93d4 Make the CSS selector for modal with more specific
Because the version of the modal component contains its own width style, we need to make the selector more specific to override width.
[MAILPOET-6011]
2024-05-02 12:42:20 +02:00
Jan Jakes
b18bb14ecc Fix scheduled task entity having the same association twice
It also seems that orphanRemoval doesn't play well with our explicit detachAll logic.

[MAILPOET-6047]
2024-05-02 11:52:33 +02:00
Veljko
55416fd2ff Increase waiting time for the email editor 2024-05-02 10:07:40 +01:00
Veljko
f3d03d82e3 Fix acceptance test WC category segment 2024-05-02 10:07:40 +01:00
Jan Jakes
5e8a377669 Fix template counts in tests
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
4b9bd36b99 Update passing capabilities to upgrade info and banner components
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
62dad1eca6 Allow specifiying multiple capabilities with their values in premium banner
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
8369459e16 Allow specifiying multiple capabilities with their values in upgrade info
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
6cac814b5f Allow objects in upgrade URLs (such as "capabilities[name]=value")
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
72f49808d0 Check for required number of steps for automation templates
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
6e66bf1f4b Add tier to MailPoet object
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
9de62db7df Add number of required automation steps to templates
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
575ce3cc5c Move purchased templates to the free plugin
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Jan Jakes
3a5f108e42 Change free-only templates to default
[MAILPOET-6002]
2024-05-01 12:26:09 +02:00
Mike Jolley
21441ecc4a Update tests to match new template markup 2024-05-01 11:15:27 +01:00
Rostislav Wolny
f6c9308adc Fix mocks in FlexLayoutRendererTest
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
dd93d92a8e Fix issues caused by posts not being saved and CSS inliner change
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
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
Rostislav Wolny
1b13d041f1 Add a helper for creating posts in integration tests
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
143e1f9e30 Fix empty columns margin render 2024-05-01 11:15:27 +01:00
Rostislav Wolny
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
Rostislav Wolny
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
Mike Jolley
3f3787ac4b Empty block does not appear in blank content—update test. 2024-05-01 11:15:27 +01:00
Mike Jolley
655302006e Fix union type for php7 2024-05-01 11:15:27 +01:00
Rostislav Wolny
d0f75213fe Slightly polished templates for the demo
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
064c9ae160 Disable send button in template mode or when there are unsaved changes
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
86498e6478 Nicer formatting of experimental templates panel
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
20d3fb2995 Move the save panel to the dropdown under the save button
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
ac78e63db6 Fix alignment is not applied in the template preview
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
3896365aac Fix canvas height and scrolling
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
91c19d3f55 Use correct template titles in template select modal
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
a3575638b1 Make email-general template blank
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
e284fa8710 Change header based on template edit context 2024-05-01 11:15:27 +01:00
Mike Jolley
f0a743a8e0 Correct the template name in the templates panel 2024-05-01 11:15:27 +01:00
Mike Jolley
1db80991c1 Add "revert template" function 2024-05-01 11:15:27 +01:00
Rostislav Wolny
d9859fe19f Add select template modal appearance
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
c2c14b96d8 Fix scrolling in canvas when editing email content
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Rostislav Wolny
769cf307d2 Save email styles to template theme to template's post meta
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
923db5f598 Fix error with template editing state 2024-05-01 11:15:27 +01:00
Mike Jolley
1bd7c8dae0 Remove <PostLockedModal /> 2024-05-01 11:15:27 +01:00
Mike Jolley
b4cc170f5a Show global snackbars 2024-05-01 11:15:27 +01:00
Mike Jolley
e2f99d8795 Full height editor 2024-05-01 11:15:27 +01:00
Mike Jolley
a13997cede Hide editor with null template 2024-05-01 11:15:27 +01:00
Mike Jolley
7e24ac02ad Await template load before rendering editor 2024-05-01 11:15:27 +01:00
Rostislav Wolny
32a1cdacaa Load and apply styles from a template in the editor
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
53d65aace8 Reuse DefaultContent in save controller 2024-05-01 11:15:27 +01:00
Mike Jolley
d39e946e82 Consistent gaps for header/content 2024-05-01 11:15:27 +01:00
Mike Jolley
49c6ed084c Make template editor fill canvas 2024-05-01 11:15:27 +01:00
Rostislav Wolny
275ad1cb7a Add support for color.text in styles
[MAILPOET-6014]
2024-05-01 11:15:27 +01:00
Mike Jolley
c321eb282e Refactor renderers to use template JSON 2024-05-01 11:15:27 +01:00