Commit Graph

22694 Commits

Author SHA1 Message Date
Rostislav Wolny
560b5f37e6 Improve test coverage for Woo emails renderer
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
78cf676f71 Remove unused CSS for main heading font size in Woo emails
This heading will from now on respect H1 font-size which default
value is 36px.
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
3b53c69eb7 Refactor modifications of styles from Woo to an extra method
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
e3d60252a8 Render heading font family in Woo transactional emails
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
e5ca39b498 Add heading font family to Woo email customizer
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
6281e41243 Add Typography label and change label positioning in Styles panel
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
6d2dc2fbf8 Apply heading font sizes to Woo content in emails
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
dc2d66c42c Allow setting font sizes for headings in Woo customizer
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
2fcca5fcb9 Add a check to apply style fixes only after the email was re-saved
Some styles newly applied for the Woo Content blocks might
make the blocks look broken (e.g., too big font applied on the order items table).
This commit adds a check for existing emails, and for sites with existing customized the Woo email template
they are not applied unless a user saves the email in the editor.
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
53ca386f7a Enforce a special heading color for the Woo email header
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
e62fca24dd Set font size for Woo content
This set font size for the WooContent block.
The font size is applied to elements that don't have an inlined font size.
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
bb9b56a04d Enforce the same font family for headings in the Woo transaction email.
In the Woo email customizer, we have only one font family.
The newsletter data carry different default font families for headings.
In this commit, we enforce that the renderer uses the same font family
for text and headings.
This only applies to the part of the email that is handled by the MailPoet renderer.
The part that comes from the Woo itself is handled differently.
See previous commits.
I used clone to make sure we don't accidentally save the settings.
It wouldn't probably cause any damage because we don't expose these settings to users, but to be safe.
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
fcb865a1e7 Unify headings in Woo Customizer to use branding color and global font
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
c3b3df325b Replaced inlined font-family definitions in email content from Woo
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
49ca792fc2 Use font family from Woo Customizer in Woo email styles
Woo has a stylesheet that is later inlined into the email content by Emogrifier.
In this commit I replace all font family declarations by the font family set
in the Woo customizer.
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
Rostislav Wolny
5c3fdd9468 Apply style settings on Woo Blocks in the Woo Customizer
The font size was not applied at all, but Woo content comes with inlined font-family
styles so we need to use !important to override it.
[MAILPOET-4180]
2024-07-29 14:41:43 +02:00
alex-mpoet
14428c973c Revert "Keep text in square brackets in post notifications"
This reverts commit 14be775e74.
2024-07-29 15:36:07 +03:00
 Ján Mikláš
fd823efde8 Update sample run logs data structure
[PREMIUM-280]
2024-07-29 14:29:04 +02:00
 Ján Mikláš
d37cffd3ea Show time left for step in activity modal
[PREMIUM-280]
2024-07-29 14:29:04 +02:00
 Ján Mikláš
fe273284f4 Remove next step from activity modal
The previous assumption was, that a Delay action is not in mailpoet_automation_run_log database, and had to be calculated. But this was a wrong assumption, and since the action is there, we don't have to calculate it.

[PREMIUM-280]
2024-07-29 14:29:04 +02:00
 Ján Mikláš
b6653bac86 Show link to Scheduled Actions when the automation run is past due when it was suppose to run
[PREMIUM-280]
2024-07-29 14:29:04 +02:00
 Ján Mikláš
e3ad38e405 Properly close activity modal when there is an error in API
[PREMIUM-280]
2024-07-29 14:29:04 +02:00
Pavel Dohnal
7be9ade5f4 Prevent updating WordPress users data
[MAILPOET-6168]
2024-07-25 15:10:57 +02:00
Pavel Dohnal
2a10a5817b Add a test for non existing subsriber
[MAILPOET-6168]
2024-07-25 15:10:57 +02:00
Pavel Dohnal
2cdb12f712 Add Update Subscrber method to MP API
[MAILPOET-6168]
2024-07-25 15:10:57 +02:00
Veljko
f471e332af Remove unnecessary circleci config re k6 2024-07-25 15:27:38 +03:00
Veljko
077328c469 Fix flaky performance test and disable it from PRs
[MAILPOET-6157]
2024-07-25 15:27:38 +03:00
 Ján Mikláš
c05b45ac80 Replace deprecated prop
[MAILPOET-5184]
2024-07-25 08:39:13 +02:00
 Ján Mikláš
1f875ac14f Show automation action inserter popup in the bottom center position
This fixes position especially on mobile phones, but also on desktops < ~1050px

[MAILPOET-5184]
2024-07-25 08:39:13 +02:00
 Ján Mikláš
ed9e91e62a Fix automation action selector popup on small devices
[MAILPOET-5184]
2024-07-25 08:39:13 +02:00
Veljko
c5c9b37198 Update test 2024-07-24 21:26:05 +02:00
Veljko
4c91120654 Fix WooCheckoutBLocks test 2024-07-24 21:26:05 +02:00
 Ján Mikláš
0c000b0595 Fix deprecation warning from interact.js
[MAILPOET-6151]
2024-07-24 09:41:05 +02:00
alex-mpoet
4f72d7ee8c Release 4.57.0 2024-07-23 19:21:27 +03:00
David Remer
6173077e4c Make 'At' lowercase
[MAILPOET-6158]
2024-07-23 09:01:34 +03:00
Pavel Dohnal
d4e239ace5 Declare tested up to 6.6
[PREMIUM-276]
2024-07-22 16:58:56 +03:00
Pavel Dohnal
0f37eb8ebf Allow formatting tags in post titles
[MAILPOET-5920]
2024-07-22 11:57:39 +02:00
David Remer
4683a5f783 Fix typo. 'would' -> 'will'
[MAILPOET-6156]
2024-07-22 09:08:00 +03:00
Veljko
36735e71f7 Fix flaky create segment test 2024-07-20 17:41:11 +02:00
Veljko
9b3967e31e Add helper and fix flaky manage segments test 2024-07-20 17:41:11 +02:00
Jan Lysý
89b65adc30 Skip new email editor tests because it's not compatible with WP 6.6 yet 2024-07-19 17:41:09 +02:00
github-actions[bot]
08a48c46ed Update used WooCommerce Subscriptions plugin in Circle CI
- latest version: 6.5.0
 - previous version: 6.4.1
2024-07-19 17:41:09 +02:00
github-actions[bot]
dddf09d87b Update used WordPress images in Circle CI
- latest version: 6.6.0-php8.3
 - previous version: 6.5.5-php8.1
2024-07-19 17:41:09 +02:00
Pavel Dohnal
dec9a02ca4 Replace join query with a simple query
[MAILPOET-6148]
2024-07-19 15:03:35 +02:00
 Ján Mikláš
a9b7e5210c Add form placement options to readme.txt
[MAILPOET-6152]
2024-07-18 14:57:11 +02:00
Jan Lysý
d9edca0688 Improve condition in acceptance tests for WP 6.6
Because we run tests with release candidate versions, the condition didn't work as expected in those cases.
2024-07-17 16:35:00 +02:00
alex-mpoet
19b21fb2bf Improve TemplateImageLoader robustness
[MAILPOET-3923]
2024-07-17 16:03:19 +02:00
alex-mpoet
d82d6b89e9 Add test for external image loading
[MAILPOET-3923]
2024-07-17 16:03:19 +02:00
alex-mpoet
106c7d48f3 Add proxy to load external images for template thumbnails
[MAILPOET-3923]
2024-07-17 16:03:19 +02:00
Jan Lysý
2242d29e69 Release 4.56.0 2024-07-16 15:26:10 +02:00