Commit Graph

21722 Commits

Author SHA1 Message Date
Oluwaseun Olorunsola
9e9127d115 Add button functionalities for edit, duplicate and delete
MAILPOET-5699
2023-12-11 14:17:43 +01:00
Oluwaseun Olorunsola
4206079797 Update style and display of contents
MAILPOET-5699
2023-12-11 14:17:43 +01:00
Oluwaseun Olorunsola
388f3d6d8e Added split button and dummy content
MAILPOET-5699
2023-12-11 14:17:43 +01:00
Oluwaseun Olorunsola
3c6090702c Add tracking for pages loaded via WooCommerce Multichannel Marketing dashboard
MAILPOET-5698
2023-12-11 10:58:22 +01:00
Oluwaseun Olorunsola
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
Oluwaseun Olorunsola
4b674737b0 Format price to 2 decimal places
MAILPOET-5698
2023-12-11 10:58:22 +01:00
Oluwaseun Olorunsola
a73189e5a1 Add support for fetching Automation revenue
MAILPOET-5698
2023-12-11 10:58:22 +01:00
Oluwaseun Olorunsola
74fd910d78 Add Revenue info to multichannel dashboard
MAILPOET-5698
2023-12-11 10:58:22 +01:00
Oluwaseun Olorunsola
91e12fb6b0 Update method for fetching MailPoet Automations
MAILPOET-5698
2023-12-11 10:58:22 +01:00
Oluwaseun Olorunsola
65de203ea3 Fix fetching standard newsletters and post-notification history items
MAILPOET-5698
2023-12-11 10:58:22 +01:00
Oluwaseun Olorunsola
f3ecf8366a Add basic methods for fetching campaign data
MAILPOET-5698
2023-12-11 10:58:22 +01:00
Rostislav Wolny
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
Oluwaseun Olorunsola
e1b8f59fc2 Fix formatting errors
MAILPOET-5697
2023-12-07 15:51:02 +01:00
Oluwaseun Olorunsola
52470070a2 Translate strings
MAILPOET-5697
2023-12-07 15:51:02 +01:00
Oluwaseun Olorunsola
73dafd8c57 Add acceptance tests
MAILPOET-5697
2023-12-07 15:51:02 +01:00
Oluwaseun Olorunsola
bc6bb5dcc3 Direct users to Newsletter template selection page from the Woo marketing dashboard
MAILPOET-5697
2023-12-07 15:51:02 +01:00
Oluwaseun Olorunsola
cb0c6491d2 Add campaign types to the MailPoet Marketing Channel
MAILPOET-5697
2023-12-07 15:51:02 +01:00
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