Commit Graph

47182 Commits

Author SHA1 Message Date
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
Paul Sealock e41441f83e Add hook reference generator README and documentation (https://github.com/woocommerce/woocommerce-admin/pull/8004)
* Add hook reference README

* update hook reference

* better

* changelog

* add pr number

* remove example

* add desc

* add stats

* jsdoc REPORTS_FILTER

* Category configs

* configs

* data

* dashboard

* dashboard charts

* save

* save

* save

* done with filters

* Add scope to slotFill docs

* data

* add all slotfills

* data

* Fix error when scope is not present, and make use of typedef imports

* Move chart and filter jsdoc definitions to the reports index file

* Update hook reference data.json

* Make use of import for filter typedef and address some typos

Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2022-02-11 10:38:38 -04:00
Jonathan Sadowski 49915391d0 Update newlines to PHP_EOL in post-request-shared.php 2022-02-11 08:32:29 -06:00
louwie17 0deb1c33bc Add wc_version to store profiler view and complete tracks (https://github.com/woocommerce/woocommerce-admin/pull/8290)
* Add wc_version to store profiler view and complete tracks

* Add changelog

* Update changelog
2022-02-11 10:03:37 -04:00
louwie17 7e999148f1 Sync changelog and testing instructions from 3.2 (https://github.com/woocommerce/woocommerce-admin/pull/8289)
* Add additional testing instructions

* Update changelog entries for 3.2
2022-02-11 08:40:33 -04:00
RJ 087ce5aa61 Enable type definitions output for @woocommerce/components (https://github.com/woocommerce/woocommerce-admin/pull/8282)
* Output typedefs for @woocommerce/packages
2022-02-11 19:39:34 +08:00
Chi-Hsuan Huang 4f5e537a54 Fix a lot of pending "run_remote_notifications" scheduled actions (https://github.com/woocommerce/woocommerce-admin/pull/8285)
* Change to only create remote action when there_are_now_products is false

* Add changelog

* Update src/RemoteInboxNotifications/StoredStateSetupForProducts.php

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Update function name

* Add comment

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-02-11 15:08:11 +08: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
Joshua T Flowers f9cf24e50b
Add WooCommerce Admin widget tracks (#31857)
* Add tracks events for dashboard setup widget load and click

* Add status widget tracks

* Use data attributes to track current and total steps

* Add newline at EOF

* Remove errant console logs
2022-02-10 16:59:22 -05:00
Fernando 0f5a6e251b
Merge pull request #31844 from woocommerce/fix/28603_tracks_on_payments_tab
Fix Payments tab tracking
2022-02-10 18:41:00 -03:00
Fernando Marichal 780a703aa7 Fix current tab setting 2022-02-10 17:54:29 -03:00
jamelreid 79a3e8f7ba Fixed typo 2022-02-10 15:22:03 -05:00
Fernando Marichal 4d7e8ce2e8 Fix lint 2022-02-10 17:18:16 -03:00
Fernando Marichal 49053b5f88 Set current tab 2022-02-10 17:16:44 -03:00
Fernando Marichal 42e4564705 Remove `add_admin_options_tracking` 2022-02-10 17:07:44 -03:00
Fernando Marichal 7abd23438d Fix toggle tracking 2022-02-10 17:05:27 -03:00
Roy Ho aabc16f08e
Merge pull request #31883 from woocommerce/update/changelog6.2
Update changelog and prepare dev files for 6.3
2022-02-10 08:25:09 -08:00
Claudio Sanches b7cef6ad78 Update changelog and prepare everything for 6.3 2022-02-10 13:00:01 -03:00
Roy Ho e80eaf1e8c
Merge pull request #31821 from woocommerce/update/woocommerce-blocks-6.9.0
Update WooCommerce Blocks package to 6.9.0
2022-02-10 07:09:09 -08:00
Jonathan Sadowski 18a5d3a751 Remove confusing trailing dots near version numbers; use PHP_EOL; add newline to EOF 2022-02-10 08:51:26 -06:00
Roy Ho 53d30f7000
Merge branch 'trunk' into update/woocommerce-blocks-6.9.0 2022-02-10 06:45:17 -08:00
Roy Ho 85ac42b945
Merge pull request #31875 from woocommerce/update/bump_woocommerce_admin_3.1.0-rc.1
Bump WooCommerce Admin version to 3.2.0-rc.1
2022-02-10 06:41:10 -08:00
Néstor Soriano 14a8b328a9
Merge pull request #31847 from oscargare/trunk
Fix wc_get_price_excluding_tax ignoring the woocommerce_adjust_non_base_location_prices filter.
2022-02-10 13:28:12 +01:00
Néstor Soriano 6eaef89bdb
Fix unit tests related to wc_get_price_excluding_tax 2022-02-10 12:40:10 +01:00
Nestor Soriano 7f48e88a09
Small changes to the custom orders table implementation
- Add an extra warning message in the settings page
- Escape table name for DROP statement in DatabaseUtil::drop_database_table
2022-02-10 09:13:39 +01:00
Dharmesh Patel 1be5e81860 Fixed clear cart after payment for block-based themes(Twenty Twenty-Two). 2022-02-10 10:14:01 +05:30
barryhughes 8d279c018c Update tests for product reviews (REST API endpoints). 2022-02-09 19:53:00 -08:00
Fernando Marichal ca88734006 Fix actions in gateways 2022-02-09 22:02:44 -03:00
Lucas Bustamante 3eeb1f239f
Merge pull request #31868 from woocommerce/add/api-t-documentation
Added documentation around certain conventions in API tests.
2022-02-09 19:35:20 -03:00
Lucas Bustamante 4ad028eab4
Merge pull request #31839 from woocommerce/fix/31748
update slack export to build version
2022-02-09 19:31:47 -03:00
Josh Betz 4069cc3470 fix tests 2022-02-09 13:47:50 -06:00
Jonathan Sadowski 757209ba37 Add github workflow to automatically enforce the code freeze. 2022-02-09 13:43:05 -06:00
Lourens Schep cd410637fd Bump WooCommerce Admin version 2022-02-09 15:26:14 -04:00
Jon Lane 287c560692 Suppress wp.console.withState deprecation warning 2022-02-09 10:23:53 -08:00
Nestor Soriano 3964a2255a
Make the db utils class non-static, change the custom orders tables UI
- Rename DBUtils to DatabaseUtils, and register it in the DI container
  (instead of having it just contain static methods)

- The tool for the custom orders tables has now two shapes:
  "create tables" and "delete tables" (so no regeneration, migration...)

- Not yet used constants and methods from DataSynchronizer removed

- Added missing method comments
2022-02-09 11:58:19 +01:00
Rodel cf90bda319 Added documentation 2022-02-09 15:14:55 +08:00
Chi-Hsuan Huang e1ac06afa7 Fix payments extensions displayed below the offline payments options (https://github.com/woocommerce/woocommerce-admin/pull/8232)
* Fix payments extensions displayed below the offline payments options

Add spaces back

* Add changelog

* Remove the snapshot test and update payment gateway render test

* Make sorting compare function as a helper function
2022-02-09 14:12:20 +08:00
Chi-Hsuan Huang 6dc5189fc2 Replace "any" type with an explicit type (https://github.com/woocommerce/woocommerce-admin/pull/8262)
* Replace "any" type with an explicit type

* Add types in utils and import FormInputProps to store address
2022-02-09 12:40:44 +08:00
barryhughes b2580b29f7 Further adjust permissions for reviews (REST API). 2022-02-08 14:48:04 -08:00
louwie17 83e1addd82 Fix minor process issues (https://github.com/woocommerce/woocommerce-admin/pull/8279) 2022-02-08 18:22:26 -04:00
louwie17 7d2aa04b2a Add business-details step complete track (https://github.com/woocommerce/woocommerce-admin/pull/8265)
* Add business-details step complete track

* Add changelog

* Update tab name and treat each tab as an individual step when trickering tracks

* Add comment

* Fix linting

* Remove unnecessary css selector

* Update goToNextStep param to make it less confusing

* Update jsdoc param
2022-02-08 14:29:17 -04:00
xristos3490 741f5015e0 typo 2022-02-08 19:27:30 +02:00
xristos3490 f331dbc9d2 Move filter into the template controller 2022-02-08 19:24:55 +02:00
Néstor Soriano 87d8e93bfe
Fix argument count in hook. 2022-02-08 17:42:30 +01:00
vedanshujain fc0c45a204 Show link to create custom orders table. 2022-02-08 21:57:39 +05:30
vedanshujain 3d29e8329c Refactor and move DB related methods to util class. 2022-02-08 21:44:38 +05:30
Tim b1e7046808 Removed duplicate height style in email-styles template 2022-02-08 09:29:11 +00:00
Nestor Soriano 2e613bbd0c
Merge branch 'scafolding-for-custom-order-tables' into mvp-cot/intial-table-strucuture 2022-02-08 09:26:08 +01:00
RJ b9806c5087 Made email in OBW optional again (https://github.com/woocommerce/woocommerce-admin/pull/8263) 2022-02-08 08:56:45 +08:00