Commit Graph

47359 Commits

Author SHA1 Message Date
Chi-Hsuan Huang 7514af2801 Update `@woocommerce/date` documentation (https://github.com/woocommerce/woocommerce-admin/pull/8465)
* Update packages/date README.md

* Update headings
2022-03-15 17:34:33 +08:00
anitaamurthy c335c7322e Fixed failing unit tests in Version2/product-reviews 2022-03-15 14:41:39 +05:30
Moon b2d32e9e72 Add required dependencies for pnpm nx build {package} command (https://github.com/woocommerce/woocommerce-admin/pull/8436)
* Add required dependencies for pnpm nx install {package} command

* Update pnpm lock file

* Add missing deps for packages/*

* Change to use relative imports for packages/components

* Move ts from deps to devDeps

* Add rimraf to packages/* devDependencies for clean command

* Add webpack cli to packages dependencies

* Add jest-cli to packages devDependencies

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-03-14 20:04:46 -07:00
Moon 8232b226f7 Use constant to construct image URLs (https://github.com/woocommerce/woocommerce-admin/pull/8451)
* Add WC_ADMIN_IMAGES_FOLDER constant

* Use WC_ADMIN_IMAGES_FOLDER to construct image URL

* Rename WC_ADMIN_IMAGES_FOLDER to WC_ADMIN_IMAGES_FOLDER_URL

* Use WC_ADMIN_IMAGES_FOLDER_URL to construct image URLs

* Move wcpay-banner.png to client dir

* Move wcpay-banner.png to client dir

* Use WC_ADMIN_IMAGES_FOLDER_URL for wcAdminAssetUrl

* Use WC_ADMIN_IMAGES_FOLDER_URL to construct image URLs

* Use WC_ADMIN_IMAGES_FOLDER_URL to construct image URLs

* Revert to images

* Add / to the path
2022-03-14 15:01:03 -07:00
Jorge A. Torres 7ffd4f2f85
Merge pull request #31979 from woocommerce/add/commment-about-db-updates-on-install
Add code comments clarifying database updates on new WooCommerce installs
2022-03-14 16:20:46 -05:00
Matt Sherman 1ccb11c0f6 Experimental: Add filters to allow simple products to be included in Variations analytics report (https://github.com/woocommerce/woocommerce-admin/pull/8462) 2022-03-14 17:06:05 -04:00
louwie17 8d4471fce4 Fix paid themes (https://github.com/woocommerce/woocommerce-admin/pull/8412)
* Add support for paid themes

* Fix lint errors

* Add changelog

* Refactor get_products logic and add unit tests

* Add comment
2022-03-14 17:31:03 -03:00
Joel Thiessen 8465c10917 Display WCPay task when installed via subscriptions option on profiler (https://github.com/woocommerce/woocommerce-admin/pull/8445) 2022-03-14 12:44:55 -07:00
Nestor Soriano 1caf5aa7da
Add a primary key to the product attributes lookup table. 2022-03-14 11:30:54 +01:00
Chi-Hsuan Huang 4ec162bab0 Add ":preserveSemverRanges" to renovate.json (https://github.com/woocommerce/woocommerce-admin/pull/8466) 2022-03-14 17:18:04 +08:00
Chi-Hsuan Huang d797b658c6 Add `moment-timezone` to `@woocommerce/components` package.json (https://github.com/woocommerce/woocommerce-admin/pull/8458)
* Add moment-timezone to package.json

* Add changelog
2022-03-14 17:07:21 +08:00
Jorge A. Torres 826ba0ff48
Merge pull request #30586 from jobthomas/master
Updated old Woo to new Woo branding colour in e-mails
2022-03-11 18:48:24 -05:00
Job 94729ca032 Update wc-setup.scss 2022-03-11 18:05:06 -05:00
Job 98376d4ec4 Update class-wc-settings-emails.php 2022-03-11 18:05:06 -05:00
Jorge A. Torres ae2a7af951
Merge pull request #30763 from szepeviktor/patch-5
Remove stray unset from wc_update_200_line_items
2022-03-11 16:31:38 -05:00
Viktor Szépe 5963c564cb Remove stray unset from wc_update_200_line_items
Discovered by @phpstan
2022-03-11 15:41:56 -05:00
Jorge A. Torres 8af58a5e93
Merge pull request #32000 from woocommerce/fix/csv-import-failure-formatting
Allow limited HTML when rendering failure messages (CSV import).
2022-03-11 14:51:21 -05:00
Claudio Sanches 2c2be081c0
Merge pull request #31546 from woocommerce/update/document-development-environment
Add Development Environment Setup Link to Readme
2022-03-11 12:30:24 -03:00
Vedanshu Jain e8e5823423
Merge pull request #32041 from woocommerce/add/rate-limit-remaining-column
Add rate_limit_remaining column to wc_rate_limits table
2022-03-11 20:46:41 +05:30
Vedanshu Jain 4303fbbce3
Merge pull request #30948 from woocommerce/add/hook-to-display-metadata
Add wrapper for `get_formatted_meta_data` to make `$include_all` default to `true`
2022-03-11 20:44:19 +05:30
Fernando b11bae047a Removed not used `OnboardingEmailMarketing` (https://github.com/woocommerce/woocommerce-admin/pull/8446)
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-11 10:43:40 -03:00
Jacob Sewell 2a7df822b3 Avoid get_notes() in Notes::possibly_delete_survey_notes() (https://github.com/woocommerce/woocommerce-admin/pull/8206)
* Query for admin survey note_ids directly in Notes::possibly_delete_survey_notes().

* Add get_notes_with_type( $note_type ) method to Automattic\WooCommerce\Admin\Notes.
Name selected for consistency with preexisting get_notes_with_name( $name ) method.

* Use new get_notes_with_type() in Notes::possibly_delete_marketing_notes().

* Use new get_notes_with_type() in Notes::possibly_delete_survey_notes().

* Correct copy-pasta error querying for MARKETING notes instead of SURVEY notes in possibly_delete_survey_notes().

* Only delete actioned notes in possibly_delete_survey_notes(), which was the previous behavior.

* Changed get_notes_with_type() to get_note_ids_by_type() in Notes data store.

* Changelog for 7987/8206.

* Add missing method name in changelog for 7987/8206.
2022-03-10 18:57:29 -06:00
Chi-Hsuan Huang 7c8c0ee893 Fix failing `test_cancel_import` and `WC_Tests_API_Reports_Variations` php tests (https://github.com/woocommerce/woocommerce-admin/pull/8456)
* Assert the pending action explicitly to fix failing test_cancel_import with latest woo

* Use function lambda

* Fix WC_Tests_API_Reports_Variations by assigning parent_id to variations
2022-03-11 06:39:59 +08:00
Chi-Hsuan Huang 03c428969c Fix possibly_update_note get_content() on null (https://github.com/woocommerce/woocommerce-admin/pull/8455) 2022-03-11 06:39:45 +08:00
Roy Ho 31b2bc2829
Merge pull request #32057 from woocommerce/sync/paypal-security-release
Sync/paypal security release
2022-03-10 09:39:47 -08:00
Jonathan Sadowski 871ac90743 Update changelog for PP security fix 2022-03-10 11:02:30 -06:00
Barry Hughes 8be6eb4a63 Update plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php 2022-03-10 10:48:01 -06:00
Peter Fabian 8d8a556e5c Fixed docs. 2022-03-10 10:48:01 -06:00
Peter Fabian ce37800178 Fixed the order id fetching 2022-03-10 10:48:01 -06:00
Peter Fabian 95ec1fc56e Receiver email set separately for bw compat 2022-03-10 10:48:01 -06:00
Vedanshu Jain b1b68f52cd Fix object reference
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-03-10 10:48:01 -06:00
Nestor Soriano 3e1acd113b Create a new WC_Gateway_Paypal_Response::check_response_for_order method
Adding a new parameter to the existing check_response method could cause
backwards incompatibility issues in inherited classes, so we deprecate
the old method and create a new one instead.
2022-03-10 10:48:01 -06:00
Jorge A. Torres 8bb2b57f65 Make PayPal Standard PDT notification validation more strict 2022-03-10 10:48:01 -06:00
berislav grgičak a2a53ab6c2 Fix legend item width (https://github.com/woocommerce/woocommerce-admin/pull/8442)
* Fix legend item width

* Add testing instructions

* Add changelog entry

* Fix changelog

* Add changelog
2022-03-10 15:09:45 +01:00
louwie17 7bba8dcdee Rename Settings.php to more specific name and create new Settings.php class to handle WooCommerce Admin settings (https://github.com/woocommerce/woocommerce-admin/pull/8443) 2022-03-10 09:42:55 -04:00
Peter Fabian 6c009e5276
Merge pull request #32007 from woocommerce/spotfix/return-type
Correct type in @return tag (to string).
2022-03-10 13:56:47 +01:00
Barry Hughes 42ec5e18c0
Merge pull request #30602 from sicelo/patch-1
Fix symbol for SZL currency.
2022-03-09 19:37:15 -08:00
Barry Hughes 28b2acb373
Merge pull request #32031 from helgatheviking/issues/30187-has_options
Add has_options to product REST API response. Closes #30187.
2022-03-09 14:23:55 -08:00
barryhughes 57a7f94fe9 Tweak field description. 2022-03-09 12:31:46 -08:00
Claudio Sanches f18799229b
Merge pull request #32044 from woocommerce/prep/trunk-63
Prep/trunk 63
2022-03-09 17:24:48 -03:00
barryhughes 17744d5aa6 Update tests to account for the 'has_options' property. 2022-03-09 12:18:29 -08:00
Joel Thiessen db258aeb10 Fixing home item appearing in extensions menu on Woo Navigation (https://github.com/woocommerce/woocommerce-admin/pull/8432) 2022-03-09 08:07:29 -08:00
louwie17 c65d43a35e Cleanup Loader.php and move it to Internal namespace (https://github.com/woocommerce/woocommerce-admin/pull/8416)
* Seperated Asset, page, and translation logic into seperate classes out of Loader.php

* Move user, and assets logic out of Loader.php

* Move Loader to Internal and move page helper functions to PageController

* Fix unit tests

* Add changelog
2022-03-09 10:04:34 -04:00
renovate[bot] eeaafb911a Update dependency @woocommerce/e2e-environment to ^0.2.3 || ^0.3.0 (https://github.com/woocommerce/woocommerce-admin/pull/8438)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:34:45 +08:00
renovate[bot] 17ef9c0533 Update actions/setup-node action to v2.5.1 (https://github.com/woocommerce/woocommerce-admin/pull/8437)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:02:52 +08:00
renovate[bot] 2d706ebbd0 Update saulmaldonado/skip-workflow action to v1.1.1 (https://github.com/woocommerce/woocommerce-admin/pull/8435)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:02:30 +08:00
roykho 8d57884a70
Cherry picked sec changes 2022-03-08 13:00:34 -08:00
roykho e204731617
Update changelog with sec changes 2022-03-08 12:59:49 -08:00
roykho 9cd2a2bce1
Update readme 2022-03-08 12:56:16 -08:00
roykho 52de5683ad
Update changelog 2022-03-08 12:55:07 -08:00