Commit Graph

256 Commits

Author SHA1 Message Date
Jan Lysý
3a5f2624c8 Unify form template selection header with automation
I used WordPress components when it was possible and changed used block from container to content.
[MAILPOET-5376]
2023-07-31 12:28:46 +02:00
Rodrigo Primo
c72fce9aae Separate the segments and lists pages on the PHP side
Until now we were using the same render() method and Twig templates for
the segments and lists pages. This commit separates them by creating two
different render() methods, one for each page, and also separing the
Twig templates. Only the translations remain shared as separating them
would be more involved and probably not worth it.

[MAILPOET-5392]
2023-07-12 18:46:08 +02:00
Rodrigo Primo
728b8e91ac Add new menu entry to lists
Segments and lists now will have separate menu entries. The pages will
be split in subsequent commits.

[MAILPOET-5392]
2023-07-12 18:46:08 +02:00
John Oleksowicz
c9dda915dc Only create the backfill task once
MAILPOET-5404
2023-07-12 15:48:03 +02:00
John Oleksowicz
b02ef8fe8f Use populator instead of migration
MAILPOET-5404
2023-07-12 15:48:03 +02:00
John Oleksowicz
481f5585a0 Add form placement options for homepage, archives
MAILPOET-4897
2023-07-12 10:14:52 +02:00
Oluwaseun Olorunsola
4b2892ad35 Fix Redirecting to MailPoet Homepage after activating other plugins
MAILPOET-5417
2023-06-26 12:32:09 +02:00
John Oleksowicz
0e9b96d0b7 Track opens, clicks, purchases, and page views
MAILPOET-4998
2023-06-22 15:29:22 +02:00
Rodrigo Primo
e0b7bcd183 Update popup_form_dismissed_{$formId} description
[MAILPOET-5338]
2023-06-22 10:10:18 +02:00
Rodrigo Primo
bca3ac2dc9 Add popup_form_dismissed_{$formId} cookies and update section desc
[MAILPOET-5338]
2023-06-22 10:10:18 +02:00
Rodrigo Primo
6f453b68a8 Remove <br> to make it clear that the note relates to a specific cookie
[MAILPOET-5338]
2023-06-22 10:10:18 +02:00
Rodrigo Primo
5e6d1da336 Update list of cookies in the privacy policy page
[MAILPOET-5338]
2023-06-22 10:10:18 +02:00
Rodrigo Primo
acdcf29db5 Fix indentation for better readability
[MAILPOET-5338]
2023-06-22 10:10:18 +02:00
Jan Jakes
c0bdb01965 Fix passing empty callback
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
Jan Jakes
cbb1db857b Fix deprecation notice when hiding automations menu
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
Ralf Wiechers
1cd6ddd1f5 Prevent PHP notices
[MAILPOET-5383]
2023-06-16 17:14:34 +02:00
David Remer
f10ef78825 Add Analytics Page and backend logic
[MAILPOET-5088]
2023-06-15 12:25:12 +02:00
David Remer
28b38ef8f5 Add MailPoet info to WooCommerce System Status Report
[MAILPOET-4973]
2023-05-29 10:53:38 +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
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
Brezo Cordero
a154d2581b Fix event tracking and simplify isBundledSubscription
[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Brezo Cordero
6b40dfabf3 Hide Automations menu for bundles
Using null instead of true so that the pages are available directly.

[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Brezo Cordero
c5bc51fc86 Add function to check if MP subscription is bundled
[MAILPOET-5223]
2023-05-22 11:52:23 +02:00
Brezo Cordero
00e5dea5b4 Opt out AutomateWoo customer
This commit adds an action to opt out AutomateWoo customer When MailPoet Subscriber global status changes to unsubscribed.

[MAILPOET-4230]
2023-05-15 12:04:24 +02:00
Brezo Cordero
bf4a2ac287 Add subscriber status changed hook
This PR adds a new hook and notification when the subscriber status changes. It will be used by AutomateWoo integration.

[MAILPOET-4230]
2023-05-15 12:04:24 +02:00
David Remer
06a704da75 Use Populator to add group and event to available options
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
Brezo Cordero
bcee2abb2c Improve translations error handling
Use wp_json_encode in case files contain invalid UTF-8 characters and catch WP_Errors when fetching the translations.

[MAILPOET-5253]
2023-05-03 12:46:07 +02:00
Rodrigo Primo
7c4a84aaf4 Remove notices for hooks that were deprecated over six months ago
[MAILPOET-5272]
2023-04-28 06:05:29 +01:00
Jan Lysý
fb2c839fad Remove version from image url in templates
[MAILPOET-5217]
2023-04-26 11:52:16 +02:00
Rostislav Wolny
cbd5c443f2 Ensure that subscriber stats are sent even for valid underprivileged keys
[MAILPOET-5165]
2023-04-04 18:45:41 +02:00
Brezo Cordero
fc8837e03c Filter for license provisioning
This commit adds a filter that will provision the API key. It only runs on WP.com sites with plugins.

[MAILPOET-5131]
2023-04-03 12:57:31 +02:00
David Remer
e140dc6d4e Add WooCommerce integration and order status trigger backend
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
Sam Najian
ef3c64b85d Adjust use Html2Text from MailPoetVendor namespace
[MAILPOET-5128]
2023-03-15 15:02:32 -03:00
Rostislav Wolny
d81571dd47 Update CSS selector for automations menu link beta flag
[MAILPOET-4831]
2023-03-13 14:09:17 +01:00
Rostislav Wolny
d832925107 Remove temporary static property for the plugin main page
The property was added so that we were able to set the main page
dynamically based on the feature switch value. This is no longer needed and
we can use the hardcoded constant as we did before.
[MAILPOET-4831]
2023-03-13 14:09:17 +01:00
Rostislav Wolny
0f01755e18 Remove homepage feature switch
[MAILPOET-4831]
2023-03-13 14:09:17 +01:00
Jan Lysý
212e01dd4c Add check that function error_log exists
[MAILPOET-5026]
2023-03-02 13:59:51 +01:00
Oluwaseun Olorunsola
64137aebb3 Update coupon fields, add new defaults
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
9578e4c11e Add Coupon block to Wine City Newsletter template
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
62e90c3e19 Add Coupon block to Abandoned Cart – Fitness Newsletter template
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
f01429fe52 Add Coupon block to Avocado Newsletter template
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
14046affd7 Add Coupon block to Book store Newsletter template
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Oluwaseun Olorunsola
526e631f6e Add Coupon block to Flowers Newsletter template
MAILPOET-4764
2023-02-23 16:59:15 +01:00
Jan Lysý
456b99fa02 Use React for coupon source switch
[MAILPOET-4890]
2023-02-22 13:07:40 +01:00
Oluwaseun Olorunsola
7daa0c9dff Prevent redirecting on Experimental Page
MAILPOET-4972
2023-02-20 11:10:46 +01:00
Oluwaseun Olorunsola
956d693454 Skip redirecting to MailPoet landing page when activated from WooCommerce setup wizard
MAILPOET-5058
2023-02-13 16:23:59 +01:00
Oluwaseun Olorunsola
d061d451a4 Remove Export from Main menu options
MAILPOET-5045
2023-02-13 11:58:58 +01:00