Fernando
525b8d5ec1
Replace mysql image with mariadb ( https://github.com/woocommerce/woocommerce-admin/pull/8220 )
...
* Replace mysql image with mariadb
This fixes the missing architecture error raised by docker compose
* Update readme.txt
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-27 11:28:56 -03:00
RJ
ed27652e35
fix: onboarding wizard checkmarks go missing sometimes ( https://github.com/woocommerce/woocommerce-admin/pull/8222 )
...
- checkmarks in the stepper component go missing if the first checkmark is hidden
- happens because of html id collision between the checkmarks
- added some randomness to the mask ids
2022-01-27 19:08:31 +08:00
Barry Hughes
7395a4698b
Merge pull request #31734 from helgatheviking/twenty-twenty-one-inputs
...
Limit input widths to number inputs in Twenty Twenty One theme.
2022-01-26 18:41:17 -08:00
helgatheviking
d7a76a5e89
Limit input widths to number inputs in Twenty Twenty One theme. Follow up to #31698 .
2022-01-26 18:17:39 -07:00
jamelreid
70091b2a35
Updated describeIf to use repository variable
2022-01-26 17:07:10 -05:00
Joshua T Flowers
ace300b4cd
Fix setup wizard title and flash of content ( https://github.com/woocommerce/woocommerce-admin/pull/8201 )
...
* Fix setup wizard title and flash of content
* Redirect to profiler server-side if landing on the homepage
* Add changelog entry
2022-01-26 15:28:52 -05:00
jamelreid
8158343c74
Added support for PLUGIN_REPOSITORY & PLUGIN_NAME
2022-01-26 12:49:32 -05:00
jamelreid
a631454b91
Updated describe block for better logging
2022-01-26 11:53:43 -05:00
Chi-Hsuan Huang
8281eac885
Fix Uncaught TypeError count(NULL) for php8+ in Marketing.php ( https://github.com/woocommerce/woocommerce-admin/pull/8213 )
...
* Fix Uncaught TypeError count(NULL) for php8+ in Marketing.php
* Add changelog
2022-01-26 22:42:03 +08:00
Chi-Hsuan Huang
bfa445f600
Add Spain to Square suggestion country list ( https://github.com/woocommerce/woocommerce-admin/pull/8210 )
...
* Add Spain to square_credit_card suggestion country list
* Fix payment-gateway-suggestions.md data source polling url
* Add changelog
2022-01-26 17:37:05 +08:00
dependabot[bot]
cad71e98a0
Bump node-fetch from 2.6.1 to 2.6.7 in /.github/actions/pr-labeler ( https://github.com/woocommerce/woocommerce-admin/pull/8218 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 16:21:51 +08:00
dhjw
af347d3dc0
Merge branch 'woocommerce:trunk' into autocomplete-signup
2022-01-25 19:43:26 -08:00
Matt Sherman
56a78ab4f9
Bump version to 3.3.0-dev and sync changelog from 3.2.0-beta.1 ( https://github.com/woocommerce/woocommerce-admin/pull/8217 )
...
* Bump version to 3.3.0-dev
* Bump WP tested up to
* Update changelog
* Update testing instructions version
2022-01-25 17:55:50 -05:00
louwie17
2e3b9f1e01
Add tasklist_payment_setup track for WooCommerce Payments ( https://github.com/woocommerce/woocommerce-admin/pull/8146 )
...
* Add changelog
* Move payment setup even to Action button
2022-01-25 17:47:36 -04:00
Jacob Sewell
917545577f
Task List: Personalize your store / Import products - error message is not formatted correctly ( https://github.com/woocommerce/woocommerce-admin/pull/8173 )
...
* Use __() to display a generic error message on sample item import rather than passing through the server message because it probably has tags.
* Add changelog for 4314/8173.
* Add support for __unstableHTML option to Snackbar.
* Use __unstableHTML option to display server-side error messages as they come in.
* Update changelog description for 4314/8173.
2022-01-25 13:06:38 -06:00
Tam Mullen
a61cca5f5f
Merge pull request #31042 from woocommerce/performance/merchant-search-orders
...
Add new performance test Merchant / Search Orders
2022-01-25 15:10:58 +00:00
Fernando
c4e62407ed
Merge pull request #31689 from woocommerce/fix/wc-admin-is-admin-check
...
Add method to check capability to access to the top-level WooCommerce menu item.
2022-01-25 11:26:26 -03:00
Ilyas Foo
af2f0f7a78
Bump versions for multiple WooCommerce packages ( https://github.com/woocommerce/woocommerce-admin/pull/8214 )
...
* Bump versions for multiple packages
* Bump all package versions
* Fix spacing
2022-01-25 19:22:58 +08:00
Peter Fabian
c0951016db
Merge pull request #31290 from woocommerce/add/rest-api-order-auto-draft
...
PoC: Allow auto-draft in API orders
2022-01-25 12:01:02 +01:00
Ilyas Foo
ad5b1bd36c
Update changelog ( https://github.com/woocommerce/woocommerce-admin/pull/8212 )
2022-01-25 17:26:42 +08:00
Ilyas Foo
4acea19739
Update woocommerce-admin to 3.1.0
2022-01-25 12:04:50 +08:00
Sadik
1225371ca8
get_percent_complete return value cast to int
2022-01-24 14:38:25 -08:00
Barry Hughes
fbd450c24d
Merge pull request #31256 from woocommerce/create-product-attributes-lookup-table-in-data-migration
...
Create and activate product attributes lookup table in data migration
2022-01-24 13:08:57 -08:00
Claudio Sanches
2e2ec741cc
Merge pull request #31707 from woocommerce/update/woocommerce-blocks-6.7.3
...
Update WooCommerce blocks package to 6.7.3
2022-01-24 17:07:36 -03:00
Claudio Sanches
648e29146d
Merge pull request #31712 from woocommerce/bump/sniff
...
Bump woocommerce sniff version
2022-01-24 17:03:42 -03:00
Barry Hughes
ee76f6939d
Merge pull request #31565 from johnregan3/31252-woo-var-header-hook
...
Add $loop var to woocommerce_variation_header hook
2022-01-24 10:51:51 -08:00
Barry Hughes
053ee9007c
Merge pull request #31303 from paulochang/patch-4
...
Make GT postcode visible but do not require it.
2022-01-24 10:00:32 -08:00
Barry Hughes
d0f4773ac7
Merge pull request #31698 from helgatheviking/twenty-twenty-inputs
...
Limit input widths to number inputs in Twenty Twenty theme
2022-01-24 08:59:01 -08:00
roykho
a6a686049a
Bump woocommerce sniff version
2022-01-24 08:39:16 -08:00
louwie17
3742be465e
Add performance tracks to onboarding flow ( https://github.com/woocommerce/woocommerce-admin/pull/8042 )
...
* Add payment_setup track for WooCommerce Payments
* Add timing props to tracks in onboarding when installing extensions
* Update extension key logic
* Add changelog
* Add tests for extension installation data for tracks
* Add util function for plugin slug parsing
* Only install and activate plugins that are not already active
2022-01-24 12:23:12 -04:00
Jason Kytros
4001340603
Hook `set_session` at `woocommerce_after_calculate_totals` @ `1000`
2022-01-24 17:29:19 +02:00
Jeff Stieler
bbce4c0d4b
2022 Theme: Fix Search Blocks ( #31687 )
...
* Style search blocks for 2022 theme.
* Use magnifying glass icon for single product zoom.
* Match border color on WP search block.
2022-01-24 09:45:11 -05:00
Veljko V
d0f70804db
Add missing product_search_term in import
...
Added a missing product_search_term in the imports
2022-01-24 15:33:52 +01:00
Luigi
5e2dadb10e
Update WooCommerce blocks package to 6.7.3
2022-01-24 14:25:31 +01:00
Nestor Soriano
186f5b4eda
Set the return type of LookupDataStore::regeneration_was_aborted to bool
2022-01-24 11:11:23 +01:00
Nestor Soriano
d90a1f4e1a
Enable the product attributes lookup table after data regeneration
...
After a regeneration of the product attributes lookup table finishes
successfully the table usage will be automatically enabled, except
if the regeneration was aborted via the deletion of the
woocommerce_attribute_lookup_regeneration_in_progress option.
2022-01-24 11:11:08 +01:00
Ilyas Foo
0d730a5bed
Update readme ( https://github.com/woocommerce/woocommerce-admin/pull/8203 )
2022-01-24 12:46:36 +08:00
Vedanshu Jain
c158d5168f
Merge pull request #31682 from woocommerce/fix/31671-checkout-pay-order-styling
...
Fix styling of "pay for order" form.
2022-01-24 10:14:57 +05:30
dhjw
cd8559381b
Enable browser-suggested passwords on checkout signup
2022-01-22 16:07:04 -08:00
helgatheviking
f7d9ebc436
Limit input widths to number inputs
2022-01-22 12:33:16 -07:00
Jacob Sewell
2b1dd08040
Fix/7174 dismiss button alignment ( https://github.com/woocommerce/woocommerce-admin/pull/8168 )
...
* Combine all the .woocommerce-task-dashboard__container .woocommerce-task-card rules in one block.
* Move the .woocommerce-task-card__section-controls text-align center rule up in specificity so it overrides the rule in experimental-list.
Do we need the experimental-list package still?
* Changelog for 7174/8168.
* Expand button to container width and center text rather than centering the entire button in the ellipsis menu.
* Move ellipsis menu button style to _global so it applies, um, globally.
* Update changelog description for 7174/8186.
* Move ellipsis-menu popover button style to package from _global.
* Add components package changelog for Dismiss button in Unreleased section.
2022-01-22 11:48:01 -06:00
Joshua T Flowers
b5ae232106
Add product meta data to published product tracks ( #31355 )
2022-01-21 17:19:56 -05:00
Fernando Marichal
c065121582
Add call to method `can_view_woocommerce_menu_item`
2022-01-21 17:29:44 -03:00
Nestor Soriano
2565df378e
Add scafolding for the custom orders table feature.
...
- Add the src/Internal/DataStores/Orders, with the appropriate
class files.
- Add an entry in the tools page to initiate the (re)generation
of the table data (does nothing for now).
- Add a new data store class (empty for now).
2022-01-21 16:17:18 +01:00
Fernando Marichal
8e1bd702e4
Add calls to method `can_view_woocommerce_menu_item`
2022-01-21 11:02:23 -03:00
Fernando Marichal
317e530fba
Add method can_view_woocommerce_menu_item
...
This commit adds a method to check if the user can access the top-level WooCommerce item.
2022-01-21 11:02:02 -03:00
Jacob Sewell
1e8cdb3543
Reduce padding around plugin list titles for marketing tools page. ( https://github.com/woocommerce/woocommerce-admin/pull/8171 )
...
* Reduce padding around plugin list titles for marketing tools page.
* Changelog for 8164/8171.
* Update plugin list title padding
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-01-20 20:50:21 -06:00
dependabot[bot]
f217131dd0
Bump trim-off-newlines from 1.0.1 to 1.0.3 ( https://github.com/woocommerce/woocommerce-admin/pull/8195 )
...
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines ) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/stevemao/trim-off-newlines/releases )
- [Commits](https://github.com/stevemao/trim-off-newlines/compare/v1.0.1...v1.0.3 )
---
updated-dependencies:
- dependency-name: trim-off-newlines
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-20 16:41:17 +08:00
RJ
49bf6a5c81
Updated frontend email validation to use @wordpress/url ( https://github.com/woocommerce/woocommerce-admin/pull/8197 )
...
* Updated frontend email validation to use @wordpress/url
- added testing for StoreDetails
- changed basic email validation to use @wordpress/url isEmail
2022-01-20 16:40:20 +08:00
renovate[bot]
8af4fe6311
Update dependency follow-redirects to 1.14.7 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8194 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 16:33:34 +08:00
Chi-Hsuan Huang
ff1e31cfd4
Enhance report chart i18n support ( https://github.com/woocommerce/woocommerce-admin/pull/8129 )
...
* Support i18n texts for report chart
* Add changelogs
* Add d3-time-format to date pkg devDependencies
* Fix date php format and add tests
* Add date changelog
* Fix date test
* Escape week of string for php formatter
2022-01-20 08:20:18 +08:00
Chi-Hsuan Huang
19e7345f01
Fix undefined derived_currency value for the track 'wcadmin_storeprofiler_store_details_continue' ( https://github.com/woocommerce/woocommerce-admin/pull/8193 )
...
* Fix undefined store_country value for the track wcadmin_storeprofiler_store_details_continue
* Add changelog
2022-01-20 08:19:20 +08:00
Fernando
b74600593e
Change the reviews empty state panels logic ( https://github.com/woocommerce/woocommerce-admin/pull/8147 )
...
* Add unapproved reviews check
* Add tests
* Add changelog
* Create a review e2e test
* Fix lint
* Rename some constants (https://github.com/woocommerce/woocommerce-admin/pull/8178 )
* Renamed `countUnapprovedReviews`
* Renamed `lowStockProductsCount`
* Renamed `unreadOrdersCount`
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-19 13:45:17 -03:00
Joshua T Flowers
ecd8c34c42
Hide store address fields in regions that specify hidden ( https://github.com/woocommerce/woocommerce-admin/pull/8172 )
...
* Hide store address fields in regions that specify hidden
* Add changelog entry
2022-01-19 09:07:43 -05:00
Žygimantas Arūna
db6f6f22ca
New hook: cart item removed because of hash change
2022-01-19 15:01:21 +01:00
Peter Fabian
af3c2732c1
Merge pull request #31508 from woocommerce/update/revert-Customize-WC-logic
...
Revert #30044
2022-01-19 14:50:02 +01:00
Peter Fabian
322696b2fa
Merge pull request #31506 from siliconforks/woocommerce_product_recount_terms-filter
...
Change '__return_true' to true in apply_filters()
2022-01-19 14:38:14 +01:00
Chi-Hsuan Huang
9cfd69d778
Fix incorrect date options when the "Default Date Range" is set from Analytics settings ( https://github.com/woocommerce/woocommerce-admin/pull/8189 )
...
* Add defaultDateRange argument to getAllowedIntervalsForQuery function for default period value
* Fix incorrect date options when the "Default Date Range" is set
* Add changelog
2022-01-19 10:15:33 +08:00
Jeff Stieler
8c78791c37
Fix styling of order pay form via my account.
2022-01-18 16:50:30 -07:00
Jeff Stieler
1a8e27e5ca
Fix my account orders action button spacing.
2022-01-18 16:50:07 -07:00
Joshua T Flowers
067c9f763e
Fix task ID class check and add tests around tracking ( https://github.com/woocommerce/woocommerce-admin/pull/8185 )
...
* Fix task ID class check and add tests around tracking
* Add changelog entry
* Add doc comment for return value of recorded tracks event
2022-01-18 15:29:14 -05:00
Joel Thiessen
96c7eb4e26
Adding tooltip to describe the lack of refund deductions from revenue summaries ( https://github.com/woocommerce/woocommerce-admin/pull/8187 )
2022-01-18 12:07:32 -08:00
jonathansadowski
5e4f6c7413
Add `@see` tag to hint at usage of `wp_doing_ajax`
2022-01-18 13:15:32 -06:00
mrleemon
f5411284a5
Wrap terms and conditions required asterisk symbol with <abbr> tag
2022-01-18 20:00:33 +01:00
Jonathan Sadowski
d39bd0eb54
Partially revert #31113
...
This commit reverts the deprecation if `is_ajax` that occurred in #31113 . It leaves beind the changes to use the native function `wp_doing_ajax` instead.
2022-01-18 11:28:35 -06:00
Fernando
3c424992a4
Refactor selling options - OBW - Business Details ( https://github.com/woocommerce/woocommerce-admin/pull/8081 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-18 10:46:10 -03:00
Chi-Hsuan Huang
2ce17ed7c0
Fix incorrect total count of downloads on the analytics download report ( https://github.com/woocommerce/woocommerce-admin/pull/8182 )
...
* Fix incorrect total count of downloads on download analytics report
* Add changelog
2022-01-18 19:04:20 +08:00
Chi-Hsuan Huang
18a4a467f8
Fix get_automated_tax_supported_countries doesn't include UK ( https://github.com/woocommerce/woocommerce-admin/pull/8180 )
...
* Add GB to automated tax supported countries list
* Add changelog
2022-01-18 18:31:46 +08:00
Chi-Hsuan Huang
3b8c6662e8
Fix incorrectly displayed note created date ( https://github.com/woocommerce/woocommerce-admin/pull/8179 )
...
* Fix incorrectly displayed note created date
* Add changelog
* Add package changelog
2022-01-18 18:24:15 +08:00
Menaka S
80bf1cfb76
Add WcPay settings info to WC Tracker
2022-01-18 14:22:42 +04:00
Chi-Hsuan Huang
08acc3e2f7
Fix incorrect reader text generated for data points on charts table ( https://github.com/woocommerce/woocommerce-admin/pull/8181 )
...
* Fix incorrect screen reader text generated for data points on charts table
* Add changelog
2022-01-18 18:10:23 +08:00
Nestor Soriano
dbb4605e8e
Change db update version from 6.2 to 6.3.
...
Also rename the db update function to include the Woo version number.
2022-01-18 09:28:54 +01:00
Nestor Soriano
806c4f2ed3
Add a table regeneration step size filter and a "regeneration aborted" warning
...
Add a new filter: woocommerce_attribute_lookup_regeneration_step_size,
it allows to choose how many products will be processed on each
step when the product attributes lookup table is being regenerated,
the default is the previous fixed value, 10.
Also when the regeneration is manually aborted (via deleting the
woocommerce_attribute_lookup_regeneration_in_progress option), the
products - advanced settings section will still allow to enable the
usage of the table, but a warning will be shown because the table
will be in an inconsistent state.
2022-01-18 09:06:14 +01:00
Chi-Hsuan Huang
ae0ea6df2c
Fix php unit test "test_deleted_coupons" for wc >= 6.1.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8162 )
...
* Fix bin/install-wp-tests.sh for wc >= 6.0.0
* Fix php unit test "test_deleted_coupons" for wc >= 6.1.0
* Update WC_Tests_Reports_Coupons test_populate_and_query test
Fix test
2022-01-18 13:31:21 +08:00
Vedanshu Jain
3c9d1353e5
Merge pull request #31317 from kkmuffme/cookie-consent-filter
...
add cookie consent filter
2022-01-17 16:28:33 +05:30
Vedanshu Jain
e6544d737d
Rename filter to be more generic since it can be used across different use cases.
2022-01-17 16:04:34 +05:30
Peter Fabian
505e6ee27c
Merge pull request #31590 from masteradhoc/patch-3
...
change string 'automatically generate an account password'
2022-01-17 11:25:11 +01:00
Chi-Hsuan Huang
161a9d6feb
Fix shipping rate error message overlaps with the 'Proceed' button ( https://github.com/woocommerce/woocommerce-admin/pull/8165 )
...
* Fix shipping rate error message overlaps with the 'Proceed' button
* Add changelog
2022-01-17 14:39:02 +08:00
Chi-Hsuan Huang
409f077a83
Fix setup wizard free features checkbox re-check itself ( https://github.com/woocommerce/woocommerce-admin/pull/8169 )
...
* Fix setup wizard free features checkbox re-check itself
* Add changelog
2022-01-17 10:03:32 +08:00
Kamil
37794b2b7c
Additional parameters in `woocommerce_get_product_thumbnail` ( #31605 )
...
* Additional parameters in `woocommerce_get_product_thumbnail`
* Protection against potential wrong types of parameters
* Coding standards
2022-01-14 13:42:35 -05:00
秋余
afde32fd01
If applied, this commit will format Line items price in order api ( #31593 )
...
* If applied, this commit will format Line items price in order api
When buying three products at price is 17.17. request /wp-json/wc/v3/orders api will get line_items prices is 17.169999999999998, this is because floating point numbers have limited precision.
* use wc_format_decimal function format line item price on order api
2022-01-14 12:35:46 -05:00
jonathansadowski
2a2b609055
Merge pull request #31640 from woocommerce/update/changelog-6.1
...
Prepare trunk to 6.3.0-dev and update changelog
2022-01-14 10:30:47 -06:00
Tom Cafferkey
88a623639c
Code review feedback
2022-01-14 14:26:12 +00:00
Joshua T Flowers
666f740659
Add localized validation to store address ( https://github.com/woocommerce/woocommerce-admin/pull/8123 )
...
* Use locale labels for store info
* Get address validation errors based on locale
* Fix validation rules based on locale
* Fix up store address in location task step
* Add changelog entry
2022-01-14 08:39:25 -05:00
vedanshujain
7b8f3be261
Merge branch 'trunk' into pr/31317
2022-01-14 17:20:46 +05:30
vedanshujain
17f6671924
Merge branch 'trunk' into pr/31435
2022-01-14 17:01:30 +05:30
Vedanshu Jain
fd658797d8
Merge pull request #31577 from woocommerce/issue/31562-filter-coupons-by-status
...
Issue/31562 filter coupons by status
2022-01-14 16:32:27 +05:30
Vedanshu Jain
d5f32ee514
Merge pull request #31610 from woocommerce/fix/allow-block-taxonomy-product-templates
...
Allow Blocks for Custom Product taxonomies
2022-01-14 16:22:50 +05:30
Vedanshu Jain
a9c1c6756a
Updated @since version
2022-01-14 15:57:31 +05:30
dnwjn
fe7a35adc8
Update since version
2022-01-14 10:16:22 +01:00
Claudio Sanches
fa781ef9e7
Merge pull request #31623 from kvnang/trunk
...
Use inline `onload` event instead of jQuery `load`
2022-01-14 02:43:11 -03:00
Ilyas Foo
352c533ed8
Update changelog and testing instructions with 3.1.0-rc.1 release ( https://github.com/woocommerce/woocommerce-admin/pull/8166 )
...
* Update changelogs
* Update testing instructions
* Fix testing instructions
* Fix instructions
2022-01-14 09:53:21 +08:00
Ilyas Foo
e3357ff3bf
Bump version
2022-01-14 07:39:59 +08:00
Claudio Sanches
efcdcfa67c
Prepares trunk to 6.3.0-dev and update changelog
2022-01-13 20:28:58 -03:00
Claudio Sanches
36f4ee84aa
Merge pull request #31556 from woocommerce/update/woocommerce-blocks-6.7.0
...
Update WooCommerce Blocks package to 6.7.1
2022-01-13 20:22:48 -03:00
Joshua T Flowers
3c20d0f007
Add countries data store ( https://github.com/woocommerce/woocommerce-admin/pull/8119 )
...
* Add countries data store
* Add countries state type to reducer
* Add changelog entry
2022-01-13 14:43:56 -05:00
Miguel Perez Pellicer
bfa5d2d14d
Fix format for PHP < 7.3
2022-01-13 18:14:29 +01:00
Miguel Perez Pellicer
9ec469859b
Fix format for PHP < 7.3
2022-01-13 18:10:26 +01:00
Miguel Perez Pellicer
ae65c8c139
Adding Unit tests
2022-01-13 18:01:11 +01:00
Vedanshu Jain
4f8540a6c9
Merge pull request #31587 from esprssoo/trunk
...
Fix PHPDoc Type
2022-01-13 21:21:11 +05:30
Vedanshu Jain
7ef18a5879
Merge pull request #31634 from woocommerce/fix/2022-order-details-table-narrow
...
Fix order details table width on narrow viewports.
2022-01-13 15:53:43 +05:30
Peter Fabian
28f6760b00
Merge pull request #31557 from woocommerce/add-php-72-version-bump-notice
...
Add an admin notice about the upcoming change in PHP requirements
2022-01-13 10:14:06 +01:00
Nestor Soriano
0853bf411d
Fix a "__" that should be "esc_html__" (triggering deprecation notice)
2022-01-13 09:57:29 +01:00
Nestor Soriano
9821d5d0fe
Tryy to remove th PHP 7.2 bump notice only if it actually exists.
2022-01-13 08:57:51 +01:00
Vedanshu Jain
2a3360fb95
Merge pull request #31633 from woocommerce/fix/31324-checkout-block-overlay
...
Basis of overlay used when processing Twenty Twenty-Two checkout.
2022-01-13 09:21:00 +05:30
Chi-Hsuan Huang
f00e904d13
Fix category report query returns invalid net sales ( https://github.com/woocommerce/woocommerce-admin/pull/8153 )
...
* Fix category report query returns invalid net sales
fixes woocommerce/woocommerce-admin#7710
2022-01-13 11:12:16 +08:00
Chi-Hsuan Huang
cedb47d2b0
Make activity panel badges margin consistent ( https://github.com/woocommerce/woocommerce-admin/pull/8152 )
...
* Make activity panel badges margin consistent
* Add changelog
2022-01-13 09:50:59 +08:00
Joel Thiessen
512a4fac7a
Fix marketing task not displaying on Atomic sites. ( https://github.com/woocommerce/woocommerce-admin/pull/8150 )
...
* Should accept a boolean value for is_visible property with an extension, and only evaluate a set of rules
* Adding changelog
* Moving fix to RuleEvaluator so it applies to other rulesets
2022-01-13 09:39:22 +08:00
Moon
fec3ab8c5e
Fix incorrectly selected column type in two-cols experiment ( https://github.com/woocommerce/woocommerce-admin/pull/8137 )
...
* Remove updating to two_cols
* Put woocommerce_task_list_prompt_shown update logic back
2022-01-13 09:38:38 +08:00
Jeff Stieler
6c8758118a
Fix order details table width on narrow viewports.
2022-01-12 18:26:36 -07:00
Jeff Stieler
be7b1b63f1
Add loading treatment to AJAX add to cart buttons.
2022-01-12 18:17:23 -07:00
barryhughes
ef514df47d
Import spin animation.
2022-01-12 17:08:12 -08:00
Barry Hughes
cd73b57191
Modify background color for <mark> elements ( #31631 )
2022-01-12 19:55:07 -05:00
Barry Hughes
360ed8d3c6
Merge pull request #31630 from woocommerce/fix/2022-checkout-tweaks
...
Some 2022 Checkout Form Tweaks
2022-01-12 16:42:48 -08:00
barryhughes
a20513b919
Basis of overlay used when processing Twenty Twenty-Two checkout.
2022-01-12 16:18:23 -08:00
Jeff Stieler
be6feced4c
Fix font sizes in single product tabs area, review form styling.
2022-01-12 16:21:13 -07:00
Jacob Sewell
bba520b886
OBW: Move newsletter signup checkbox inside the same Card as the rest of the Store Details form inputs. ( https://github.com/woocommerce/woocommerce-admin/pull/8148 )
...
* OBW: Move newsletter signup checkbox inside the same Card as the rest of the Store Details form inputs.
* Add changelog entry for 8033/8148.
* Fix changelog format for 8033/8148.
2022-01-12 16:56:19 -06:00
Barry Hughes
045c3fb915
Center product cards (2022 Theme) ( #31626 )
...
* Center product cards (2022 Theme)
* Product card color.
* Center product rating in loops.
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2022-01-12 17:00:52 -05:00
Jeff Stieler
accd914e54
Bold font for all price values on checkout.
2022-01-12 14:59:38 -07:00
Jeff Stieler
8e215949f8
Fix vertical alignment of prices on checkout.
2022-01-12 14:59:13 -07:00
Jeff Stieler
9c3afa0ab3
Fix product vendor display on checkout.
2022-01-12 14:58:54 -07:00
Josh Betz
e9e7bed39b
We can still assume the old status is pending
...
Per the code comment, we were already explicitly assuming draft posts
are "pending". That's fine and shouldn't block us from setting new posts
to auto-draft.
2022-01-12 14:53:52 -06:00
Josh Betz
58aca9855e
PoC: Allow auto-draft in API orders
...
For some operations in the API, like calculating taxes or shipping, it's
helpful to be able to have an order saved in the database. Having an
order object with an ID lets us perform other API actions on that order.
However, we also don't necessarily want these to show up on certain
screens.
Here we adopt the auto-draft status from core WordPress as a way to save
an order as a discrete object while signalling that it's not ready to
action yet.
Suggestions:
* auto-draft might not make sense given that it's used in core. We might
want to use something like `draft` instead.
* We may want to track this separate set of statuses (trash, auto-draft)
in a more official way, so we don't have to copy/paste around the
codebase.
2022-01-12 14:53:52 -06:00
Joshua T Flowers
583590ecf9
Add Magento migration note ( https://github.com/woocommerce/woocommerce-admin/pull/8145 )
...
* Add Magento migration note
* Add changelog entry
2022-01-12 15:41:12 -05:00
Joshua T Flowers
287b00d11b
Add REST endpoint to retrieve address locales ( https://github.com/woocommerce/woocommerce-admin/pull/8116 )
...
* Add REST endpoint to retrieve address locales
* Add changelog entry
2022-01-12 15:40:52 -05:00
Vedanshu Jain
6e08e1802f
Checkout tweaks for 2022 compatibility ( #31619 )
2022-01-12 13:17:49 -05:00
dnwjn
f48358403e
Add comments
2022-01-12 18:30:08 +01:00
Josh Betz
947b9c8ff1
Add doc comment for WC_REST_Coupons_Controller::prepare_objects_query
2022-01-12 11:06:44 -06:00
Josh Betz
a88a7255b1
Fix infinite loop
...
Oops. We can't call $this->prepare_objects_query() unconditionally inside
prepare_objects_query(). This was my fault 🙃
b43af2ae16
To explicitly reference the parent implementation, we use `parent::`
2022-01-12 11:01:53 -06:00
Peter Fabian
38931e401b
Merge pull request #31395 from woocommerce/fix/remove-old-images
...
Removed assets referred to from deprecated functions.
2022-01-12 16:21:51 +01:00
Kevin Ang
d974373b1f
Use inline `onload` event instead of jQuery `load`
2022-01-12 08:30:05 -06:00
Moon
29d4e96114
Make sure WP_ENVIRONMENT_TYPE is defined before checking the value ( https://github.com/woocommerce/woocommerce-admin/pull/8133 )
2022-01-12 14:48:20 +08:00
Ilyas Foo
a0ffceec06
Move WC Pay welcome page from wc-calypso-bridge ( https://github.com/woocommerce/woocommerce-admin/pull/8151 )
...
* Move WC Pay welcome page from wc-calypso-bridge (https://github.com/woocommerce/woocommerce-admin/pull/8083 )
* Add wc-pay-welcome-screen flags
* Add wc pay welcome page from wc calpyso bridge
* Add changelog
* Rename var to pageViewTimestamp to prevent confusion
* Remove unused code
* Make sure hasViewedWelcomePage is a boolean value
* Simplify storeViewWelcome
* Add payments remind me later note (https://github.com/woocommerce/woocommerce-admin/pull/8085 )
* Add payments remind me later note
Fix wcpay path
* Add changelogs
* Update src/Notes/PaymentsRemindMeLater.php
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Fix possibly_add_note syntax error
Update Events.php
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Replace flag icon with component and svg background to png (https://github.com/woocommerce/woocommerce-admin/pull/8101 )
* Activate promo note after WC Pay is activated (https://github.com/woocommerce/woocommerce-admin/pull/8104 )
* Activate promo after wcpay is a\ctivated
* Add changelogs
* Add experimental to promo API path and limit the promo names
* Use ExPlat to render the WC Pay menu conditionally (https://github.com/woocommerce/woocommerce-admin/pull/8115 )
* Check ExPlat to render the menu conditionally
* Update the experiment name
* Fix letter case to follow feature class naming convention
* Enable wc-pay-welcome-page feature in core config (https://github.com/woocommerce/woocommerce-admin/pull/8124 )
* Use wc_calypso_bridge_payments_dismissed option name to respect the previously saved setting from wp.com
* Missed wc_calypso_bridge_payments_dismissed rename
* Use the existing code to prevent duplication
* Fix warning (https://github.com/woocommerce/woocommerce-admin/pull/8141 )
* Change experiment to come after checks (https://github.com/woocommerce/woocommerce-admin/pull/8142 )
* Change track path to (https://github.com/woocommerce/woocommerce-admin/pull/8143 )
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Replace deprecated wc-admin-settings package
Co-authored-by: Moon <moon.kyong@automattic.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2022-01-12 14:46:33 +08:00
Jeff Stieler
0c4035615a
Style order details.
2022-01-11 22:46:49 -07:00
Jeff Stieler
497738ea71
Tweak show password icon again.
2022-01-11 21:51:26 -07:00
Jeff Stieler
59f57a631d
Fix radio buttons on cart.
2022-01-11 21:51:14 -07:00
Jeff Stieler
4718c65352
Style order button and responsive form width.
2022-01-11 21:33:29 -07:00
Jeff Stieler
4b83fa9bca
Style checkbox input.
2022-01-11 21:18:37 -07:00
Jeff Stieler
cbc4d31ec5
Fix margin on my account address form.
2022-01-11 20:43:57 -07:00
Jeff Stieler
5c67ccdb86
Style radio buttons.
2022-01-11 20:43:40 -07:00
Jeff Stieler
e4d51dc017
Style checkout form.
2022-01-11 20:43:32 -07:00
Jeff Stieler
a3d83d4aec
Fix checkout column layout.
2022-01-11 18:08:06 -07:00
Jeff Stieler
e20d76a7f7
Style cart totals table.
2022-01-11 15:46:09 -07:00
Jeff Stieler
5224c4c83d
Style "view cart" and "return to shop".
2022-01-11 15:14:31 -07:00
Jeff Stieler
9b8a73875d
Fix add to cart buttons.
2022-01-11 14:58:16 -07:00
Jeff Stieler
d20aa95d03
Fix password input.
2022-01-11 14:58:08 -07:00
Jeff Stieler
9ef7e0c778
Style cart items table.
2022-01-11 14:57:52 -07:00
Joel Thiessen
8ab602de9d
Adding allowed plugins to composer configuration ( https://github.com/woocommerce/woocommerce-admin/pull/8139 )
2022-01-11 12:14:28 -08:00
Jeff Stieler
51f3e1c3f0
Style login form.
2022-01-11 11:04:11 -07:00
Jeff Stieler
96241487d5
Style tables on my account.
2022-01-11 11:04:11 -07:00
Jeff Stieler
ca7a3eec62
Fix input height - affected add to cart.
2022-01-11 11:04:11 -07:00
Jeff Stieler
c6dd0f0ab5
Remove button inner border.
2022-01-11 11:04:11 -07:00
Jeff Stieler
d0f4691b65
Fix notice/message bottom margin.
2022-01-11 11:04:11 -07:00
Jeff Stieler
7e28e79f26
Style address edit form.
2022-01-11 11:04:11 -07:00
Jeff Stieler
540cbf587a
Initial styles for my account template.
2022-01-11 11:04:11 -07:00
Jeff Stieler
f07a9d40ad
Fix message display on my account page.
2022-01-11 11:04:11 -07:00
Vedanshu Jain
487c4f6e17
2022 theme stylings for product and shop pages. ( #31536 )
...
* 2022 theme stylings for product and shop pages.
* Add support for variable products and gallery.
* Add margin to reset button.
* Add support grouped product.
* Disable breadcrumb and add notice styling child.
* Reduce heading size on title page.
* Reduce font-size for content in tabs.
* Fixes for PR 31536 (#31611 )
* Set max width to 1000px for shop and products.
* Display breadcrumbs on product pages.
* Remove admin styles.
* Fix result count and ordering control alignment.
* Fix onsale alignment on single product pages.
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2022-01-11 12:57:48 -05:00
Moon
7348c302ec
Fix duplicated back button with two-cols experiment ( https://github.com/woocommerce/woocommerce-admin/pull/8138 )
...
* Do not render individual task in the extended component when it is rendered with two column task component
* Change var name to shouldRenderTask
2022-01-11 08:21:50 -08:00
Josh Betz
b1da020e07
Fix indentation
...
We use spaces to align the `=>` instead of a mix of tabs and spaces.
2022-01-11 10:08:12 -06:00
Miguel Perez Pellicer
06faa5daa6
Fix logic in get_template_loader_default_file function for loading custom product taxonomies.
2022-01-11 12:30:14 +01:00
Tom Cafferkey
c01e9e6582
Allow relevant block templates to be listed in the edit product view
2022-01-11 11:21:42 +00:00
anitaamurthy
9a34ccc7ba
Merge branch 'trunk' into issue/31562-filter-coupons-by-status
...
# Conflicts:
# plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php
# plugins/woocommerce/tests/legacy/unit-tests/coupon/data.php
2022-01-11 11:36:16 +05:30
Jeff Stieler
030cea98c8
Improve Customers Sync Performance ( https://github.com/woocommerce/woocommerce-admin/pull/8021 )
...
* Avoid unnecessary customer ID retrieval.
* Ignore order count when validating customers.
WC_Customer::get_order_count causes a full table scan without cache.
* Don't get customer names from their last order.
WC_Customer::get_last_order has to scan all _customer_user meta rows.
* Add changelog entry.
* Fix changelog.
* Cache customer ID in Order override classes.
* Check all user roles.
2022-01-10 19:22:09 -05:00
Joshua T Flowers
2dde3f5fa4
Add custom error for store details email and allow continue ( https://github.com/woocommerce/woocommerce-admin/pull/8110 )
...
* Add custom error for store details email and allow continue
* Add changelog entry
2022-01-10 14:18:19 -05:00
Anitaa Murthy
0a1b850fb3
Issue/31555 add status field coupons api ( #31561 )
...
* Added the status field to the GET Coupon(s) API endpoint
* Updated existing unit test for reading coupons from the db
* Updated tests for version 2&3 when fetching coupons
* Update plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php
Co-authored-by: Josh Betz <j@joshbetz.com>
* Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
Co-authored-by: Josh Betz <j@joshbetz.com>
* Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
Co-authored-by: Josh Betz <j@joshbetz.com>
* Updated unit test for getters and setters
* Fix indentation
* Fix indentation.
Co-authored-by: Josh Betz <j@joshbetz.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2022-01-10 13:41:32 -05:00
jonathansadowski
4f482cff26
Merge pull request #31603 from woocommerce/fix/dep-sass-format
...
Use calc function to prevent deprecated warnings when building
2022-01-10 10:19:08 -06:00
Brian
26d8a667b5
small text change
2022-01-10 16:03:31 +01:00
roykho
39a048631c
Use calc function to prevent deprecated warnings when building
2022-01-10 06:40:40 -08:00
louwie17
48c2742099
Update changelog with 3.0.3 changes ( https://github.com/woocommerce/woocommerce-admin/pull/8130 )
2022-01-10 08:22:19 -04:00
Jeff Stieler
79c9b66714
Prevent photoswipe tap from interacting with elements directly underneath.
...
Props @Edsuns and @andi34.
2022-01-07 18:02:46 -07:00
Brian
f736216f01
Update class-wc-settings-accounts.php
2022-01-08 01:17:33 +01:00
Brian
1d7b1a7171
fixes #31560
...
fixes #31560 - change string 'automatically generate an account password'
2022-01-08 01:13:22 +01:00
Brian
9a6ba5cac9
fix #31586
...
fix #31586 - Special characters in email subject
2022-01-08 01:05:43 +01:00
Raluca Stan
cbb6c6b4ab
Merge branch 'trunk' into update/woocommerce-blocks-6.7.0
2022-01-07 18:37:05 +01:00
Raluca Stan
56bc2cec33
Update Woo Blocks version to 6.7.1
2022-01-07 18:23:32 +01:00
anitaamurthy
f43ae46ff3
Merge branch 'issue/31562-filter-coupons-by-status' of https://github.com/woocommerce/woocommerce into issue/31562-filter-coupons-by-status
2022-01-07 16:46:20 +05:30
anitaamurthy
2a43c843ec
Updated filter to support backward compatibility
2022-01-07 16:45:40 +05:30
Anitaa Murthy
b43af2ae16
Update plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-coupons-controller.php
...
Co-authored-by: Josh Betz <j@joshbetz.com>
2022-01-07 16:38:36 +05:30
Nikos Papadakis
67d81bac8d
Fix PHPDoc Type
2022-01-07 11:50:53 +02:00
Nestor Soriano
d3036beff7
Changes in the notice for the PHP 7.2 bump:
...
- Update the link to the announcement post
- Extend the notice text with "Your server is currently running an
older version of PHP, so this change will impact your store".
2022-01-07 10:25:19 +01:00
Chi-Hsuan Huang
016c8887c9
Fix storybook cannot resolve @woocommerce/settings error ( https://github.com/woocommerce/woocommerce-admin/pull/8128 )
2022-01-07 13:05:22 +08:00
Chi-Hsuan Huang
b9d788c457
Fix variations table product filter ( https://github.com/woocommerce/woocommerce-admin/pull/8120 )
...
* Fix variations table product filter query
* Add changelogs
2022-01-07 12:25:44 +08:00
Chi-Hsuan Huang
f47a5c7898
Fix misaligned status column on orders report ( https://github.com/woocommerce/woocommerce-admin/pull/8121 )
...
* Fix misaligned status column on order report
Add labelPositionToLeft prop to order-status component
Set labelPositionToLeft=true for <OrderStatus> on orders report table
Remove style import
* Add changelogs
Add changelogs
2022-01-07 11:37:47 +08:00
Lourens Schep
af929b5b39
Version bump WooCommerce Admin to 3.0.3
2022-01-06 19:35:52 -04:00
louwie17
0e3286772e
Check if WC Pay is supported before adding gateway ( https://github.com/woocommerce/woocommerce-admin/pull/8122 )
...
* Check if WC Pay is supported before adding gateway
* Add changelog
2022-01-06 18:15:08 -04:00
Joel Thiessen
9f107352ad
Adding changelogs from 3.0.2 release ( https://github.com/woocommerce/woocommerce-admin/pull/8118 )
2022-01-06 09:34:11 -08:00
roykho
3953686056
Update the recommended engine versions to use
2022-01-06 09:14:13 -08:00
Raluca Stan
5d74f6a691
Fix the update of composer.lock
2022-01-06 14:41:19 +01:00
Raluca Stan
7f733646f1
Revert "Update WooCommerce blocks package to 6.7.0"
...
This reverts commit ccf5db4f3a
.
2022-01-06 14:37:05 +01:00
louwie17
26a9089f58
Make use of the woocommerce_allow_marketplace_suggestions filter ( https://github.com/woocommerce/woocommerce-admin/pull/8117 )
...
* Make use of the woocommerce_allow_marketplace_suggestions filter in WooCommerce Payment promotion
* Add changelog
2022-01-06 09:00:38 -04:00
louwie17
3998f88597
Remove unpublished wc-admin-settings package and update getSetting usage ( https://github.com/woocommerce/woocommerce-admin/pull/8057 )
...
* Remove use of wc-admin-settings from packages
* Move getSetting to getAdminSetting and remove wc-admin-settings package
* Add changelog
* Update package.json and remove last use of wc-admin-settings
2022-01-06 08:53:30 -04:00
anitaamurthy
89d8cb6a9b
Merge branch 'issue/31555-add-status-field-coupons-api' into issue/31562-filter-coupons-by-status
2022-01-06 10:54:41 +05:30
anitaamurthy
5b582de829
Updated unit test for getters and setters
2022-01-06 10:48:33 +05:30
Anitaa Murthy
74adbd18f5
Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
...
Co-authored-by: Josh Betz <j@joshbetz.com>
2022-01-06 10:42:04 +05:30
Anitaa Murthy
b7e2a58cea
Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
...
Co-authored-by: Josh Betz <j@joshbetz.com>
2022-01-06 10:41:57 +05:30
Anitaa Murthy
e6133734f2
Update plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php
...
Co-authored-by: Josh Betz <j@joshbetz.com>
2022-01-06 10:41:46 +05:30
Chi-Hsuan Huang
0c028b4a87
Add resolution check to ensure setup-wizard redirection on homescreen is stable ( https://github.com/woocommerce/woocommerce-admin/pull/8114 )
...
* Add resolution check to ensure setup-wizard redirection is stable
* Add changelogs
2022-01-06 09:47:09 +08:00
Barry Hughes
747cb6b718
Merge pull request #30955 from drjamesj/fix/30828
...
Fixes #30828
2022-01-05 15:51:11 -08:00
James
232e47611b
Fixes #30828
2022-01-05 14:11:57 -08:00
roykho
0f67d858e9
Use application installed Grunt instead of requiring global install
2022-01-05 13:18:09 -08:00
roykho
26c3171101
Explicitly add plugins allowed
2022-01-05 12:09:29 -08:00
anitaamurthy
820cdbe00c
Added unit tests for filtering coupons by status
2022-01-05 21:05:24 +05:30
John Regan
757094ea43
Add var to woocommerce_variation_header hook
2022-01-05 08:56:01 -06:00
anitaamurthy
5f881728e5
Added new unit test class for coupons v3 controller
2022-01-05 18:38:48 +05:30
anitaamurthy
53cdfa9c24
Added option to filter coupons by status
2022-01-05 18:16:22 +05:30
anitaamurthy
07e8c0667b
Updated tests for version 2&3 when fetching coupons
2022-01-05 16:36:09 +05:30
Chi-Hsuan Huang
91fc05dcfe
Fix misaligned rows per page dropdown ( https://github.com/woocommerce/woocommerce-admin/pull/8113 )
...
* Fix misaligned rows per page dropdown
* Add changelogs
Add changelogs
2022-01-05 18:01:42 +08:00
Chi-Hsuan Huang
af99137dff
Truncate the site title with an ellipses on the second line ( https://github.com/woocommerce/woocommerce-admin/pull/8112 )
...
* Truncate the site title with ellipses on the second line
Fix style
* Add changelogs
* Add title property to nav site title
Update
2022-01-05 13:39:33 +08:00
anitaamurthy
160cf58410
Updated existing unit test for reading coupons from the db
2022-01-05 10:32:53 +05:30
renovate[bot]
1f0385561a
Update dependency nth-check to 2.0.1 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8050 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 11:02:20 +08:00
renovate[bot]
84ae45c2ef
Update dependency json-schema to 0.4.0 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8049 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 11:00:30 +08:00
Moon
8983852686
Render the activity panel when the tasklist is hidden ( https://github.com/woocommerce/woocommerce-admin/pull/8111 )
2022-01-04 18:23:34 -08:00
jonathansadowski
3ce4a7c911
Update class-wc-admin-notices.php
2022-01-04 13:03:02 -06:00
Nestor Soriano
860a8b9e84
Add an admin notice about the upcoming change in PHP requirements
...
The minimum required PHP version will be 7.2 as of WooCommerce 6.5.
This adds a dismissable admin notice to PHP 7.0 and 7.1 users.
2022-01-04 17:21:19 +01:00
Raluca Stan
ccf5db4f3a
Update WooCommerce blocks package to 6.7.0
2022-01-04 14:34:37 +01:00
renovate[bot]
233a8a1da1
Update dependency prismjs to 1.25.0 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8051 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 20:00:18 +08:00
renovate[bot]
718aceac64
Update dependency ansi-regex to 5.0.1 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8048 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 19:57:55 +08:00
Ján Mikláš
fb9f50a2e5
Add MailPoet to Installed marketing extensions ( https://github.com/woocommerce/woocommerce-admin/pull/8091 )
...
* Add MailPoet to Installed marketing extensions
Fixes woocommerce/woocommerce-admin#8088
* Add changelogs
2022-01-04 18:00:22 +08:00
anitaamurthy
9fee3b0b4e
Added the status field to the GET Coupon(s) API endpoint
2022-01-04 15:20:37 +05:30
Chi-Hsuan Huang
f838727546
Replace all docs.woocommerce.com links with woocommerce.com's ( https://github.com/woocommerce/woocommerce-admin/pull/8105 )
...
* Replace all docs.woocommerce.com links with woocommerce.com/documentation
* Add changelogs
Update changelogs
* Update woocommerce-amazon-ebay-integration doc url
2022-01-04 17:03:58 +08:00
Chi-Hsuan Huang
4aaa938c3e
Fix ci php unit tests with woocommerce >= 6.0.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8108 )
2022-01-04 17:03:30 +08:00
Vedanshu Jain
aee1f0880f
Merge pull request #31522 from woocommerce/fix/31518-support-for-new-block-templates-naming-conventions
...
Add support for Gutenberg 12.1.0 block template naming convention
2022-01-04 13:53:37 +05:30
Chi-Hsuan Huang
950455827b
OBW: Fix free extensions list isn't updated after store location or industry is changed ( https://github.com/woocommerce/woocommerce-admin/pull/8099 )
...
* Rename variables and remove unnecessary select calls in selective-extensions-bundle
* Invalidate getFreeExtensions resolution whenever country or industry
changed
* Fix grammar
* Add changelogs
2022-01-04 11:31:58 +08:00
Chi-Hsuan Huang
a2f0390ac8
Skip opening the dropdown if the click event is from the error message ( https://github.com/woocommerce/woocommerce-admin/pull/8094 )
...
* Skip focusing the dropdown if the click event is from the error message
fix woocommerce/woocommerce-admin#7906
Update conmments
* Add changelogs
2022-01-04 11:00:05 +08:00
Tom Cafferkey
49681e6b24
Change continue to break in foreach loop to prevent further iterations
2022-01-03 12:01:45 +00:00
Chi-Hsuan Huang
2f290d79a9
Reset "install_timestamp" if it's not numeric to avoid TypeError ( https://github.com/woocommerce/woocommerce-admin/pull/8100 )
...
* Reset install_timestamp if it's not numeric to avoid type error
Fix indent
* Add changelogs
* Remove ununnecessary logic
2022-01-03 15:51:51 +08:00
Fernando Marichal
04567bb8fd
Bump woocommerce-admin version to 3.0.1
2021-12-30 17:01:21 -03:00
Ilyas Foo
aa9f2df07f
Sync version and changelogs after 3.1.0 beta ( https://github.com/woocommerce/woocommerce-admin/pull/8092 )
...
* Bump version to next dev version
* Update testing instructions
* Update changelogs
2021-12-30 10:35:22 +08:00
Chi-Hsuan Huang
755f99d5a1
Disallow whitespace as a platform name input ( https://github.com/woocommerce/woocommerce-admin/pull/8090 )
...
* Disallow whitespace as the platform name input
* Add changelogs
2021-12-30 10:05:12 +08:00
jonathansadowski
6cc335c35a
Merge pull request #31523 from woocommerce/fix/block-theme-check
...
Update block theme check to work in WP 5.9 without Gutenberg enabled
2021-12-29 12:13:03 -06:00
Veren
4da4c1d12f
Simplify possible path generation
2021-12-29 15:28:21 +01:00
Fernando
cb8eff85f5
Changelog - Update release date ( https://github.com/woocommerce/woocommerce-admin/pull/8093 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-29 08:04:23 -03:00
Albert Juhé Lluveras
91d2b68769
Update block theme check to work in WP 5.9 without Gutenberg enabled
2021-12-29 11:10:14 +01:00
Chi-Hsuan Huang
ac78e74ef6
OBW: Hide the extensions header when no available plugins in the category ( https://github.com/woocommerce/woocommerce-admin/pull/8089 )
...
* Hide extension list header if no plugins under the category
* Refactor variable naming and add missing hook deps
* Add changelogs
* Add tests for <ExtensionSection />
2021-12-29 16:32:19 +08:00
Fernando Marichal
921b0c19f5
Bump woocommerce-admin version to 3.0.0
2021-12-28 17:02:22 -03:00
Veren
b2239b592a
Add support for Gutenberg 12.1.0 block template naming convention
...
Gutenberg 12.1.0 has changed the convention for the directory paths from
`block-templates` and `block-template-parts` to `templates` and `parts`
respectively.
Previously, WooCommerce was checking whether block templates were
available, only in the `block-templates` directory.
This commit adds support for both older and newer naming conventions,
as well as parents and child themes.
Fixes #31518
2021-12-28 19:25:13 +01:00
Adrian Duffell
a0278af8ad
Syc 2.9.x changelog entries ( https://github.com/woocommerce/woocommerce-admin/pull/8044 )
...
* Add changelog
* Fixed style
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-28 10:36:16 -03:00
Moon
c84a8f4d40
Add/8073 add action_click event to inbox 2.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8086 )
...
* Prevent firing multiple panel view event
* Add inbox_action_click event when a note gets clicked
* Add changelog
2021-12-27 16:38:31 +08:00
Moon
ccd2495ff4
Do not initialize WC Pay promotion if spec is empty ( https://github.com/woocommerce/woocommerce-admin/pull/8087 )
2021-12-27 16:29:51 +08:00
Tam Mullen
74445e23d5
Add GitHub templates for issues and PRs
2021-12-24 16:45:52 +00:00
Niels Lange
db2be99ea8
Revert #30044
2021-12-24 19:59:26 +07:00
Silicon Forks
27dc83a779
Change '__return_true' to true in apply_filters()
...
Presumably the original author of this code intended to use true here
instead of '__return_true'; '__return_true' is commonly used with
add_filter() but it does not really make sense to use it here.
This was not really a bug because '__return_true' is a "truthy" value,
so the logic was working as intended; I am changing it to true just to
improve code readability.
2021-12-23 13:39:38 -04:00
Chi-Hsuan Huang
61cdae82c4
Fix unexpected analytics report table filter results ( https://github.com/woocommerce/woocommerce-admin/pull/8072 )
...
* Fix unexpected analytics report table filter results
* Add changelogs
Update changelogs
2021-12-23 16:52:39 +08:00
Fernando
566bf788a4
OBW: Update WC Pay label on recommended extensions list ( https://github.com/woocommerce/woocommerce-admin/pull/8038 )
...
* Modified WC-Pay label
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-22 09:22:29 -03:00
Tom Cafferkey
c9c5f86d30
Update WooCommerce Blocks to 6.5.1
2021-12-22 11:55:17 +00:00
Chi-Hsuan Huang
a43bcaca0f
Remove low performing inbox notes ( https://github.com/woocommerce/woocommerce-admin/pull/8054 )
...
* Remove Marketing note
* Remove DrawAttention note
Remove DrawAttention note
* Remove NeedSomeInspiration note
* Remove ChooseNiche note
* Remove StartDropshippingBusiness note
* Remove FilterByProductVariationsInReports note
* Remove LearnMoreAboutVariableProducts note
* Remove GettingStartedInEcommerceWebinar note
* Remove deprecated note tests
* Add changelogs
Update changelogs
* Remove navigation feedback notes (https://github.com/woocommerce/woocommerce-admin/pull/8055 )
* Remove navigation feedback note
issue woocommerce/woocommerce-admin#8043
* Add changelogs
2021-12-22 13:11:10 +08:00
Joshua T Flowers
0ef8959a22
Allow content data note props to be passed from remote sources ( https://github.com/woocommerce/woocommerce-admin/pull/8047 )
...
* Allow content data note props to be passed from remote sources
* Add changelog entry
2021-12-21 10:52:15 -05:00
Fernando
00055f69e4
Add e2e tests for PR 7963 ( https://github.com/woocommerce/woocommerce-admin/pull/7996 )
...
* Add e2e tests for PR 7963
* Fix lint
* Verify the next screen is shown
* Simplifying product types step
* Add className to SelectControl
* Fix e2e test
* Removed not used dependency
* Add method `expandRecommendedBusinessFeatures`
* Fixed style selectors
* Add default value to `name`.
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-21 09:58:15 -03:00
Veljko V
03a4ed7ed9
Update plugins/woocommerce/tests/performance/requests/merchant/orders-search.js
...
Co-authored-by: Tam Mullen <tam.mullen@automattic.com>
2021-12-21 13:56:11 +01:00
Veljko V
0fb8047bcc
Update plugins/woocommerce/tests/performance/requests/merchant/orders-search.js
...
Co-authored-by: Tam Mullen <tam.mullen@automattic.com>
2021-12-21 13:54:23 +01:00
Veljko V
829d9b3035
Update plugins/woocommerce/tests/performance/requests/merchant/orders-search.js
...
Co-authored-by: Tam Mullen <tam.mullen@automattic.com>
2021-12-21 13:54:12 +01:00
Chi-Hsuan Huang
b5ebf374e3
Allow storybook use different style based on a config ( https://github.com/woocommerce/woocommerce-admin/pull/8046 )
...
* Add style links to storybook preview head based on the env
Use *style.css or *style-rtl.css based on a env flag so we don't need to modify
the preview-head.html manully.
* Add npm run storybook-rtl
* Update the storybook-rtl command description
2021-12-21 10:48:28 +08:00
Chi-Hsuan Huang
a04ac544f8
Fix select-control component label value alignment css style ( https://github.com/woocommerce/woocommerce-admin/pull/8045 )
...
* Fix(select-control): fix label value alignment
Add padding to input value to have same algin space with input label.
fixed issue 7786
* Add changelogs
Fix changelog entry
Add changelogs
2021-12-20 17:54:22 +08:00
Ron Rennick
669fcef988
Product version bump update
2021-12-17 14:13:06 -04:00
Ron Rennick
5bd9f109b5
add change log header for 2.0.5
2021-12-17 14:11:16 -04:00
Ron Rennick
fe5d4d6c2e
Merge pull request #31400 from woocommerce/add/plugin-upload-test-functionality
...
Added plugin upload and test functionality
2021-12-17 12:22:33 -04:00
jonathansadowski
3c96dec9d7
Merge pull request #31471 from woocommerce/update/woocommerce-blocks-6.5.0
...
Update WooCommerce Blocks package to 6.5.0
2021-12-17 08:41:11 -06:00
Néstor Soriano
1a90c7245e
Merge pull request #31088 from LuigiPulcini/add/bulk-action-shortcircuit
...
Added logic to prematurely return on custom actions
2021-12-17 15:21:52 +01:00
Tom Cafferkey
bb5b1a1e90
composer.lock update
2021-12-17 09:01:10 +00:00
Tom Cafferkey
e364a67f42
Update package version
2021-12-17 08:52:25 +00:00
Tam Mullen
67a81463e4
Merge pull request #31007 from woocommerce/performance/newest-test-category-page
...
Add new performance test Shopper / Browse products by category
2021-12-16 21:57:10 +00:00
Greg
e7d3a65752
Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-16 13:39:15 -07:00
Greg
77bb3e958d
Logic for private repos and minor tweaks
2021-12-16 09:58:11 -07:00
Roy Ho
f7c93a6823
Merge branch 'trunk' into standardize-config-files
2021-12-16 05:44:48 -08:00
Joel Thiessen
8b0b840a89
Bumping WCA version to 3.0.0-rc.1
2021-12-15 15:48:39 -06:00
Greg
7c8bd91b25
Use describeIf to check for running plugin upload
2021-12-15 13:55:24 -07:00
Greg
6e5005b0d4
Merge branch 'trunk' into add/plugin-upload-test-functionality
2021-12-15 13:43:46 -07:00
Christopher Allford
4d18d16236
Merge pull request #31450 from woocommerce/dev/bump-woo-admin-2-9-4
...
Bump Woo Admin to 2.9.4
2021-12-15 10:52:58 -08:00
Barry Hughes
b3a54801a1
Merge pull request #31394 from tc33/fix/31393-geolocating-country-codes
...
Fix #31393 to use country from headers only if geolocating current user
2021-12-15 09:52:55 -08:00
Joel Thiessen
2579f063d9
Sync up changelogs after 3.0.0-rc.1 release ( https://github.com/woocommerce/woocommerce-admin/pull/8032 )
2021-12-15 08:54:48 -08:00
Roy Ho
af3585b67b
Merge branch 'trunk' into standardize-config-files
2021-12-15 07:13:58 -08:00
roykho
0f369d7040
Update package and node version
2021-12-15 07:08:37 -08:00
Adrian Duffell
8c98b437da
Bump Woo Admin to 2.9.4
2021-12-15 22:49:15 +08:00
Ilyas Foo
21f0a4e618
Bump WCA version to 2.9.3
2021-12-15 11:38:06 +08:00
Ron Rennick
b478bbb949
Merge pull request #31415 from woocommerce/fix/jest-e2e-retries
...
Fix jest e2e retries
2021-12-14 22:34:22 -04:00
Paul Sealock
eb453cce20
Add NX commands for Jetpack Changelogger ( #31166 )
2021-12-15 14:14:17 +13:00
roykho
47e39bcafc
Restore eslint dep
2021-12-14 12:22:50 -08:00
Christopher Allford
ea1871abb9
Updated Changelog
2021-12-14 11:07:37 -08:00
Greg
2762c9821a
Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-14 10:49:53 -07:00
roykho
3ba275e6c9
Deprecate stylelint-config-wordpress with current package
2021-12-14 09:14:54 -08:00
roykho
3578d61c0a
Replace deprecated babel-eslint with @babel/eslint-parser
2021-12-14 09:08:24 -08:00
roykho
85297dd1a1
Use sass package instead of node-sass
2021-12-14 08:57:28 -08:00
Joshua T Flowers
7aeb0a19d2
Migrate header items to slot fills ( https://github.com/woocommerce/woocommerce-admin/pull/7805 )
...
* Add SlotFill area to header
* Add activity panel fill
* Move activity panel to root client folder
* Move activity panel registration to its own folder
* Add navigation fill
* Add page title slotfill
* Slot fill the back button
* Move mobile banner to slot fill
* Fix navigation fill on embed pages
* Add changelog entry
* Allow order prop to header item fill
* Split header into before and after
* Fix header title gaps
* Fix nav and mobile app banner placement
* Fix display options import
* Only use last item for page header title fill
* Use function to pass fill props instead of bind
* Rename header slots
* Fix mobile banner dismissal check
* Fix up inbox panel rename
* Update task title in tests
* Fix up task status retrieval
2021-12-14 11:56:42 -05:00
roykho
ff7c615770
Move gitignore paths to root when it makes sense
2021-12-14 08:21:37 -08:00
John Regan
e31086327b
Fix/7660 Remove note->read_meta ( https://github.com/woocommerce/woocommerce-admin/pull/7988 )
...
* 7660 Remove note->read_meta
* Fix/7660 Update changelog
* 7660 Remove note->save_meta_data
2021-12-14 09:43:24 -04:00
erikdemarco
7b0b6e3db4
Filter enhancement
...
add field key to 'woocommerce_checkout_required_field_notice' filter. Currently if we want to hook any field we can only hooked on field's label. This is not good because field can have duplicate label. And field label can hae many variation because of translations. We need to add field key to the filter so we can hook on it instead.
2021-12-14 17:09:12 +07:00
Moon
2e9bbae66f
Bump woocommerce-admin version to 2.9.2
2021-12-13 16:11:30 -08:00
Greg
54d1379deb
Rename plugin_repository variable
2021-12-13 16:11:22 -07:00
Greg
fba795421d
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-13 15:45:32 -07:00
Joshua T Flowers
602ff9500c
Fix shipping task completion status ( https://github.com/woocommerce/woocommerce-admin/pull/8031 )
...
* Remove destructured props in favor of explicit props
* Optimistically complete task when rates are updated
* Add changelog entry
2021-12-13 16:13:05 -05:00
MD Sultan Nasir Uddin
705a383de5
Fix hard coded email template path ( #31321 )
2021-12-13 14:03:45 -07:00
roykho
26121fa059
Designate root level eslint config
2021-12-13 08:13:40 -08:00
jamelreid
b4d0bc0dab
Enabled jest retries locally
2021-12-10 11:01:58 -05:00
xristos3490
a5e4f1be2f
Fix the filter argument
2021-12-10 17:57:15 +02:00
xristos3490
304840bb6b
Cleanup
2021-12-10 17:47:58 +02:00
xristos3490
8ee6fa6fbe
Add refund related filters to html-order-items template
2021-12-10 17:45:20 +02:00
Fernando
020ad3a58d
Add featured pill for MailPoet and Google Listings in marketing task ( https://github.com/woocommerce/woocommerce-admin/pull/8009 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-10 08:01:13 -05:00
Jamel Noel Reid
22721e0a70
Merge pull request #31336 from woocommerce/add/jest-retry
...
Retry failed E2E tests using Jest
2021-12-10 07:46:09 -05:00
Vedanshu Jain
bd5cf4adca
Merge pull request #31373 from woocommerce/fix/28459
...
Db version option consistency
2021-12-10 16:15:02 +05:30
Ilyas Foo
fd396d018d
Add Inbox Note example code to docs ( https://github.com/woocommerce/woocommerce-admin/pull/8019 )
...
* Add Inbox Note example extension
* Typo
* Put into class
* Fix premature class import, moved note check logic to its own method
2021-12-10 12:52:03 +08:00
jamelreid
68ca895e8b
Removed parameter
2021-12-09 16:46:55 -05:00
Jeff Stieler
7f86a45292
Adds the image size to gallery nav (waiting the image load) ( #31407 )
...
* adds the image size to gallery nav
* replaces tabs with spaces
Co-authored-by: Erik Golinelli <erik@codekraft.it>
2021-12-09 13:22:07 -07:00
Moon
149abf09bc
Do not truncate non-U.S notes. ( https://github.com/woocommerce/woocommerce-admin/pull/8022 )
...
* Do not truncate non-U.S notes.
* Include en_AU, en_CA, en_GB, and en_ZA
2021-12-09 10:43:04 -08:00
Adrian Duffell
85f7ee83f5
Add Testing Instructions for Inbox 2.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8025 )
2021-12-09 18:22:32 +08:00
Moon
98c9d8adc5
Do not truncate notes created before WC 6.1 release ( https://github.com/woocommerce/woocommerce-admin/pull/8023 )
...
* Do not truncate notes created before WC 5.9 release
* Change WC version number
2021-12-08 19:08:47 -08:00
Greg
473c4e5279
Added upload and test functionality
2021-12-08 15:56:42 -07:00
jamelreid
6086223708
Added setupJestRetries to beforeAll block
2021-12-08 14:00:31 -05:00
jamelreid
f4472d74ec
Merge branch 'trunk' into add/jest-retry
2021-12-08 13:03:23 -05:00
Peter Fabian
d53a472bf1
Merge pull request #31105 from matchboxdesigngroup/fix/a11y-improvement-add-to-cart-variable
...
A11y improvement to the variable product add to cart table on product singles
2021-12-08 18:38:01 +01:00
Cullen Whitmore
be19efe729
Bump the version string in the template header to 6.1.0
2021-12-08 10:13:11 -06:00
Joel Thiessen
6b687e4196
Sync up changelogs after 3.0.0-beta.2 release ( https://github.com/woocommerce/woocommerce-admin/pull/8016 )
2021-12-08 08:11:12 -08:00
Peter Fabian
88943b0f67
Removed assets referred to from deprecated functions.
2021-12-08 14:58:34 +01:00
Tom Castle
23fe784e5a
Fix #31393 to use country from headers only if geolocating current user
2021-12-08 12:53:20 +00:00
Adrian Duffell
e4d670e035
Bump woocommerce-admin package to 2.9.1
2021-12-08 12:19:46 +08:00
Peter Fabian
edcffa9912
Merge pull request #31338 from woocommerce/fix/28166-coupon-item-meta-data
...
Consistently Store Coupon Data in Order Item Meta
2021-12-07 18:35:08 +01:00
Barry Hughes
b439bbd612
Merge pull request #31383 from woocommerce/fix/base-address-wording-2
...
Make the setting's name for default customer location more accurately reflect the effect of it.
2021-12-07 09:28:44 -08:00
Barry Hughes
acbe200c79
Merge pull request #31113 from kkmuffme/use-native-wp_doing_ajax
...
Use native wp_doing_ajax() instead of custom is_ajax()
2021-12-07 09:26:40 -08:00
barryhughes
ca37d3ba41
Deprecation will be as of 6.1.0.
2021-12-07 08:59:17 -08:00
Peter Fabian
1003a27b1b
Make the setting's name more accurately reflect the effect of it.
2021-12-07 17:41:04 +01:00
Luigi Pulcini
17ef312178
changed requested data check
2021-12-07 11:33:13 +01:00
LuigiPulcini
f845063422
Requested change on data check
2021-12-07 10:03:02 +01:00
Moon
935e79caee
Update the default mysql username and password ( https://github.com/woocommerce/woocommerce-admin/pull/8003 )
2021-12-06 17:20:35 -08:00
Adrian Duffell
6c802ff932
Add inbox_note_view Tracks Event ( https://github.com/woocommerce/woocommerce-admin/pull/8002 )
2021-12-07 09:18:54 +08:00
Mik
3fb028931e
Prevent coupon move notice for new installs. ( https://github.com/woocommerce/woocommerce-admin/pull/7995 )
...
* Prevent notice if legacy coupon menu is disabled
* Disable legacy menu for new install
* Add changelog entry
* Add PR number to changelog
2021-12-06 15:21:08 +00:00
Peter Fabian
ba1b98cba8
Update the tooltip to reflect the db update policy.
2021-12-06 14:52:08 +01:00
Peter Fabian
feaf225526
Update db version to match the WC version after running update callbacks.
...
This is the behaviour that normally happens when a user updates version by version, but if the user skips several versions, db version and WC version could diverge.
2021-12-06 14:50:25 +01:00
Cullen Whitmore
a96eb4d583
Merge branch 'trunk' into fix/a11y-improvement-add-to-cart-variable
2021-12-04 22:57:55 -06:00
louwie17
6c2fbce0c0
Remove limit from coupons query when getting the total count ( https://github.com/woocommerce/woocommerce-admin/pull/8001 )
...
* Remove limit from coupons query when getting the total count.
* Add changelog
2021-12-04 14:29:12 -04:00
Joshua T Flowers
5f8db47c16
Add payment gateway suggestion docs and example extensions ( https://github.com/woocommerce/woocommerce-admin/pull/7966 )
...
* Remove dated doc references
* Clean up slotfill and install script docs
* Add filter to suggestion specs
* Register example gateways
* Mock gateway installation and activation
* Add simple gateway
* Update gateway IDs
* Add slot filled gateway
* Add slot fill for slot filled gateway
* Allow gateway to be enabled and marked as configured if already enabled
* Add changelog entry
* Add quick start blurb to markdown file
* Remove duplicate JS registration and add default export
* Add payment settings save hook
2021-12-03 15:13:05 -05:00
louwie17
c3dc45d129
Update e2e-environment, so tests are run successfully locally. ( https://github.com/woocommerce/woocommerce-admin/pull/8000 )
...
* Update e2e-environment, so tests are run successfully locally.
* Add changelog
2021-12-03 15:34:00 -04:00
jamelreid
18283d2b1a
Merge branch 'trunk' into add/jest-retry
2021-12-03 14:25:00 -05:00
louwie17
db29d8b571
Add loading icon and disable continue until free extensions are loaded ( https://github.com/woocommerce/woocommerce-admin/pull/7979 )
...
* Add loading icon and disable continue until free extensions are loaded.
* Add changelog
* Only show dropdown when we have installable extensions listed
* Revert spinner addition and add loading to Continue button
* Add wait for dropdown to be enabled
2021-12-03 11:03:44 -04:00
louwie17
7eeb77acc3
Fix datepicker in advanced filter ( https://github.com/woocommerce/woocommerce-admin/pull/7982 )
...
* Make sure we set the onMonthPreviewed prop as this is required for wp.components.DatePicker
* Add changelogs
2021-12-03 09:29:27 -04:00
louwie17
0cb4382c05
Correctly match payment gateways by id ( https://github.com/woocommerce/woocommerce-admin/pull/7994 )
2021-12-03 09:27:45 -04:00
Nestor Soriano
95dde6c082
Change db update version from 6.1 to 6.2.
2021-12-03 12:50:02 +01:00
Nestor Soriano
79f2936ae9
Temporary fix for a unit test.
...
The "Advanced" section in the product settings page exists only
if the product attributes lookup table exists. The table will
eventually exist for everybody, so a temporary check has been added.
2021-12-03 12:25:20 +01:00
Nestor Soriano
fd81e477d2
Fix: bad counters in the filter by attribute widget for OR.
...
When a filter by attribute widget was configured as OR, the query
to return the product counts was overfiltering and returning
less results than it should. It now works as in the case of not
using the lookup table.
2021-12-03 12:22:52 +01:00
Moon
008b6cf2e5
Display actioned notes on Woo Home ( https://github.com/woocommerce/woocommerce-admin/pull/7983 )
...
* Query both actioned and unactioned notes
* Fix note title style issue when the component is rendered in the sidebar
* Add changelog
* Update changelog
* Adjust styling
* Fix lint error
* Simplify title style by using title class selector
2021-12-02 13:04:05 -08:00
roykho
68fbca56dc
Upgrade node-sass back to latest
2021-12-02 08:23:11 -08:00
roykho
b9c3644a84
Downgrade node-sass version
2021-12-02 08:11:56 -08:00
roykho
edf5512311
Update node-sass
2021-12-02 07:24:30 -08:00
jamelreid
0d2b20b309
Added jest object setup
2021-12-02 09:41:04 -05:00
Fernando
7ea82c7778
Fix PHP Warning on 'Add new product' page ( https://github.com/woocommerce/woocommerce-admin/pull/7989 )
...
* Fix method call
* Add changelog
* Add testing instructions
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-02 09:55:21 -03:00
Joel Thiessen
faf5d61f25
Update/version 3.1.0 dev and changelogs ( https://github.com/woocommerce/woocommerce-admin/pull/7991 )
2021-12-01 14:38:03 -08:00
jamelreid
6fa14b0b6c
Set jest.retryTimes wih the E2E_RETRY_TIME env
2021-12-01 14:35:25 -05:00
jamelreid
f8210cade8
Updated README.md
2021-12-01 14:34:06 -05:00
Jamel Noel Reid
e0516c475d
Merge pull request #31314 from woocommerce/fix/31305
...
Update setBrowserViewport to use default dimensions
2021-12-01 09:24:30 -05:00
Moon
398aaa6320
Set comp props explicitly ( https://github.com/woocommerce/woocommerce-admin/pull/7985 )
2021-11-30 19:13:25 -08:00
Claudio Sanches
ac799921a3
Merge pull request #31335 from woocommerce/add/cleanup
...
Add/cleanup
2021-11-30 20:32:57 -03:00
Joshua T Flowers
9eca023fb4
Move payments task to extended task list when WC Pay task is shown ( https://github.com/woocommerce/woocommerce-admin/pull/7980 )
...
* Move payments task to extended list if wc pay task is shown
* Delete additional payment gateway note if no longer applicable
* Add changelog entry
2021-11-30 17:09:37 -05:00
Jeff Stieler
35c7ad75d5
Add unit test.
2021-11-30 14:58:18 -05:00
Ron Rennick
519b4f6de4
fix lock merge conflict
2021-11-30 15:48:39 -04:00
roykho
20ef737a02
Move ignored paths to plugin specific
2021-11-30 11:32:34 -08:00
Jeff Stieler
3f7dbcd43b
Add coupon meta data to backend and API orders.
2021-11-30 13:57:55 -05:00
Joshua T Flowers
d692986e11
Add option to dismiss promotional payment gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7965 )
...
* Add ellipsis menu and styling
* Add dismissed option to pseudo payment gateway
* Check if the suggested gateway has been dismissed
* Add visibility and transition rules
* Remove CSSTransition wrapper due to invalid tags
* Fix padding on ellipsis menu
* Add dismiss tracks event
* Add changelog entry
* Check dismissal of promotion server-side
2021-11-30 13:02:54 -05:00
Joel Thiessen
d79d32d4e5
Ending wcpay promotion experiment and always displaying in payment methods table ( https://github.com/woocommerce/woocommerce-admin/pull/7962 )
2021-11-30 09:13:16 -08:00
Moon
bf5cc8b4fe
Sync changelog entries from 2.9.0 final ( https://github.com/woocommerce/woocommerce-admin/pull/7976 )
...
* Sync changelog entries from 2.9.0 final
* Remove changelog files
2021-11-29 19:28:36 -08:00
Moon
6d30160cb2
Make inbox note title clickable ( https://github.com/woocommerce/woocommerce-admin/pull/7977 )
...
* Make note title clickable
* Note title is clickable
* Updated styles to make title link look like H3
* Clicking title does not trigger busy state
* Add changelog
2021-11-29 18:13:54 -08:00
Albert Juhé Lluveras
6e27a3204e
Update WooCommerce Blocks to 6.3.3
2021-11-29 17:51:41 -08:00
Moon
7286dca881
Bump woocommerce-admin version to 2.9.0
2021-11-29 15:56:18 -08:00
Adrian Duffell
b9b4c82dca
Make Homescreen Default to Single Column Layout ( https://github.com/woocommerce/woocommerce-admin/pull/7969 )
...
* Add database migration deleting layout option
* Remove calls to update the option
* Remove unused variable
* Add changelog
* Remove unused var (lint failure)
* Increase e2e test timeout to 1000
* Fix test: navigate to homescreen
Co-authored-by: Moon <moon.kyong@automattic.com>
2021-11-29 13:04:34 -08:00
louwie17
b19ca6b4d1
Add testing instructions ( https://github.com/woocommerce/woocommerce-admin/pull/7974 )
2021-11-29 16:59:52 -04:00
Fernando
a90e9de61a
OBW - Add number of employees field ( https://github.com/woocommerce/woocommerce-admin/pull/7963 )
...
* Add number of employees field
* Fix "reduce - spread" anti-pattern
This commit fixes the "reduce - spread" anti-pattern https://www.richsnapp.com/article/2019/06-09-reduce-spread-anti-pattern
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-11-29 16:00:38 -04:00
jonathansadowski
24b327bb59
Merge pull request #31301 from woocommerce/update/distignore
...
Exclude changelog directory from deployments
2021-11-29 13:14:42 -06:00
jamelreid
92ae77c817
Updated browser viewport dimensions
2021-11-29 13:54:44 -05:00
roykho
2ab1393bdc
Merge branch 'trunk' into add/legacy-assets-build
2021-11-29 10:26:05 -08:00
roykho
1f7f576bbe
Use correct path
2021-11-29 10:06:01 -08:00
roykho
2c0487e152
Ignore tsconfig.tsbuildinfo
2021-11-29 09:59:53 -08:00
roykho
3d7ec4cd59
Remove redundant grunt items
2021-11-29 09:45:05 -08:00
Néstor Soriano
53dc551f44
Merge pull request #31308 from woocommerce/up/action-scheduler
...
Update AS to 3.4
2021-11-29 10:16:19 +01:00
kkmuffme
923a23d0bc
add cookie consent filter
...
for https://github.com/woocommerce/woocommerce/issues/31118
2021-11-27 16:30:28 +01:00
Jamel Noel Reid
f46ceee910
Merge pull request #31291 from woocommerce/add/woocommerce-menu-page-load-tests
...
Added WP Admin page load tests
2021-11-26 14:23:11 -05:00
Barry Hughes
d12717211a
Merge pull request #31307 from woocommerce/fix/table-name
...
Update db table name to use the new convention.
2021-11-26 10:15:06 -08:00
Claudio Sanches
bc910e2364
Merge pull request #31206 from woocommerce/fix/changelogger-validate
...
Jetpack Changelogger: Validate entries
2021-11-26 13:21:01 -03:00
Thomas Roberts
b87c52f068
Add tests for new get_all_formatted_metadata method
2021-11-26 16:17:44 +00:00
Thomas Roberts
eb31bd5275
Update uses of get_formatted_data to new wrapper
2021-11-26 16:16:48 +00:00
Thomas Roberts
95a43ea56a
Add get_all_formatted_meta_data wrapper
...
This sets include_all to true
2021-11-26 15:48:06 +00:00
Thomas Roberts
cd9efe16c0
Fix problem with assignment in conditional
2021-11-26 15:40:52 +00:00
Thomas Roberts
d0a5c6b998
Add docblock to html-order-item-meta
2021-11-26 15:39:43 +00:00
Thomas Roberts
695117ef90
Revert changes made in PR so far
2021-11-26 15:37:13 +00:00
Thomas Roberts
2256b9b337
Add file meta to html-order-item-meta.php
2021-11-26 15:24:21 +00:00
Thomas Roberts
91f2295c41
Remove accidentally added empty line
2021-11-26 15:24:19 +00:00
Thomas Roberts
09450393d0
Update uses of get_formatted_metadata to pass through filter first
2021-11-26 15:24:17 +00:00
Thomas Roberts
bdf673c86d
Add woocommerce_order_item_meta_include_all_meta_lines filter
...
This will be used to determine if all meta lines should be shown in the order-item-meta template.
2021-11-26 15:24:15 +00:00
Thomas Roberts
d3421126e7
Add 'woocommerce_show_product_variant_metadata_line' hook
...
This can be used to allow extensions to override whether the metadata line
is displayed in the order meta box or not.
2021-11-26 15:24:13 +00:00
Peter Fabian
757bfe1d16
Update AS to 3.4
2021-11-26 11:53:46 +01:00
Peter Fabian
433bd34b18
Update db table name to use the new convention.
2021-11-26 11:35:29 +01:00
Paulo Chang
870d706d1a
Unhide GT Postcode
...
It seems that some private courier services use the post code internally to price services.
2021-11-25 17:38:13 +01:00
Claudio Sanches
cf8e4225a6
Exclude changelog directory from deployments
2021-11-25 11:14:52 -03:00
Vedanshu Jain
5d0296c565
Merge pull request #31286 from woocommerce/php8.1/add-ReturnTypeWillChange-attributes
...
[PHP 8.1] Add ReturnTypeWillChange attribute to classes implementing ArrayAccess
2021-11-25 17:22:31 +05:30
Moon
c3a050254d
Add a new update callback for the 3.0 version to update is_read column ( https://github.com/woocommerce/woocommerce-admin/pull/7945 )
...
* Added a new update callback for 3.0 version to migrate is_read col from last_read user pref value
* Remove unnecessary comments
* Remove add column logic -- not needed as tables are updates during the bootstrap
* Remove column existence check
* Use the latest woocommerce_admin_activity_panel_inbox_last_read value
* Clean up woocommerce_admin_activity_panel_inbox_last_read after updating is_read
* Remove unnecessary var
* Update includes/wc-admin-update-functions.php
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Update test to use ms
* Use get_users() to get the latest meta value
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-11-24 17:44:30 -08:00
jamelreid
730cd35d96
Added page load tests to the plugin e2e directory
2021-11-24 19:21:01 -05:00
Nestor Soriano
f7137a44e6
Fix README in the tests directory
...
The instructions to run the unit tests in PHP 8 were missing
a couple of required commands.
2021-11-24 16:53:34 +01:00
Nestor Soriano
963eef02fa
Add ReturnTypeWillChange attribute to classes implementing ArrayAccess
...
PHP 7.x and 8.1 will throw a fatal error, thus causing the unit tests
suite to abruptly end, if a method from an implemented interface doesn't
fully match the signature as defined in the interface. In WooCommerce
that's the case for the classes that implement ArrayAccess: in
PHP 8.0+ these signatures have type hints and return types (as in
"offsetUnset( mixed $offset ):void" ) but the code in WooCommerce
doesn't. We can't just add the missing types to the signatures because
then the same error appears in PHP 7.x, in which there aren't
types in the method signatures of ArrayAccess.
The fix consists of adding the ReturnTypeWillChange attribute,
introduced in PHP 8.1, which instructs the runtime to not throw the
error. PHP 7.x doesn't support attributes, but in this case the
attribute declaration is seen as a comment.
See https://php.watch/versions/8.1/ReturnTypeWillChange
2021-11-24 16:22:49 +01:00
Fernando
c634ed5eb7
Add Tracks event ( https://github.com/woocommerce/woocommerce-admin/pull/7960 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-11-24 10:16:24 -03:00
Mahmoud Saeed
05fbbc591e
Fix taxes endpoint returning incorrect X-WP-Total and X-WP-TotalPages headers #30890
2021-11-24 11:16:55 +02:00
Moon
d64a276032
Introduce a 320 character limit for inbox note contents ( https://github.com/woocommerce/woocommerce-admin/pull/7958 )
...
* Introduce a 320 char limit for inbox notes
* Extract truncateRenderableHTML to utils and use truncate from lodash to support word break
* Replace omission with blank so that lodash does not add ... at the end
* Add test cases for truncateRenderableHTML
* Add a test case with unicode string
* Add changelog
* Add a test case for preserving whole words
2021-11-23 15:47:48 -08:00
Moon
b41ab2f37f
Fix the failing e2e test ( https://github.com/woocommerce/woocommerce-admin/pull/7961 )
...
* Wait 500ms after clicking Enable button
2021-11-23 15:13:10 -08:00
Brian
727ccd0dd3
Albania: add states and change label ( #31190 )
...
* add albanian states
* change label for albania
* change to english language
* fix names
* sorting
2021-11-23 16:53:25 -05:00
Brian
2623be878e
Nicaragua: Add States / Update Label ( #31179 )
...
* add label for nicaragua state
* add nicaragua states
* change to english string
* fix names
2021-11-23 14:36:05 -05:00