Commit Graph

20455 Commits

Author SHA1 Message Date
Oluwaseun Olorunsola
f805a777fb Reuse existing method Bridge::isMailpoetSendingServiceEnabled
MAILPOET-5696
2023-12-07 15:04:41 +01:00
Oluwaseun Olorunsola
5ce33c00a9 Add tests for MPMarketingChannel
MAILPOET-5696
2023-12-07 15:04:41 +01:00
Oluwaseun Olorunsola
efec9057bb Add error and product status information to the MailPoet Marketing Channel
MAILPOET-5696
2023-12-07 15:04:41 +01:00
Jan Lysý
09c4cbb10c Remove old close button from Woo Checkout acceptance test
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
Jan Lysý
de81998ae3 Remove PHPMailer fix for older WP versions
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
Jan Lysý
1934604ab7 Remove minimal required WP version in email editor acceptance tests
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
Jan Lysý
a1b1a6f674 Remove specific code for WP 6.2 and lower
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
Brezo Cordero
e371ec03b9 Fix languages folder creation for tests
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
Oluwaseun Olorunsola
0837a75582 Fix failing tests
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
Rodrigo Primo
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
Rodrigo Primo
b5019ea74f Bump WP version used when running acceptance_oldest tests to 6.3
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
Rodrigo Primo
6419c50fa7 Update WP version used when running the tests to 6.4
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
Rodrigo Primo
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
Rostislav Wolny
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
Jan Lysý
a4eefbdc9b Release 4.39.0 2023-12-05 13:25:03 +01:00
Jan Lysý
553fcfa1b4 Extend migration fixing sending queue to welcome emails
[MAILPOET-5719]
2023-12-04 16:04:11 +01:00
Jan Lysý
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
Jan Lysý
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
Jan Lysý
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
Jan Jakes
642f050537 Fix errors reported by PHPStan after adding a return type
[MAILPOET-5745]
2023-12-04 12:13:51 +01:00
Jan Jakes
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
Jan Jakes
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
Jan Jakes
469bdebf9c Use the new detach helper in other batch delete use cases
[MAILPOET-5745]
2023-12-04 12:13:51 +01:00
Jan Jakes
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
Jan Jakes
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
 Ján Mikláš
39aa7ad27d Add props type
[MAILPOET-5738]
2023-12-04 10:50:18 +01:00
 Ján Mikláš
af72a1d57b Remove unused timeValidation prop
[MAILPOET-5738]
2023-12-04 10:50:18 +01:00
 Ján Mikláš
b72797fde9 Add gap between date and time component when scheduling an email
[MAILPOET-5738]
2023-12-04 10:50:18 +01:00
 Ján Mikláš
960d5da89e Refactor DateTime component from the send page to TypeScript
[MAILPOET-5738]
2023-12-04 10:50:18 +01:00
Jan Lysý
505b05f1ce Update PHP versions for static analysis
[MAILPOET-5726]
2023-12-03 20:34:09 +01:00
Jan Lysý
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
Jan Lysý
0f58d5028b Bump min PHP versions when running PHPCS
[MAILPOET-5726]
2023-12-03 20:34:09 +01:00
Jan Lysý
6f876dea1b Drop support for PHP 7.3
[MAILPOET-5726]
2023-12-03 20:34:09 +01:00
 Ján Mikláš
ca9147e48a Move "send form"-specific styles out of generic form styles
[MAILPOET-5734]
2023-12-03 20:31:39 +01:00
 Ján Mikláš
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
Rodrigo Primo
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
Rodrigo Primo
93f12691f7 Remove depreacted models NewsletterOption and NewsletterOptionField
[MAILPOET-5762]
2023-12-01 14:18:48 -03:00
Brezo Cordero
6c1b4666fe Release 4.38.0 2023-11-28 09:51:06 -06:00
 Ján Mikláš
e2a849ceb9 Display the PHP outdated version warning for sites running PHP < 8.0
[MAILPOET-5727]
2023-11-27 13:23:29 +01:00
Jan Lysý
67a2e92d8c Add image block integration test
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Jan Lysý
7792331999 Add rendering improvements for Outlook
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Jan Lysý
9122737523 Add core/image filter deactivation
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Jan Lysý
224adaae67 Add WP_HTML_Tag_Processor stub for PHPStan
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Jan Lysý
abf1ef9d7f Implements image block renderer
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Jan Lysý
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
Jan Lysý
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
Jan Lysý
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
Jan Lysý
8b91431f9b Add callback for hiding Expand on click for iamge block
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Jan Lysý
8bab89b4e8 Add default image block renderer
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00
Jan Lysý
477044b462 Add small improvements to the renderer readme
[MAILPOET-5705]
2023-11-27 12:54:30 +01:00