Commit Graph

47282 Commits

Author SHA1 Message Date
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
barryhughes cee42b7264 Enhance directory traversal handling/resolution. 2022-03-29 10:18:31 -07:00
Barry Hughes a98aa9c910
Merge pull request #32112 from woocommerce/bump-required-php-to-7.2
Bump WooCommerce minimum required PHP version to 7.2
2022-03-29 09:03:42 -07:00
Fernando bd0397285b
Merge pull request #32331 from woocommerce/update/32157_disable_welcome_modals
Experiment: disable welcome modal
2022-03-29 11:46:24 -03:00
Lucas Bustamante c22b56346b
Merge pull request #32004 from woocommerce/e2e/pkg-woocommerce-api-docs
Update docs of @woocommerce/api
2022-03-29 15:21:25 +01:00
Lucas Bustamante d45f7051a4
PR Review 2022-03-29 15:04:37 +01:00
Lucas Bustamante 3e9e76ef7a
Update packages/js/api/README.md
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-03-29 15:02:42 +01:00
Lucas Bustamante 4cfb412a57
PR Review 2022-03-29 15:02:04 +01:00
Lucas Bustamante 1d036a79e7
Update packages/js/api/README.md
Co-authored-by: Greg <71906536+zhongruige@users.noreply.github.com>
2022-03-29 15:00:08 +01:00
Lucas Bustamante 922a72ef7e
PR Review 2022-03-29 14:58:42 +01:00
louwie17 59c4bf0831
Merge pull request #32389 from woocommerce/dev/32355_add_screenshot_artifact
Add archive E2E screenshots step for E2E tests task
2022-03-29 08:50:23 -03:00
Nestor Soriano be213eb821
Add return type setUp and tearDown methods in admin unit tests
After the bump to PHP 7.2 all the setUp and tearDown methods
in unit test classes need to have an explicit "void" return type
declaration. This commit adds those for the woocommerce-admin tests.
2022-03-29 12:08:08 +02:00
Chi-Hsuan Huang c57b45881e
Merge pull request #32396 from woocommerce/fix/32353-storybook
Fix woocommerce admin storybook commands
2022-03-29 17:44:12 +08:00
Chi-Hsuan Huang 554d953bdc
Merge pull request #32394 from woocommerce/add/32393-cancel-previous-runs-step
Add "Cancel Previous Runs" step to `pr-*` Github actions
2022-03-29 17:36:12 +08:00
Chi-Hsuan Huang 386d173105 Update storybook webpack config to build stories 2022-03-29 16:46:40 +08:00
Chi-Hsuan Huang 0cc5c6d515 Add expose-loader for storybook webpack config 2022-03-29 16:46:40 +08:00
Chi-Hsuan Huang 6f03e42dd1 Add @babel/runtime to dev dependencies of js packages 2022-03-29 16:46:06 +08:00
Chi-Hsuan Huang b658920898 Fix storybook packages paths 2022-03-29 16:45:39 +08:00
Nestor Soriano 25bf59d5e7
Merge branch 'trunk' into bump-required-php-to-7.2 2022-03-29 10:45:07 +02:00
Chi-Hsuan Huang 9a4138846d Add a empty line between steps for pr-project-label.yml 2022-03-29 16:43:19 +08:00
Chi-Hsuan Huang fcb392c51d
Merge pull request #32357 from woocommerce/fix/32310-admin-eslint
Fix woocommerce admin eslint command & errors
2022-03-29 16:33:40 +08:00
Nestor Soriano 6befc1d62a
Small changes related to the bump of min PHP to 7.2
- Rename wrongly cased variable
- Require higher version of maxmind/dbreader
2022-03-29 10:29:15 +02:00
RJChow e9eac24793 tsconfig modifications
- moved and updated .vscode/tasks.json up to root level, and add exclusion to .gitignore
- added --pretty to ts:check in wca package.json (because otherwise there's no syntax highlighting in the output, not sure why this is needed with nx and not without)
- added references to root tsconfig.base.json
- update development.md with instructions for ts checking
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 5c4014a651 Add @wordpress/eslint-plugin to root package.json 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 99e6f61dc8 Update woocommerce-admin/.eslintrc.js 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 5c705bc52b Update eslint-plugin recommended rules 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 81a1f4244a Add .eslintrc config to each packages
Update packages .eslintrc.js

Update components & admin-e2e-tests lint command
2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang 68786f8e72 Update pnpm-lock.yaml 2022-03-29 16:08:07 +08:00
Chi-Hsuan Huang df5b506b97 Add lint command to js packages
Update lint js commands

Update customer-effort-score/package.json
2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang 8b2a97d405 Add lint cmd to project.json 2022-03-29 16:08:06 +08:00
Chi-Hsuan Huang 4592d49cfb Fix tsconfig path 2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang b9eeb4991e Fix reminder-bar.scss lint error 2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang d023349168 Add .eslintrc.js for js packages 2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang 3e8c3be69d Ignore core js packages from woo admin's eslint 2022-03-29 16:07:09 +08:00
Chi-Hsuan Huang d45606293c Fix js package lint errors 2022-03-29 16:07:08 +08:00
Chi-Hsuan Huang 2c5c7549b5 Fix client lint errors 2022-03-29 16:06:33 +08:00
Chi-Hsuan Huang 4ca1ae0032 Fix paths in tsconfig 2022-03-29 16:06:32 +08:00
Chi-Hsuan Huang eb4c0a751e Add Cancel Previous Runs step to pr-* github actions 2022-03-29 11:53:58 +08:00
Christopher Allford bc12f7a263
Merge pull request #32334 from woocommerce/update/woocommerce-blocks-7.2.1
This pull updates the WooCommerce Blocks plugin to 7.2.1. It is intended to target WooCommerce 6.4 for release. This supercedes https://github.com/woocommerce/woocommerce/pull/32075.
2022-03-28 19:42:45 -07:00
RJ fd3b73d46f
Merge pull request #32373 from woocommerce/dev/remove-wca-from-issue-template
Removed separate WCA entry in .github issue template contact_link
2022-03-29 10:40:26 +08:00
Christopher Allford 14e852b4b2
Merge WooCommerce Admin Unit Tests (#32287)
This folds the unit tests from WooCommerce Admin into the core test suite, enabling them to run.
2022-03-28 12:53:33 -07:00
Lourens Schep 0fd9aa2466 Remove unsupported working-directory param 2022-03-28 13:31:34 -03:00
Lourens Schep 259bb44f99 Move uses param up to solve workflow parse error 2022-03-28 13:28:37 -03:00
Lourens Schep aea8e95692 Update if condition 2022-03-28 13:23:15 -03:00
Lourens Schep 35acdfc081 Add archive E2E screenshots step for E2E tests task 2022-03-28 13:13:43 -03:00
Barry Hughes e12d82ae46
Merge pull request #32376 from woocommerce/remove-php-72-version-bump-notice
Remove the admin notice about the upcoming PHP 7.2 requirement
2022-03-28 06:26:18 -07:00
louwie17 2215c9ab3e
Merge pull request #32347 from woocommerce/add-dev-scripts
Add build-watch command for woocommerce-admin
2022-03-28 08:55:57 -03:00
louwie17 7796d908b9
Merge pull request #32365 from woocommerce/fix/32364_smoke_tests
Skip deletion of PLUGIN_NAME when used by environment variables
2022-03-28 08:55:15 -03:00
Nestor Soriano c8280c0aee
Remove the admin notice about the upcoming PHP 7.2 requirement 2022-03-28 10:45:08 +02:00