Commit Graph

7413 Commits

Author SHA1 Message Date
Chi-Hsuan Huang de5bf080e1 Add changelogs 2022-04-20 16:12:15 +08:00
Chi-Hsuan Huang eb90be2050 Fix two-column-tasks type errors 2022-04-20 16:12:12 +08:00
Ilyas Foo 62de7bae9c
Merge pull request #32662 from woocommerce/update/refactor-and-improve-tests-payments-task
Refactor and improve tests payments task
2022-04-20 10:38:28 +08:00
Chi-Hsuan Huang 42c578ed22
Merge branch 'trunk' into fix/admin-payment-type 2022-04-20 10:07:53 +08:00
Paul Sealock a2312bc547 Revert "move changelog.txt"
This reverts commit c458b13fde.
2022-04-20 12:40:25 +12:00
Paul Sealock c458b13fde move changelog.txt 2022-04-20 12:14:11 +12:00
Claudio Sanches a4fc48e110
Merge pull request #32651 from woocommerce/update/add-6.4.1-content
Updated `trunk` With WooCommerce 6.4.1 Content
2022-04-19 21:08:06 -03:00
Paul Sealock 79c17ad3cc changelog 2022-04-20 11:40:28 +12:00
Paul Sealock 01ed9e2c9b Make core build scripts more intuitive. 'build' only builds and 'build:zip' builds and creates a zip. This now makes 'build:core' redundant. 2022-04-20 08:26:04 +12:00
moon efb0285502 Add changelog 2022-04-19 10:54:39 -07:00
moon 08d3dc1a52 Fix type errors 2022-04-19 10:45:10 -07:00
barryhughes 42d369ecde Add pre-req checks to tests suite installation script. 2022-04-19 10:38:57 -07:00
Josh Betz 8e131e91f7 Add dropins to WC Tracker data
Knowing which dropins are active will give us some idea about the
capabilities of the hosting environment, like whether they have
an external object cache, load balanced databases (like HyperDB),
or multisite.
2022-04-19 12:25:42 -05:00
Moon e6503e60cb
Merge pull request #32678 from woocommerce/fix/wp-admin-scripts-type
Fix typescript type errors in react admin `./client/wp-admin-scripts`
2022-04-19 09:08:11 -07:00
Jorge A. Torres 41ae67f7b9 Add changelog 2022-04-19 11:23:12 -03:00
Jorge A. Torres fd57c5409a Prevent possible fatal error during install 2022-04-19 11:22:04 -03:00
Ilyas Foo e8d4591c24 Add changelog 2022-04-19 18:08:12 +08:00
Chi-Hsuan Huang 7514c2edce Fix error type 2022-04-19 17:07:55 +08:00
Chi-Hsuan Huang 98e3dd2192 Add changelogs 2022-04-19 16:41:03 +08:00
Chi-Hsuan Huang f861dc4602 Fix woo admin payments & payment-weclome types 2022-04-19 16:31:15 +08:00
moon 32db78a76f Remove PluginsStoreActions 2022-04-18 21:59:04 -07:00
Chi-Hsuan Huang 85324ea2cf
Merge pull request #32615 from woocommerce/update/admin-tsconfig-config
Update TS config to have an isolated TS environment for woo admin
2022-04-19 11:31:49 +08:00
Barry Hughes 463c985b6e
Merge pull request #32049 from froger-me/trunk
Fix issue #31477
2022-04-18 12:18:31 -07:00
Fernando Marichal 7d15dbc01b Add changelog 2022-04-18 15:09:24 -03:00
moon 4bd3764299 Add changelog 2022-04-18 10:47:32 -07:00
moon 05c04c8679 Fix type errors 2022-04-18 10:42:08 -07:00
barryhughes c510e63ede Add changelog. 2022-04-18 10:12:04 -07:00
Fernando Marichal 9c81d2c0d9 Refactor marketing task check 2022-04-18 12:58:17 -03:00
Ilyas Foo a3a43c9476 Lint 2022-04-18 22:04:25 +08:00
vedanshujain b0c78b995b Applied coding standards. 2022-04-18 15:41:06 +05:30
vedanshujain 467506074b Add changelog. 2022-04-18 14:37:53 +05:30
vedanshujain f6427edd04 Applied coding standards. 2022-04-18 14:32:42 +05:30
vedanshujain 492490c7f3 Applied coding standards. 2022-04-18 14:29:52 +05:30
Ilyas Foo e8778a5f2b Merge remote-tracking branch 'origin/trunk' into update/refactor-and-improve-tests-payments-task 2022-04-18 08:09:41 +08:00
Alexandre Froger 5e55130b30
Fix issue #31477 - implement suggested changes 2022-04-16 11:27:12 +08:00
Alexandre Froger 989dbd3122
Revert previous commit changes
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-04-16 11:21:50 +08:00
Christopher Allford 07901f3cca Updated Stable Tag To 6.4.1 2022-04-15 13:58:41 -07:00
Claudio Sanches 8c0d4baf3d Empty next changelog 2022-04-15 17:10:45 -03:00
Claudio Sanches 42589dcc33 Update changelog 2022-04-15 17:09:37 -03:00
Claudio Sanches eb6b7d2b0e Update changelogs 2022-04-15 17:09:30 -03:00
Claudio Sanches 450b2483f8
Merge pull request #32627 from woocommerce/update/woocommerce-blocks-7.4.0
Update WooCommerce blocks package to 7.4.1
2022-04-15 10:47:18 -03:00
Ilyas Foo 89b7415297 Refactor and add unit tests 2022-04-15 18:42:07 +08:00
vedanshujain 0a7ff525d6 Add value clause for better testing. 2022-04-15 15:43:45 +05:30
vedanshujain 309a005ee8 Fixups for duplicate meta entries. 2022-04-15 15:42:08 +05:30
vedanshujain aec1344d03 Add support for multi-value migrations. 2022-04-15 15:07:01 +05:30
Chi-Hsuan Huang 0c554fddad Add @wp/plugins, data, compose types dev deps to woo admin
Add their type definitions and remove them from index.d.ts declare module
2022-04-15 17:08:31 +08:00
Chi-Hsuan Huang a5786a060b Declare svg module for client typing 2022-04-15 17:08:31 +08:00
Chi-Hsuan Huang 1a81adc9ca Add changelog
Update changelog
2022-04-15 17:08:30 +08:00
Chi-Hsuan Huang fb420020d3 Declare TS module for non-ts imports 2022-04-15 17:04:53 +08:00
Chi-Hsuan Huang e66b78b892 Add @types/testing-library__jest-dom to fix client ts errors 2022-04-15 17:04:53 +08:00
Chi-Hsuan Huang 82f7d98cf5
Merge pull request #32621 from woocommerce/remove/admin-test-folder
Remove woocommerce-admin/tests
2022-04-15 16:46:56 +08:00
Chi-Hsuan Huang ec16b29b4f Disable ForkTsCheckerWebpackPlugin in admin webpack 2022-04-15 13:50:58 +08:00
Chi-Hsuan Huang 01276d492e Add changelogs 2022-04-15 13:50:18 +08:00
Chi-Hsuan Huang 4cb893dda9 Update admin tsconfig to isolated from other projects 2022-04-15 13:50:18 +08:00
Chi-Hsuan Huang 60c8c05028 Move admin typings to ./client/typings 2022-04-15 13:50:17 +08:00
Chi-Hsuan Huang f6282eefdc
Merge branch 'trunk' into update/webpack-config 2022-04-15 13:48:20 +08:00
Chi-Hsuan Huang 0557171445
Merge pull request #32578 from woocommerce/dev/32466-docs-webpack-config
Document Admin’s webpack config
2022-04-15 13:47:32 +08:00
Chi-Hsuan Huang ac95d54669 Add more comments to admin webpacks config & simplify the logic 2022-04-15 12:08:59 +08:00
Chi-Hsuan Huang 3ead227cdc
Merge branch 'trunk' into update/admin-docs 2022-04-15 11:53:08 +08:00
Alexandre Froger 962332f3f1 Fix issue #31477
data.coupon_code undefined in checkout.js
2022-04-14 13:47:26 -07:00
Joel Thiessen 35440c9b56
Supressing tasks reminder bar on products screen and addressing translation issue #32526 2022-04-14 12:06:20 -07:00
Fernando Marichal 2d3450fa66 Mark marketing task as complete when an extension is installed 2022-04-14 15:39:50 -03:00
Josh Betz daa25e93cb
Merge pull request #32613 from woocommerce/fix/exclude-drafts-in-reports
Reports: Don't include auto-draft orders in reports
2022-04-14 12:56:33 -05:00
Nadir Seghir 5040a10d01 update to wc blocks to 7.4.1 2022-04-14 17:59:02 +01:00
Claudio Sanches 99bf4afd26 Added changelog entry 2022-04-14 13:27:08 -03:00
Joshua T Flowers 3561b87f83
Track when task list sections are closed (#32625)
* Track when task list sections are closed

* Add tracks for when task list section is opened
2022-04-14 12:21:56 -04:00
Saad Tarhi d56f00e832 Update WooCommerce blocks package to 7.4.0 2022-04-14 15:30:31 +00:00
Fernando 4b7eb80d3f
Merge pull request #32626 from woocommerce/fix/32141_remove_pinterest_extension_from_obw
Remove Pinterest extension from OBW
2022-04-14 12:30:12 -03:00
Josh Betz de086a684e Add changelog 2022-04-14 10:13:19 -05:00
Josh Betz f384581e67 Reports: Don't include auto-draft orders in reports
We use auto-draft in the the API
(https://github.com/woocommerce/woocommerce/pull/31290) and to some
extent in wp-admin. These orders should not impact reporting.

Fixes https://github.com/woocommerce/woocommerce-ios/issues/6626
2022-04-14 10:08:53 -05:00
Fernando Marichal ab319ad9ef Add changelog 2022-04-14 11:50:03 -03:00
Jorge A. Torres f3865ca543
Merge pull request #32623 from woocommerce/revert-31779-fix/31729-add-menu-page-arg
Revert "Use integers for menu page priority."
2022-04-14 11:47:43 -03:00
Fernando Marichal 1998203b6e Remove Pinterest extension from OBW 2022-04-14 11:36:53 -03:00
louwie17 19e57a4377
Merge pull request #32624 from woocommerce/update/minor_tasklist_changes
Update minor tasklist changes
2022-04-14 11:21:17 -03:00
Joshua T Flowers 26a27650a3
Add check for tasklist layout experiment (#32593)
* Add check for tasklist layout experiment

* Remove task list setup feature flags

* Remove errant config file

* Add negative check for experiment 1 in experiment 2
2022-04-14 10:19:27 -04:00
Lourens Schep 3c69e4f2b0 Remove unused dependency 2022-04-14 10:47:53 -03:00
vedanshujain 821ee8dc58 Adds changelog 2022-04-14 18:33:37 +05:30
Lourens Schep d59fa94d2f Add sectioned task list loading placeholder component 2022-04-14 09:48:53 -03:00
Vedanshu Jain 1b52d6d76d
Revert "Use integers for menu page priority." 2022-04-14 18:14:35 +05:30
Lourens Schep 93438c395d Update progressive header to just show welcome to blog title once completed 2022-04-14 08:51:47 -03:00
Chi-Hsuan Huang c546e9e6e7 Update payment method links to extension > payment section 2022-04-14 19:01:35 +08:00
Chi-Hsuan Huang aae79959de Add changelog 2022-04-14 19:01:16 +08:00
Chi-Hsuan Huang 08466d8de1 Update payment method link to the internal Extensions Marketplace 2022-04-14 19:01:14 +08:00
Ilyas Foo 5bd497b384
Merge pull request #32605 from woocommerce/update/32132-payment-logic-in-task-and-settings
Update payment gateway logic in payment task
2022-04-14 18:36:44 +08:00
Chi-Hsuan Huang 83e6e39ad8
Merge pull request #32622 from woocommerce/remove/admin-feature-plugin-env
Pass `WC_ADMIN_PHASE=core` to build commands & Remove "plugin" env
2022-04-14 17:55:22 +08:00
Chi-Hsuan Huang 5a74e9cba6 Add WC_ADMIN_PHASE=core to build:feature-config 2022-04-14 17:25:29 +08:00
Chi-Hsuan Huang 075be718e9 Add changelog 2022-04-14 17:23:50 +08:00
Chi-Hsuan Huang b936e3243f Update feature-flags.md 2022-04-14 17:15:12 +08:00
Chi-Hsuan Huang 30a2fc18d6 Pass WC_ADMIN_PHASE=core to build commands 2022-04-14 17:13:23 +08:00
Ilyas Foo 3668ea36c5 Small refactor to consolidate logic 2022-04-14 17:09:10 +08:00
Ilyas Foo e6458fafe0 Standardize image path 2022-04-14 17:08:13 +08:00
RJ 8f42179cee
Merge pull request #32603 from woocommerce/fix/broken-i18n-from-wca-merge
Added temporary path fixes to fix broken i18n due to path changes
2022-04-14 17:03:53 +08:00
Chi-Hsuan Huang c813c3bc5f Remove "plugin" environment from admin feature plugin 2022-04-14 16:40:35 +08:00
Chi-Hsuan Huang 7f55756ffe Add changelog 2022-04-14 16:24:31 +08:00
Chi-Hsuan Huang 20736a5280 Remove docsify-cli and releated files 2022-04-14 13:50:29 +08:00
Chi-Hsuan Huang dfa51ac747 Update docs 2022-04-14 13:50:27 +08:00
Chi-Hsuan Huang 96a5a7b75d Remove building ./docs storybook 2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang ed8885f0b7 Fix admin extensions webpack config 2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang 0ed8911875 Update admin docs README.md 2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang a97df494e5 Update woocommerce-admin README.md 2022-04-14 13:49:51 +08:00
Chi-Hsuan Huang 616d318203
Merge pull request #32602 from woocommerce/fix/client-dashboard-type
Fix typescript annotations in react admin `./client/dashboard`
2022-04-14 13:48:16 +08:00
Chi-Hsuan Huang 272394ae9b
Merge pull request #32599 from woocommerce/update/remove-admin-github-folder
Remove woocommerce-admin .github folder
2022-04-14 13:40:38 +08:00
Chi-Hsuan Huang 863316ade7
Merge pull request #32518 from woocommerce/update/32516-woocommerce-admin-links
Update woocommerce-admin links to point to woocommerce repo
2022-04-14 13:40:25 +08:00
RJChow fdd9b1bbb8 Added type guard for locale and unit tests for isAddressFieldRequired 2022-04-14 12:53:45 +08:00
Chi-Hsuan Huang b69a923695 Update admin's webpack config
- Remove unnessary settings
- Refactor config to make it easier to read
2022-04-14 12:10:10 +08:00
Chi-Hsuan Huang adda46cc7b Document Admin’s webpack config 2022-04-14 12:09:00 +08:00
Chi-Hsuan Huang afc8217bcc Remove woocommerce-admin/tests 2022-04-14 11:48:52 +08:00
Ilyas Foo 1a129a2354 Change recommended ribbon to Pill 2022-04-14 10:52:12 +08:00
Ilyas Foo 6f8cb2b536 Merge remote-tracking branch 'origin/trunk' into update/32132-payment-logic-in-task-and-settings 2022-04-14 09:48:39 +08:00
Ilyas Foo 54ea7c9cbe Revert previous image attribute to preserve old images and new icons are replace with new attribute 2022-04-14 09:45:27 +08:00
Moon daee87d145
Merge pull request #32591 from woocommerce/update/32522-remove-deactivation-hooks-from-wca
Update WCA deactivation hook to use WC_PLUGIN_FILE
2022-04-13 18:41:33 -07:00
Ilyas Foo adbc101312 Update logic to only show additional gateways when other is installed and wcpay isnt eligible 2022-04-14 08:39:55 +08:00
Ilyas Foo 39c57c802f Fix tests 2022-04-14 08:38:42 +08:00
Ilyas Foo c81d749781 Fix cases when gateway is disabled but has been set up 2022-04-14 08:37:53 +08:00
Ilyas Foo 197c613f07 Add changelog 2022-04-14 08:12:19 +08:00
moon f514c81074 Fix broken tests 2022-04-13 17:11:44 -07:00
Ilyas Foo e7ce043e94 Update gateway countries 2022-04-14 07:58:56 +08:00
moon 09a85d9cb4 Remove wc_admin_update_140_change_deactivate_plugin_note_type -- no longer needed 2022-04-13 16:53:33 -07:00
Barry Hughes a761cb8ebc
Merge pull request #31012 from RatulHasan/fix/unsupported_operand_types
Fix/unsupported operand types
2022-04-13 16:38:43 -07:00
moon c80aba8450 Remove install.php 2022-04-13 16:33:16 -07:00
moon 1a978411eb Add phpcs ignore rules 2022-04-13 16:32:57 -07:00
moon 73a6292755 Remove wc_admin_update_140_change_deactivate_plugin_note_type callback 2022-04-13 16:32:52 -07:00
moon ffdd8cb34a Add changelog 2022-04-13 16:32:10 -07:00
moon 24cdec7bd2 Ignore PascalCase format error 2022-04-13 16:32:10 -07:00
moon 1d290fe21b Remove use of DeactivatePlugin -- this note is no longer needed since WCA is now embeded into the core 2022-04-13 16:32:08 -07:00
moon 1375f000f6 Use WC_PLUGIN_FILE to hook deactivation -- WC_ADMIN_PLUGIN_FILE is no longer available. 2022-04-13 16:30:40 -07:00
Moon cfa828d70d
Merge pull request #32513 from woocommerce/update/32176-merge-wca-install-logic-to-core
Merge WCA install routines to the core
2022-04-13 16:29:39 -07:00
Joel T 0ec373734f Replacing condition depending on pageTitle due to translation issues 2022-04-13 16:24:55 -07:00
Jacob Sewell 6ad7729fb3 Changelog for 32614. 2022-04-13 15:41:44 -05:00
Jacob Sewell bc700e3735 Add unit tests for get_notes and lookup_notes order and orderby sanitization. 2022-04-13 15:35:23 -05:00
Jacob Sewell 5ebfa3e536 Sanitize order and orderby args for get_notes() and lookup_notes(). 2022-04-13 15:18:14 -05:00
Joel T 932571c839 Adding changelog 2022-04-13 13:08:13 -07:00
Joel T bc9ce569b0 Adding Products screens to those that will not show tasks reminder bar 2022-04-13 13:08:13 -07:00
barryhughes f593a2435c Use a cast to float instead of ternary. 2022-04-13 12:56:33 -07:00
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