Commit Graph

20446 Commits

Author SHA1 Message Date
0270549a47 Install and activate the twentytwentyone theme
Because we have problems with the new theme we try to address it in a new ticket.
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
b5019ea74f Bump WP version used when running acceptance_oldest tests to 6.3
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
6419c50fa7 Update WP version used when running the tests to 6.4
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
d21c641771 Update the WP required and tested versions to 6.3 and 6.4 respectively
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
6470621d34 Fix broken TinyMCE toolbar when page is zoomed by browser
There are two issues reported on the TinyMCE repo:
- https://github.com/tinymce/tinymce/issues/8909
- https://github.com/tinymce/tinymce/issues/8865
It seems to be cause by a rounding error when setting toolbar width
internally in TinyMCE.

[MAILPOET-5728]
2023-12-06 15:24:46 +01:00
a4eefbdc9b Release 4.39.0 2023-12-05 13:25:03 +01:00
553fcfa1b4 Extend migration fixing sending queue to welcome emails
[MAILPOET-5719]
2023-12-04 16:04:11 +01:00
f1ffc77bf3 Set SendingQueue default counts for welcome emails
After performance optimization in Sending::updateCount() there was a bug when the min function set processed count back to zero.
[MAILPOET-5719]
2023-12-04 16:04:11 +01:00
dc3f9d25f3 Add migration for fixing queues
Some completed tasks for automatic emails can contain invalid counts in related queues.
We need to fix it for displaying the correct counts.
[MAILPOET-5719]
2023-12-04 16:04:11 +01:00
941abc328a Set SendingQueue default counts for automatic emails
After performance optimization in Sending::updateCount() there was a bug when the min function set processed count back to zero.
[MAILPOET-5719]
2023-12-04 16:04:11 +01:00
642f050537 Fix errors reported by PHPStan after adding a return type
[MAILPOET-5745]
2023-12-04 12:13:51 +01:00
a54fd9b8fc Replace deprecated UnitOfWork::clear($entityClassName) with a more granular refresh
We removed EntityManager::clear($entityClassName) already, but this one is deprecated
as well: 212edaa80b/lib/Doctrine/ORM/UnitOfWork.php (L2762)

[MAILPOET-5745]
2023-12-04 12:13:51 +01:00
125b0ab03d Avoid calling flush() in logger
This is to avoid unintended side effect of trying to save modified
or detached entities.

[MAILPOET-5745]
2023-12-04 12:13:51 +01:00
469bdebf9c Use the new detach helper in other batch delete use cases
[MAILPOET-5745]
2023-12-04 12:13:51 +01:00
45f5803293 Sync bulk deletes of scheduled task subscribers to entity manager
Fixes: https://github.com/mailpoet/mailpoet/issues/5281

[MAILPOET-5745]
2023-12-04 12:13:51 +01:00
076ee6d5de Add a helper method to detach all (or some) entities of a given class from entity manager
[MAILPOET-5745]
2023-12-04 12:13:51 +01:00
39aa7ad27d Add props type
[MAILPOET-5738]
2023-12-04 10:50:18 +01:00
af72a1d57b Remove unused timeValidation prop
[MAILPOET-5738]
2023-12-04 10:50:18 +01:00
b72797fde9 Add gap between date and time component when scheduling an email
[MAILPOET-5738]
2023-12-04 10:50:18 +01:00
960d5da89e Refactor DateTime component from the send page to TypeScript
[MAILPOET-5738]
2023-12-04 10:50:18 +01:00
505b05f1ce Update PHP versions for static analysis
[MAILPOET-5726]
2023-12-03 20:34:09 +01:00
b1081d6e61 Use PHP 7.4 instead of PHP 7.3 in the oldest CircleCI build jobs
[MAILPOET-5726]
2023-12-03 20:34:09 +01:00
0f58d5028b Bump min PHP versions when running PHPCS
[MAILPOET-5726]
2023-12-03 20:34:09 +01:00
6f876dea1b Drop support for PHP 7.3
[MAILPOET-5726]
2023-12-03 20:34:09 +01:00
ca9147e48a Move "send form"-specific styles out of generic form styles
[MAILPOET-5734]
2023-12-03 20:31:39 +01:00
4ec1b36b77 Fix send page layout
I decided not to use "mailpoet-main-container" because it's too wide, for two 368px columns.

[MAILPOET-5734]
2023-12-03 20:31:39 +01:00
2ec8a0aa7a Remove two deprecated methods from the Newsletter model
Those methods were deprecated over six months ago and can now be
removed. They are assoacited with the NewsletterOption model which was
removed in the previous commit.

deprecationError() is also removed as PHPStan was complaining that it is
not used anymore.

[MAILPOET-5762]
2023-12-01 14:18:48 -03:00
93f12691f7 Remove depreacted models NewsletterOption and NewsletterOptionField
[MAILPOET-5762]
2023-12-01 14:18:48 -03:00
6c1b4666fe Release 4.38.0 2023-11-28 09:51:06 -06:00
e2a849ceb9 Display the PHP outdated version warning for sites running PHP < 8.0
[MAILPOET-5727]
2023-11-27 13:23:29 +01:00
67a2e92d8c Add image block integration test
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
7792331999 Add rendering improvements for Outlook
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
9122737523 Add core/image filter deactivation
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
224adaae67 Add WP_HTML_Tag_Processor stub for PHPStan
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
abf1ef9d7f Implements image block renderer
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
3ce5218819 Change core/image block behavior in editor
We need to change the block behavior in the email editor because we don't want to support floating images in rendered emails.
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
d497e37776 Disable core/columns layout
Because injecting core Gutenberg styles columns contained gaps between them,
I deactivated layout support for columns to avoid some CSS hacks.
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
328fcfa260 Move method for composing styles to SettingsController
To avoid repetition I decided to move this method to better place.
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
8b91431f9b Add callback for hiding Expand on click for iamge block
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
8bab89b4e8 Add default image block renderer
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
477044b462 Add small improvements to the renderer readme
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
a4ebb903da Add missing translation
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
0b139e5a15 Fix wrongly escaped URL to Starter plan signup
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
68407050af Update paid plan features
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
fba97422c1 Add top bar on the Upgrade page
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
348efa1d8d Unify CTA copy on the Upgrade page
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
03b740891a Make all buttons on the Upgrade page hero
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
d17bbbaaaf Move the top section title and description into the Business/Creator plan section.
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
f08facb6c4 Make the background on the Upgrade page white
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
62194c01dd Remove the Agency section from the Upgrade page
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00