Commit Graph

6651 Commits

Author SHA1 Message Date
Chi-Hsuan Huang ae44908f33 Move .husky to root path
Add .husky
2022-04-06 17:31:32 +08: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
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
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
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
Stanislav Mazur d0d2963d90 fix internal meta key getter/setter identification 2022-03-30 09:46:46 -07:00
Barry Hughes 69b6a71ab5
Merge pull request #31354 from gs-nasc/trunk
Remove zeroclipboard.

See https://developer.woocommerce.com/2022/03/30/removal-of-zeroclipboard/ for details.
2022-03-30 09:44:13 -07:00
Lourens Schep 775e7117a1 Add build-watch to most js packages and remove packages watch from woocommerce-admin command 2022-03-30 11:46:12 -03:00
louwie17 dda45f7823
Merge pull request #32404 from woocommerce/docs/update_testing_docs
Update test readme with additional error for troubleshooting
2022-03-30 10:08:23 -03:00
Chi-Hsuan Huang 2a5bc7ea75
Merge pull request #32395 from woocommerce/add/32354-php-lint-action
Fix PHP code sniff Github action
2022-03-30 16:48:01 +08:00
Chi-Hsuan Huang 54bfa1e77c
Merge pull request #32378 from woocommerce/remove/32360-unnecessary-wca-files
Remove unnecessary wooCommerce admin files
2022-03-30 14:26:10 +08:00
Moon 9e1d11abdf
Merge pull request #32409 from woocommerce/fix/code-coverage
Fix broken code coverage
2022-03-29 22:14:04 -07:00
Chi-Hsuan Huang d04ace17e8 Fix woocommerce tests/bin/phpcs.sh
Fix tests/bin/phpcs.sh
2022-03-30 11:45:31 +08:00
moon 150142c139 Remove duplicated call 2022-03-29 20:29:19 -07:00
moon 8632950ab8 Fix typo 2022-03-29 20:28:36 -07:00
rodelgc b30179f8d2
Added: Command to generate HTML report 2022-03-30 10:57:11 +08:00
Chi-Hsuan Huang 0be52342b7
Merge pull request #32372 from woocommerce/add/test-lint-js-action
Add lint-test JS Github action
2022-03-30 10:23:50 +08:00
moon 11515797a4 Add return type to make tearDownAfterClass compatible with the parent 2022-03-29 17:10:40 -07:00
moon 93bd09ea2d Merge branch 'fix/code-coverage' of github.com:woocommerce/woocommerce into fix/code-coverage 2022-03-29 17:06:40 -07:00
moon fffbf56c1c Call parent tearDownAfterClass 2022-03-29 17:06:32 -07:00
Moon 01a77550d3
Merge branch 'trunk' into fix/code-coverage 2022-03-29 17:03:11 -07:00
moon 21498bd712 Exclude WC_Admin_Tests_Reports_Orders_Stats from code coverage 2022-03-29 16:58:46 -07:00
moon a99c093a69 Remove unnecessary call to regenerate 2022-03-29 16:44:14 -07:00
moon 6f1502d20b Delete wc_installing transient before running tests -- this prevents CategoryLookup::on_create() from running 2022-03-29 15:46:43 -07:00
Fernando Marichal 89f6032cba Add missing e2e tests
This commit adds the tests: `testDifferentStoreCurrenciesWCPay`, `testSubscriptionsInclusion` and `testBusinessDetailsForm`
2022-03-29 19:16:03 -03:00
barryhughes b46f28f4e2 Improve path resolution, add additional tests, clean-up tests (use data-providers). 2022-03-29 14:09:53 -07:00
Moon c13d126f11
Merge pull request #32390 from woocommerce/update/32177-deprecate-wc-admin-version-number
Deprecate WC_ADMIN_VERSION_NUMBER constant
2022-03-29 13:59:04 -07:00
moon 657819b48f Clean up attributes after the class 2022-03-29 13:31:11 -07:00
Fernando Marichal 0368fd8b43 Move `admin-homescreen` 2022-03-29 14:58:04 -03:00
barryhughes a41ae705dd Rename the is_directory property to give a better sense of its role. 2022-03-29 10:18:31 -07:00
barryhughes 80397d4f73 Improve test description. 2022-03-29 10:18:31 -07:00
barryhughes 114480c23c Tweak commentary. 2022-03-29 10:18:31 -07:00
barryhughes 1aecb64be5 Cover further scenarios relating to relative URLs and traversals. 2022-03-29 10:18:31 -07:00