Commit Graph

19873 Commits

Author SHA1 Message Date
Veljko
9ddc2cb3e9 Improve the test to use list selection block more efficiency
[MAILPOET-5315]
2023-05-30 14:24:15 +03:00
Rodrigo Primo
cc03b21e32 Add return type to verifySubscriber()
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
7a82270769 Add types to verifyWPSubscriber() based on PR reviewer feedback
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
bb2c77de31 Simplify verifyMailpoetSubscriber() by setting types in the signature
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
06a2c4e2bc Refactor Scheduler to use SubscriberEntity instead of Subscriber model
It was necessary to add a call to SubscribersRepository::remove() to two
integration tests to make sure Doctrine cleared its internal cache.
Maybe this should be handled by SubscribersRepository::bulkDelete().

[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
b251fa8ee9 Replace SubscribeSegment model with Doctrine code in Scheduler
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
6da2b5ad82 Refactor Scheduler::process() to use Doctrine
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
2ea8309908 Refactor processScheduledAutomaticEmail() to use Doctrine
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
e24d12f641 Refactor verifyMailpoetSubscriber() and verifyWPSubscriber()
Refactor those two methods to use Doctrine instead of Paris.

[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
fcc2f93d91 Refactor deleteQueueOrUpdateNextRunDate() to use Doctrine
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
5e9b820607 Refactor processPostNotificationNewsletter() to use Doctrine
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
0c74a5ae8c Refactor processWelcomeNewsletter() to use Doctrine
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
3b46668784 Refactor processScheduledStandardNewsletter() to use Doctrine
[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
Rodrigo Primo
ca3b5032ca Replace Newsletter model with NewsletterEntity in SchedulerTest
Temporary code was added to Scheduler to make some of its methods work
both with a Newsletter model and a NewsletterEntity.

[MAILPOET-4370]
2023-05-30 13:12:29 +02:00
alex-mailpoet
c73bb345a8 Release 4.17.0 2023-05-30 13:49:14 +03:00
Jan Lysý
81df5f16a2 Add mock for getNewsletter to newsletter coupon spec
[MAILPOET-5125]
2023-05-29 11:27:16 +02:00
Jan Lysý
01035ccd9a Make coupon overlay visible only for generated coupons
[MAILPOET-5125]
2023-05-29 11:27:16 +02:00
Jan Lysý
1ed3dbd3ce Differentiate coupon block's hover message by email type
[MAILPOET-5125]
2023-05-29 11:27:16 +02:00
David Remer
dd6bd811d9 Escape strings in attributes
[MAILPOET-4973]
2023-05-29 10:53:38 +02:00
David Remer
09f984689f Make strings translateable
[MAILPOET-4973]
2023-05-29 10:53:38 +02:00
David Remer
b21798589e Show tool tip help for section
[MAILPOET-4973]
2023-05-29 10:53:38 +02:00
David Remer
cb8ca2b986 Make the tool tip sentence a question
[MAILPOET-4973]
2023-05-29 10:53:38 +02:00
David Remer
28b38ef8f5 Add MailPoet info to WooCommerce System Status Report
[MAILPOET-4973]
2023-05-29 10:53:38 +02:00
Veljko
3c2bed1041 Update test and add new newsletter json
[MAILPOET-5309]
2023-05-25 15:16:26 +02:00
Rodrigo Primo
75f8af13be Refactor MetaInfo::getNewsletterMetaInfo() to use Doctrine
[MAILPOET-5344]
2023-05-25 06:52:00 -05:00
Rodrigo Primo
54b693b654 Refactor MetaInfo to use Doctrine instead of Paris
[MAILPOET-5344]
2023-05-25 06:52:00 -05:00
Veljko
d6b3b0adc0 Make a test for duplicating scheduled newsletter and update other tests
[MAILPOET-5310]
2023-05-25 09:49:25 +02:00
Veljko
bae959bd6d Ensure the scheduled newsletter is really scheduled
[MAILPOET-5310]
2023-05-25 09:49:25 +02:00
Veljko
a5248ab30f Updated k6 readme file
[MAILPOET-5349]
2023-05-24 05:12:14 -05:00
Jan Jakes
6561d087fd Highlight automations menu when email editor accessed via "Edit content"
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
86320563ab Highlight automations menu when email editor accessed from automations
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
2b071b6e4f Add default color to MailPoet icon to avoid flicker from black, simplify SVG
The default color is #a7aaad, when CSS is ready, it can override it.
This approach seems to be also used by Woo.

I also removed useless title and groups from the SVG.

[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
a6cf251f6b Check that the MailPoet top menu is highlighted on all subpages
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
af1ad22377 Remove no longer needed menu hiding logic
This is now determined by whether the parent is "null" or not.

[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
dfe5a54762 Highlight main MailPoet menu for welcome wizard, landing page, Woo setup, and error page
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
2c9f72a824 Implement menu highlighting for MailPoet pages in PHP
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
48328122ae Make logs and experimental featues submenus of settings
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
e8bcbfe618 Add checks for subpages to menu test
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
43fbdddc13 Add missing submenu for form template selection page
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
034ffc64bd Check for selected menu items, make sure clicks are in the MP menu
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
7d7db66c20 Split page asertions into methods
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
e0bf00fb20 Add automations to menu test, improve test
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
Jan Jakes
a63801fbc4 Fix menu expanding on subpages
[MAILPOET-5296]
2023-05-23 14:02:58 +02:00
alex-mailpoet
f275d5cd94 Clean up unused table name vars
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
alex-mailpoet
5203eb5268 Don't cache if subscribers count is below minimum value
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
alex-mailpoet
4f1afa388f Clean up transient cache in tests where necessary
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
alex-mailpoet
9fc2c0eeb3 Update phpstan ignore files
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
alex-mailpoet
4cd1667146 Cache homepage subscribers stats
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
alex-mailpoet
d7fd11387f Use cached subscriber count on homepage
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00
alex-mailpoet
7287645e81 Use cached per-list subscriber counts for admin pages
[MAILPOET-5180]
2023-05-22 14:13:05 +02:00