moon
b85f0b0aa7
Add Changelog
2022-05-13 15:33:47 -07:00
moon
3431c73046
Add tiktok marketing task to the default free extensions list
2022-05-13 15:26:00 -07:00
Corey McKrill
6229dfcb59
Add changelog
2022-05-13 15:24:42 -07:00
Corey McKrill
634c96d29c
Products API: revert get_objects method to `protected`
...
In 029257b
I inadvertently changed the visibility of the get_objects
method to public. There is no need for its visibility to differ from
the parent class, and it ended up causing fatal errors for other classes
that are extending WC_REST_Products_Controller. This simply changes
the visibility back to protected.
2022-05-13 15:09:41 -07:00
roykho
1e7466ade3
Add changelog entry
2022-05-13 12:05:37 -07:00
roykho
9f41cf7609
Update changelog to reflect 6.5.1 release
2022-05-13 11:56:55 -07:00
Nestor Soriano
500db3cdba
Log all db errors and exceptions in the posts to orders migrators.
...
To achieve this:
- A new class is added, TableMigrator, containing basic in-memory
error storage methods, and auxiliary db_query and db_get_result
methods.
- MetaToCustomTableMigrator and MetaToMetaTableMigrator classes
now extend TableMigrator and use these db_* methods.
- process_migration_batch_for_ids is now a method in TableMigrator,
it just calls the abstract process_migration_batch_for_ids_core,
catches exceptions, and returns an array of errors.
- PostsToOrdersMigrationController now logs all the errors returned
by process_migration_batch_for_ids in all the migrator classes.
- New utility method: ArrayUtil::to_ranges_string
2022-05-13 16:29:55 +02:00
Nestor Soriano
087e8ecacf
Fix issues in error handling in the MetaToCustomTableMigrator class
...
There were some inconsistencies, such as trying to treat an error
array as a string, or accessing to a non-existing column from a
dataset retrieved from the db on error.
2022-05-13 16:25:03 +02:00
Nestor Soriano
d0e3035cc8
Adjust visibility of methods in the orders table migrator classes.
...
Many methods were public/protected when they could be protected/private
instead. All methods are adjusted to the minimum visibility required
for the current implementation to work.
Also minor adjustments for phpcs, such as "ignore" comments.
2022-05-13 16:16:04 +02:00
Lourens Schep
780fbffc68
Fix merge conflict type issue
2022-05-13 10:29:21 -03:00
Lourens Schep
03cb7e5a42
Fix completed image display in two column layout
2022-05-13 10:29:21 -03:00
Lourens Schep
fe1e814a41
Fix customer effort types and add timeout to thank you message
2022-05-13 10:29:21 -03:00
Lourens Schep
b441a84d9d
Keep score displayed if user cancels out of CES Modal
2022-05-13 10:29:21 -03:00
Lourens Schep
45dfda2b65
Move CES show logic to the back end, so there is no loading delay
2022-05-13 10:29:21 -03:00
Lourens Schep
4b27f831f7
Add CES submission
2022-05-13 10:29:21 -03:00
Lourens Schep
7aa37d609f
Added new completed header and customer feedback component
2022-05-13 10:29:20 -03:00
vedanshujain
07977131e1
Address PR feedback - function name for readability, indentation etc.
2022-05-13 16:37:34 +05:30
vedanshujain
7b0564a44e
Add support to migrate meta tables.
2022-05-13 16:37:34 +05:30
Vedanshu Jain
ac4367f7ef
Correct formatting for comment.
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-05-13 16:37:33 +05:30
vedanshujain
07f9d2cd2a
Rename count to count_unmigrated for better readability.
2022-05-13 16:37:33 +05:30
vedanshujain
71cc54522d
Applied PR feedback.
2022-05-13 16:37:33 +05:30
vedanshujain
ea29eb8c49
Increase batch size to 500 for faster processing.
2022-05-13 16:37:33 +05:30
vedanshujain
1722793c80
Add testing instructions link.
2022-05-13 16:37:33 +05:30
vedanshujain
05dae81030
Removed unused export.
2022-05-13 16:37:33 +05:30
vedanshujain
75f5528445
Addressed feedback comments.
2022-05-13 16:37:33 +05:30
vedanshujain
99a76bf7d4
Add verify command in CLI to verify migrated orders.
2022-05-13 16:37:33 +05:30
vedanshujain
d2e6689407
More defensive checks for date_epoch data type.
2022-05-13 16:37:33 +05:30
vedanshujain
8c148e7e4b
Use `+` to preserve order ID index.
2022-05-13 16:37:33 +05:30
vedanshujain
3578b02b0c
Add function to verify migrate orders for COT migration.
2022-05-13 16:37:33 +05:30
vedanshujain
8876ddd5ca
Add verification support to custom table migrators.
2022-05-13 16:37:33 +05:30
vedanshujain
31e5e08330
Add changelog.
2022-05-13 16:37:33 +05:30
vedanshujain
1750590822
Add CLI support to run migrations.
2022-05-13 16:37:33 +05:30
Ilyas Foo
1b0ee6f5da
Remove WCAdmin deactivation note ( #33028 )
...
* Add wc-admin-deactivate-plugin to list of obselete notes
* Changelog
2022-05-13 13:59:19 +08:00
RJ
2c5f47a91d
Merge pull request #32944 from woocommerce/add/tracks-experimental-products
...
Add tracks for experimental products page
2022-05-13 12:41:48 +08:00
Chi-Hsuan Huang
55884d841e
Add changelog
2022-05-13 12:10:00 +08:00
Chi-Hsuan Huang
3d55bfb2be
Add fashion sample products for product task
2022-05-13 12:10:00 +08:00
Chi-Hsuan Huang
12e3a2f27d
Add a feature flag for fasion sample products
2022-05-13 12:10:00 +08:00
Chi-Hsuan Huang
eb5ef8dfc6
Merge pull request #32973 from woocommerce/fix/32956-notice-on-empty-product-page
...
Fix notice on empty product page
2022-05-13 10:33:28 +08:00
moon
8adcae1072
Remove @types/history -- it is part of history 5.3.0
2022-05-12 18:34:13 -07:00
moon
e40f73a555
Add changelog
2022-05-12 18:32:06 -07:00
moon
aa7853edbd
Update history package to the latest 5.3.0 version
2022-05-12 18:28:43 -07:00
RJChow
f3cc00ff8b
changelogs
2022-05-13 06:20:11 +08:00
RJChow
05cd1c30de
Added tracks events to experimental products pages
2022-05-13 06:16:28 +08:00
roykho
7b0e30d852
Add changelog entry
2022-05-12 14:58:49 -07:00
roykho
d69eeba36e
Bumping WP tested up to version to 6.0
2022-05-12 14:55:15 -07:00
moon
f3035c65c7
Add changelog
2022-05-12 14:39:37 -07:00
moon
aaf9282277
Add Experimental_Abtest usage
2022-05-12 14:34:41 -07:00
moon
daeebfc622
Add comment for the hook
2022-05-12 14:17:05 -07:00
moon
bf4d777704
Add changelog
2022-05-12 14:10:00 -07:00
Joel Thiessen
cb8076966e
Adding badge to legacy admin menu to indicate remaining onboarding tasks
2022-05-12 12:29:45 -07:00
louwie17
f05d8959c9
Merge pull request #32981 from woocommerce/fix/32962_multisite_disable
...
Make sure we also disable WooCommerce Admin on a multi site
2022-05-12 15:59:16 -03:00
Lourens Schep
efc11d7fe2
Add changelog
2022-05-12 13:31:19 -03:00
Peter Fabian
d88d01a982
Merge pull request #32919 from YordanSoares/fix-broken-urls-unicode
...
Fix broken URLs of recommendations from Unicode
2022-05-12 15:21:52 +02:00
Lourens Schep
7d23a2b7c8
Make sure we also disable WooCommerce Admin on a multi site
2022-05-12 10:06:25 -03:00
Chi-Hsuan Huang
4992899d84
Merge pull request #32975 from woocommerce/fix/32959-product-task-text-shown-before-accordion-is-expanded
...
Fix product task text shown before accordion is expanded on stack layout
2022-05-12 15:26:04 +08:00
Chi-Hsuan Huang
8440400f3c
Set fixed width for experimental product layout
2022-05-12 14:08:03 +08:00
Chris Aprea
3e1d7ac99b
Copy changes and remove console log
2022-05-12 14:46:06 +10:00
Chris Aprea
c6836e270e
Hardcode experiment name.
2022-05-12 13:11:42 +10:00
Ilyas Foo
713198f5ed
Renames to increase clarity
2022-05-12 10:41:15 +08:00
Ilyas Foo
f7263c60ff
Changelogs
2022-05-12 10:41:15 +08:00
Ilyas Foo
481b1e8566
Add backend experiment logic
2022-05-12 10:41:15 +08:00
Ilyas Foo
16c36e1f7d
Import hook from onboarding
2022-05-12 10:41:15 +08:00
moon
14ff4f63ee
Add changelog
2022-05-11 19:12:35 -07:00
moon
7c06b4325b
Use the core version for the @deprecated tags
2022-05-11 19:11:16 -07:00
Chi-Hsuan Huang
5453737747
Fix product task text shown before accordion is expanded on stack layout
2022-05-12 09:56:53 +08:00
Chi-Hsuan Huang
1ccacd95ab
Add changelog
2022-05-12 09:24:37 +08:00
Chi-Hsuan Huang
03731c64d5
Fix notice on emptry product page
2022-05-12 09:24:08 +08:00
Chris Aprea
022c60f9e5
Tidy up experiment code and conditional rendering for the onboarding steps component.
2022-05-12 10:32:54 +10:00
Joel T
8e04383fb0
Enabling reminder bar for both experiments and control
2022-05-11 16:18:51 -07:00
Joel T
27cecd9b83
Hiding badge when remaining tasks is now zero
2022-05-11 16:18:51 -07:00
Joel T
29e521dca0
Reworking condition to allow reminder badge with corret list for all experiment states and control
2022-05-11 16:18:51 -07:00
Joel T
46d6e6dd3e
Updating badge for tasks that complete with no page refresh
2022-05-11 16:18:50 -07:00
Joel T
3b28616640
Altering badge logic to function based on experiments instead of feature flag
2022-05-11 16:18:50 -07:00
Joel T
6693e9fba8
Correcting spacing manually since autoformatter isn't working
2022-05-11 16:18:50 -07:00
Joel T
cd2b9732dd
Adding changelog
2022-05-11 16:18:50 -07:00
Joel T
3a443234ea
Adding basic support for tasks badge to woo navigation
2022-05-11 16:18:50 -07:00
Joel T
18e0af4c29
Adding badge to legacy menu for onboarding tasks remaining
2022-05-11 16:18:50 -07:00
Joel T
697278b69c
Updating changelog
2022-05-11 16:14:26 -07:00
Joel T
9cd5a05237
Adding changelog
2022-05-11 16:11:56 -07:00
Joel T
2ac65955a3
Supressing warnings originating from metadata functions
2022-05-11 15:59:49 -07:00
Jorge A. Torres
82e6e31903
Merge pull request #32968 from woocommerce/fix/download_dir_table_key
...
Fix/download dir table key
2022-05-11 18:25:56 -03:00
louwie17
ed2adee551
Merge pull request #32966 from woocommerce/fix/32962_fatal_error_wc_admin_conflict
...
Add FeaturePlugin facade under the Admin namespace to avoid conflict WCA conflict
2022-05-11 17:57:12 -03:00
barryhughes
d3bf32a147
Prefer get_var() over get_col().
2022-05-11 20:12:20 +00:00
Moon
9720874f50
Merge pull request #32954 from woocommerce/update/32883-update-react-dates-dependency
...
Update react-dates to 21.8.0
2022-05-11 12:49:16 -07:00
Lourens Schep
ce292870c3
Add changelog
2022-05-11 16:41:58 -03:00
barryhughes
44bb55452a
Update install versions test :-/
2022-05-11 19:28:41 +00:00
barryhughes
0d1da4e8bf
6.5.1 update routine for approved download directories.
2022-05-11 18:32:55 +00:00
Lourens Schep
4a2a94eb8c
Add FeaturePlugin facade under the Admin namespace to avoid conflict WCA conflict
2022-05-11 14:54:02 -03:00
barryhughes
f994ba1839
Apply max size to URL col in download directories table.
2022-05-11 17:07:32 +00:00
Jorge A. Torres
4ef86419da
Add changelog entry
2022-05-11 11:42:35 -03:00
Jorge A. Torres
992f936fae
Check for `recorded_sales` op data in COT migration tests
2022-05-11 11:42:35 -03:00
Chris Aprea
aa8835bfce
Merge branch 'trunk' into add/experiment-subscriptions-admin-menu-1
2022-05-11 17:04:29 +10:00
Chris Aprea
f66a8c5b0f
Add basic experiment functionality.
2022-05-11 15:37:14 +10:00
Ilyas Foo
016a23f202
Merge pull request #32941 from woocommerce/dev/32635-implement-product-task-experiment
...
Add ExPlat call for product task experiment
2022-05-11 13:03:27 +08:00
James Allan
5eb81985e4
Add changelog
2022-05-11 12:11:32 +10:00
Chi-Hsuan Huang
edbfd5bf93
Merge pull request #32937 from woocommerce/update/convert-woo-tracks-to-ts
...
Convert `@woocommerce/tracks` to TS
2022-05-11 09:57:27 +08:00
James Allan
077d68eecd
Remove unused maestro card SVG file
2022-05-11 11:57:08 +10:00
Chi-Hsuan Huang
79814ccccf
Merge pull request #32936 from woocommerce/update/memoize-one
...
Remove `memoize-one` from woo admin & update it to ^6.0.0 for woo components
2022-05-11 09:55:40 +08:00
Chi-Hsuan Huang
63c9cb3e09
Merge pull request #32932 from woocommerce/update/task-completion-time
...
Update import product task to record completion time in time frame format
2022-05-11 09:55:25 +08:00
moon
15ecfd9b16
Update react-dates to 21.8.0
2022-05-10 18:12:32 -07:00
Eric Jinks
c924fbd54b
Merge pull request #32867 from woocommerce/add/experiment-subscriptions-admin-menu-eligibility
...
Prevent rendering the WooCommerce > Subscriptions menu item for WooCommerce stores that are ineligible for the experiment.
2022-05-11 10:01:29 +10:00
Chris Aprea
4336b3a390
Add the wccore_subscriptions_empty_state_get_started_error tracking event.
2022-05-11 09:05:35 +10:00
Simon Prosser
8e754070f3
Make sure variable is actually set
...
themes_api() may return unexpected results see https://wordpress.org/support/topic/php-warnings-flooding-log-undefined-property-class-wc-admin-status-php for example.
2022-05-10 23:53:19 +01:00
Roy Ho
ba6f193958
Merge pull request #32899 from woocommerce/fix/json-formatting
...
Standardize JSON Formatting
2022-05-10 14:17:40 -07:00
Christopher Allford
ec2e90540e
Added Changelogs
2022-05-10 13:31:13 -07:00
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
roykho
9668071503
Bump readme.txt version to latest
2022-05-10 13:30:29 -07:00
roykho
56a88d3771
Prep trunk post 6.5 release
2022-05-10 13:01:47 -07: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
roykho
0bcc96a415
Update commands to use Nx
2022-05-10 06:37:57 -07:00
Ilyas Foo
367db18bc4
Rename function
2022-05-10 20:57:11 +08: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
Ilyas Foo
71e0d3d27d
Changelog
2022-05-10 18:42:07 +08:00
Ilyas Foo
933fe9f449
Add tests
2022-05-10 18:21:52 +08:00
Thomas Roberts
5ca74b6ff0
Bump WooCommerce blocks package version and update locks
2022-05-10 11:05:49 +01:00
Alex López
eb60957a20
Added changelogger file without actual entry to the changelog.
2022-05-10 11:51:23 +02:00
Ilyas Foo
826029ca7b
Add ExPlat call for product task experiment
2022-05-10 16:58:02 +08:00
Chi-Hsuan Huang
cd3abebeb0
Add changelogs
2022-05-10 15:29:10 +08:00
Chi-Hsuan Huang
93725ece0f
Remove woo tracks type declaration from woo admin
2022-05-10 15:29:10 +08:00
Chi-Hsuan Huang
4f1e7af7c7
Add changelogs
2022-05-10 14:29:45 +08:00
Chi-Hsuan Huang
43af801d46
Remove memoize-one from wca & update it to ^6.0.0 for woo components
2022-05-10 14:17:03 +08:00
Chi-Hsuan Huang
4cc033bc12
Add tests for getTimeFrame
2022-05-10 14:02:07 +08:00
James Allan
692cdd3607
Redirect to the create subscription product step after installing WC Payments
...
This is a temporary measure to be enable testing the full flow whilst we
work on setting up the experiment.
2022-05-10 15:50:47 +10:00
Chris Aprea
fc55f14fdd
Add the wccore_subscriptions_empty_state_view tracking event.
2022-05-10 15:43:47 +10: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
Chris Aprea
c421733dec
Add @ts-expect-error comment to avoid build error.
2022-05-10 11:11:07 +10:00
Chi-Hsuan Huang
7d75919e25
Add changelog
2022-05-10 08:59:10 +08:00
Chi-Hsuan Huang
2b46085ff7
Update to record completion time in time frame format
2022-05-10 08:58:23 +08:00
moon
d78c8334b9
Disable experiment test
2022-05-09 17:30:21 -07:00
Eric Jinks
ffc64e9f7d
Use wc formatting functions for transient booleans
2022-05-10 10:26:36 +10: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
Eric Jinks
ef25a3180c
Fix store sale eligibility comments to correct intent
2022-05-10 10:00:06 +10:00
Chris Aprea
68142596bb
Merge branch 'add/experiment-subscriptions-admin-menu-1' into add/experiment-subscriptions-admin-menu-eligibility
...
# Conflicts:
# plugins/woocommerce/src/Internal/Admin/WcPaySubscriptionsPage.php
2022-05-10 09:47:17 +10:00
Eric Jinks
1aa88a9cb7
Change recent sales eligibility transient string to yes/no
2022-05-10 06:45:27 +10: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
Eric Jinks
ae954f3cc5
Store recent sales eligibility transient as string
2022-05-10 04:02:10 +10: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
Jorge A. Torres
086f318299
Add `recorded_sales` to COT schema and migration
2022-05-09 10:23:23 -05: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
Yordan Soares
1e67304e80
Fix the broken URLs of recommendations from Unicode (Countries, States, and Currency names)
2022-05-09 03:04:56 -04:00
Chris Aprea
0601a75e1c
Fix enqueue_scripts logic.
2022-05-09 16:06:33 +10:00
Chris Aprea
ce2385d0d3
Change the badge wording to "new".
2022-05-09 15:58:35 +10:00
James Allan
b45d095e2d
Use updateOptions from @woocommerce/data OPTIONS_STORE_NAME to set wp options instead of using apiFetch
2022-05-09 15:10:17 +10:00
James Allan
59478e391c
Reorder and self close the No thanks buttons
2022-05-09 14:56:59 +10: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
James Allan
738b3764e5
Add a dismiss ("No thanks") button to the wcpay susbcriptions welcome page
2022-05-09 14:24:01 +10:00
Eric Jinks
3d68850d78
Cache recent sales eligibility to reduce excessive DB queries
2022-05-09 13:08:36 +10:00
Eric Jinks
48ead02176
Fix recent sales query to allow orders without completed status
2022-05-09 10:58:16 +10:00
Chris Aprea
f34fcab040
Fix font weight.
2022-05-09 10:55:04 +10:00
Chris Aprea
b223ed27f6
Fix typo.
2022-05-09 10:47:06 +10:00
Eric Jinks
dbe0f5fc54
Add xa-woocommerce-subscriptions to plugin eligibility check
...
Co-authored-by: James Allan <james.allan@automattic.com>
2022-05-09 08:17:12 +10: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
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
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
Josh Betz
66c21a5e8b
API: System Status: Only load necessary data
...
The system status endpoint supports the global `_fields` query parameter
for limiting which fields are returned. That is, if you send a request
with a query string of `?_fields=environment`, only the environment
property will be returned. However, we still calculate every property.
This change ensure that we only gather the data that is necessary for
the response. Since some of this data can be somewhat slow (like reading
from the disk in the case of get_theme_info), this could have a pretty
nice performance benefit in some cases.
2022-05-06 14:49:25 -05:00
Christopher Allford
74f44dd04c
Removed Unnecessary Rebuilds
...
Nx already handles the building of dependencies.
This commit removes the unnecessary build
calls from WooCommerce's "build" script.
2022-05-06 12:26:27 -07:00
Christopher Allford
31d7249080
Removed "prebuild" Script
...
PNPM does not execute "pre" and "post"
scripts for user-defined scripts. This removes
the "prebuild" from the React Admin's build.
2022-05-06 12:16:57 -07:00
Christopher Allford
dc6bd75984
Fixed Beta Tester Uglification
...
PNPM does not run "pre" and "post" scripts
for user-defined scripts. This commit
removed the "preuglify" script from the
beta tester plugin so that it builds correctly.
2022-05-06 12:11:51 -07:00
Corey McKrill
245dd98b45
Orders API: Add response fields for some order states ( #32888 )
...
Adds the following fields to the order response object for both v2 and v3 of the WC REST API:
* is_editable
* needs_payment
* needs_processing
Some order states (different than statuses) are determined by complex logic involving other order properties, and/or they are filterable by extensions. These states are difficult to calculate in a client app whose only data source is the REST API, and thus they are best calculated on the server and added as separate properties to the API response object.
2022-05-06 11:06:33 -07:00
Barry Hughes
8000a9b0ef
Merge pull request #32893 from woocommerce/fix/product_attributes_lookup_table_update
...
Fix: product attributes lookup table not being updated on WooCommerce update and on REST API batch requests
2022-05-06 09:58:10 -07:00
Nestor Soriano
37e9be5e87
Add changelog file
2022-05-06 11:06:39 +02:00
Nestor Soriano
ff76f898f7
Fix: product attributes lookup table not updating on REST API batch requests
...
When the "products/batch" endpoint is used to create or update products,
the product attributes lookup table wasn't being updated as it's the
case of the single product endpoints.
2022-05-06 10:20:38 +02:00
Nestor Soriano
3d77547d77
Fix: product attributes lookup table not filled on WooCommerce update
...
When WooCommerce was updated from an version older than 6.2,
and before the user hit the "Update database" button, the product
attributes lookup table usage was activated but it was still empty.
This caused the search to not work, and the product filtering widget
to not appear.
2022-05-06 10:14:50 +02:00
Chi-Hsuan Huang
211e0f9a24
Merge pull request #32891 from woocommerce/fix/32863-get-option-deprecated-notices
...
Fix `get_options` function deprecation notice in WC 6.5 RC
2022-05-06 16:00:57 +08:00
Chi-Hsuan Huang
72cf343cda
Merge pull request #32866 from woocommerce/fix/32761-exp2-task-no-padding
...
Fix no padding between the task section and things to do next in experiment 2
2022-05-06 14:28:46 +08:00
Chi-Hsuan Huang
6d0b794fc7
Replace margin-bottom 16px with $gap for experiment 2
2022-05-06 12:44:43 +08:00
Chi-Hsuan Huang
1ea12c31b6
Add changelog
2022-05-06 11:26:14 +08:00
Chi-Hsuan Huang
c76e97d527
Add woocommerce_task_list_reminder_bar_hidden to woocommerce permissions to fix deprecation notice
2022-05-06 11:19:01 +08:00
Eric Jinks
d77f000e6e
Add subscriptio to plugin eligibility check
2022-05-06 13:08:54 +10:00
Eric Jinks
8beed46c33
Add sumosubscriptions to plugin eligibility check
2022-05-06 12:57:53 +10:00
Chi-Hsuan Huang
ce253ca390
Merge pull request #32815 from woocommerce/add/32412-load-sample-products
...
Add load sample products for experimental product task
2022-05-06 09:23:26 +08:00
Chi-Hsuan Huang
ac87972fc0
Merge pull request #32870 from woocommerce/update/center-view-more-button
...
Center view more/less button for add product task
2022-05-06 09:22:12 +08:00
Roy Ho
30846cb8b4
Update woocommerce sniffs to latest 0.1.3 ( #32886 )
2022-05-06 12:48:46 +12:00
Jorge A. Torres
dda417ccd2
Add sanitization of color settings to OptionSanitizer
2022-05-05 13:05:32 -05:00
Jorge A. Torres
d94b7af9dc
Add OptionSanitizer class for sanitization of settings
2022-05-05 13:05:32 -05:00
Vedanshu Jain
79c953c2f2
Merge pull request #32115 from mcliwanow/add/12397-tracking-params-wccom-from-subscriptions
...
Subscriptions - add tracking params to WCCOM URLs
2022-05-05 14:31:50 +05:30
Chris Aprea
c92bc4b357
Merge branch 'add/experiment-subscriptions-admin-menu-1' into add/experiment-subscriptions-admin-new-design
2022-05-05 16:01:35 +10:00
Chris Aprea
77cc1f61de
Merge branch 'add/experiment-subscriptions-admin-menu' into add/experiment-subscriptions-admin-menu-1
2022-05-05 16:00:50 +10:00
Chris Aprea
7add4dca88
Implement the new subscriptions page design
2022-05-05 15:04:27 +10:00
Eric Jinks
0eb8d95bfb
Reduce recent sales query scope to improve performance
2022-05-05 10:59:04 +10:00
Eric Jinks
e36c5d3b8f
Change plugin eligibility to check for installed plugins
2022-05-05 10:37:48 +10:00
Alex López
b62a935869
Merge remote-tracking branch 'origin/trunk' into performance/merchant-view-coupons
2022-05-04 16:55:15 +02:00
Vedanshu Jain
e74a106fe8
Merge pull request #32747 from crstauf/patch-1
...
Fix `is_page()` and `is_singular()` called incorrectly
2022-05-04 19:06:11 +05:30
Eric Jinks
b32a8f49a9
Fix store base location eligibility check to limit to USA
2022-05-04 21:57:10 +10:00
vedanshujain
8cba910dec
Add changelog.
2022-05-04 16:41:26 +05:30
Chi-Hsuan Huang
9eb38bcd37
Add changelog
2022-05-04 17:28:19 +08:00
Chi-Hsuan Huang
7e3a259cc5
Center experimental products view more button
2022-05-04 17:27:41 +08:00
Chi-Hsuan Huang
e3e6dbd720
Add changelog
2022-05-04 16:51:59 +08:00
Chi-Hsuan Huang
2e58f8c352
Add an empty woocommerce-admin.php for backward compatibility
2022-05-04 16:51:59 +08:00
Eric Jinks
f9fd51e81c
Fix recent sales query, restrict to completed orders
2022-05-04 16:52:46 +10:00
Chi-Hsuan Huang
8c5bf0988b
Add changelog
2022-05-04 12:08:53 +08:00
Chi-Hsuan Huang
b28a2d7ba7
Fix no padding between the last task section and Things to do next in experiment 2
2022-05-04 11:57:43 +08:00
Chi-Hsuan Huang
a4bd70c28e
Add changelog
2022-05-04 10:42:25 +08:00
Chi-Hsuan Huang
7e4126bc9f
Update experimental-import-products to load sample products
2022-05-04 10:42:25 +08:00
Chi-Hsuan Huang
cf9d2ed3b7
Update sample_products.csv to only contain 9 products
2022-05-04 10:42:20 +08:00
Chi-Hsuan Huang
f25383fc15
Add test for stack
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
95a319b36d
Add tests for load sample products
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
be50584b67
Update load onboarding sample product link
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
5476f4c80f
Add onboarding load sample products notice
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
570d6dad71
Update experimental-products to load sample products
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
4221c32fa4
Add type for wp.components.ui
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
e37bc5e18f
Add load sample product hook & modal component
2022-05-04 10:15:03 +08:00
Chi-Hsuan Huang
5063dc3640
Update admin webpack config to resolve wp.components.ui
2022-05-04 10:15:03 +08:00
Moon
4a6c3300aa
Merge pull request #32835 from woocommerce/add/32788-add-experimental-import-products-task-followup
...
Add experimental import products task
2022-05-03 19:13:26 -07:00
Paul Sealock
6553de469b
Test Failures: Check WP version 5.9 before adding mini_cart_block to WC Tracker ( #32862 )
2022-05-04 14:09:21 +12:00
moon
8219510fc5
Style update
2022-05-03 18:57:23 -07:00
James Allan
49f5f788bb
Replace translation domains from woocommerce-payments to woocommerce
2022-05-04 11:15:56 +10:00
Chi-Hsuan Huang
afe6e84ab0
Merge pull request #32855 from woocommerce/update/32716-explat-api-requests
...
Add safeguards to ensure ExPlat API requests are valid
2022-05-04 09:02:10 +08:00
Eric Jinks
bfa9721dda
Add store activation date eligibility criteria
2022-05-04 10:00:01 +10:00
moon
0a75c8d6be
Adjust text color
2022-05-03 15:55:15 -07:00
moon
d0b500a3f4
Import Stacks before CardList to fix the order error
2022-05-03 15:55:02 -07:00
moon
84fe952ba8
Add link to the card
2022-05-03 15:54:18 -07:00
Christopher Allford
790d085f12
Merge pull request #32657 from woocommerce/refactor/standardize-postinstall
...
Utilize `post install` Script for Composer
2022-05-03 10:21:33 -07:00
Chi-Hsuan Huang
f1d911d680
Add changelog
2022-05-03 17:01:07 +08:00
Chi-Hsuan Huang
6c8ee08f19
Add a safeguard for ExPlat assignment requests to make sure a user either has an anon_id defined and not empty
2022-05-03 17:01:07 +08:00
Néstor Soriano
4c9097d639
Merge pull request #32777 from woocommerce/add/track_mini_cart_block
...
Add Mini Cart Block Tracking
2022-05-03 09:07:47 +02:00
James Allan
b15cfd3a2d
Reword the error message to be more action -> outcome structure
2022-05-03 16:47:14 +10:00
James Allan
6b7fd14c09
Direct the user to the wp.org wcpayments page for a more direct install path
2022-05-03 16:18:46 +10:00
Eric Jinks
0947b40b8d
Add method to check WcPaySubscriptionsPage eligibility
2022-05-03 15:32:32 +10:00
James Allan
a1aff10f5f
Display an error message when WC Payments fails to install
2022-05-03 14:10:18 +10:00
Adrian Duffell
b35413d2ba
Add changelog entry
2022-05-03 07:40:21 +08:00
Adrian Duffell
a67c547b8e
Update path to email template for analytics report
...
The path was recently changed with the merge of the Admin feature plugin into Core.
2022-05-03 07:40:21 +08:00
Christopher Allford
9a22c62505
Added Changelogs
2022-05-02 12:55:48 -07:00
Christopher Allford
21eee1ab14
Added Changelog
2022-05-02 12:55:48 -07:00
Christopher Allford
000f14be4a
Fixed Tabs
2022-05-02 12:55:48 -07:00
Christopher Allford
bd0ff96960
Fixed WooCommerce Beta Tester PHPUnit
...
Like Core's `composer.json`, we need to override
the platform in order to get a consistent version
for dependencies out of Composer.
2022-05-02 12:55:48 -07:00
Christopher Allford
8862efb570
Run `composer install` On `pnpm install`
...
This commit adds a `postinstall` script for
the WooCommerce and WooCommerce Beta
Tester plugins. This makes it easier to get
started since `pnpm install` will ensure all
dependencies in every project are ready.
2022-05-02 12:55:48 -07:00
Corey McKrill
1d52eef313
REST: Add product image URL to order line items ( #32710 )
...
Add a new property to the line item schema, `image` that contains `id` and `src` properties for the full size of the main product image.
Fixes #27364
2022-05-02 10:50:30 -07:00
Christopher Allford
3994c9ac4f
Added `version` to `composer.json`
...
In order for the Jetpack Autoloader to consistently
apply a version to class files, we will define it in our
plugin's `composer.json` file.
2022-05-02 09:48:54 -07:00
Jorge A. Torres
c1dcab5725
Properly escape tax class filter in legacy v3 REST API /taxes endpoint
2022-05-02 08:22:50 -05:00
Néstor Soriano
fbd38e5a90
Merge pull request #32746 from YordanSoares/use-price-decimal-separator-for-product-weight-and-dimensions
...
Use the price decimal separator to format product weight and dimensions
2022-05-02 12:04:26 +02:00
Luigi
4597c47f63
create BlocksUtil file - refactor
2022-05-02 11:26:34 +02:00
Néstor Soriano
69dc8fe777
Add changelog file
2022-05-02 11:15:19 +02:00
Néstor Soriano
4908d29fb1
Merge pull request #32749 from mostafasoufi/trunk
...
Add support select2 for log_file dropdown
2022-05-02 11:04:03 +02:00
Néstor Soriano
c50de996fa
Add changelog file
2022-05-02 11:01:27 +02:00
moon
d61668cb5e
Add changelog
2022-04-29 16:08:40 -07:00
moon
bc634512af
Remove unnecessary style
2022-04-29 16:01:05 -07:00
moon
4ee252b549
Style fix
2022-04-29 15:53:45 -07:00
moon
0958641c85
Update svg fill
2022-04-29 15:53:07 -07:00
moon
0c3a142e89
Convert svg to react component
2022-04-29 15:51:46 -07:00
Fernando
c60884ef20
Merge pull request #32786 from woocommerce/fix/32720_progress-header-title
...
Fix progress header title
2022-04-29 18:56:53 -03:00
moon
422018eb78
Refactor useProductTypeListItems to accept product types
2022-04-29 14:42:04 -07:00
Fernando Marichal
23c829efea
Fix sectioned task list
2022-04-29 16:31:26 -03:00
louwie17
c0711feacb
Merge pull request #32805 from woocommerce/fix/32802_update_copy_and_illustrations
...
Update illustrations and copy of task list experiment 1
2022-04-29 15:11:27 -03:00
Fernando Marichal
b8a8e9d272
Add changelog
2022-04-29 13:34:19 -03:00
Fernando Marichal
6a9bb8ab49
Fix default title
2022-04-29 13:34:02 -03:00
louwie17
f918f341b9
Merge pull request #32824 from woocommerce/add/32762
...
Adding legal messaging and fixing click behavior on task list experiment
2022-04-29 13:31:42 -03:00
Fernando Marichal
06dd122939
Fix progress header title
2022-04-29 12:40:01 -03:00
Joel T
d0d2de10bf
Fixing typescript error
2022-04-29 11:14:42 -03:00
Joel T
d58b436265
Removing excess content in wcpay task on experiment
2022-04-29 11:14:42 -03:00
Joel T
a42047607a
Adding changelog
2022-04-29 11:14:42 -03:00
Joel T
a7f457c488
Fixing test
2022-04-29 11:14:42 -03:00
Joel T
98838fe8b4
Adding slotfill support to task experiment one, fixing odd behavior around link clicks
2022-04-29 11:14:42 -03:00
Lourens Schep
fbdc08eb36
Some minor changes to tasks height for each task list to match design
2022-04-29 11:11:30 -03:00
Lourens Schep
711e0ce449
Remove unused illustrations
2022-04-29 10:12:09 -03:00
Roy Ho
ad0d71dcff
Merge pull request #32795 from woocommerce/fix/standardize-lint-woocommerce-plugin
...
Standardize linting: plugins
2022-04-29 06:01:37 -07:00
Lourens Schep
b56e38c492
Add changelog
2022-04-29 09:52:50 -03:00
Lourens Schep
77765285e8
Update illustrations and copy of task list experiment 1, with minor css updates
2022-04-29 09:52:50 -03:00
Nestor Soriano
e7a4ff2daa
Add changelog file
2022-04-29 13:24:29 +02:00
Nestor Soriano
57b1bd2340
Improve the readability of classes in Database\Migrations\CustomOrderTable
...
- Add meaningful docblock comments for the classes
- Add type ints for parameters and return values in all mehtods
2022-04-29 10:41:17 +02:00
Nestor Soriano
d9fb2e3231
Remove 'WP' class name prefixes in Database\Migrations\CustomOrderTable
2022-04-29 10:15:04 +02:00
Chris Aprea
0942a8b169
Enqueue an inline script.
2022-04-29 15:05:15 +10:00
Chris Aprea
7b36d7fee4
Merge branch 'add/experiment-subscriptions-admin-menu-2' into add/experiment-subscriptions-admin-menu-1
2022-04-29 14:14:06 +10:00
moon
9cf2993975
Fix error with the items type
2022-04-28 20:45:49 -07:00
moon
a441ff189b
Add stacks
2022-04-28 20:39:09 -07:00
moon
b03149a29c
Align the stacks button center
2022-04-28 20:39:08 -07:00
moon
b109eba8c7
Adjust styles and add initial stacks functionality
2022-04-28 20:38:31 -07:00
moon
de836d1f79
Add Learn More link
2022-04-28 20:38:31 -07:00
moon
14cff0a001
Allow JSX.Element in content
2022-04-28 20:38:31 -07:00
Chi-Hsuan Huang
60334e3c55
Merge pull request #32801 from woocommerce/add/32634-add-products-task
...
Add experimental add product for task list
2022-04-29 11:35:53 +08:00
Ilyas Foo
8b9870b1d0
Merge pull request #32697 from woocommerce/add/wc-payment-gateways-banner
...
Added feature for payment gateways banner
2022-04-29 10:57:59 +08:00
Ilyas Foo
959ba869c1
Merge pull request #32814 from woocommerce/fix/32797-wca-fatal
...
Fix WCA fatal with bail conditions for WCA execution paths
2022-04-29 10:50:38 +08:00
Chi-Hsuan Huang
345a2ed60c
Update experimental product stack layout style
2022-04-29 10:46:54 +08:00
Chi-Hsuan Huang
0d9d463d46
Update experimental-products default surfaced product types
2022-04-29 10:46:54 +08:00