David Remer
fc4a5315df
Add beta badge
...
[MAILPOET-4728]
2022-10-25 12:04:44 -05:00
Sam Najian
e771bd53da
Release 3.101.1
2022-10-25 15:42:37 +02:00
Jan Lysý
291f46d732
Fix spacing in docs
2022-10-25 13:13:47 +01:00
Ziggy Verstrepen
e236d3312c
Fix listId typo
2022-10-25 13:15:28 +02:00
Ziggy Verstrepen
794090291a
Update getSubscribers filter arguments
...
Filter arguments 'list_id' and 'min_updated_at' do not work. These arguments currently only work with lowerCamelCase.
2022-10-25 13:15:28 +02:00
David Remer
380eec1ed6
Add prop types for deactivation modals
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
7c283b7fda
Use " for quotation marks
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
916080fa5a
Reset step runners to not interfer with other tests
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
c10f80457d
Use new getCountForWorkflow for performance
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
9773408c8b
Add getCountForWorkflow method to return how many runs exist for specific status
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
5ba5426281
truncate entries of WorkflowRunLogStorage
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
098aebfaf9
Add truncate() method to WorkflowRunLogStorage
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
75d79f19cc
Add information that deleting a workflow deletes also the workflow runs
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
1b70e6d494
Ensure workflows are active
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
2c57251bae
Revert e8cfb2565
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
9bdb32c073
Verify deactivating workflow gets inactive after last workflow run
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
b74890137a
Set a deactivating Workflow to inactive once all runs are completed
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
57548b579f
Add method to fetch all runs of a workflow
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
7aa1a5f4ba
Enable setStatus to handle multiple WorkflowRuns at the same time
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
d60e399a3b
Alter buttons depending on workflow state, use DeactivateImmediatelyModal
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
da34614b5c
Add new DeactivateImmediatelyModal
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
a0d330fded
Deactivate workflow on button click depending on selected status
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
f766661f8c
Show Deactivating state in header
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
82ddce42df
Use WorkflowStatus enum for valid status values in Workflow type
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
bfe95676c3
Add switch to decide which deactivation state we want to set the workflow to
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
789bb0b396
Use workflow status constants
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
2620ef0b57
Do not handle workflow runs when workflow status is not active/deactivating
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
David Remer
627962570e
Add new workflow status 'deactivating'
...
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
Rostislav Wolny
bbdbf6a52d
Fix WooCommerce setup in the welcome wizard
...
The component that requires the global mailpoet_show_customers_import
variable is used also on the wizard page.
This commit ensures that it is set on the page.
[MAILPOET-4652]
2022-10-24 15:16:04 +02:00
Rostislav Wolny
56ed9f4ece
Update acceptance tests for Woo setup page
...
[MAILPOET-4652]
2022-10-24 15:16:04 +02:00
Rostislav Wolny
e6188f5cef
Update WooCommerce cookie tracking info in Wizard
...
[MAILPOET-4652]
2022-10-24 15:16:04 +02:00
Rostislav Wolny
a37e5bbe74
Hide WooCommerce initial import from wizard when there are no customers
...
[MAILPOET-4672]
2022-10-24 15:16:04 +02:00
Rostislav Wolny
9df99b1a00
Add method for getting customers count to WooCommerce helper
...
[MAILPOET-4652]
2022-10-24 15:16:04 +02:00
Rostislav Wolny
5ff543e62d
Unify default values of mailpoet_subscribe_old_woocommerce_customers
...
The value is used in case the setting is not defined. Normally this shouldn't
happen because we set the value in the wizard.
The default value used in PHP is false, but in settings in admin was true.
See b0aacdd4ef/mailpoet/lib/Segments/WooCommerce.php (L528)
This commit unifies it.
[MAILPOET-4652]
2022-10-24 15:16:04 +02:00
Sam Najian
8f14c5ac53
Fix issue caused by merge conflict
...
[MAILPOET-4591]
2022-10-24 14:05:41 +02:00
Sam Najian
4e0aa3c56d
Remove redundant code which was selectively disabling validation
...
We no longer need selective validation disabling since we're
disabling all validations when saving a draft
[MAILPOET-4591]
2022-10-24 14:05:41 +02:00
Sam Najian
545c6bfa5e
Disable all validations when saving a draft
...
[MAILPOET-4591]
2022-10-24 14:05:41 +02:00
Rostislav Wolny
cd3652eaa6
Fix canceling multiple automatic emails
...
When we deleted sending queue using SQL it remained in the entity manager
and subsequent flush (not the first one) triggered the error, because it didn't know the ScheduledTask entity attached
to the orphaned SendingQueue entity.
This commit fixes this by refactoring deletion of sending queue using standard repository method.
After fixing the issue for sending queue there was another issue with SchedulesTaskSubscriberEntity that remained in memory.
I fixed that by detaching those. Theoretically there might be many SchedulesTaskSubscriberEntities for an Automatic email so
I consider still safer to delete using SQL and if there are some loaded (in this case there is one) detach them.
[MAILPOET-4741]
2022-10-24 14:03:54 +02:00
David Remer
655641737b
Do not use toggleModal()
...
[MAILPOET-4730]
2022-10-24 13:49:15 +03:00
David Remer
152794720a
Add DeactivateButton and logic
...
[MAILPOET-4730]
2022-10-24 13:49:15 +03:00
David Remer
cb294fb303
Style DeactivateModal component
...
[MAILPOET-4730]
2022-10-24 13:49:15 +03:00
David Remer
98744a53c1
Add Deactivate Modal
...
[MAILPOET-4730]
2022-10-24 13:49:15 +03:00
David Remer
430fcc20a8
Add new store action to deactivate a workflow
...
[MAILPOET-4730]
2022-10-24 13:49:15 +03:00
Pavel Dohnal
1df78f22d3
Make the message better
...
[MAILPOET-4740]
2022-10-24 10:18:28 +02:00
Oluwaseun Olorunsola
2f823f5606
On settings page, Remove the dependency between loading 3rd-party libraries and tracking (data sharing). Allow user choose toggle values independently
...
MAILPOET-4657
2022-10-20 10:49:48 +02:00
Oluwaseun Olorunsola
086d6dce7e
On WelcomeWizardUsageTrackingStep, Remove the dependency between loading 3rd-party libraries and tracking (data sharing). Allow user choose toggle values independently
...
MAILPOET-4657
2022-10-20 10:49:48 +02:00
Oluwaseun Olorunsola
879cca9fb3
On WelcomeWizardUsageTrackingStep, update section wordings and re-order items
...
MAILPOET-4657
2022-10-20 10:49:48 +02:00
Sam Najian
3434fbe3b5
Add not-allowed cursor to disabled form fields
...
[PREMIUM-200]
2022-10-20 10:30:30 +02:00
Sam Najian
d4f9ccca5e
Add disabled class to the wrapper of a disabled field
...
[PREMIUM-200]
2022-10-20 10:30:30 +02:00
Sam Najian
4a74c3e6fd
Open premium modal if the premium plugin is not active
...
[PREMIUM-200]
2022-10-20 10:30:30 +02:00