Commit Graph

7290 Commits

Author SHA1 Message Date
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