Commit Graph

21439 Commits

Author SHA1 Message Date
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
 Ján Mikláš
a4ebb903da Add missing translation
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
 Ján Mikláš
0b139e5a15 Fix wrongly escaped URL to Starter plan signup
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
 Ján Mikláš
68407050af Update paid plan features
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
 Ján Mikláš
fba97422c1 Add top bar on the Upgrade page
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
 Ján Mikláš
348efa1d8d Unify CTA copy on the Upgrade page
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
 Ján Mikláš
03b740891a Make all buttons on the Upgrade page hero
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
 Ján Mikláš
d17bbbaaaf Move the top section title and description into the Business/Creator plan section.
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
 Ján Mikláš
f08facb6c4 Make the background on the Upgrade page white
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
 Ján Mikláš
62194c01dd Remove the Agency section from the Upgrade page
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
 Ján Mikláš
ff58379ef6 Remove the features description from the Upgrade page
[MAILPOET-5142]
2023-11-27 12:00:34 +01:00
 Ján Mikláš
0bc910f5c3 Add missing suggestions
[MAILPOET-5262]
2023-11-27 11:58:56 +01:00
 Ján Mikláš
f528ae398c Fix double scrollbar
[MAILPOET-5262]
2023-11-27 11:58:56 +01:00
 Ján Mikláš
0a362bb6cc Change CTAs on landing page to hero size
[MAILPOET-5262]
2023-11-27 11:58:56 +01:00
 Ján Mikláš
f5564aa50e Pick winning variant for landing page CTA
[MAILPOET-5262]
2023-11-27 11:58:56 +01:00
 Ján Mikláš
8394719806 Fix grey background position
[MAILPOET-5262]
2023-11-27 11:58:56 +01:00
 Ján Mikláš
abb8308803 Make content blocks narrower
[MAILPOET-5262]
2023-11-27 11:58:56 +01:00