Commit Graph

16750 Commits

Author SHA1 Message Date
David Remer
610d0204eb Add link to email statistics page
[MAILPOET-4777]
2022-11-07 10:25:21 +02:00
David Remer
545a4adc66 Fix typo
[MAILPOET-4744]
2022-11-07 02:22:21 -06:00
David Remer
38d8a1cd00 Wrap updateingActiveWorkflowNotPossible in useEffect
[MAILPOET-4744]
2022-11-07 02:22:21 -06:00
David Remer
53201c7422 Rename imported select
[MAILPOET4744]
2022-11-07 02:22:21 -06:00
David Remer
6f447e8a93 Show snackbar message on boot when updating not possible
[MAILPOET-4744]
2022-11-07 02:22:21 -06:00
David Remer
368a400fea Allow updating an active workflow when no user is in progress
[MAILPOET-4744]
2022-11-07 02:22:21 -06:00
David Remer
902eeccea1 Block updating workflows with active runs in the backend
[MAILPOET-4744]
2022-11-07 02:22:21 -06:00
David Remer
c8cf00a151 Add delay to tooltips
[MAILPOET-4744]
2022-11-07 02:22:21 -06:00
David Remer
f41423e6a2 Add period at the end of the sentence
[MAILPOET-4744]
2022-11-07 02:22:21 -06:00
David Remer
774485d5f2 Deactivate 'update/activate' buttons when status is active/deactivting
[MAILPOET-4744]
2022-11-07 02:22:21 -06:00
David Remer
8f4d62b080 Hide search on Listing page
[MAILPOET-4779]
2022-11-07 02:14:40 -06:00
David Remer
8003a3e97f Do only trigger when segment is of type default
[MAILPOET-4771]
2022-11-05 07:40:43 +01:00
David Remer
cf572985a7 Add test to ensure WC checkout only triggers one flow
[MAILPOET-4771]
2022-11-05 07:40:43 +01:00
Rostislav Wolny
c4966a9cc1 Prevent flakiness when comparing time in NewsletterTest
When comparing the sentAt and processedAt dates there might be one second difference.
This may happen also in the application, because they are updated by separate queries.

This commit fixes the flakiness by comparing timestamps with delta 1 second instead of comparing date time strings.
[MAILPOET-4710]
2022-11-04 12:14:36 -03:00
Rodrigo Primo
c6e6b13731 Run Woo HPOS tests in all branches
This commit reverts 4256a18b82 so that the
Woo HPOS tests are executed in all branches instead of just trunk and
the Woo HPOS related branches.

[MAILPOET-4648]
2022-11-04 14:17:28 +01:00
Rodrigo Primo
975041d211 Stop allowing Woo HPOS tests to fail
This commit basically reverts all the changes from
5d8ccb96b4 to stop allowing Woo HPOS
related tests to fail on the CircleCI builds now that all the issues
were fixed and all tests should pass.

[MAILPOET-4648]
2022-11-04 14:17:28 +01:00
Rodrigo Primo
ea16472ab1 Use Codeception\TestInterface::getName() instead of Codeception\TestInterface::getMetadata()
This commit changes the code to use $event->getTest()->getName() instead
of $event->getTest()->getMetadata()->getName() to get the name of the
current test. This was necessary because the latter was returning null
for integration tests while the former works both for acceptance and
integration tests. I did not investigate why Codeception behaves this
way due to lack of time, there is a chance that this is a bug in
Codeception.

Since $event->getTest() returns an instance of TestInterface and this
class does not define getName() (but the call works probably due to some
magic method), it was necessary to edit phpstan.neon to skip a PHPStan
error.

[MAILPOET-4765]
2022-11-04 12:43:48 +01:00
Rodrigo Primo
713b0255f7 Add WooCommerce Subscriptions tests to $allowedToSkipList list
We skip those tests in some cenarios because WooCommerce Subscriptions
does not support Woo HPOS yet. When the code to skip them was added, we
forgot to add those tests to the list of tests that are allowed to skip
even in the trunk and release branches. This is done now in this commit.

[MAILPOET-4765]
2022-11-04 12:43:48 +01:00
Rodrigo Primo
2aa63bbb8e Fix typo
[MAILPOET-4765]
2022-11-04 12:43:48 +01:00
Rodrigo Primo
f6708d9526 Change the system that is used to prevent skipped tests
This commit changes the system that is used to prevent skipped tests
when CircleCI executes the integration tests against the trunk
and release branches. After this commit, the integration tests will use
the same system that is used by the acceptance tests. Besides
consolidating everything into a single system, this change is necessary
because we will need to know the name of the tests as we want to allow
some integration tests to be skipped in some circumstances, and this was
not possible with the old system.

