ratulhasan
12719616d9
empty check
2022-04-13 12:46:12 -07:00
ratulhasan
3b4168dcbc
Fix Uncaught TypeError: Unsupported operand types: string * float
2022-04-13 12:46:12 -07:00
ratulhasan
59adcb26b8
Fix Uncaught TypeError: Unsupported operand types: string * float
2022-04-13 12:46:12 -07:00
Joel Thiessen
9901b1e931
Updating deasync package to resolve build issue in linux #32510
2022-04-13 12:38:45 -07:00
Joel Thiessen
0a0c6b45cf
Merge branch 'trunk' into update/32508_pnpx_deprecated
2022-04-13 12:35:29 -07:00
Joel T
40c6ae32ff
Changing dlx to exec for grunt package
2022-04-13 12:31:36 -07:00
Joel T
3b3fb00d04
Updating changelog
2022-04-13 12:01:51 -07:00
Lourens Schep
f15e38f55e
Fix minor css issues with complete task list item
2022-04-13 16:01:31 -03:00
Josh Betz
dc095300c2
Merge pull request #32571 from woocommerce/fix/32539/order-autodraft-validation
...
Normalize auto-draft as a status in the abstract order class
2022-04-13 13:07:55 -05:00
Fernando
16424423bd
Merge branch 'trunk' into add/32157_tests_to_disable_welcome_modals
2022-04-13 14:33:27 -03:00
Jacob Sewell
80fec7c677
Merge pull request #32574 from woocommerce/add/32573-context-arg-for-get-notes
...
Add context param for get_notes and related methods
2022-04-13 12:22:19 -05:00
louwie17
212198b3c4
Merge pull request #32302 from woocommerce/feature/32164_new_task_list_version_2
...
Add sectioned task list component
2022-04-13 13:56:27 -03:00
barryhughes
8d840c4ea0
Display but do not require Street Address 2 for Vietnam.
2022-04-13 09:20:47 -07:00
RJ
fe1c83de1e
Merge pull request #32559 from woocommerce/fix/wca-webpack-unminify
...
Changed unminify plugin to hook into step before optimization
2022-04-13 23:37:21 +08:00
Lourens Schep
60e288c849
Update illustrations and fix potential update delay
2022-04-13 12:15:05 -03:00
Lourens Schep
0c91a56f1f
Address minor PR feedback and UI issues
2022-04-13 11:20:26 -03:00
moon
818a1dcff7
Make is_installing private
2022-04-13 06:46:02 -07:00
moon
b37421fb98
Do not call unnecessary create_tables() -- tables should be ready by the time we call the method
2022-04-13 06:43:06 -07:00
Ilyas Foo
dae3396854
Add affirm, amazon pay, afterpay
2022-04-13 21:40:45 +08:00
Ilyas Foo
f1d8cbe15c
Add support for external links for payment gateways
2022-04-13 21:39:44 +08:00
RJChow
072d9b8a14
Added changelog
2022-04-13 21:22:28 +08:00
berislav grgičak
615a5d8442
Merge pull request #32534 from bgrgicak/remove/32444-featured-request-user-agent-headers
...
Remove featured request user agent headers
2022-04-13 15:19:06 +02:00
Lourens Schep
52922c9219
Add changelogs
2022-04-13 09:58:09 -03:00
Lourens Schep
3bb9c18a2d
Update hover color
2022-04-13 09:58:09 -03:00
Lourens Schep
387dc777e6
Fix PHP I18n domain issues
2022-04-13 09:58:09 -03:00
Lourens Schep
56cb47e059
Fix css lint errors
2022-04-13 09:58:09 -03:00
Lourens Schep
7547901e7d
Update number of task list badge and adjust styling
2022-04-13 09:58:09 -03:00
Lourens Schep
dfa342f400
Update unchecked checkbox border for task list
2022-04-13 09:58:09 -03:00
Lourens Schep
954be3997d
Realign header image
2022-04-13 09:58:09 -03:00
Lourens Schep
fd30323288
Fix section title and list alignment
2022-04-13 09:58:09 -03:00
Lourens Schep
7bdaea6195
Add progress header to sectioned task list and made some additional little changes
2022-04-13 09:58:09 -03:00
Lourens Schep
df0acb9286
Add changelog
2022-04-13 09:58:09 -03:00
Lourens Schep
dd8380820b
Updated image urls
2022-04-13 09:58:09 -03:00
Lourens Schep
68efbafcb5
Add sectioned task list component
2022-04-13 09:58:09 -03:00
Ilyas Foo
ed0fd071f0
Update category lists
2022-04-13 20:42:25 +08:00
RJChow
380d54114d
Added some temporary path fixes to fix broken i18n due to path changes
2022-04-13 20:19:38 +08:00
Ilyas Foo
202f9df078
Fix tests
2022-04-13 19:12:25 +08:00
Néstor Soriano
1a77d7849e
Merge pull request #32062 from woocommerce/cot/implement-non-migrated-data-query
...
Implement queries for non-synchronized orders, and revamp COT related settings
2022-04-13 12:24:23 +02:00
Chi-Hsuan Huang
c829aacfc7
Fix typescript annotations in react admin ./dashboard
2022-04-13 16:57:58 +08:00
Ilyas Foo
9dcd761c2a
Add gateway categories for stripe, paypal, square, klarna payments, eway
2022-04-13 15:46:48 +08:00
Ilyas Foo
b7159dbfc9
Add test
2022-04-13 15:43:07 +08:00
Néstor Soriano
544795e70a
Merge pull request #32569 from woocommerce/fix/downloadable-file-data
...
Product downloads → Support a concept of active/inactive files.
2022-04-13 09:17:03 +02:00
Ilyas Foo
7bebe192e9
Update logic to show only additional category when applicable
2022-04-13 15:13:15 +08:00
Chi-Hsuan Huang
4760b10cc8
Remove admin .github folder
2022-04-13 14:40:27 +08:00
Ilyas Foo
31bcf06ac8
Merge pull request #32467 from woocommerce/dev/32131-ui-changes-additional-payment-section
...
UI changes for set up payments task
2022-04-13 12:52:46 +08:00
Chi-Hsuan Huang
e627fb344e
Merge pull request #32582 from woocommerce/fix/admin-clean-cmd
...
Fix `pnpm nx clean woocommerce-admin` command
2022-04-13 12:36:36 +08:00
Christopher Allford
372ad23cc8
Updated Version & Stable Tag
2022-04-12 15:37:58 -07:00
Christopher Allford
42838bc2da
Added 6.4.0 Changelog
2022-04-12 15:36:24 -07:00
Corey McKrill
667d2a0be1
Add changelog file
2022-04-12 14:15:21 -07:00
Jacob Sewell
4b9c44ebb3
Docblock linter fixes.
2022-04-12 15:46:17 -05:00
Fernando
0a3359d1ac
Merge pull request #32527 from woocommerce/add/32141_pinterest_extension_to_obw
...
Add Pinterest extension to onboarding wizard and marketing task
2022-04-12 15:58:48 -03:00
moon
2f21b3592e
Add test for migrate_options
2022-04-12 11:12:19 -07:00
moon
529f43e769
Add install tests
2022-04-12 10:50:40 -07:00
moon
29a5d0a0db
Remove redundant action -- woocommerce_updated and woocommerce_updated_existing are redundant
2022-04-12 10:21:15 -07:00
Fernando Marichal
b85648a117
Fix fallback images URL
2022-04-12 14:08:04 -03:00
Fernando Marichal
97fca30b39
Fix fallback text
2022-04-12 12:07:10 -03:00
Barry Hughes
84392cfbf6
Merge pull request #32589 from woocommerce/issue-31347
...
Enable "Save changes" for variations on the admin when a textfield receives input
2022-04-12 08:05:47 -07:00
barryhughes
9f025db18a
Adjust changelog entry.
2022-04-12 08:05:00 -07:00
louwie17
c10a9cfd63
Merge pull request #32507 from woocommerce/fix/32128_experiment_1_ui_issues
...
Fix experiment 1 UI issues
2022-04-12 11:27:30 -03:00
Fernando Marichal
e219a19229
Renamed `testAdminHomescreenWelcomeModal`
2022-04-12 10:38:27 -03:00
Fernando Marichal
d6c216fc74
Remove `welcome-modal.test.js
2022-04-12 10:37:49 -03:00
Jorge A. Torres
566076de9b
Add changelog
2022-04-12 10:23:12 -03:00
Jorge A. Torres
d4d70acfd1
Enable “Save changes” in the admin variations form when textfields change
2022-04-12 09:50:01 -03:00
Fernando Marichal
17ae456868
Fix text domain
2022-04-12 09:33:57 -03:00
Moon
bb9bc378cf
Merge pull request #32447 from woocommerce/update/32130-ui-changes-to-the-recommended-payment-options
...
UI changes to the recommended payment options
2022-04-12 05:30:18 -07:00
Fernando Marichal
db7b1ba035
Add Pinterest to help panel
2022-04-12 09:26:54 -03:00
vedanshujain
c9c930cfcb
Refactor meta migrator to follow pattern in meta to custom migrator.
2022-04-12 16:41:58 +05:30
Néstor Soriano
2bdabff4e0
Merge pull request #32317 from ovidiul/31314-add-parse-file-path-filter
...
Adding parse_file_path filters to support remote file systems
2022-04-12 12:47:15 +02:00
vedanshujain
f7bd637845
Add tests to check for duplicated meta records.
2022-04-12 15:32:30 +05:30
vedanshujain
f063d40c95
Add test for migrations.
2022-04-12 15:22:39 +05:30
vedanshujain
19b3f1a7d1
Add source table name to prevent ambigious column names.
2022-04-12 15:22:20 +05:30
vedanshujain
7cd7e0538f
Enable meta migrations.
2022-04-12 15:21:46 +05:30
Néstor Soriano
29a08dc515
Add changelog file for #32317 .
2022-04-12 11:38:59 +02:00
Néstor Soriano
6155bb4094
Merge pull request #32460 from AlexTech01/patch-2
...
Change is_file_valid_csv to wc_is_file_valid_csv
2022-04-12 11:27:10 +02:00
Ovidiu Liuta
9c65d3bbdc
phpcs fixes
2022-04-12 12:24:12 +03:00
Ovidiu Liuta
4624ab7dde
adding filter comments
2022-04-12 11:33:12 +03:00
Néstor Soriano
e13c30cfc4
Add changelog file for #32460 .
2022-04-12 10:32:56 +02:00
Chi-Hsuan Huang
13720a663e
Fix admin clean command
2022-04-12 15:47:03 +08:00
Ilyas Foo
0b2df9a956
Fix text domain, standardize component conditional, remove unnecessary comment
2022-04-12 10:52:11 +08:00
Jacob Sewell
e1db7ab0f2
Changelog for 32573/32574.
2022-04-11 21:17:59 -05:00
Ilyas Foo
7cca9642f4
Remove enabled section
2022-04-12 10:09:07 +08:00
Jacob Sewell
e83631983a
Add unit tests for new context param in Notes\DataStore::get_notes().
2022-04-11 21:09:04 -05:00
Jacob Sewell
0ae4f8e484
Add context param to Notes\DataStore::get_notes() and associated methods/filters.
2022-04-11 21:08:26 -05:00
Ilyas Foo
e2da686c31
Add eway
2022-04-12 09:49:23 +08:00
Chi-Hsuan Huang
0dcea11bf0
Merge pull request #32531 from Saggre/fix/table-card-docs
...
Fix TableCard component docs
2022-04-12 08:59:43 +08:00
Corey McKrill
ac1ad607b4
Normalize auto-draft as a status in the abstract order class
...
Ensures that an existing order with auto-draft status won't be
interpreted as pending when determining if the status has changed.
This also fixes an unrelated phpcs formatting error in order to pass the
precommit checks.
Fixes #32539
2022-04-11 16:29:43 -07:00
barryhughes
49b3a328ce
PHPCS/formatting fixes; restore inadvertently removed test.
2022-04-11 15:51:55 -07:00
barryhughes
10b8eef1f2
Add changelog.
2022-04-11 15:44:10 -07:00
barryhughes
4729ae1f01
Product downloads → support a concept of active/inactive files.
2022-04-11 14:59:56 -07:00
moon
3c8043885d
Add changelog
2022-04-11 10:33:25 -07:00
Jorge A. Torres
e9e382adf8
Merge pull request #32034 from woocommerce/cot/31766
...
Add migration to move orders from wp_posts to custom tables
2022-04-11 14:30:02 -03:00
moon
2bc077e0c9
Clear the note hook directly
2022-04-11 10:26:55 -07:00
moon
f2159c4bc2
Fix broken tests
2022-04-11 10:26:55 -07:00
moon
75c7359b27
Import missing namespace
2022-04-11 10:26:55 -07:00
moon
27bf0e5c96
Add WCA clean up code to uninstall.php
2022-04-11 10:26:55 -07:00
moon
1ca12a8784
Update delete_obsolete_notes to use $wpdb directly to delete the notes -- note store is not available when the plugin is activated via CLI
2022-04-11 10:26:55 -07:00
moon
ae6a658578
Add replacements for the deprecated actions
2022-04-11 10:26:55 -07:00
moon
2d56be4966
Remove plugin-version test -- we no longer have woocommerce-admin.php
2022-04-11 10:26:55 -07:00
moon
9e90b3be89
Fix styling
2022-04-11 10:26:55 -07:00
moon
5376bd03ce
Add WCA uninstall routines
2022-04-11 10:26:55 -07:00
moon
474cff5db6
Remove unnecessary variable
2022-04-11 10:26:55 -07:00
moon
52de6e872b
Add tests for the install class
2022-04-11 10:26:55 -07:00
moon
5af9e1f066
Fix failing test
2022-04-11 10:26:55 -07:00
moon
03d3ffe1f9
Delete WCA install completely
2022-04-11 10:26:55 -07:00
moon
c17cbb5dbd
Remove WCA Install class references
2022-04-11 10:26:55 -07:00
moon
3c1ce9c613
Make create_tables public -- this is needed from WCA classes
2022-04-11 10:26:55 -07:00
moon
70ff5ad3ae
Move delete_obsolete_notes to the core
2022-04-11 10:26:55 -07:00
moon
0dae9d450e
Move migrate_options to core
2022-04-11 10:26:55 -07:00
moon
9a038a4bd2
Move create_tables to the core
2022-04-11 10:26:55 -07:00
moon
dbe913ea0e
Move create_cron_jobs to the core
2022-04-11 10:26:55 -07:00
moon
05200a99fb
Move $db_updates to the core
2022-04-11 10:26:55 -07:00
moon
f974b15f28
Use the new actions
2022-04-11 10:26:55 -07:00
moon
940fcd3157
Remove unnecessary calls
2022-04-11 10:26:55 -07:00
moon
224985adfb
Update WCA db update logic -- uses the same logic as the core
2022-04-11 10:26:55 -07:00
moon
663aa3cc72
Add is_installing for backward compatibility
2022-04-11 10:26:55 -07:00
moon
f3396df6c0
Add woocommerce_admin_version for backward compatibility
2022-04-11 10:26:55 -07:00
moon
abbe855668
Migrate install method to the core
...
* Moved woocommerce_admin_updated, woocommerce_admin_newly_installed, woocommerce_admin_updated_existing actions to the core -- they are deprecated now
* Added woocommerce_updated, woocommerce_newly_installed, and woocommerce_updated_existing actions
2022-04-11 10:26:55 -07:00
moon
f8944a8f54
Remove install from the WCA install
...
* Moved woocommerce_admin_install_timestamp option and woocommerce_admin_installed action to the core
2022-04-11 10:26:55 -07:00
moon
f4af74aa61
Call maybe_update_db_version from the core install
2022-04-11 10:26:55 -07:00
moon
eabbab9832
Stop calling maybe_update_db_version
2022-04-11 10:26:55 -07:00
moon
60ce353c0d
Call delete_obsolete_notes from the core install
2022-04-11 10:26:55 -07:00
moon
80d5d7fc43
Call create_cron_jobs from the core install. I also renamed create_events to create_cron_jobs to match the function name used in the core
2022-04-11 10:26:55 -07:00
moon
eb5e56e374
Call WCA create_tables from the core install
2022-04-11 10:26:55 -07:00
moon
1a86750d06
Call migrate_options from the core install
2022-04-11 10:26:55 -07:00
moon
f4a191031c
Migrate wpmu_drop_tables logic to core
2022-04-11 10:26:55 -07:00
moon
fc7adc283d
Add changelog
2022-04-11 10:08:14 -07:00
moon
becc53d645
Make sure paymentGatewaySuggestions is defined
2022-04-11 09:55:18 -07:00
Claudio Sanches
03cb8d9d2e
Merge pull request #32537 from woocommerce/fix/ascii-uasort
...
Fix ASCII Sorting in Different Locales
2022-04-11 12:30:41 -03:00
barryhughes
ac446e851f
Satisfy linter action and use trailing comma in multi-line array.
2022-04-11 08:16:21 -07:00
moon
edb8b69dc4
Use wc.tracks.recordEvent if available
2022-04-11 07:35:41 -07:00
moon
869a3baf3c
Remove wcadmin prefix
2022-04-11 07:34:07 -07:00
moon
ff2eb6f98d
Record wcadmin_settings_payments_recommendations_other_options event with available payment methods
2022-04-11 07:34:07 -07:00
moon
4fe8cf2f71
Add id to the link
2022-04-11 07:34:07 -07:00
moon
51782d8228
Remove unused namespace import
2022-04-11 07:34:07 -07:00
moon
06f66ba20c
Removed the filter and moved the link logic due to security reason
2022-04-11 07:34:07 -07:00
moon
08e5883246
Add other payment methods link when the store is in WC Payments eligible country
2022-04-11 07:34:07 -07:00
moon
721ff37095
Support woocommerce_payment_gateways_setting_additional_rows filter to allow adding additional table rows
2022-04-11 07:34:07 -07:00
moon
5b31f5acf4
Do not show payment recommendations if store owner is in a country where WC Payment is supported
2022-04-11 07:34:07 -07:00
Barry Hughes
521ad5f34c
Merge pull request #32027 from woocommerce/update/filter-out-product-variation-line-item-meta
...
Filter out product variation line_item meta
2022-04-11 07:08:46 -07:00
barryhughes
1d0c35d226
Changelog.
2022-04-11 07:00:46 -07:00
barryhughes
0acf54ab25
Reduce risk of prematurely dropping meta box error messages.
2022-04-11 07:00:46 -07:00
RJChow
464bcb7783
Changed unminify plugin to hook into step before optimization
2022-04-11 21:54:48 +08:00
vedanshujain
63ae96a2b6
Add changelog.
2022-04-11 19:21:58 +05:30
vedanshujain
b14b34abf8
Typos and DataBase -> Database.
2022-04-11 19:21:58 +05:30
vedanshujain
891a9439a1
Applied coding standards.
2022-04-11 19:21:58 +05:30
vedanshujain
c06d8dd80a
Applied coding standards.
2022-04-11 19:21:57 +05:30
vedanshujain
909a57e784
Applied coding standards.
2022-04-11 19:21:57 +05:30
vedanshujain
c5df64ca57
Add errors to log.
2022-04-11 19:21:56 +05:30
vedanshujain
bb10c88b8f
Minor fixes in bulk migration logic.
2022-04-11 19:21:56 +05:30
vedanshujain
81f918af87
Force type to try to fix CI.
2022-04-11 19:21:56 +05:30
vedanshujain
b403fa0cf0
Remove incorrectly added file.
2022-04-11 19:21:55 +05:30
vedanshujain
d7434ce3a7
Force type to try to fix CI.
2022-04-11 19:21:55 +05:30
vedanshujain
8e4287d19b
Applied coding standards.
2022-04-11 19:21:55 +05:30
vedanshujain
f8d5746a2d
Applied coding standards
2022-04-11 19:21:54 +05:30
vedanshujain
5b3e9f78d2
Applied coding standards.
2022-04-11 19:21:54 +05:30
vedanshujain
2270bfbe9d
Applied coding standards + minor fixups.
2022-04-11 19:21:53 +05:30
vedanshujain
a220e4f2ea
Change parent class reference to try to fix CI.
2022-04-11 19:21:53 +05:30
vedanshujain
d5b164622f
Applied coding standards.
2022-04-11 19:21:53 +05:30
vedanshujain
02376e6ec5
Add return statement to try to fix CI.
2022-04-11 19:21:52 +05:30
vedanshujain
eff7569dfc
Add unit tests for handling duplicates.
2022-04-11 19:21:52 +05:30
vedanshujain
78e0e6cb78
Refactor migrator config into dedicated files.
2022-04-11 19:21:52 +05:30
vedanshujain
56ee0b2f4a
Add update support along with inser.
2022-04-11 19:21:51 +05:30
vedanshujain
9a178b7704
Add unit test for order data migration.
2022-04-11 19:21:51 +05:30
vedanshujain
3ed9943474
Also add migration config for transaction_id column.
2022-04-11 19:21:50 +05:30
vedanshujain
7186c80c5e
Reuse function instead of hardcoding for consistency.
2022-04-11 19:21:50 +05:30
vedanshujain
a4c83de142
Add dependency injection class.
2022-04-11 19:21:50 +05:30
vedanshujain
2802162be5
Add meta table and typo fix.
2022-04-11 19:21:49 +05:30
vedanshujain
169bd4fd4f
Fix incorrect column mapping bugs.
2022-04-11 19:21:49 +05:30
vedanshujain
ee76fbc17c
Modify to migrate by IDs to reduce responsibilities of generate migrator classes.
2022-04-11 19:21:49 +05:30
vedanshujain
8724429382
Refactor to use new config format.
2022-04-11 19:21:48 +05:30
vedanshujain
7836066008
Refactor config format to be more clear.
2022-04-11 19:21:48 +05:30
vedanshujain
48356c213f
Refactor config format to be more clear.
2022-04-11 19:21:47 +05:30
vedanshujain
5d6eaff099
Applied coding standards.
2022-04-11 19:21:47 +05:30
vedanshujain
7bb25779aa
Add config for migration meta data table as well.
2022-04-11 19:21:47 +05:30
vedanshujain
6b70afc731
Refactor to use migration helper for better re-usability.
2022-04-11 19:21:46 +05:30
vedanshujain
aa00d7af68
Add defination of order meta data table.
...
Made table name methods static so that they can be reused.
2022-04-11 19:21:46 +05:30
vedanshujain
ee834e2cf1
Applied coding standards.
2022-04-11 19:21:46 +05:30
vedanshujain
c44cc40d21
Add utility class for migrating metadata.
2022-04-11 19:21:45 +05:30
vedanshujain
cb280829cc
Add a migration helper class to refactor common utility methods.
2022-04-11 19:21:45 +05:30
vedanshujain
786561d6fd
Add migrations for operational data table.
2022-04-11 19:21:45 +05:30
vedanshujain
6cc34e8616
Add support for migrating shipping addresses.
2022-04-11 19:21:44 +05:30
vedanshujain
32d1162a01
Add migration support for billing address.
2022-04-11 19:21:44 +05:30
vedanshujain
17b1623071
Add support for select clause in column name.
2022-04-11 19:21:43 +05:30
vedanshujain
bdff010018
Add class WPPostToCOTMigrator
2022-04-11 19:21:43 +05:30
vedanshujain
25f39a6e42
Add generic meta to custom table migrator class, to be used in meta to custom table migrations.
2022-04-11 19:21:42 +05:30
vedanshujain
d58bbc112f
Add error logger class for custom table migration.
2022-04-11 19:21:42 +05:30
barryhughes
7065f678b7
Add changelog.
2022-04-11 06:20:09 -07:00
Lourens Schep
8eb03eba46
Remove commented out code
2022-04-11 10:19:30 -03:00
Lourens Schep
5251aa6e97
Fix lint issue
2022-04-11 10:18:17 -03:00
Lourens Schep
c3b1352f90
Make sure activity header does not show when displaying task list with progressive header
2022-04-11 10:18:14 -03:00
barryhughes
263bd5776e
Correct text-domain.
2022-04-11 06:16:52 -07:00
Lourens Schep
10e9c6c5f9
Fix experiment UI issues
2022-04-11 10:16:44 -03:00
louwie17
f6b7ddb0db
Merge pull request #32493 from woocommerce/fix/32140_wcpay_completion_task
...
Track completion of non visible tasks as well
2022-04-11 09:09:38 -03:00
Joshua T Flowers
700633957c
Update progress header bar styles in task list ( #32498 )
...
* Update progress header bar styles in task list
* Remove units on margin
* Add changelog entry
2022-04-11 08:08:28 -04:00
Néstor Soriano
106e2c582c
Merge pull request #32449 from woocommerce/fix/protocol-agnostic-urls
...
Support protocol-less URLs from the URL util.
2022-04-11 12:05:45 +02:00
Ilyas Foo
9906b2126e
Merge remote-tracking branch 'origin/trunk' into dev/32131-ui-changes-additional-payment-section
2022-04-11 16:38:51 +08:00
Néstor Soriano
d56c79605c
Merge pull request #32427 from leskam/patch-2
...
correct form redirect after save account details
2022-04-11 10:26:36 +02:00
Nestor Soriano
21ecb88c4c
Fix PHPCS issues in URLTests.php
2022-04-11 10:22:13 +02:00
Ilyas Foo
812a11e31b
Add changelog
2022-04-11 16:21:48 +08:00
Ilyas Foo
1f77200e70
Add missing track prop
2022-04-11 15:57:26 +08:00
Néstor Soriano
adfdeabc6c
Add a couple of missing spaces (code formatting).
2022-04-11 09:40:48 +02:00
Ilyas Foo
c8b6bd91e0
Update payment gateway logos
2022-04-11 14:24:08 +08:00
Ilyas Foo
90c61e4bad
Revert WCPay suggestion UI changes
2022-04-11 11:55:05 +08:00
Ilyas Foo
829b4c4480
Merge remote-tracking branch 'origin/trunk' into dev/32131-ui-changes-additional-payment-section
2022-04-11 09:42:23 +08:00
Josh Betz
4449a669c8
Add order_item_display_meta description
2022-04-08 15:31:03 -05:00
Fernando Marichal
35a2eb1f9f
Move test to `complete-onboarding-wizard`
2022-04-08 16:10:43 -03:00
barryhughes
6dcb796a89
No changelog required (but let's satisfy the linter).
2022-04-08 11:51:18 -07:00
barryhughes
bc11e57e14
Support protocol-less URLs from the URL util.
2022-04-08 11:35:27 -07:00
Christopher Allford
da5dc21acc
Replaced Accent Removal
...
The current `iconv` based implementation does not
seem to work in all environments. This replaces it
with WordPress' native `remove_accents` function.
2022-04-08 11:32:14 -07:00
Fernando Marichal
ecbd854105
Add changelog
2022-04-08 15:07:37 -03:00
Fernando Marichal
9e905ea713
Add Pinterest logo
2022-04-08 14:03:55 -03:00
Bero
11239494ef
Fix Code sniff errors
2022-04-08 15:07:51 +02:00
Bero
f08edf3f4b
Add changelog
2022-04-08 15:07:47 +02:00
Bero
0ccf740ef6
Remove 'WooCommerce Addons Page' user-agent
2022-04-08 15:07:42 +02:00
louwie17
f7937593e9
Merge pull request #32473 from woocommerce/feature/32164_new_task_list_loading_placeholder
...
New task list loading placeholder for experiment 1
2022-04-08 09:55:45 -03:00
Fernando Marichal
49aff7e3dc
Add changelog
2022-04-08 09:17:49 -03:00
Fernando Marichal
b6611fb7c1
Add e2e tests
2022-04-08 09:12:49 -03:00
Fernando
61e0a51854
Merge pull request #32506 from woocommerce/fix/hidden_wcpay_task
...
WCPayments task is not visible after installing the plugin
2022-04-08 09:05:21 -03:00
Chi-Hsuan Huang
d914efc8ba
Merge pull request #32487 from woocommerce/dev/32417-clean-up-wc-admin-package-json
...
Clean up `woocommerce-admin` package.json
2022-04-08 17:13:03 +08:00
Sakri Koskimies
b6310900de
Fix TableCard component docs
2022-04-08 11:21:53 +03:00
Sakri Koskimies
b2effe67c9
Fix phpdoc return type for WC_Order_Refund::get_reason
2022-04-08 10:48:12 +03:00
Chi-Hsuan Huang
2e09cd824e
Add changelog
2022-04-08 12:48:14 +08:00
Chi-Hsuan Huang
f3e460f055
Remove i18 commands and their dependencies
...
i18 routines have been handled inside plugins/woocommerce.
2022-04-08 12:45:34 +08:00
Chi-Hsuan Huang
870d523455
Reorder woocommerce admin package.json scripts
2022-04-08 12:38:17 +08:00
Chi-Hsuan Huang
a649fe6ae2
Remove no needed commands and fields in package.json
2022-04-08 12:36:26 +08:00
Chi-Hsuan Huang
ba17630dca
Merge pull request #32515 from woocommerce/update/32296-wordpress-dependencies
...
Update @wordpress/* dependencies
2022-04-08 10:08:48 +08:00
Chi-Hsuan Huang
dc243bd34c
Merge pull request #32411 from woocommerce/fix/32399-husky
...
Fix husky git hooks
2022-04-08 10:08:27 +08:00
Joel T
cdc7901982
Adding changelog
2022-04-07 17:52:36 -07:00
Joel T
1c162a14d2
Updating all instances of pnpx to pnpm dlx/exec
2022-04-07 17:52:05 -07:00
Fernando Marichal
63f33b86de
Add free extensions list fallback
2022-04-07 18:07:47 -03:00
Fernando Marichal
3159bde895
Add Pinterest to free extensions list
2022-04-07 18:07:00 -03:00
Joel T
fcf389d921
Adding changelog
2022-04-07 13:08:36 -07:00
Lourens Schep
473d63d043
Remove can_view condition on tracking completion
2022-04-07 16:58:21 -03:00
Christopher Allford
1e3a3d8af5
Merge pull request #32500 from woocommerce/fix/feature-config-file-location
...
Move feature flag config files to Woocommerce plugin
2022-04-07 12:49:03 -07:00
Jorge A. Torres
7710f07e20
Add changelog entry
2022-04-07 11:03:01 -03:00
Jorge A. Torres
aed64b15e4
Fix code style issue.
2022-04-07 11:01:25 -03:00
Jorge A. Torres
3087cae672
Add changelog entry
2022-04-07 11:01:25 -03:00
tjcafferkey
54b9a29db3
Track theme version
2022-04-07 11:01:25 -03:00
tjcafferkey
864f348865
Switch TextDomain for Name when tracking block themes
2022-04-07 11:01:24 -03:00
Tom Cafferkey
ab769ebe2c
Add block theme property to get_theme_info() in class-wc-tracker class
2022-04-07 11:01:24 -03:00
Tom Cafferkey
9108b8dbf8
Update comments
2022-04-07 11:01:24 -03:00
Tom Cafferkey
50b1d60729
Remove woocommerce event prefix because its autoprefixed with wcadmin_
2022-04-07 11:01:24 -03:00
Tom Cafferkey
aff9255061
Update event name and option name
2022-04-07 11:01:24 -03:00
Tom Cafferkey
e5ac9e4ae6
Track initial sites theme
2022-04-07 11:01:24 -03:00
Tom Cafferkey
1c01cc1605
Add tracking for theme activation so that we can track active block themes in WooCommerce
2022-04-07 11:01:24 -03:00
louwie17
e767d9f220
Merge pull request #32496 from woocommerce/fix/wcpay_task
...
Fix WooCommerce Payments task not showing up in some supported countries
2022-04-07 10:54:24 -03:00
Chi-Hsuan Huang
c4033b14de
Remove unnecessary --working-dir arg from woocommerce php lint-staged command
2022-04-07 17:21:37 +08:00
Chi-Hsuan Huang
3fc88f0a71
Update links of woocommerce-admin to https://github.com/woocommerce/woocommerce
2022-04-07 17:02:43 +08:00
Chi-Hsuan Huang
82da8cd196
Merge pull request #32490 from woocommerce/fix/32136-onboarding-product-notice-appeared-too-early
...
Fix continue setup prompt for adding first product appeared too early
2022-04-07 16:01:31 +08:00
Chi-Hsuan Huang
826d9ad59f
Merge pull request #32489 from woocommerce/update/simpliy-init-routine
...
Simplify the WooCommerce Admin init routine
2022-04-07 16:01:16 +08:00
Chi-Hsuan Huang
3443387045
Update @wordpress/icons from ^6.3.0 to ^8.1.0
2022-04-07 14:24:19 +08:00
Chi-Hsuan Huang
317dd7c9e9
Update @wordpress/base-styles from ^3.6.0 to ^4.3.0
2022-04-07 14:21:33 +08:00
Chi-Hsuan Huang
c60db1215e
Update @wordpress/hooks from ^2.12.3 to ^3.5.0
2022-04-07 14:18:13 +08:00
Chi-Hsuan Huang
70359c8d11
Update @wordpress/a11y from ^2.15.3 to ^3.5.0
2022-04-07 14:16:46 +08:00
Chi-Hsuan Huang
e947d9e198
Merge pull request #32488 from woocommerce/fix/32478-create-wc-ext
...
Downgrade `chalk` from 5 to 4
2022-04-07 14:06:10 +08:00
Ilyas Foo
9880718325
Merge remote-tracking branch 'origin/trunk' into dev/32131-ui-changes-additional-payment-section
2022-04-07 11:25:10 +08:00
Chi-Hsuan Huang
ce1bc10ea3
Add changelog
2022-04-07 10:44:04 +08:00
Paul Sealock
4180780cf9
create feature config as part of core build
2022-04-07 11:00:36 +12:00
Paul Sealock
9eff273f01
add appropriate slash
2022-04-07 10:13:01 +12:00
Barry Hughes
3aee92ebec
Merge pull request #32362 from woocommerce/fix/download-shortcode-handling
...
Support shortcode-based downloadable files (as used by S3 Downloads extension)
2022-04-06 14:22:18 -07:00
Joel T
2f53fbca04
Updating deasync package to resolve build issue
2022-04-06 13:50:24 -07:00
Lourens Schep
43d279ec84
Move require_once below use statements
2022-04-06 16:36:39 -03:00
Lourens Schep
30c7586f36
Update comment
2022-04-06 16:12:56 -03:00
Peter Fabian
4128ad6611
Merge pull request #32363 from woocommerce/fix/a8c181-documentation-todo-items
...
Update documentation links.
2022-04-06 20:28:08 +02:00
Fernando Marichal
fd1bca3540
Add changelog
2022-04-06 14:07:55 -03:00
Fernando Marichal
fcc7143207
Add alreadyActivatedExtensions to persisted business extensions
2022-04-06 14:01:36 -03:00
Jorge A. Torres
6fb8afbfdc
Merge pull request #32424 from woocommerce/fix/30102-dirty-pages
...
Don't trigger beforeunload notice inappropriately.
2022-04-06 11:21:30 -03:00
Ilyas Foo
f82b5d78f1
Fix css and test
2022-04-06 21:31:50 +08:00
Lourens Schep
d93731dc57
Fix lint errors
2022-04-06 10:17:24 -03:00
Lourens Schep
1cd3511061
Add changelog
2022-04-06 10:12:01 -03:00
Lourens Schep
4ad2f4ceed
Make use of PaymentGatewaySuggestions logic in WooCommerce Payments task
2022-04-06 10:12:01 -03:00
Lourens Schep
b660f58c1c
Add changelog
2022-04-06 10:10:20 -03:00
Lourens Schep
828e34a974
Address PR feedback and fix PHP unit tests
2022-04-06 10:08:22 -03:00
Lourens Schep
a7ec024471
Remove test condition
2022-04-06 09:46:55 -03:00
Lourens Schep
a13f15624a
Make sure we also track completion of non visible tasks and fix parent id in WooCommercePayments task
2022-04-06 09:46:55 -03:00
louwie17
7d76d4a1a6
Merge pull request #32494 from woocommerce/fix/32154_payment_gateway_spec_warning
...
Fix PHP warning of missing default value in spec
2022-04-06 09:18:22 -03:00
Chi-Hsuan Huang
2b1f54b09d
Set up lint-staged configuration for each package
2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang
01edee8d90
Remove lint-staged.config.js
2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang
14a2f9a8d8
Remove git:update-hooks from woocommerce/project.json
2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang
a4ece1b7b9
Remove husky lint-staged from plugins/*
2022-04-06 17:31:32 +08:00
Chi-Hsuan Huang
ae44908f33
Move .husky to root path
...
Add .husky
2022-04-06 17:31:32 +08:00
Ilyas Foo
ffdf1e6c02
More adjustments
2022-04-06 16:25:33 +08:00
Ilyas Foo
3050cacc39
Minor adjustments
2022-04-06 16:25:33 +08:00
Ilyas Foo
1980fac6fd
Revamp WCPay suggestion in payments task
2022-04-06 16:25:32 +08:00
Ilyas Foo
c596222069
Refactor tests
2022-04-06 16:25:32 +08:00
Ilyas Foo
5ff23bf103
Add tracks and small refactor to toggle
2022-04-06 16:25:32 +08:00
Ilyas Foo
0f554436da
Broke wcpay task to different sections, added toggle component, added other payment methods toggle
2022-04-06 16:25:32 +08:00
Ilyas Foo
a3bd1e5109
Add see more button
2022-04-06 16:25:32 +08:00
Ilyas Foo
fb89df5f2c
Rename set up button to get started
2022-04-06 16:25:32 +08:00
Ilyas Foo
fd4a4a5604
Add is_offline flag and split payment sections
2022-04-06 16:25:31 +08:00
Paul Sealock
a154c26ea4
fix legacy tests path
2022-04-06 16:01:36 +12:00
Paul Sealock
0b2e922338
changelog
2022-04-06 15:48:24 +12:00
Paul Sealock
ab673dd14b
Call Core's script from root level
2022-04-06 15:27:37 +12:00
Paul Sealock
659bf2d43c
add additional script to core
2022-04-06 15:25:18 +12:00
Chi-Hsuan Huang
73ba1fc4b2
Add changelog
2022-04-06 11:06:53 +08:00
Chi-Hsuan Huang
8da48065fd
Remove de-activation logic when the Core version is not met
2022-04-06 10:28:40 +08:00
Chi-Hsuan Huang
0c366289e0
Remove woocommerce-admin.php from tests
2022-04-06 10:27:53 +08:00
Chi-Hsuan Huang
bf91c3cca0
Change mainFile in Gruntfile.js
2022-04-06 10:27:53 +08:00
Chi-Hsuan Huang
9969f60fd3
Remove uninstall.php & woocommerce-admin.php
2022-04-06 10:27:53 +08:00
Paul Sealock
407b225133
Move feature flag config files to Woocommerce plugin to support unit test execution in the wp-env environment.
2022-04-06 14:12:24 +12:00
Barry Hughes
73409592b7
Merge pull request #31185 from sicelo/rename
...
Rename Swaziland to Eswatini
2022-04-05 13:37:54 -07:00
Barry Hughes
dfbc71974b
Merge pull request #32350 from woocommerce/fix/relative-directory-handling
...
Enhance directory traversal handling/resolution.
2022-04-05 11:24:49 -07:00
Jorge A. Torres
394a9fa490
Merge pull request #30320 from erikdemarco/patch-2
...
Add new hooks to order-tracking form
2022-04-05 15:10:39 -03:00
Lourens Schep
c90922d9e4
Fix PHP warning of missing default value in spec
2022-04-05 14:38:17 -03:00
Jorge A. Torres
e72bc47535
Bump ‘form-tracking’ template version
2022-04-05 14:02:40 -03:00
Christopher Allford
5be65f39fd
Merge pull request #32474 from woocommerce/fix/isolate-development-environments
...
Isolate `wp-env` Environments
2022-04-05 09:57:26 -07:00
Jorge A. Torres
680ad9ceb8
Add docblocks to woocommerce_order_tracking_form hooks.
2022-04-05 13:55:25 -03:00
erikdemarco
28a5f7866b
Update form-tracking.php
2022-04-05 11:16:33 -03:00
erikdemarco
be8e0744e5
Add new hook to order-tracking
...
Add additional hook for order tracking, So developer can add additional field for example adding captcha field.
2022-04-05 11:16:33 -03:00
Chi-Hsuan Huang
bab72ea51b
Fix continue setup prompt for adding first product appeared too early
2022-04-05 16:59:25 +08:00
Chi-Hsuan Huang
277b1acdf5
Downgrade chalk to v4
2022-04-05 14:45:13 +08:00
Vedanshu Jain
605fc47389
Merge pull request #32335 from woocommerce/fix/login-on-wc-auth-endpoint-for-sso
...
Changes to class-wc-auth that allows it to work with sso auth - update PR #29977
2022-04-05 11:05:38 +05:30
Christopher Allford
0204010b75
Moved `wp-env` File
...
Rather than having a root `wp-env` environment,
each project should define what it needs. This
prevents problems with shared WordPress installations
and plugin conflicts during development.
2022-04-04 15:18:30 -07:00
Lourens Schep
e4803ef40f
Fix tests
2022-04-04 16:43:15 -03:00
Lourens Schep
217bec8942
Fix lint errors
2022-04-04 15:58:50 -03:00
Lourens Schep
4d6aab73df
Add placeholder for task list experiment one
2022-04-04 15:38:27 -03:00
Lourens Schep
b68a835d3a
Add displayed task lists to admin settings data
2022-04-04 13:07:25 -03:00
Lourens Schep
885516f302
Slight improvements for loading of the task list
2022-04-04 11:54:34 -03:00
AlexTech01
b903b84edb
Change is_file_valid_csv to wc_is_file_valid_csv
...
This pull request replaces the class-specific is_file_valid_csv() function with the global wc_is_file_valid_csv() function as requested by the todo that was previously above the is_file_valid_csv() function on the previous line 89.
2022-04-03 08:54:45 -05:00
RJChow
ce874e6a75
Temporary PHP lint suppression
2022-04-01 17:29:57 +08:00
RJChow
09a0d2568e
Codemod to change php i18n text domain from 'woocommerce-admin' to 'woocommerce' in post-merge WCA folders
2022-04-01 11:41:32 +08:00
RJChow
6e8d620f00
Copied and modified package-update-textdomain.js script for modifying PHP i18n textdomain
2022-04-01 11:41:32 +08:00
RJChow
26ec889111
Manually change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client .md files
2022-04-01 11:41:32 +08:00
RJChow
1ba60ee69d
Codemod to change i18n text domain from 'woocommerce-admin' to 'woocommerce' in WCA Client
2022-04-01 11:41:32 +08:00
Barry Hughes
e32e410f62
Merge pull request #31292 from robertmassaioli/patch-1
...
The woocommerce_webhook_options needs webhook
2022-03-31 14:10:14 -07:00
Fernando
610a48185c
Merge pull request #32408 from woocommerce/fix/32407_move_admin_e2e_tests
...
Add missing Admin e2e tests
2022-03-31 14:37:23 -03:00
Barry Hughes
4646496651
Linting.
2022-03-31 10:19:06 -07:00
louwie17
e59798a336
Merge pull request #32422 from woocommerce/update/woocommerce_admin_build_watch_command
...
Add build-watch command for woocommerce-admin
2022-03-30 19:41:55 -03:00
Barry Hughes
a41bb22c12
Add docblock for revised `woocommerce_webhook_options` hook.
2022-03-30 14:55:30 -07:00
Barry Hughes
9db2c45290
Merge pull request #31798 from Saggre/fix/documentation-typos
...
Fix typos in phpdocs and comments
2022-03-30 14:46:23 -07:00
Kamil
43e36a945d
change `wp_safe_redirect` location from user dashboard to `edit-account` endpoint
2022-03-30 22:04:56 +02:00
barryhughes
98dee7a196
Don't trigger beforeunload notice inappropriately (re embedded WP_List_Tables).
2022-03-30 10:53:20 -07:00
Stanislav Mazur
d0d2963d90
fix internal meta key getter/setter identification
2022-03-30 09:46:46 -07:00
Barry Hughes
69b6a71ab5
Merge pull request #31354 from gs-nasc/trunk
...
Remove zeroclipboard.
See https://developer.woocommerce.com/2022/03/30/removal-of-zeroclipboard/ for details.
2022-03-30 09:44:13 -07:00
Lourens Schep
775e7117a1
Add build-watch to most js packages and remove packages watch from woocommerce-admin command
2022-03-30 11:46:12 -03:00
louwie17
dda45f7823
Merge pull request #32404 from woocommerce/docs/update_testing_docs
...
Update test readme with additional error for troubleshooting
2022-03-30 10:08:23 -03:00
Chi-Hsuan Huang
2a5bc7ea75
Merge pull request #32395 from woocommerce/add/32354-php-lint-action
...
Fix PHP code sniff Github action
2022-03-30 16:48:01 +08:00
Chi-Hsuan Huang
54bfa1e77c
Merge pull request #32378 from woocommerce/remove/32360-unnecessary-wca-files
...
Remove unnecessary wooCommerce admin files
2022-03-30 14:26:10 +08:00
Moon
9e1d11abdf
Merge pull request #32409 from woocommerce/fix/code-coverage
...
Fix broken code coverage
2022-03-29 22:14:04 -07:00
Chi-Hsuan Huang
d04ace17e8
Fix woocommerce tests/bin/phpcs.sh
...
Fix tests/bin/phpcs.sh
2022-03-30 11:45:31 +08:00
moon
150142c139
Remove duplicated call
2022-03-29 20:29:19 -07:00
moon
8632950ab8
Fix typo
2022-03-29 20:28:36 -07:00
rodelgc
b30179f8d2
Added: Command to generate HTML report
2022-03-30 10:57:11 +08:00
Chi-Hsuan Huang
0be52342b7
Merge pull request #32372 from woocommerce/add/test-lint-js-action
...
Add lint-test JS Github action
2022-03-30 10:23:50 +08:00
moon
11515797a4
Add return type to make tearDownAfterClass compatible with the parent
2022-03-29 17:10:40 -07:00
moon
93bd09ea2d
Merge branch 'fix/code-coverage' of github.com:woocommerce/woocommerce into fix/code-coverage
2022-03-29 17:06:40 -07:00
moon
fffbf56c1c
Call parent tearDownAfterClass
2022-03-29 17:06:32 -07:00
Moon
01a77550d3
Merge branch 'trunk' into fix/code-coverage
2022-03-29 17:03:11 -07:00
moon
21498bd712
Exclude WC_Admin_Tests_Reports_Orders_Stats from code coverage
2022-03-29 16:58:46 -07:00
moon
a99c093a69
Remove unnecessary call to regenerate
2022-03-29 16:44:14 -07:00
moon
6f1502d20b
Delete wc_installing transient before running tests -- this prevents CategoryLookup::on_create() from running
2022-03-29 15:46:43 -07:00
Fernando Marichal
89f6032cba
Add missing e2e tests
...
This commit adds the tests: `testDifferentStoreCurrenciesWCPay`, `testSubscriptionsInclusion` and `testBusinessDetailsForm`
2022-03-29 19:16:03 -03:00
barryhughes
e1a943cdb3
Add shortcode resolution to sync (approved download directories).
2022-03-29 14:13:21 -07:00
barryhughes
cdbbca5b1b
Support shortcode-based downloadable files (as used by S3 Downloads extension).
2022-03-29 14:13:21 -07:00
barryhughes
b46f28f4e2
Improve path resolution, add additional tests, clean-up tests (use data-providers).
2022-03-29 14:09:53 -07:00
Moon
c13d126f11
Merge pull request #32390 from woocommerce/update/32177-deprecate-wc-admin-version-number
...
Deprecate WC_ADMIN_VERSION_NUMBER constant
2022-03-29 13:59:04 -07:00
moon
657819b48f
Clean up attributes after the class
2022-03-29 13:31:11 -07:00
Fernando Marichal
0368fd8b43
Move `admin-homescreen`
2022-03-29 14:58:04 -03:00
barryhughes
a41ae705dd
Rename the is_directory property to give a better sense of its role.
2022-03-29 10:18:31 -07:00
barryhughes
80397d4f73
Improve test description.
2022-03-29 10:18:31 -07:00
barryhughes
114480c23c
Tweak commentary.
2022-03-29 10:18:31 -07:00
barryhughes
1aecb64be5
Cover further scenarios relating to relative URLs and traversals.
2022-03-29 10:18:31 -07:00
barryhughes
cee42b7264
Enhance directory traversal handling/resolution.
2022-03-29 10:18:31 -07:00
Lourens Schep
3014f0f9f0
Update test readme with additional error for troubleshooting
2022-03-29 13:09:23 -03:00
Barry Hughes
a98aa9c910
Merge pull request #32112 from woocommerce/bump-required-php-to-7.2
...
Bump WooCommerce minimum required PHP version to 7.2
2022-03-29 09:03:42 -07:00
Fernando
bd0397285b
Merge pull request #32331 from woocommerce/update/32157_disable_welcome_modals
...
Experiment: disable welcome modal
2022-03-29 11:46:24 -03:00
Nestor Soriano
be213eb821
Add return type setUp and tearDown methods in admin unit tests
...
After the bump to PHP 7.2 all the setUp and tearDown methods
in unit test classes need to have an explicit "void" return type
declaration. This commit adds those for the woocommerce-admin tests.
2022-03-29 12:08:08 +02:00
Chi-Hsuan Huang
4b21e1d913
Remove .vscode since it has been removed to root
2022-03-29 17:48:25 +08:00
Chi-Hsuan Huang
ed8c114bdd
Add back woocommerce-admin.php uninstall.php
2022-03-29 17:47:18 +08:00
Chi-Hsuan Huang
4c976ebd17
Remove unnecessary wooCommerce admin files
...
Add back languages/README.md
2022-03-29 17:47:18 +08:00
Chi-Hsuan Huang
386d173105
Update storybook webpack config to build stories
2022-03-29 16:46:40 +08:00
Chi-Hsuan Huang
0cc5c6d515
Add expose-loader for storybook webpack config
2022-03-29 16:46:40 +08:00
Chi-Hsuan Huang
b658920898
Fix storybook packages paths
2022-03-29 16:45:39 +08:00
Nestor Soriano
25bf59d5e7
Merge branch 'trunk' into bump-required-php-to-7.2
2022-03-29 10:45:07 +02:00
Chi-Hsuan Huang
71350b4e8b
Change script lint:js:packages to lint:js-packages
2022-03-29 16:38:26 +08:00
Chi-Hsuan Huang
ecff6cd680
Remove lint-test-js.yml
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang
f2a6f93684
Update wca test command and ignore api-core-test
...
Update test:packages cmd
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang
4baad1a6e3
Add pr-lint-test-js.yml and remove package-js-api.yml, js_lint_test.sh
2022-03-29 16:38:06 +08:00
Nestor Soriano
6befc1d62a
Small changes related to the bump of min PHP to 7.2
...
- Rename wrongly cased variable
- Require higher version of maxmind/dbreader
2022-03-29 10:29:15 +02:00
RJChow
e9eac24793
tsconfig modifications
...
- moved and updated .vscode/tasks.json up to root level, and add exclusion to .gitignore
- added --pretty to ts:check in wca package.json (because otherwise there's no syntax highlighting in the output, not sure why this is needed with nx and not without)
- added references to root tsconfig.base.json
- update development.md with instructions for ts checking
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang
99e6f61dc8
Update woocommerce-admin/.eslintrc.js
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang
df5b506b97
Add lint command to js packages
...
Update lint js commands
Update customer-effort-score/package.json
2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang
8b2a97d405
Add lint cmd to project.json
2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang
4592d49cfb
Fix tsconfig path
2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang
b9eeb4991e
Fix reminder-bar.scss lint error
2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang
3e8c3be69d
Ignore core js packages from woo admin's eslint
2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang
2c5c7549b5
Fix client lint errors
2022-03-29 16:06:33 +08:00
Chi-Hsuan Huang
4ca1ae0032
Fix paths in tsconfig
2022-03-29 16:06:32 +08:00
Christopher Allford
bc12f7a263
Merge pull request #32334 from woocommerce/update/woocommerce-blocks-7.2.1
...
This pull updates the WooCommerce Blocks plugin to 7.2.1. It is intended to target WooCommerce 6.4 for release. This supercedes https://github.com/woocommerce/woocommerce/pull/32075 .
2022-03-28 19:42:45 -07:00
moon
f2b03feb24
Update version
2022-03-28 18:14:26 -07:00
moon
d915587f5d
Update version
2022-03-28 17:55:07 -07:00
moon
cda288d327
Update VERSION constant
2022-03-28 17:37:35 -07:00
moon
707b0bd74d
Fix typo
2022-03-28 14:01:21 -07:00
moon
4a52285930
Deprecate WC_ADMIN_VERSION_NUMBER constant
2022-03-28 13:55:51 -07:00
Christopher Allford
14e852b4b2
Merge WooCommerce Admin Unit Tests ( #32287 )
...
This folds the unit tests from WooCommerce Admin into the core test suite, enabling them to run.
2022-03-28 12:53:33 -07:00
Barry Hughes
e12d82ae46
Merge pull request #32376 from woocommerce/remove-php-72-version-bump-notice
...
Remove the admin notice about the upcoming PHP 7.2 requirement
2022-03-28 06:26:18 -07:00
louwie17
2215c9ab3e
Merge pull request #32347 from woocommerce/add-dev-scripts
...
Add build-watch command for woocommerce-admin
2022-03-28 08:55:57 -03:00
Nestor Soriano
c8280c0aee
Remove the admin notice about the upcoming PHP 7.2 requirement
2022-03-28 10:45:08 +02:00
Lourens Schep
8508a46f31
Update watch command so there are no conflicts between build commands
2022-03-25 10:04:02 -03:00
barryhughes
f0c18b6683
Update documentation links.
2022-03-25 06:00:03 -07:00
Chi-Hsuan Huang
b43d66f862
Merge pull request #32356 from woocommerce/remove/32352-admin-github-files
...
Remove unnecessary admin `.github` files
2022-03-25 18:24:55 +08:00
Nestor Soriano
d7ee2914b7
Add visibility modifiers to constants in src
...
PHP 7.2 allows visibility modifiers in constants, so let's add these
to the code in the src directory.
The src/Admin and src/Internal/Admin directories are skipped as
they contain a lot of code and they deserve a separate project.
2022-03-25 11:00:17 +01:00
Chi-Hsuan Huang
554fc86441
Merge pull request #32322 from woocommerce/fix/lint_js-fix
...
Fix paths and argument forwarding for `script lint:js-fix`
2022-03-25 15:01:10 +08:00
Chi-Hsuan Huang
73cb00907b
Remove unnecessary admin .github files
2022-03-25 14:26:37 +08:00
Chi-Hsuan Huang
1295c5052d
Merge pull request #32343 from woocommerce/update/admin-node-version
...
Update woocommerce admin node version to v16
2022-03-25 13:31:38 +08:00
louwie17
80ec23c425
Merge pull request #32298 from woocommerce/feature/32163_new_task_list_header
...
Add task list progress header
2022-03-24 16:32:46 -03:00
Lourens Schep
3ebf785665
Fix progress title logic
2022-03-24 15:25:07 -03:00
Lourens Schep
3ced44cc40
Fix task navigation that contains actionUrl
2022-03-24 15:25:07 -03:00
Lourens Schep
c934c62351
Address PR feedback and fix some minor issues
2022-03-24 15:25:06 -03:00
Lourens Schep
569e27bf02
Add changelog
2022-03-24 15:25:06 -03:00
Lourens Schep
c281ddb820
Add progress header bar to task list experiment
2022-03-24 15:25:06 -03:00
Lourens Schep
9a6c077b69
Add build-watch command for woocommerce-admin
2022-03-24 15:09:15 -03:00
Lourens Schep
4a76505fdf
Add comment for woocommerce-reset plugin addition
2022-03-24 14:11:18 -03:00
Lourens Schep
20c0c85f9c
Fix admin-e2e-test dependency and add new purchase task E2E test, also added the WooCommerce reset plugin
2022-03-24 14:08:03 -03:00
Barry Hughes
9056be919d
Merge pull request #32332 from woocommerce/fix/32329
...
Don't change quotes when replacing text domain.
2022-03-24 09:23:54 -07:00
Nestor Soriano
913c6bddb2
Add more "#[\ReturnTypeWillChange]" attributes.
...
These are needed for the code to be compatible with both PHP 7.x and 8.x
2022-03-24 14:08:18 +01:00
Nestor Soriano
fbc77160db
Use CssInliner class instead of Emogrifier class
...
With the upgrade of the Emogrifier package we can't use the Emogrifier
class, since it was removed in v4 (we need to use at least v5 for
compatibility with PHP 8); so we now use the CssInliner class.
Note that this is a potential breaking change for consumers of the
woocommerce_emogrifier hook, which was getting an Emogrifier object
as parameter (now it gets a CssInliner object, which is partially
compatible).
2022-03-24 14:08:18 +01:00
Nestor Soriano
0f2b717462
Fix calls to deprecated PHPUnit methods in unit tests.
...
Fix tests where PHPUnit 8 would throw "this method is deprecated
and will be removed in PHPUnit 9, use this other one instead"
warnings, by replacing all those with the proper ones. This will help
once we are able to use PHP 8 (once WP requirement is bumped to 5.9)
2022-03-24 14:08:18 +01:00
Nestor Soriano
5837a53821
Add .phpunit.result.cache to .gitignore
...
This file is created by PHPUnit v8 when tests run.
2022-03-24 14:08:18 +01:00
Nestor Soriano
01073ec24f
Add return type setUp and tearDown methods in unit tests
...
After the bump to PHP 7.2 all the setUp and tearDown methods
in unit test classes need to have an explicit "void" return type
declaration.
2022-03-24 14:08:17 +01:00
Nestor Soriano
819494f2ed
Bump WooCommerce minimum required PHP version to 7.2
...
This includes:
- Changing "Requires PHP" in woocommerce.php
- Changing "require-php" and "config-platform-php" in composer.json
- Bumping pelago/emogrifier to ^6.0 in composer.json
- Bumping maxmind-db/reader to ^1.6 in composer.json
- Bumping composer/installers to ^1.9 in composer.json
(bump to 2.0 not possible due to conflict with Admin package)
- Removing jobs for 7.0/.1 unit test runs in CI
- Explicitly specifying the PHPUnit version to be 7.5,
otherwise it will install v8 which isn't compatible with
WordPress <5.9
2022-03-24 14:08:11 +01:00
Peter Fabian
8cd3a86aaa
Merge pull request #31539 from nagpai/fix/30209
...
Fix columns in checkout page for TwentyTwenty theme
2022-03-24 10:57:22 +01:00
Chi-Hsuan Huang
096759862f
Update woo admin node version to ^16
2022-03-24 16:33:53 +08:00
louwie17
eb081aa9fa
Merge pull request #32320 from woocommerce/add/32161_reminder_bar
...
Add reminder bar for task list experiment
2022-03-23 17:12:05 -03:00
Lourens Schep
44d9824d47
Fix error when tasks are not defined yet
2022-03-23 14:05:25 -03:00
Lourens Schep
371ce71173
Update completed tasks variable
2022-03-23 13:57:48 -03:00
Josh Betz
939d429389
Simplify product variation filtering
...
Fixes an issue where we were conditionally mutating the meta key and value. This was originally copy/pasted from somewhere else. In this context, we don't need all of these values, so the simpler approach is good.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-03-23 11:09:50 -05:00
Josh Betz
8446625b0d
Merge pull request #32073 from woocommerce/reviews-api/add-product-info
...
Added product name + permalink to the GET Reviews API endpoint response
2022-03-23 11:06:22 -05:00
Peter Fabian
f2b534c687
WC Admin is no longer a package
2022-03-23 15:45:21 +01:00
Seghir Nadir
180178044a
Update WooCommerce Blocks package to 7.2.1
...
This pull updates the WooCommerce Blocks plugin to 7.2.1. It is intended to target WooCommerce 6.4 for release. This supercedes https://github.com/woocommerce/woocommerce/pull/32075 .
Details from all the different releases included in this pull:
## Blocks 7.2.1
[Release PR](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6072 )
[Testing Instruction](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/docs/testing/releases/721.md )
### Changelog entry
#### The following changelog entries are only those that impact existing blocks and functionality surfaced to users:
#### Bug fixes
- Don't trigger class deprecations notices if headers are already sent [#6074 ](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6074 )
### Changelog entry
> Dev - Update WooCommerce Blocks version to 7.2.1
2022-03-23 15:02:45 +01:00
Rodrigue Tusse
e7f822e8eb
Changes to class-wc-auth that allows it to work with sso auth
2022-03-23 15:51:42 +02:00
Peter Fabian
d7642c7ae7
Don't change quotes when replacing text domain.
2022-03-23 13:50:37 +01:00
Fernando Marichal
f276434ea4
Disable welcome modals
2022-03-23 09:11:34 -03:00
anitaamurthy
7603a2c02b
Fixed spacing issue
2022-03-23 17:11:09 +05:30
Chi-Hsuan Huang
e3d035a624
Merge pull request #32291 from woocommerce/add/32138-ability-for-code-based-notes-to-update
...
Add ability for code-based notes to update
2022-03-23 17:08:15 +08:00
RJ
04d94d0430
Merge pull request #32327 from woocommerce/dev/publish-wca-packages
...
Corrected path for publishing commands
2022-03-23 16:07:19 +08:00
rjchow
2d8214af2e
Corrected path for publishing commands
...
- typo in the path in previous commit
2022-03-23 13:30:11 +08:00
Chi-Hsuan Huang
9d7879b254
Merge pull request #32290 from woocommerce/add/primary-arg-back-to-add-action
...
Add `$primary` param back to add_action method
2022-03-23 11:22:52 +08:00
RJ
fc163b6dc9
Merge pull request #32313 from woocommerce/dev/publish-wca-packages
...
Bump WCA JS packages version numbers in package.json and changelogs
2022-03-23 11:18:04 +08:00
Tomek Wytrębowicz
a67188b52e
Fix argument forwarding for npm script lint:js-fix.
...
Redo 7d1a6661f9
.
2022-03-22 16:36:17 +01:00
Tomek Wytrębowicz
4714289838
Fix `packages/` path for npm script `lint:js`.
2022-03-22 16:35:12 +01:00
Lourens Schep
fdbc2190c0
Update changelog
2022-03-22 12:32:32 -03:00
Lourens Schep
25d6b6d528
Add reminder bar for task list experiment
2022-03-22 12:28:58 -03:00
Ovidiu Liuta
9d9b7464d7
Update class-wc-download-handler.php
2022-03-22 14:46:14 +02:00
Ovidiu Liuta
4c97d8e757
Update class-wc-download-handler.php
2022-03-22 14:45:42 +02:00
Ovidiu Liuta
867f26da8b
woocommerce_download_parse_remote_file_path filter
2022-03-22 14:42:08 +02:00
Ovidiu Liuta
17b18ac68f
adding woocommerce_download_parse_file_path filter
2022-03-22 14:26:41 +02:00
louwie17
b27618e51d
Merge pull request #32304 from woocommerce/fix/add_feature_config_to_gitignore
...
Remove feature config from repo and add it to the gitignore
2022-03-22 08:56:38 -03:00
Chi-Hsuan Huang
c9e9465802
Update indent
2022-03-22 16:13:22 +08:00
Chi-Hsuan Huang
b7cee3e867
Add tests for update_note_field_if_changed method
2022-03-22 16:09:01 +08:00
rjchow
3c0cc02104
Updated WCA package publishing commands
...
- Updated path for packages
2022-03-22 16:07:36 +08:00
Chi-Hsuan Huang
5b294e4c11
Use in_array to check need_save logic
2022-03-22 15:29:30 +08:00
Chi-Hsuan Huang
da241f6c70
Merge pull request #32293 from woocommerce/fix/admin-js-tests
...
Fix WooCommerce Admin JS unit tests
2022-03-22 14:11:08 +08:00
Chi-Hsuan Huang
1fcdc5b6a2
Update wc admin test command
2022-03-22 11:24:59 +08:00
Chi-Hsuan Huang
3dc5f95254
Update test mocks
...
Fix lint
2022-03-22 11:24:58 +08:00
Lourens Schep
f82d3b7301
Remove feature config from repo and add it to the gitignore
2022-03-21 14:49:44 -03:00
barryhughes
cadb25d1cf
Amend `generate_generate_<CUSTOM>_html` hook docs.
2022-03-21 10:02:00 -07:00
Luigi Pulcini
fc59fa5d5b
converted action into filter
2022-03-21 09:47:52 -07:00
LuigiPulcini
6f5a8f4394
Add action hook to generate a custom field type
...
Adding a `woocommerce_generate_{$type}_html` action hook allows to generate the HTML output of a custom field type for those classes extending the `WC_Settings_API` (e.g. `WC_Email`).
2022-03-21 09:47:52 -07:00
Chi-Hsuan Huang
8ce25e6b1b
Change @wordpress/data from devDependencies to peerDependencies
...
When @wordpress/data is included in devDependencies, all tests mocked @wordpress/data fails
2022-03-21 18:28:56 +08:00
Chi-Hsuan Huang
24595bd2cb
Fix jest config paths
2022-03-21 18:28:05 +08:00
Chi-Hsuan Huang
ffef8df540
Update possibly_update_note() to update other attributes
2022-03-21 12:03:29 +08:00
Chi-Hsuan Huang
58422dd008
Add $primary param back to add_action method
...
See https://github.com/woocommerce/woocommerce-admin/pull/8474/files#r829672400
2022-03-21 11:33:50 +08:00
Christopher Allford
fdf88c0d94
Updated Core Build Script
...
Since the smoke and E2E tests don't use `nx` commands to build, we need to make sure
that the command they run builds our dependencies. In the future we should change
all of the scripts and Nx executors to make this all simpler.
2022-03-19 11:42:55 -07:00
Christopher Allford
d928a5e1a6
Added missing namespace import
2022-03-18 16:23:00 -07:00
Christopher Allford
0e4b42b732
Remove WCA package existence check
2022-03-18 16:00:56 -07:00
Christopher Allford
3feab4a747
Fixed Deprecated Notes Inclusion
2022-03-18 15:51:55 -07:00
Christopher Allford
6acfa7a037
Added React Client as Implicit Dependency
...
This makes sure that building WooCommerce builds the
react admin as well.
2022-03-18 15:46:48 -07:00
Christopher Allford
839b6ffbc6
Moved WooCommerce Admin Images
...
This commit moves the images from `plugins/woocommerce-admin/images`
to their new home in `plugins/woocommerce/assets/images`
2022-03-18 15:44:40 -07:00
Christopher Allford
c4628b966b
Removed WooCommerce Admin Package
...
This commit removes the WooCommerce Admin package from Core. The
result of this change is that the code for WooCommerce Admin will come
from the included content, rather than the previous package.
2022-03-18 15:30:00 -07:00
Christopher Allford
80c3858aa6
Removed WooCommerce Admin SSR Version
...
Since there's no such thing as WooCommerce Admin anymore,
we can remove it from the SSR.
2022-03-18 15:28:44 -07:00
Christopher Allford
3dd60322d5
Migrated WooCommerce Admin PHP Code
...
This commit moves all of the PHP code from `plugins/woocommerce-admin`
to its new home in `plugins/woocommerce`.
- `plugins/woocommerce-admin/src` -> `plugins/woocommerce/src/Admin`
- `plugins/woocommerce-admin/src-internal` -> `plugins/woocommerce/src/Internal`
- `plugins/woocommerce-admin/includes` -> `plugins/woocommerce/includes/react-admin`
2022-03-18 15:23:33 -07:00
Christopher Allford
93e44b3628
Updated React Admin Build Output
...
This changes the output of the React-based
admin client from WooCommerce Admin to
an appropriate location in the core plugin.
2022-03-18 14:53:25 -07:00
Christopher Allford
d2d8d78be1
Moved WCA Packages
...
This commit moves all of the packages in
`plugins/woocommerce-admin/packages` to their
new home in `packages/js`.
2022-03-18 14:25:26 -07:00
Christopher Allford
efb270ef27
Remove Husky from WooCommerce Admin
2022-03-18 14:07:30 -07:00
Christopher Allford
dbf004023e
Fixed PNPM Lockfile
2022-03-18 14:04:13 -07:00
Christopher Allford
3077c3752b
Merge remote-tracking branch 'woocommerce/woocommerce-admin/main' into merge/woocommerce-admin
2022-03-18 13:56:18 -07:00
Christopher Allford
da6ad73d18
Add workflow to block merges to main
...
With the migration of the feature plugin into the `woocommerce/woocommerce` repository, we're going to use this workflow to block content from being merged into `main`.
2022-03-18 13:13:49 -07:00
louwie17
4bff4d1302
Fix php notice when selecting paid theme ( https://github.com/woocommerce/woocommerce-admin/pull/8493 )
...
* Add initial E2E tests for purchase task
* Update paid theme logic to remove PHP warning and keep the correct price
* Fix php unit tests
* Address some PR feedback
* Add changelog
* Include the purchase task e2e test
* Disable test
* Delete purchase E2E test file
2022-03-18 16:05:38 -03:00
Viktor Szépe
c45cb7a398
Merge remote-tracking branch 'wc/trunk' into patch-6
2022-03-18 17:42:35 +00:00
Christopher Allford
d67041f0a7
Updated Composer to v2
2022-03-18 09:56:28 -07:00
Christopher Allford
efbc635e32
Added Beta Tester Plugin To Nx
...
This commit adds the project file and makes the
necessary changes to the workspace to support
the new plugin.
2022-03-18 09:46:10 -07:00
Christopher Allford
7be60a5b52
Merge remote-tracking branch 'woocommerce/woocommerce-beta-tester/trunk' into merge/woocommerce-beta-tester
2022-03-18 09:42:18 -07:00
Chi-Hsuan Huang
c05605fddf
Update linting, testing, `@types/*` dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/8475 )
...
* Update husky from 4 to 7
* Update @types/jest from 26 to 27
* Update lint-staged from 10 to 12
* Update babel-jest from 26 to 27
* Update @typescript-eslint/eslint-plugin from 4 to 5
* Update @typescript-eslint/parser from 4 to 5
* Update chalk from 4 to 5
* Update concurrently from 5 to 7
* Update stylelint from 9 to 14 and stylelint-config-wordpress from 13 to 17
* Update @wordpress/prettier-config from 0.4 to 1.1
* Update eslint from 7 to 8, @wordpress/eslint-plugin from 8 to 10, eslint-plugin-testing-library to 5
* Fix lint errors after updating eslint-plugin-testing-library
* Fix style lint
* Rename .stylelintrc.json -> stylelint.config.js & add todo comment
Fix stylelint.config.js
* Remove @wordpress/e2e-test-utils
* Add changelogs for eslint-plugin
* Update storybook/preview.js since addDecorator has been deprecated
Remove parameters
* Import directly from @storybook/addon-docs
* Migrate some stories to use @storybook/addon-controls
Add a comment for @storybook/addon-knobs
* Update changelogs
* Update preview.js to fix lint warning
* Update pnpm-lock.yaml
* Fix eslint layout errors (https://github.com/woocommerce/woocommerce-admin/pull/8484 )
2022-03-18 19:45:14 +08:00
RJ
d9714b55c3
Update webpack 4 to webpack 5 ( https://github.com/woocommerce/woocommerce-admin/pull/8476 )
...
* updated webpack to 5
* fix dependency extraction config
* port unminify.js to webpack 5
* updated packages webpack version
* changelogs
* Updated @wordpress/custom-templated-path-webpack-plugin
- also removed Terser from package.json
* Upgraded storybook config to webpack 5
2022-03-18 18:59:05 +08:00
Chi-Hsuan Huang
8277860a19
Fix wc-admin-php-test-suite Dockerfile ( https://github.com/woocommerce/woocommerce-admin/pull/8492 )
2022-03-18 18:48:44 +08:00
Peter Fabian
9ffaf34c23
Merge pull request #31609 from woocommerce/update/product-block-templates-meta-box
...
Allow relevant block templates to be listed in the Edit Product view
2022-03-18 11:13:11 +01:00
Peter Fabian
59b941b239
Added approval feature for downloadable files
2022-03-18 10:26:32 +01:00
Peter Fabian
6e9ed9a83a
Cast limit to int in all branches.
2022-03-18 10:10:08 +01:00
Peter Fabian
c4b965e543
Fix error messages for order endpoints.
2022-03-18 10:04:09 +01:00
Chi-Hsuan Huang
89e7d145f4
Fix `next_week_start` logic ( https://github.com/woocommerce/woocommerce-admin/pull/8468 )
...
* Fix next_week_start logic
* Add changelog
* Update function docs for definitions of week end and week start
2022-03-18 12:18:16 +08:00
Moon
a7645fa07d
Allow CLI environments to run the install routines ( https://github.com/woocommerce/woocommerce-admin/pull/8488 )
2022-03-17 20:17:25 -07:00
Chi-Hsuan Huang
4de940111c
Remove `is_primary` column from the `wp_wc_admin_notes` table ( https://github.com/woocommerce/woocommerce-admin/pull/8474 )
...
* Remove is_primary column from the wc_admin_notes table
* Add changelog
2022-03-18 09:17:35 +08:00
Chi-Hsuan Huang
0a75b1b657
Refactor the `onFilterChange` method in the `AdvancedFilters` component ( https://github.com/woocommerce/woocommerce-admin/pull/8459 )
...
* Refactor the onFilterChange method in the AdvancedFilters component to use object params
* Fix advanced-filters/stories currency undefined error
* Add changelog
* Update changelog
2022-03-18 09:16:32 +08:00
Barry Hughes
d2966e0fca
Merge pull request #32081 from johnregan3/31824-add-order-id-to-error
...
Include order ID in the error log message
2022-03-17 15:12:16 -07:00
Christopher Allford
b63091bee0
Merge pull request #32075 from woocommerce/update/woocommerce-blocks-7.2.0
...
Update WooCommerce Blocks package to 7.2.0
2022-03-17 15:11:53 -07:00
Joshua T Flowers
611903ef5d
Separate onboarding concerns into separate classes ( https://github.com/woocommerce/woocommerce-admin/pull/8280 )
...
* Separate onboarding concerns into separate classes
* Fix up onboarding product types
* Fix up references to profile data option
* Fix up call to allowed themes
* Move onboarding features to internal namespace
* Remove old onboarding redirect
* Fix failing tests
* Add changelog entry
* Move inernal classes to the new src-internal folder
* Fix lint error
* Add deprecated class for Onboarding
* Add empty construct method
* Remove some of the unnecessary static functions and make sure OnboardingTasks still gets initialized
* Fix missed changes during rebase
* Fix tests
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2022-03-17 17:10:43 -03:00
Josh Betz
31bcda40b2
Check $product is set
...
This variable is set conditionally, so we need to explicitly check if it
is set rather than just checking if it's truthy.
2022-03-17 14:49:41 -05:00
Josh Betz
f61503f82c
Merge branch 'trunk' into update/filter-out-product-variation-line-item-meta
2022-03-17 14:25:51 -05:00
Josh Betz
bb9feb7d68
Add `order_item_display_meta` query parameter
...
By default we will show all meta for order items to maintain backwards
compatibility. When this new parameter is set, we will filter out
variation meta just as core does on the web.
2022-03-17 14:20:17 -05:00