246f54d799
Refactor MPMarketingChannel.
...
The aim is to make both the MPMarketingChannelController and the MPMarketingChannel class lighter by moving most of the data request feature to the MPMarketingChannelDataController class
MAILPOET-5698
2023-12-11 10:58:22 +01:00
4b674737b0
Format price to 2 decimal places
...
MAILPOET-5698
2023-12-11 10:58:22 +01:00
a73189e5a1
Add support for fetching Automation revenue
...
MAILPOET-5698
2023-12-11 10:58:22 +01:00
74fd910d78
Add Revenue info to multichannel dashboard
...
MAILPOET-5698
2023-12-11 10:58:22 +01:00
91e12fb6b0
Update method for fetching MailPoet Automations
...
MAILPOET-5698
2023-12-11 10:58:22 +01:00
65de203ea3
Fix fetching standard newsletters and post-notification history items
...
MAILPOET-5698
2023-12-11 10:58:22 +01:00
f3ecf8366a
Add basic methods for fetching campaign data
...
MAILPOET-5698
2023-12-11 10:58:22 +01:00
91b8ed9dde
Fix displaying columns full width in the gmail app
...
The content wrapping table was not set width 100%.
However, the table is not needed since each column block adds its own table.
So removing the incorrect table fixes the issue.
[MAILPOET-5753]
2023-12-07 16:56:40 +01:00
e1b8f59fc2
Fix formatting errors
...
MAILPOET-5697
2023-12-07 15:51:02 +01:00
52470070a2
Translate strings
...
MAILPOET-5697
2023-12-07 15:51:02 +01:00
73dafd8c57
Add acceptance tests
...
MAILPOET-5697
2023-12-07 15:51:02 +01:00
bc6bb5dcc3
Direct users to Newsletter template selection page from the Woo marketing dashboard
...
MAILPOET-5697
2023-12-07 15:51:02 +01:00
cb0c6491d2
Add campaign types to the MailPoet Marketing Channel
...
MAILPOET-5697
2023-12-07 15:51:02 +01:00
f805a777fb
Reuse existing method Bridge::isMailpoetSendingServiceEnabled
...
MAILPOET-5696
2023-12-07 15:04:41 +01:00
5ce33c00a9
Add tests for MPMarketingChannel
...
MAILPOET-5696
2023-12-07 15:04:41 +01:00
efec9057bb
Add error and product status information to the MailPoet Marketing Channel
...
MAILPOET-5696
2023-12-07 15:04:41 +01:00
09c4cbb10c
Remove old close button from Woo Checkout acceptance test
...
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
de81998ae3
Remove PHPMailer fix for older WP versions
...
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
1934604ab7
Remove minimal required WP version in email editor acceptance tests
...
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
a1b1a6f674
Remove specific code for WP 6.2 and lower
...
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
e371ec03b9
Fix languages folder creation for tests
...
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
0837a75582
Fix failing tests
...
[MAILPOET-5713]
2023-12-06 15:39:39 +01:00
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