[MAILPOET-4765]
2022-11-04 12:43:48 +01:00
Rodrigo Primo
65b56271d4 Update Woo HPOS build in test to the latest version
The latest version is 7.1.0-rc.2. Since this build is available on
WP.org, this commit also removes the custom code that we had to download
builds from GitHub. We can now use \RoboFile::downloadWooCommerceZip()
to download builds to test Woo HPOS.

[MAILPOET-4704]
2022-11-04 10:39:59 +01:00
Jan Jakes
c9c35d591b Update URLs in email templates
[MAILPOET-4758]
2022-11-04 10:51:23 +02:00
Jan Jakes
e9cfcb51ba Add missing strings
[MAILPOET-4758]
2022-11-04 10:51:23 +02:00
Jan Jakes
dc5e5b4f8b Use "automation" instead of "workflow" in user-facing strings
[MAILPOET-4758]
2022-11-04 10:51:23 +02:00
Jan Jakes
ccb5369c57 Use https everywhere for www.mailpoet.com
[MAILPOET-4758]
2022-11-04 10:51:23 +02:00
Jan Jakes
bfe3ff17af Fix translation strings
[MAILPOET-4758]
2022-11-04 10:51:23 +02:00
David Remer
756b0587bc Return an empty string for footer when on automation page
[MAILPOET-4755]
2022-11-04 06:26:21 +02:00
David Remer
af3d08ff36 Add method to detect automation pages
[MAILPOET-4755]
2022-11-04 06:26:21 +02:00
David Remer
a91913e633 Make 'Give feedback' translateable
[MAILPOET-4755]
2022-11-04 06:26:21 +02:00
David Remer
736d8a8b12 Add 'Give feedback' beacon ID to automation pages
[MAILPOET-4755]
2022-11-04 06:26:21 +02:00
alex-mailpoet
9b5bdb2206 Release 3.102.1 2022-11-03 22:49:42 +03:00
Rodrigo Primo
3ad606a767 Revert "Change the system that is used to prevent skipped tests"
This reverts commit 363ee93c25.
2022-11-03 12:29:48 -03:00
Rodrigo Primo
e0cab11293 Revert "Fix typo"
This reverts commit da110bed80.
2022-11-03 12:29:48 -03:00
Rodrigo Primo
bffafdcd33 Revert "Add WooCommerce Subscriptions tests to $allowedToSkipList list"
This reverts commit 6b4d2409cc.
2022-11-03 12:29:48 -03:00
Rostislav Wolny
6dfeb7a100 Prevent enabling Woo Blocks integration for older versions
Version 8.0.0 was shipped with WooCommerce 6.8.0 which is the oldest currently supported Woo version.
[MAILPOET-4774]
2022-11-03 15:16:43 +01:00
Rostislav Wolny
a6431678ed Remove backward compatibility for Woo Blocks ExtendRestApi
The new ExtendSchema was introduced in WCBlocks 7.2 which are way older
then we currently want to support.
[MAILPOET-4774]
2022-11-03 15:16:43 +01:00
Rostislav Wolny
cdcdfb135c Update php-stubs/woocommerce-stubs to the latest version
[MAILPOET-4774]
2022-11-03 15:16:43 +01:00
Rostislav Wolny
7821c5767b Use current namespace for Woo store API checkout schema class
The new namespace is supported from WooCommerce 6.4.0 so we don't need
to support the old namespace any more.
Some users reported issues with BC class aliases provided by Woo.
[MAILPOET-4774]
2022-11-03 15:16:43 +01:00
alex-mailpoet
6a5b7adc16 Prefix polyfilled normalizer functions
[MAILPOET-4770]
2022-11-03 12:39:24 +01:00
David Remer
e58de01950 Improve mobile behavior of hero image
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
ae6e790879 Adjust hight of hero picture to align with blue button
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
d21b2fe21d Ensure same width of template buttons
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
6b8e8988b8 Keep template button columns aligned on top
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
0db495eb1d Use DropdownMenu in OptionButton component
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
6ad315b8de Add mailpoet-automation-section-content to define a max-width for section content
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
945ff65358 Use cdn url for automation assets
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
e0458ca444 Sort use statements alphabetically
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
5bd639e0be Add automation listing header
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
c78a050d86 Reduce nesting in CSS
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00
David Remer
e37a824d86 Hide notices on onboarding screen
[MAILPOET-4536]
2022-11-03 11:56:21 +01:00