Commit Graph

22212 Commits

Author SHA1 Message Date
Jan Lysý
3ddf56574c Add new EmailTemplate type
[MAILPOET-6044]
2024-05-29 11:20:33 +02:00
Jan Lysý
181f822782 Add store types for @wordpress/editor package
[MAILPOET-6044]
2024-05-29 11:20:33 +02:00
Jan Lysý
0fbe27cf4e Replace ts-ignore comments with ts-expect-error in the email editor code
[MAILPOET-6044]
2024-05-29 11:20:33 +02:00
Rostislav Wolny
e59096fbd1 Load assets for iframe editor
In order to provide styles for the iframe, we need to pass those
styles/script through the editor settings. The post and site editors use
get_block_editor_settings for that.
We currently build editor settings ourselves so I used the same function
_wp_get_iframed_editor_assets which is used internally in the get_block_editor_settings.

We also grab the assets early in the initialization phase, because _wp_get_iframed_editor_assets
reads from global $wp_styles and $wp_scripts and fetching the scripts later may include unwanted scripts.
[MAILPOET-6079]
2024-05-29 10:46:02 +02:00
Pavel Dohnal
74c4ec71d6 Update README.md – support info improvement
Co-authored-by: Oluwaseun Olorunsola <30554163+triple0t@users.noreply.github.com>
2024-05-29 07:24:09 +02:00
Pavel Dohnal
01aea16821 Update mailpoet/README.md
Co-authored-by: Oluwaseun Olorunsola <30554163+triple0t@users.noreply.github.com>
2024-05-29 07:24:09 +02:00
Pavel Dohnal
2385a2dc17 Update README.md
Co-authored-by: Oluwaseun Olorunsola <30554163+triple0t@users.noreply.github.com>
2024-05-29 07:24:09 +02:00
Pavel Dohnal
3b279295b5 Update info about the support 2024-05-29 07:24:09 +02:00
Jan Jakes
22172172b4 Release 4.51.0 2024-05-28 15:38:03 +02:00
Oluwaseun Olorunsola
c8fa9f007f handleExceptionDuringQuery not used by Rollback so we need catch it
MAILPOET-6020
2024-05-27 15:11:54 +02:00
Oluwaseun Olorunsola
998ea3d1ff Tracy throws a weird error here when the requestData type is string
MAILPOET-6020
2024-05-27 15:11:54 +02:00
Oluwaseun Olorunsola
81f29a61ac Catch mySqlGoneAway error from originated from MailPoet crons
MAILPOET-6020
2024-05-27 15:11:54 +02:00
Oluwaseun Olorunsola
988dec3e66 Catch mySqlGoneAway error from originated from the Doctrine library and append our custom error message to it
We're hooking into handleExceptionDuringQuery because most of the methods on the `\Doctrine\DBAL\Connection` class call this method in their catch error handler

