Commit Graph

7083 Commits

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