Commit Graph

41011 Commits

Author SHA1 Message Date
barryhughes 5855856125 Explicitly set usser when testing if non-reviews can be deleted. 2022-02-18 06:08:37 -08:00
Néstor Soriano adc5b1ba42
Merge pull request #30994 from dnwjn/feature/refund-restock-note-filter
Add filter for refund restock note
2022-02-18 12:20:38 +01:00
Néstor Soriano 9c017e0366
Change @since annotation for woocommerce_refund_restock_note to 6.4 2022-02-18 11:59:11 +01:00
Tam Mullen 579d491ca2 Update orders and product k6 tests to be more robust 2022-02-17 22:34:09 +00:00
Tam Mullen 74c72274a7 Add docker:wait to e2e env for waiting without running tests 2022-02-17 22:31:26 +00:00
Tam Mullen 67d6c063fd Add k6 test scenario for all requests to run in PR action 2022-02-17 22:09:11 +00:00
Roy Ho 6ab6788c75
Merge pull request #31919 from woocommerce/update/gh-workflows
Prevent GH mirror workflow to run in forks
2022-02-17 13:59:15 -08:00
Tam Mullen 06bb16bcfd Add k6 tests to the existing PR build and test action 2022-02-17 21:45:21 +00:00
Claudio Sanches 6a1a0b7681 Check for owner and repo 2022-02-17 18:16:32 -03:00
barryhughes 5ceaf46285 Add check against deleting non-product reviews to our APIv3 Product Review tests. 2022-02-17 11:34:56 -08:00
barryhughes be2eac5637 Tests for product review permissions, simplify permission checks (APIv3). 2022-02-17 11:28:00 -08:00
Claudio Sanches d5624db5ea Check if workflow is running inside a Woo org
Fixes coding standards
2022-02-17 16:11:10 -03:00
Fernando Marichal 5dc30bd013 Add Account Details event tracking 2022-02-17 15:43:16 -03:00
Roy Ho 2d1bd2941b
Merge pull request #31908 from woocommerce/fix/add-post-merge-comment
Update references to labels in the post merge comment.
2022-02-17 09:23:25 -08:00
barryhughes 401f4c0d0e Simplify early checks, do not duplicate work performed by wc_rest_check_product_review_permissions(). 2022-02-17 09:20:02 -08:00
Barry Hughes 31884d9052
Update wording. 2022-02-17 09:06:29 -08:00
barryhughes a6fb397a1a Protect REST API v1 and v2 from a category of accidental deletion, where the supplied product ID is invalid. 2022-02-17 08:51:21 -08:00
barryhughes efac1bad3c Separate out assertions; group those relating to other comment types in their own test. 2022-02-17 08:35:13 -08:00
Néstor Soriano 74f471a476
Merge pull request #31911 from woocommerce/add/product-attributes-lookup-table-to-core-db-schema
Create and fill the product attributes lookup table during a clean install of WooCommerce
2022-02-17 16:49:05 +01:00
Nestor Soriano 563c56d76b
Remove the DataRegenerator::maybe_create_table_indices
It's not needed since dbDelta will take care of the indices in both
new WooCommerce installs and upgrades from a previous version.
2022-02-17 16:04:17 +01:00
Nestor Soriano eca84266f0
Create and fill the product attributes lookup table in clean installs.
The table creation and filling was happening in a data migration, but
data migrations only run when WooCommerce is upgraded, not on a
clean install. Also, the option for using the lookup table
wasn't being set after a clean install (when the table has been created
and is empty since there are no products yet).

