Commit Graph

19873 Commits

Author SHA1 Message Date
Jan Lysý
5fba25d823 Fix the exception message
[MAILPOET-4752]
2022-11-02 14:05:39 +01:00
Jan Lysý
18efc02921 Move list validation to a private method
We move the segment's name validation to a private method to avoid code repetition.
[MAILPOET-4752]
2022-11-02 14:05:39 +01:00
Oluwaseun Olorunsola
bdd803c517 Support text wrap in forms submit button
MAILPOET-4638
2022-11-02 11:33:44 +01:00
Oluwaseun Olorunsola
382e232538 Add CSS class form-editor-sidebar-heading back to component
MAILPOET-4650
2022-11-02 11:24:57 +01:00
Oluwaseun Olorunsola
a2cddc761c Make the labels in form editor consistent
MAILPOET-4650
2022-11-02 11:24:57 +01:00
Rodrigo Primo
6b4d2409cc 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-02 10:27:34 +01:00
Rodrigo Primo
da110bed80 Fix typo
[MAILPOET-4765]
2022-11-02 10:27:34 +01:00
Rodrigo Primo
363ee93c25 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-02 10:27:34 +01:00
David Remer
db0024dc58 Specify return types for each filter
[MAILPOET-4674]
2022-11-01 15:56:28 +01:00
David Remer
1b59b95f52 Use controls property of DropdownMenu
[MAILPOET-4674]
2022-11-01 15:56:28 +01:00
David Remer
2d0673a864 Export @wordpress/icons
[MAILPOET-4674]
2022-11-01 15:56:28 +01:00
David Remer
9f4b0d0ca1 Add filter so the more menu can be extended by third party
* Removes deprecated mailpoet.automation.workflow.delete_step_callback filter
* Adds mailpoet.automation.workflow.step.more-controls filter

[MAILPOET-4674]
2022-11-01 15:56:28 +01:00
David Remer
97c1712fa6 Expose MenuItem and ConfirmDialog
[MAILPOET-4674]
2022-11-01 15:56:28 +01:00
Sam Najian
455e3fbb90 Fix issue of site-url in none-lowercase failing validation
When validating the MSS/Premium keys sending a none-lowercase
site-url would cause the bridge to correctly validating

[MAILPOET-4754]
2022-11-01 15:00:07 +01:00
Oluwaseun Olorunsola
3c718e3f68 Update ViewInBrowserRenderer, Fix tracking config error
MAILPOET-4599
2022-11-01 14:59:28 +01:00
Oluwaseun Olorunsola
63e797ba37 Add more tests for new site shortcodes
MAILPOET-4599
2022-11-01 14:59:28 +01:00
Oluwaseun Olorunsola
48340872f8 Update acceptance tests for confirmation email
MAILPOET-4599
2022-11-01 14:59:28 +01:00
Oluwaseun Olorunsola
1b5d85d41a Render the current site title for [site:title] on signup confirmation page description
MAILPOET-4599
2022-11-01 14:59:28 +01:00
Oluwaseun Olorunsola
0595852d5a Update subscription confirmation email subject
Allow shortcode processing in subject

MAILPOET-4599
2022-11-01 14:59:28 +01:00
Oluwaseun Olorunsola
448e89d062 Update tests for confirmation emails
MAILPOET-4599
2022-11-01 14:59:28 +01:00
Oluwaseun Olorunsola
f92ee90e9b Add support for [site:title] and [site:homepage_link]
These will add support for these two shortcodes in the Shortcode engine

MAILPOET-4599
2022-11-01 14:59:28 +01:00
Oluwaseun Olorunsola
80f22c5b50 Process confirmation email content with newsletter shortcode engine
MAILPOET-4599
2022-11-01 14:59:28 +01:00
Oluwaseun Olorunsola
4b74d66529 Update subscription confirmation email content description
MAILPOET-4599
2022-11-01 14:59:28 +01:00
Oluwaseun Olorunsola
ca72e11d9a Update default subscription confirmation email content
MAILPOET-4599
2022-11-01 14:59:28 +01:00
Oluwaseun Olorunsola
5a0ec403f6 Update test cases to reflect change in method location
MAILPOET-4663
2022-11-01 14:58:47 +01:00
Oluwaseun Olorunsola
b6e7e39fb0 Rename method and move wcGetPageId to Woo helper class
MAILPOET-4663
2022-11-01 14:58:47 +01:00
Oluwaseun Olorunsola
8c24d59f43 Add tests for form display on Woo Shop listing page
MAILPOET-4663
2022-11-01 14:58:47 +01:00
Oluwaseun Olorunsola
5ed0c3fb2d Allow form display on Woo Shop listing page
The WooCommerce Shop page is a special kind of page. It’s basically a post archive.

The Shop page is a placeholder for a post type archive for products. It may render differently than other pages in your install.
https://woocommerce.com/document/woocommerce-pages/#section-4

It doesn’t have any content and WooCommerce core team is also removing the the-content filter from the Shop listing page hence why we are unable to hook into the the-content filter we use for other parts of the codebase

MAILPOET-4663
2022-11-01 14:58:47 +01:00
alex-mailpoet
2151118183 Release 3.102.0 2022-11-01 16:53:44 +03:00
Jan Jakes
4c65374a0c Add some POT file headers that we've been using
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
32cf2084b8 Unify quotes in strings
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
9dc834e14a Pass translated automation strings to our @wordpress/i18n
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
3db11c443d Use WP-native translation system for marketing optin block
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
421549d6ee Make all automation strings in PHP translatable, improve context/comments
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
a7277f3437 Add context and translators comments where needed
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
4d56911230 Make all automation strings translatable
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
0f23dea7fc Don't add hash of JS bundles to their filenames, use plugin version parameter instead
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
742e3e85e9 Load translations for automation scripts using wp_set_script_translations()
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
6eeb5bb1bf Load all automation scripts using wp_enqueue_script()
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
01eb59a295 Keep only the part of the old makepot logic that is required for HTML and HBS files
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
8ddd42ea4c Generate translations after JS assets are built
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
eb80adc2ed Extract translations from PHP and JS/TS files using WP CLI
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
3103ef11d5 Use old translation extraction logic only for HTML and HBS files
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Jan Jakes
a1ead743fa Complete translation directory exclusion list, make it more readable
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
Oluwaseun Olorunsola
c8d0291e41 Fix acceptance test flakyness for allowSubscribeInComments 2022-10-28 13:42:09 +01:00
Oluwaseun Olorunsola
bd44d77973 Fix acceptance test failure for woocommerce setup wizard 2022-10-28 13:42:09 +01:00
Oluwaseun Olorunsola
f872ab1819 Update expectation for confirmation emails on multisite
MAILPOET-4667
2022-10-28 13:42:09 +01:00
David Remer
55371ce7ee Reset fetchingPreviewLink and disable button while link is fetched
[MAILPOET-4631]
2022-10-27 10:43:53 -05:00
David Remer
ba45d23307 Fetch preview link when user clicks on preview
[MAILPOET-4631]
2022-10-27 10:43:53 -05:00
David Remer
f660bd9bd7 Add Email Preview link
[MAILPOET-4631]
2022-10-27 10:43:53 -05:00