MAILPOET-6020
2024-05-27 15:11:54 +02:00
Oluwaseun Olorunsola
0eb171ee6a Add helper for mySqlGoneAway error handler
MAILPOET-6020
2024-05-27 15:11:54 +02:00
Rostislav Wolny
ef994e36ec Increase top padding for block tools in the form editor
[MAILPOET-5340]
2024-05-27 09:49:02 +02:00
Rostislav Wolny
a1b6c41aef Do not set cookie if we know that headers were sent
[MAILPOET-5269]
2024-05-24 14:27:39 +02:00
Veljko
ac5151e2db Fix flaky acceptance tests
[MAILPOET-6083]
2024-05-24 12:27:01 +02:00
Mike Jolley
86771c23a7 Fix alignment of header 2024-05-24 12:22:23 +02:00
Mike Jolley
9cec1b3093 Update classnames to fix toolbar alignment 2024-05-24 12:22:23 +02:00
Mike Jolley
ad9800ebff Fix PHP warning for justifyContent 2024-05-24 12:22:23 +02:00
Mike Jolley
fcb41a3a9b Fix default font size for text 2024-05-24 12:22:23 +02:00
Veljko
bb38000845 Update the button selector 2024-05-24 12:59:37 +03:00
Veljko
68e9e80583 Revert selector for button submit 2024-05-24 12:59:37 +03:00
Veljko
0758c93b1a Add missing comma 2024-05-24 12:59:37 +03:00
Veljko
eb5f82807a Update tests with date now 2024-05-24 12:59:37 +03:00
Veljko
28bdc7f009 Update k6 to latest and improve segments tests
[MAILPOET-6071]
2024-05-24 12:59:37 +03:00
Pavel Dohnal
69df4dfcd8 Use standard escaping function
[MAILPOET-5281]
2024-05-24 10:59:25 +02:00
Pavel Dohnal
97ff555345 Format newsletter subject before printing
[MAILPOET-5281]
2024-05-24 10:59:25 +02:00
Pavel Dohnal
22da191032 Fix MailPoet marked as incompatible with Woo HPOS
[MAILPOET-6082]
2024-05-23 20:59:27 +02:00
Brezo Cordero
9e68df80fd Fix display of upgrade banner on subscribers stats page
[MAILPOET-5968]
2024-05-23 19:48:57 +02:00
Jan Lysý
693fbfafb1 Remove MssAccessNotice component from newsletter stats
[MAILPOET-5966]
2024-05-23 17:28:49 +02:00
Rostislav Wolny
1b13a8fc5e Use a pattern coming from mailpoet in the select modal.
When a theme or plugin adds some core/post-content patterns, we might pick the wrong one for the select modal.
[MAILPOET-6065]
2024-05-23 13:15:50 +02:00
Rostislav Wolny
7b99be42b4 Display appender icon (+) in between blocks in template mode
[MAILPOET-6065]
2024-05-23 13:15:50 +02:00
Rostislav Wolny
1c21843715 Reintroduce PostLockedModal component
The blank page for the PostLockedModal was probably caused by the same
condition. I was not able to replicate that after I removed the condition.
[MAILPOET-6065]
2024-05-23 13:15:50 +02:00
Rostislav Wolny
edb6e0c481 Hide the editor only on the top level starting
[MAILPOET-6065]
2024-05-23 13:15:50 +02:00
Rostislav Wolny
4de75d600f Do not hide the editor when the template is not loaded
In template mode, there is no template, so when we re-render
(e.g. when rendering inserter popup) the editor goes blank
[MAILPOET-6065]
2024-05-23 13:15:50 +02:00
Veljko
58a7c93a52 Add missing step to go to segments page 2024-05-23 11:01:27 +02:00
Veljko
d9df7cc01d Fix flaky acceptance test in segments
[MAILPOET-6076]
2024-05-23 11:01:27 +02:00
Veljko
cad3915ef7 Fix flaky acceptance test in Automation
[MAILPOET-6076]
2024-05-23 11:01:27 +02:00
Mike Jolley
962e02ac30 Remove blockgap support 2024-05-23 10:58:49 +02:00
Mike Jolley
148b4bb6ac Fix default line height 2024-05-23 10:58:49 +02:00
Mike Jolley
cbb90fbc3e Fix image center alignment in editor 2024-05-23 10:58:49 +02:00
Mike Jolley
f8dd475de6 Skip gaps for buttons during render 2024-05-23 10:58:49 +02:00
Rostislav Wolny
9b921a0cac Prevent reopening modal for unsaved email when switching modes
[MAILPOET-6049]
2024-05-22 15:15:03 +02:00
Rostislav Wolny
9ce541753a Update acceptance tests to close the template selection modal
[MAILPOET-6049]
2024-05-22 15:15:03 +02:00
Rostislav Wolny
a1bd40f6ef Prevent closing modal when templates are still loading
[MAILPOET-6049]
2024-05-22 15:15:03 +02:00
Rostislav Wolny
960884a484 Prevent strange resizing of templates after rendered in modal
[MAILPOET-6049]
2024-05-22 15:15:03 +02:00
Rostislav Wolny
90df0a8813 Remove Select Template button from template panel
[MAILPOET-6049]
2024-05-22 15:15:03 +02:00
Rostislav Wolny
4cbb39f56d Display template selection on editor start
[MAILPOET-6049]
2024-05-22 15:15:03 +02:00
Rostislav Wolny
56449eb503 Do not add default content on email create on backend
[MAILPOET-6049]
2024-05-22 15:15:03 +02:00