As part of the fix the table is added to the list of WooCommerce
core tables, and thus it's covered by the "Verify base database tables"
tool.
2022-02-17 11:00:12 +01:00
Néstor Soriano 48da1c7928
Merge pull request #31889 from woocommerce/add/abort-resume-tool-for-product-attributes-lookup-table-regeneration
Add extra UI for aborting/resuming the product attributes lookup table filling
2022-02-17 09:13:10 +01:00
jamelreid c73c2be097 Exclude the project root when ran in GitHub CI 2022-02-16 23:31:04 -05:00
barryhughes a5a712fbd0 Update references to labels in the post merge commit. 2022-02-16 15:39:20 -08:00
Barry Hughes 91ed566198
Merge pull request #31414 from woocommerce/fix/extend-admin-refunds-for-gift-cards
Support gift cards in admin order refunds template.
2022-02-16 15:34:59 -08:00
barryhughes 9a4b4907cd Tweak docblock for `woocommerce_admin_order_should_render_refunds` filter hook. 2022-02-16 15:02:43 -08:00
Ron Rennick 8423b3b992
Merge pull request #31834 from woocommerce/fix/31833
Fix failing smoke tests when a new release candidate is published
2022-02-16 16:47:45 -04:00
xristos3490 45b9eebcda Move filter at the top of the template 2022-02-16 21:56:24 +02:00
Fernando Marichal b327fb5439 Add event tracking to Payments 2022-02-16 15:32:41 -03:00
Christopher Allford 265be6b514
Applied label changes 2022-02-15 20:50:40 -08:00
Christopher Allford 78912b9c8c
Applied label changes 2022-02-15 20:48:25 -08:00
Christopher Allford 73e0d276c2
Fixed votes label 2022-02-15 20:45:20 -08:00
Christopher Allford cd426fcc5a
Updated labels in automatic issue replies 2022-02-15 20:43:43 -08:00
barryhughes c675f72ea6 Remove handling for nested id (no routes allow for this). 2022-02-15 06:34:27 -08:00
barryhughes 18fa388ed9 Clean-up. 2022-02-15 06:32:02 -08:00
barryhughes a7c98d5f58 Update and resolve conflicts. 2022-02-15 05:44:34 -08:00
barryhughes 4282811649 Tidy tests. 2022-02-15 05:42:24 -08:00
barryhughes 43d49bfed0 Cleanup reviews/comments work. 2022-02-15 05:38:50 -08:00
Néstor Soriano 44a2c99268
Merge pull request #31811 from woocommerce/mvp-cot/intial-table-strucuture
Add DB table structure for custom order tables.
2022-02-15 11:58:08 +01:00
Claudio Sanches a9189c73d1
Merge pull request #31897 from woocommerce/prep/trunk
Prep trunk for next release
2022-02-14 17:13:00 -03:00
roykho 618864243e
Bump version for package.json 2022-02-14 08:40:21 -08:00
Ron Rennick 5b78782a95
Merge pull request #31665 from woocommerce/packages/api/json-transform-tests
Partially fix the Order Model for JSON transforms in the @woocommerce/api package
2022-02-14 11:30:57 -04:00
Nestor Soriano 5d1040232d
Remove no longer needed 'use'. 2022-02-14 15:11:06 +01:00
Néstor Soriano fbc67db556
Merge pull request #31692 from woocommerce/scafolding-for-custom-order-tables
Add scafolding for the custom orders table feature.
2022-02-14 15:02:16 +01:00
roykho dae8aa1d67
Prep trunk for next release 2022-02-14 05:55:53 -08:00
Lucas Bustamante 616b61348e
Merge pull request #31872 from woocommerce/add/suppress-wp-compose-console-messages
Suppress wp.console.withState deprecation warning
2022-02-11 13:41:50 -03:00
Nestor Soriano e2a94bd776
Add extra UI for aborting/resuming the product attributes table filling.
Two new tools are added in the Status - Tools section:

- "Abort the table regeneration" - this one shows up if a regeneration
  process is in progress. Running it will remove the "regeneration
  in progress" option and set the "regeneration aborted" flag, it also
  removes any pending regeneration step scheduled action.

- "Resume the table regeneration" - this one resumes the regeneration
  process by setting the "regeneration in progress" option, removing
  the "regeneration aborted" option, and scheduling a new regeneration
  step action.
2022-02-11 16:27:53 +01:00
Jonathan Sadowski 49915391d0 Update newlines to PHP_EOL in post-request-shared.php 2022-02-11 08:32:29 -06:00
Barry Hughes fa3ca776de
Merge pull request #31826 from woocommerce/add/api/order-payment-url
API: Orders: Add payment_url
2022-02-10 16:29:45 -08:00
Joshua T Flowers 7ebb561d98
Add checks around setup widget display when features are disabled (#31884)
* Add checks around setup widget display when features are disabled

* Avoid refetching task list after initialization
2022-02-10 16:59:53 -05:00