Commit Graph

7086 Commits

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