Commit Graph

48393 Commits

Author SHA1 Message Date
Christopher Allford 37ad4c5a70 Converted Spaces To Tabs In JSON
Since we almost universally use tabs instead
of spaces, this commit replaces all of the spaces
with tabs in various JSON files across the monorepo.
2022-05-10 13:31:01 -07:00
Christopher Allford 871426decc Fixed `package.json` Data Type
The "private" key is supposed to be a
boolean.
2022-05-10 13:29:59 -07:00
Paul Sealock 635e3f6449
PR Template: Remove suggestion to use affected for changelogs (#32890)
* Remove suggestion to use affected for changelogs

* Update message in changelogger validation
2022-05-11 07:49:23 +12:00
Moon d3ef624ab9
Merge pull request #32928 from woocommerce/update/32911-remove-explat-calls-for-headercard-exp
Remove ExPlat calls for woocommerce_tasklist_progression_headercard experiments
2022-05-10 11:12:25 -07:00
jonathansadowski 4c707a27d6
Merge pull request #32943 from woocommerce/update/bash-zip
Update commands to use Nx
2022-05-10 10:54:11 -05:00
roykho d870ff09ac
Add changelog entry 2022-05-10 08:27:01 -07:00
Josh Betz f3edbcad36
Merge pull request #32823 from woocommerce/update/api/system-status-performance
System Status performance improvements
2022-05-10 09:17:09 -05:00
Roy Ho 2bf1fb0240
Merge pull request #32927 from woocommerce/tweak/workflows
Move copy of composer.json step to after unzipping
2022-05-10 06:38:20 -07:00
roykho 0bcc96a415
Update commands to use Nx 2022-05-10 06:37:57 -07:00
Alejandro López Ariza 56c8962722
Merge pull request #32606 from woocommerce/performance/merchant-view-coupons
Added new performance test to view coupons as merchant.
2022-05-10 14:37:12 +02:00
Alex López eb60957a20 Added changelogger file without actual entry to the changelog. 2022-05-10 11:51:23 +02:00
RJ 7e722e0698
Merge pull request #32933 from woocommerce/add/task-view-tracks-experimental-products
Add task_view tracks prop for experimental products
2022-05-10 13:52:30 +08:00
RJChow 67cf1e109b added task_view tracks prop for experimental_products 2022-05-10 12:52:00 +08:00
Chi-Hsuan Huang 879ccdb14f
Merge pull request #32923 from woocommerce/update/32451-wcpay-task-display-logic
Change wcpay task display logic
2022-05-10 10:07:06 +08:00
Alejandro López Ariza 2886fede2c
Removed Jetpack Changelogger from test js packages as they follow another approach for handling changelogs. (#32877)
* Removed Jetpack Changelogger from test js packages as they follow another approach for handling changelogs.

* Removed composer.json from api-core-tests, e2e-core-tests, e2e-environmnet and e2e-utils as they are no longer needed.

* Removed postinstall script from api-core-tests, e2e-core-tests, e2e-environment and e2e-utils packages, since they will no longer have a composer.json file.
2022-05-10 13:11:19 +12:00
moon d78c8334b9 Disable experiment test 2022-05-09 17:30:21 -07:00
Chi-Hsuan Huang c4c2d160ff
Merge pull request #32914 from woocommerce/add/32811-import-prdocuts-tracks
Add tracks for experimental import products task
2022-05-10 08:14:40 +08:00
louwie17 bd5c1e739e
Merge pull request #32926 from woocommerce/fix/32896_two_tasklists
Fix duplicate task list shown in some occurrences
2022-05-09 16:24:00 -03:00
Lourens Schep 99eb80d811 Remove unused string condition 2022-05-09 14:36:51 -03:00
moon 7fd05ed0d6 Add @since tags 2022-05-09 10:33:55 -07:00
moon cecf63ca5b Add changelog 2022-05-09 10:16:53 -07:00
moon db87fc59b9 Remove ExPlat API calls from the backend 2022-05-09 10:08:11 -07:00
moon 2aa8088197 Remove ExPlat API calls from the frontend 2022-05-09 10:01:11 -07:00
roykho 36656e9c3d
Move copy of composer.json step to after unzipping 2022-05-09 08:23:48 -07:00
Vedanshu Jain 53a6202d68
Merge pull request #32817 from woocommerce/cot/effectively_sync_posts_to_cot
[COT] Effectively synchronize orders from the posts table to the custom orders table
2022-05-09 20:32:38 +05:30
Lourens Schep 65da6a8562 Add changelog 2022-05-09 11:31:03 -03:00
Lourens Schep fb62e3392a Fix duplicate task list shown 2022-05-09 11:17:37 -03:00
Nestor Soriano dcb2f45904
Increase orders sync default batch size to 250 2022-05-09 16:03:56 +02:00
Nestor Soriano 997395e971
Changes in COT handling to ease testing:
- The woocommerce_custom_orders_table_enabled option can now be manually
  altered even if there are orders out of sync
- Saving settings will always restart the sync process, even if one
  is already in progress
- Add the woocommerce_orders_cot_and_posts_sync_step_size filter
2022-05-09 11:01:08 +02:00
Vedanshu Jain 1e090c3c3c
Merge pull request #32828 from woocommerce/fix/32016-shipping-zones-loop
Allow removal of all zone regions from a shipping zone
2022-05-09 14:25:39 +05:30
Chi-Hsuan Huang da535437e7 Add changelog 2022-05-09 16:32:34 +08:00
Chi-Hsuan Huang b75ba577c0 Update wcpay task display logic 2022-05-09 16:32:01 +08:00
Chi-Hsuan Huang c0c55ed9fa Add changelog 2022-05-09 12:44:38 +08:00
Chi-Hsuan Huang 87f5431a5d Add track events for experimental import products 2022-05-09 12:43:10 +08:00
Chi-Hsuan Huang 4aa1bead31 Add use-record-completion-time.ts for task event 2022-05-09 12:40:55 +08:00
Roy Ho 54a42a8388
Merge pull request #32901 from woocommerce/fix/woocommerce-admin-build
Remove Unnecessary React Admin Build
2022-05-06 15:42:55 -07:00
Roy Ho 4506708c55
Merge pull request #32902 from woocommerce/fix/monorepo-merge-build
Fixed Monorepo Merge Build
2022-05-06 15:42:22 -07:00
Roy Ho 89845eeb59
Merge pull request #32900 from woocommerce/fix/beta-tester-preuglify
Fix Beta Tester Uglification
2022-05-06 15:39:01 -07:00
Christopher Allford 9e34796bd0 Added Changelog 2022-05-06 15:04:42 -07:00
Christopher Allford 3f5c3b2039 Added Changelog 2022-05-06 15:00:00 -07:00
Christopher Allford 0519045d20 Added Missing Dependencies
Some kind of branch switching related mishap it seems.
2022-05-06 14:58:33 -07:00
Christopher Allford fc56455e47 Fixed Monorepo Merge Build
By default, TypeScript looks for type roots in
parent node_modules directories. We can't
do this because there are React types
that cause errors. This commit explicitly
defines the type roots for the package to avoid
that behavior.
2022-05-06 13:06:22 -07:00
Josh Betz a1cb8fe8fc lint 2022-05-06 14:49:25 -05:00
Josh Betz 01fc3018d0 Clear the theme cache for any plugin update
The cached theme data has some properties that depend on WooCommerce.
This could also extend to extensions. Since we don't have a reliable way
to know if a given plugin is a WooCommerce extension, any plugin update
should flush the cache.
2022-05-06 14:49:25 -05:00
Josh Betz 43579aeac9 Expire theme cache in case a theme is updated outside WordPress
If someone updates their theme outside of the WordPress update process
(by manipulating files directly) the cache won't be invalidated. To deal
with that, we're setting the TTL here to 1hr.
2022-05-06 14:49:25 -05:00
Josh Betz 5dc5b467a8 Clear the theme cache if woocommerce is updated 2022-05-06 14:49:25 -05:00
Josh Betz 747278a85c changelog 2022-05-06 14:49:25 -05:00
Josh Betz b6b5b8f33b Extract top-level property
Using _fields, we can specify a sub-property like environment.version.
In that case, we need to extract the top-level property so we known
which function to run.
2022-05-06 14:49:25 -05:00
Josh Betz 30f41c96e8 phpcs 2022-05-06 14:49:25 -05:00
Josh Betz fe3b71c011 API: System Status: Cache theme info
Generating theme info involves reading the theme files from disk and
parsing them.

In testing, caching this data in a transient improves performance by
600ms. Since themes changes relatively infrequently, the cache hit rate
should be quite high.

We're registering the cache clean function in Server.php because
rest_api_init is too late.
2022-05-06 14:49:25 -05:00