Commit Graph

21667 Commits

Author SHA1 Message Date
Veljko
6c03abe477 Update all places with new WP 6.5
[MAILPOET-6003]
2024-04-19 09:15:55 +02:00
Jan Lysý
f45ecefc22 Add User-Agent header into command downloading plugins 2024-04-18 15:54:30 +01:00
Jan Lysý
0eeb74b58c Add context to removing notices
After refactoring are notices created in the context 'email-editor', but calling removing notices were not updated.
[MAILPOET-6007]
2024-04-18 12:51:39 +02:00
Rostislav Wolny
4f7268e364 Use sprintf for inserting styles into text block HTML template
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Rostislav Wolny
13c73b781b Remove unnecessary table wrap for outlook for text blocks
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Rostislav Wolny
b8396140ac Remove paragraph renderer
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Rostislav Wolny
fd04141141 Use Text renderer also for paragraph block
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Rostislav Wolny
d49f3e8988 Rename Heading renderer to Text renderer
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Rostislav Wolny
c52937202e Polish Heading block renderer code
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Rostislav Wolny
057de1d2e7 Use a first tag from heading block rendered content
The block has only one HTML element, so we don't need to explicitly ask for a heading.
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Rostislav Wolny
9873634f1e Use inherit value as a fix for font-size defined via clamp
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Rostislav Wolny
d56cf24a7c Fix regular expression for removing padding in the heading block
The problem was that \padding.*:\ would eat much more than just one padding rule.
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Rostislav Wolny
47a4871600 Remove unused SettingsController::convertStylesToString method
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Rostislav Wolny
15e0c3fa4d Use WP's style engine for formatting style arrays to string
[MAILPOET-5798]
2024-04-18 12:45:15 +02:00
Jan Lysý
50df6c3d4e Use NPS poll in the new email editor
[MAILPOET-5911]
2024-04-15 08:18:35 +02:00
Jan Lysý
76ad24f71d Add email editor poll id
[MAILPOET-5911]
2024-04-15 08:18:35 +02:00
Veljko
64dd11d305 Add new k6 test and update existing
[MAILPOET-5875]
2024-04-11 09:32:12 +03:00
Mike Jolley
e1f5e882fe Prevent double registration of block types 2024-04-10 11:42:50 +02:00
Mike Jolley
6f5de68a9f initialize block types controller elsewhere 2024-04-10 11:42:50 +02:00
Mike Jolley
c267b82035 Remove renderCallback 2024-04-10 11:42:50 +02:00
Mike Jolley
3f2b96f3a6 Introduce block to handle email content 2024-04-10 11:42:50 +02:00
Mike Jolley
37e901c809 Restore content renderer styles to fix remaining tests 2024-04-10 11:42:50 +02:00
Mike Jolley
02b8a4ad78 Force content render 2024-04-10 11:42:50 +02:00
Mike Jolley
7325785e6b Add ID to emailPost 2024-04-10 11:42:50 +02:00
Mike Jolley
fa73d97ae9 Mock getEmailStyles 2024-04-10 11:42:50 +02:00
Mike Jolley
26246cd202 Return Meta robots + subject 2024-04-10 11:42:50 +02:00
Mike Jolley
ab893062ae Default colors 2024-04-10 11:42:50 +02:00
Mike Jolley
3ec36064ab Fix undefined spacing warning 2024-04-10 11:42:50 +02:00
Mike Jolley
b25335c2cb Update spacing tests 2024-04-10 11:42:50 +02:00
Mike Jolley
0b2e88df9a Outlook spacing 2024-04-10 11:42:50 +02:00
Mike Jolley
2060b68583 Handle spacing using consistent spacing element 2024-04-10 11:42:50 +02:00
Mike Jolley
f79f3a00c4 Remove kses 2024-04-10 11:42:50 +02:00
Mike Jolley
560495c40d Restore testItCallsPreprocessorsProperly test 2024-04-10 11:42:50 +02:00
Mike Jolley
1e499a0ce7 Fix trailing comma 2024-04-10 11:42:50 +02:00
Mike Jolley
a697b32e0e Exclude from phpstan 2024-04-10 11:42:50 +02:00
Mike Jolley
e0d27db790 Remove top level processor in favour of wrapping column in template, fix column padding 2024-04-10 11:42:50 +02:00
Mike Jolley
b4acac7c52 Refactor renderers to use templates 2024-04-10 11:42:50 +02:00
Mike Jolley
888be622e2 Add main template canvas and consolodate styles 2024-04-10 11:42:50 +02:00
Mike Jolley
0cd85dc1b3 Utility class to get template from file system 2024-04-10 11:42:50 +02:00
Veljko
1450c5ccaa Refactor re engagement test with waitAndType
[MAILPOET-6005]
2024-04-09 12:42:01 -05:00
Brezo Cordero
9dd42d922e Release 4.48.2 2024-04-09 09:06:38 -05:00
Veljko
6b9db7b9ca Add new k6 performance test for re-engagement email
[MAILPOET-5870]
2024-04-08 14:13:47 +02:00
Veljko
42ef14db87 Add promise to click 2024-04-08 13:31:25 +02:00
Veljko
ddd88cd0bd Improve another test to avoid false positives 2024-04-08 13:31:25 +02:00
Veljko
a0d64793aa Update k6 and improve existing analytics test
[MAILPOET-6004]
2024-04-08 13:31:25 +02:00
Jan Jakes
7dd1cd213b Cast args to expected types to catch type errors in the future
[MAILPOET-6000]
2024-04-08 12:55:54 +02:00
Jan Jakes
677c6f22ee Fix loading order in customer payload for guest users
We were passing order ID istead of the order itself for guest users.

[MAILPOET-6000]
2024-04-08 12:55:54 +02:00
Jan Jakes
4c44403f6c Fix checking whether an email should contain an abandoned cart block
The problem with the current conditions is that when any of these options doesn't
exist at all, the condition will not pass (= it will render the block, but it shouldn't).

[MAILPOET-5999]
2024-04-08 12:27:53 +02:00
Jan Lysý
fc03639aff Add using List-Unsubscribe-Post header to PHPMailerMethod
[MAILPOET-5983]
2024-04-08 11:12:59 +02:00
Jan Jakes
5bcc77765c Release 4.48.1 2024-04-04 16:21:35 +02:00