Commit Graph

17035 Commits

Author SHA1 Message Date
Jan Jakes
3f016b45f9 Don't escape table names when not needed
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
Jan Jakes
679f74e498 Unify query error checking
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
Jan Jakes
08b314e0b4 Unify table variable naming
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
Jan Jakes
cc5959805b Use "workflow_triggers" table instead of an inline JSON
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
Jan Jakes
407f3d1609 Hide duplicate workflow button
[MAILPOET-4786]
2022-11-08 16:48:35 +03:00
David Remer
503df3584c Track errors
[MAILPOET-4756]
2022-11-08 16:41:47 +03:00
David Remer
fa9510f0c1 Add getStepById method
[MAILPOET-4756]
2022-11-08 16:41:47 +03:00
David Remer
cc92df4e7f Track Automations > Listing viewed event
[MAILPOET-4756]
2022-11-08 16:41:47 +03:00
David Remer
d76c5d32f2 Track Workflow deactivated
[MAILPOET-4756]
2022-11-08 16:41:47 +03:00
David Remer
c6198cba4c Track Workflow activated
[MAILPOET-4756]
2022-11-08 16:41:47 +03:00
David Remer
e29dd4286e Track template selected
[MAILPOET-4756]
2022-11-08 16:41:47 +03:00
Rodrigo Primo
98c1c33341 Release 3.103.0 2022-11-08 10:33:23 -03:00
Rodrigo Primo
78cc8743d5 Skip tests that are failing to unblock a release preparation
Those two tests that are failing are related to the automation feature
which is not yet available to the users. So skipping them should be
safe.

[MAILPOET-4784]
2022-11-07 23:42:16 +03:00
Veljko
89e75b3828 Make test passable for both multi-side and single 2022-11-07 15:16:44 -03:00
Veljko
982d104ba0 Fix the issue in test dot instead plus [MAILPOET-4782]
[MAILPOET-4782]
2022-11-07 15:16:44 -03:00
Veljko
2ce4461c63 Fix acceptance test UserRegistrationTriggered [MAILPOET-4782]
[MAILPOET-4782](https://mailpoet.atlassian.net/browse/MAILPOET-4782)
2022-11-07 15:16:44 -03:00
Rostislav Wolny
146a55b921 Improve stability of SchedulerTest by adding 1s delta to time comparisons
[MAILPOET-4780]
2022-11-07 19:15:43 +01:00
Oluwaseun Olorunsola
7e883d3e5b Rename method from checkForNullOrUndefined to isNullOrUndefined
MAILPOET-4681
2022-11-07 14:17:50 +01:00
Oluwaseun Olorunsola
7896efcd6c Enforce user selection for welcome wizard privacy and data sharing
We are making the two buttons mandatory. Users have to select either yes or no before they can proceed with the welcome wizard

MAILPOET-4681
2022-11-07 14:17:50 +01:00
Oluwaseun Olorunsola
a1ef87ef78 Remove later phrase from options
MAILPOET-4658
2022-11-07 12:42:58 +01:00
Oluwaseun Olorunsola
d058f1741f Add after text for immediately option on the post notification create screen.
MAILPOET-4658
2022-11-07 12:42:58 +01:00
Oluwaseun Olorunsola
ff0852fa39 Update after delay text
MAILPOET-4658
2022-11-07 12:42:58 +01:00
Oluwaseun Olorunsola
5f07b68b07 Update post notification emails
Remove select frequency subheader and add "after publishing a post" to immediately text

MAILPOET-4658
2022-11-07 12:42:58 +01:00
Oluwaseun Olorunsola
0c2934a556 Update Post notifications email setup
Add "When to send this post notification email" text to the page

MAILPOET-4658
2022-11-07 12:42:58 +01:00
Oluwaseun Olorunsola
885b51a6cf Update PurchasedInCategory and PurchasedProduct
Add "after purchase" text to the page

MAILPOET-4658
2022-11-07 12:42:58 +01:00
Oluwaseun Olorunsola
6cb5ceca21 Update First purchase automatic emails
Add "When to send this email" and "after first purchase" texts to the page

MAILPOET-4658
2022-11-07 12:42:58 +01:00
David Remer
9a14ddb57c Fire mailpoet_segment_subscribed only when subscriber status changed
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
David Remer
5c6f32488a Remove old hook
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
David Remer
4ec8f27d36 Delete schema if necessary
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
David Remer
9554727370 Fire mailpoet_segment_subscribed when user registers and is subscribed
When no confirmation mail gets send, the user is subscribed immediately. In this case
we need to fire the mailpoet_segment_subscribed action, so the trigger can listen to this
event.

[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
David Remer
394f9abd67 Make sure, we have a fresh subscriber from the database
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
David Remer
6ee45f0f54 Add method to retrieve subsccriber
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
David Remer
2e9ae1ed0b Add info about subscribe in registration from setting
[MAILPOET-4772]
2022-11-07 04:41:47 -06:00
David Remer
74b12bd2d9 Change trigger to mailpoet_segment_subscribed
We should listen to mailpoet_segment_subscribed to start the trigger.
This means the subscriber is confirmed. And it removes the fatal error
which was produced by not finding the $segment during signup.

[MAILPOET-4772]
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
David Remer
279adcfbcf Test user registration triggers automation
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
Rodrigo Primo
64d655857b Explicitly declare compatibility with Woo High Performance Order Tables
This was done following the instructions published by the WooCommerce
team: pcShBQ-oY-p2

[MAILPOET-4726]
2022-11-07 10:42:38 +01:00
Rodrigo Primo
b2b5f3c22a Add Woo tags "WC requires at least" and "WC tested up to"
As discussed in this P2 post (pcNwfB-1lW-p2), we will start using the
Woo tags "WC requires at least" and "WC tested up to". The "WC tested up
to" tag is required by WooCommerce for extensions to explicitly declare
compatibility with Woo High Performance Order Tables (pcShBQ-oY-p2). The
"WC requires at least" is not currently used by WooCommerce, but it
helps us make more explicit which versions of Woo MailPoet currently
supports.

[MAILPOET-4726]
2022-11-07 10:42:38 +01:00
Jan Jakes
588f3a9feb Use "reply to" from settings only when they are different than "from" settings
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
8c676b773d Fix hook type
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
c76a0adb5e Move validation rules for active workflows below structural rules
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
848fc51070 Run full workflow validation for all non-draft statuses
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
af1e09f46f Remove "inactive" status for now, use "draft" instead
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
f1abfe557a Use undefined for no value in GA campaign field
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
aa52ca804e Expose send email create step filter
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
273551fa36 Add type for a step creation callback
[MAILPOET-4757]x
2022-11-07 11:17:36 +02:00
Jan Jakes
17898b243a Use default reply to values when no previous values are set
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
81ed12d454 Use previous reply to values when toggled off and on
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
2f78c99381 Fix reply-to panel empty value handling
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
480c7d25e0 Delete step args when they are set to "undefined"
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
c1a6c5a215 Force sidebar remount to avoid different steps mixing their data
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00