f5aba4ebee
Ensure invalid tasks don't prevent new post notifications
...
MAILPOET-5853
2024-01-29 17:16:12 +01:00
4ba3e95cbf
Return early when senderDomainsConfig is null
...
The value can be null according to the definition. This happens when
another sending method is active or the API key is not able to send through
MSS.
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
74a8a0aefc
Modify context for Automations
...
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
31f973409f
Add option to only show email rewritten warnings
...
This is for Automations where we don't block sending
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
f1852684a5
Use useSelect for senderDomainsConfig
...
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
7e110bcce9
Use props instead of window in inline notice
...
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
8177c3819c
Fix PHP error warning on createAuthorizedSenderDomain
...
And reload cache
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
d0f72b3b0e
Adjust inline notice display for automations
...
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
4b912bbafb
Add SenderDomainNotice to email Panel
...
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
d2715b5367
Add reducer-action to update the context
...
Needed for automations with more than one email step where one step can authorize an email or sender domain. Not expected to be a common action.
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
1a7a424936
Add Sender Domain Data to MailPoet Context
...
[MAILPOET-5796]
2024-01-29 16:53:00 +01:00
b8c9233c29
Add sender domain auth task
...
[MAILPOET-5781]
2024-01-29 13:27:49 +01:00
d137ad1430
Fetch data necessary for new task in Homepage controller
...
[MAILPOET-5781]
2024-01-29 13:27:49 +01:00
88d2eaa736
Trigger settings domain authorization modal by URL param
...
[MAILPOET-5781]
2024-01-29 13:27:49 +01:00
a86f75a1e7
Update CodeSniffer ignores
...
[MAILPOET-5781]
2024-01-29 13:27:49 +01:00
e303804352
Increase limits for legacy emails
...
MAILPOET-5850
2024-01-29 12:12:44 +01:00
2012621791
Improve code comment when adding block editor class
...
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
df9ccd8fbb
Remove unnecessary CSS for hiding footer
...
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
cc8bb10d8b
Add proper body class for the email editor to mark it a block editor
...
This class is needed so that some CSS rules (e.g. white background, hidden footer)
are applied for WP admin.
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
414e540f33
Remove unnecessary code for highlighting MailPoet > Email menu
...
The code was needed when we used the post editor. After we switched to
the custom editor we don't need it any more.
[MAILPOET-5854]
2024-01-29 10:52:41 +01:00
5cd7dad626
Use UnsavedChangesWarning in the email editor
...
[MAILPOET-5742]
2024-01-26 11:36:40 +01:00
b116a8f7e9
Create component for autosave
...
[MAILPOET-5742]
2024-01-26 11:36:40 +01:00
f9ee8223f6
Add autosaveInterval to store
...
[MAILPOET-5742]
2024-01-26 11:36:40 +01:00
7c240fe305
Add styles hiding WP footer containing version
...
[MAILPOET-5743]
2024-01-26 11:12:02 +01:00
81f09abe09
Add styles hiding the advanced panel
...
[MAILPOET-5743]
2024-01-26 11:12:02 +01:00
436349a980
Remove skipping core/columns in spacing preprocessor
...
[MAILPOET-5816]
2024-01-24 15:38:13 +01:00
d2ebd587a0
Remove a space in style causing failing integration test
...
[MAILPOET-5816]
2024-01-24 15:38:13 +01:00
fc79e3eee9
Implement margin-top for core block renderers
...
[MAILPOET-5816]
2024-01-24 15:38:13 +01:00
eed1dbb695
Fix heading and paragraph background with padding
...
[MAILPOET-5816]
2024-01-24 15:38:13 +01:00
92fec6eb2f
Fix spaces around list elements in Outlook
...
[MAILPOET-5816]
2024-01-24 15:38:13 +01:00
48b4388992
Add block spacing preprocessing
...
[MAILPOET-5816]
2024-01-24 15:38:13 +01:00
9e0209f0c6
Reduce resetting styles for email rendering
...
Because a lot of reset styles make the email HTML hardly readable, I decided to reduce reset styles.
[MAILPOET-5816]
2024-01-24 15:38:13 +01:00
6ccbf84cdf
Use gap size as email layout padding
...
[MAILPOET-5816]
2024-01-24 15:38:13 +01:00
7ab562bdd2
Set default block gap
...
[MAILPOET-5816]
2024-01-24 15:38:13 +01:00
68c02dab50
Update k6 version and reduce nightly test cycle
...
[MAILPOET-5849]
2024-01-24 14:07:51 +01:00
d6e83a3471
Add documentation for theme.json
...
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
3574e6b2ca
Move gradients config to theme.json
...
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
c75f30ce4e
Move border settings for the editor to theme.json
...
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
b90a35d80a
Add definition of default heading font-sizes and renderer support
...
Initially, I tried to place the definition to theme.json
(It could set it in styles.block.core/heading or styles.elements.h1...)
It was not possible to use theme.json because of the fluid typography
feature which, when enabled for a site, causes font sizes to being
converted to the fluid definition (clamp(x, y, z)) and which
is not usable for an email due to very little client support.
We need to make some changes in Gutenberg to be able to disable the feature.
Currently, the code for generating font sizes in CSS generated from the theme.json
looks directly at the global settings of the site.
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
6f3ebc10b8
Remove unnecessary editor styles
...
These styles were later overwritten by $editorTheme->get_stylesheet()
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
89a02fce39
Remove unnecessary settings in the DEFAULT_SETTINGS constant
...
These settings are later completely replaced by settings generated
from theme.json
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
4b55bb5bb3
Move default core/button styles configuration to integration
...
[MAILPOET-5814]
2024-01-23 16:47:48 +01:00
0daf720d34
Add hook for changing default theme for email editor
...
[MAILPOET-5814]
2024-01-23 16:47:48 +01:00
cd274c0738
Add basic style for buttons
...
Default background rendering has to be handled on the button renderer level
because of a specific markup for Outlook (bgcolor attribute). Default text color and paddings are
handled via CSS inlining. That's why they are tested in RendererTest
I used the same background color and font color as the one defined for the button
element in WP core theme.json, and I also used similar padding values
(In core they use "calc(0.667em + 2px) calc(1.333em + 2px)")
[MAILPOET-5814]
2024-01-23 16:47:48 +01:00
b9b57cc574
Refactor getSettings to work with the mered theme
...
The method was loading both themes separately. This commit changes
the behavior so that it uses only the email theme which contains
also the core theme settings.
Instead of modifying the core theme settings in PHP we can now
move these settings into the email editor theme, which is merged
into the core theme.
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
512d47609e
Use merged theme in renderer CSS and for font-size slug translation
...
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
55dd1d0ab0
Improve getTheme to return merged core theme + email theme
...
The idea is that the core theme is a base and we add email-specific
modifications on top of and create a core email theme.
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
0e04a892c2
Inline style declaration from font-size classes
...
This is needed for cases where we don't touch the HTML output
to insert font size from the preprocessor (e.g., list item)
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
daf2d9f854
Update button renderer to read font size set by preprocessor
...
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00
a472df257a
Replace font size slugs with values in typography preprocessor
...
[MAILPOET-5740]
2024-01-23 16:47:48 +01:00