RJChow
feb1f42949
design banner
2022-04-21 11:29:28 +08:00
RJChow
9905a882b2
insert react
2022-04-21 11:29:28 +08:00
RJChow
ab3a015850
add slotfill mount point
2022-04-21 11:29:28 +08:00
Chi-Hsuan Huang
8aca258df8
Fix header utils
2022-04-21 11:07:25 +08:00
Chi-Hsuan Huang
4747d9af14
Add changelog
2022-04-21 09:04:32 +08:00
Chi-Hsuan Huang
c5c1cf438a
Fix task types
2022-04-21 09:04:32 +08:00
Chi-Hsuan Huang
1a0c940bdd
Convert admin ./client/header/utils to TS
2022-04-21 09:04:32 +08:00
Chi-Hsuan Huang
22575242e9
Merge pull request #32695 from woocommerce/fix/admin-two-column-tasks-types
...
Fix typescript type errors in react admin `./client/two-column/tasks`
2022-04-21 08:57:08 +08:00
Paul Sealock
03beccc5f2
add build to project.json
2022-04-21 11:47:49 +12:00
Paul Sealock
1be4162466
add changelogger and changelog entry
2022-04-21 11:39:41 +12:00
Paul Sealock
dab7e60971
Standardize Beta Tester build scripts
2022-04-21 11:17:59 +12:00
Moon
3f84e6e833
Merge pull request #32688 from woocommerce/fix/fix-client-shipping-typescript-errors
...
Fix typescript type errors in react admin ./client/shipping
2022-04-20 14:16:33 -07:00
Fernando
f2eb0602bb
Merge pull request #32630 from woocommerce/fix/32149_mark_marketing_task_as_complete
...
Mark marketing task as complete when an extension is installed
2022-04-20 18:07:55 -03:00
Josh Betz
665bb46d53
Changelog
2022-04-20 10:25:13 -05:00
Fernando Marichal
48a3724d08
Fix installed extensions check
2022-04-20 11:57:02 -03:00
Fernando Marichal
43b120bce7
Add changelogs
2022-04-20 11:14:15 -03:00
Fernando Marichal
5dbc394784
Fix task list style conflict
2022-04-20 10:12:08 -03:00
vedanshujain
0198fb736c
Add changelog file.
2022-04-20 18:10:19 +05:30
vedanshujain
f8a8fd08ba
Adjust migration to make cot.id === post.id.
2022-04-20 18:05:10 +05:30
vedanshujain
db4bf85ecf
Refactor utility method to common file so it can be reused.
2022-04-20 17:30:07 +05:30
Chi-Hsuan Huang
754455460c
Fix two columns tasks
2022-04-20 16:24:58 +08:00
Chi-Hsuan Huang
de5bf080e1
Add changelogs
2022-04-20 16:12:15 +08:00
Chi-Hsuan Huang
eb90be2050
Fix two-column-tasks type errors
2022-04-20 16:12:12 +08:00
Ilyas Foo
62de7bae9c
Merge pull request #32662 from woocommerce/update/refactor-and-improve-tests-payments-task
...
Refactor and improve tests payments task
2022-04-20 10:38:28 +08:00
Chi-Hsuan Huang
42c578ed22
Merge branch 'trunk' into fix/admin-payment-type
2022-04-20 10:07:53 +08:00
Paul Sealock
a2312bc547
Revert "move changelog.txt"
...
This reverts commit c458b13fde
.
2022-04-20 12:40:25 +12:00
Paul Sealock
c458b13fde
move changelog.txt
2022-04-20 12:14:11 +12:00
Claudio Sanches
a4fc48e110
Merge pull request #32651 from woocommerce/update/add-6.4.1-content
...
Updated `trunk` With WooCommerce 6.4.1 Content
2022-04-19 21:08:06 -03:00
Paul Sealock
79c17ad3cc
changelog
2022-04-20 11:40:28 +12:00
Paul Sealock
01ed9e2c9b
Make core build scripts more intuitive. 'build' only builds and 'build:zip' builds and creates a zip. This now makes 'build:core' redundant.
2022-04-20 08:26:04 +12:00
moon
efb0285502
Add changelog
2022-04-19 10:54:39 -07:00
moon
08d3dc1a52
Fix type errors
2022-04-19 10:45:10 -07:00
barryhughes
42d369ecde
Add pre-req checks to tests suite installation script.
2022-04-19 10:38:57 -07:00
Josh Betz
8e131e91f7
Add dropins to WC Tracker data
...
Knowing which dropins are active will give us some idea about the
capabilities of the hosting environment, like whether they have
an external object cache, load balanced databases (like HyperDB),
or multisite.
2022-04-19 12:25:42 -05:00
Moon
e6503e60cb
Merge pull request #32678 from woocommerce/fix/wp-admin-scripts-type
...
Fix typescript type errors in react admin `./client/wp-admin-scripts`
2022-04-19 09:08:11 -07:00
Jorge A. Torres
41ae67f7b9
Add changelog
2022-04-19 11:23:12 -03:00
Jorge A. Torres
fd57c5409a
Prevent possible fatal error during install
2022-04-19 11:22:04 -03:00
Ilyas Foo
e8d4591c24
Add changelog
2022-04-19 18:08:12 +08:00
Chi-Hsuan Huang
7514c2edce
Fix error type
2022-04-19 17:07:55 +08:00
Chi-Hsuan Huang
98e3dd2192
Add changelogs
2022-04-19 16:41:03 +08:00
Chi-Hsuan Huang
f861dc4602
Fix woo admin payments & payment-weclome types
2022-04-19 16:31:15 +08:00
moon
32db78a76f
Remove PluginsStoreActions
2022-04-18 21:59:04 -07:00
Chi-Hsuan Huang
85324ea2cf
Merge pull request #32615 from woocommerce/update/admin-tsconfig-config
...
Update TS config to have an isolated TS environment for woo admin
2022-04-19 11:31:49 +08:00
Barry Hughes
463c985b6e
Merge pull request #32049 from froger-me/trunk
...
Fix issue #31477
2022-04-18 12:18:31 -07:00
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
Alex López
a7114c7619
Updated changelog.
2022-04-18 12:48:59 +02: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
Alex López
027ba298f4
Merge remote-tracking branch 'origin/trunk' into performance/merchant-view-coupons
2022-04-18 10:33:45 +02:00
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
“Chris
7ed7ad2fde
Introduce date_column_name in reports datastore
2022-04-15 18:06:32 +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
Alex López
44d7443d7c
Added new performance test to view coupons as merchant.
2022-04-12 17:55:47 +02: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
barryhughes
1d0c35d226
Changelog.
2022-04-11 07:00:46 -07:00
barryhughes
0acf54ab25
Reduce risk of prematurely dropping meta box error messages.
2022-04-11 07:00: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
Joel T
cdc7901982
Adding changelog
2022-04-07 17:52:36 -07:00
Joel T
1c162a14d2
Updating all instances of pnpx to pnpm dlx/exec
2022-04-07 17:52:05 -07: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
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
e1a943cdb3
Add shortcode resolution to sync (approved download directories).
2022-03-29 14:13:21 -07:00
barryhughes
cdbbca5b1b
Support shortcode-based downloadable files (as used by S3 Downloads extension).
2022-03-29 14:13:21 -07: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
barryhughes
cee42b7264
Enhance directory traversal handling/resolution.
2022-03-29 10:18:31 -07:00
Lourens Schep
3014f0f9f0
Update test readme with additional error for troubleshooting
2022-03-29 13:09:23 -03: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
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
4b21e1d913
Remove .vscode since it has been removed to root
2022-03-29 17:48:25 +08:00
Chi-Hsuan Huang
ed8c114bdd
Add back woocommerce-admin.php uninstall.php
2022-03-29 17:47:18 +08:00
Chi-Hsuan Huang
4c976ebd17
Remove unnecessary wooCommerce admin files
...
Add back languages/README.md
2022-03-29 17:47:18 +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
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
71350b4e8b
Change script lint:js:packages to lint:js-packages
2022-03-29 16:38:26 +08:00
Chi-Hsuan Huang
ecff6cd680
Remove lint-test-js.yml
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang
f2a6f93684
Update wca test command and ignore api-core-test
...
Update test:packages cmd
2022-03-29 16:38:06 +08:00
Chi-Hsuan Huang
4baad1a6e3
Add pr-lint-test-js.yml and remove package-js-api.yml, js_lint_test.sh
2022-03-29 16:38:06 +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
99e6f61dc8
Update woocommerce-admin/.eslintrc.js
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
3e8c3be69d
Ignore core js packages from woo admin's eslint
2022-03-29 16:07:09 +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
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
moon
f2b03feb24
Update version
2022-03-28 18:14:26 -07:00
moon
d915587f5d
Update version
2022-03-28 17:55:07 -07:00
moon
cda288d327
Update VERSION constant
2022-03-28 17:37:35 -07:00
moon
707b0bd74d
Fix typo
2022-03-28 14:01:21 -07:00
moon
4a52285930
Deprecate WC_ADMIN_VERSION_NUMBER constant
2022-03-28 13:55:51 -07: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
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
Nestor Soriano
c8280c0aee
Remove the admin notice about the upcoming PHP 7.2 requirement
2022-03-28 10:45:08 +02:00
Lourens Schep
8508a46f31
Update watch command so there are no conflicts between build commands
2022-03-25 10:04:02 -03:00
barryhughes
f0c18b6683
Update documentation links.
2022-03-25 06:00:03 -07:00
Chi-Hsuan Huang
b43d66f862
Merge pull request #32356 from woocommerce/remove/32352-admin-github-files
...
Remove unnecessary admin `.github` files
2022-03-25 18:24:55 +08:00
Nestor Soriano
d7ee2914b7
Add visibility modifiers to constants in src
...
PHP 7.2 allows visibility modifiers in constants, so let's add these
to the code in the src directory.
The src/Admin and src/Internal/Admin directories are skipped as
they contain a lot of code and they deserve a separate project.
2022-03-25 11:00:17 +01:00
Chi-Hsuan Huang
554fc86441
Merge pull request #32322 from woocommerce/fix/lint_js-fix
...
Fix paths and argument forwarding for `script lint:js-fix`
2022-03-25 15:01:10 +08:00
Chi-Hsuan Huang
73cb00907b
Remove unnecessary admin .github files
2022-03-25 14:26:37 +08:00
Chi-Hsuan Huang
1295c5052d
Merge pull request #32343 from woocommerce/update/admin-node-version
...
Update woocommerce admin node version to v16
2022-03-25 13:31:38 +08:00
louwie17
80ec23c425
Merge pull request #32298 from woocommerce/feature/32163_new_task_list_header
...
Add task list progress header
2022-03-24 16:32:46 -03:00
Lourens Schep
3ebf785665
Fix progress title logic
2022-03-24 15:25:07 -03:00
Lourens Schep
3ced44cc40
Fix task navigation that contains actionUrl
2022-03-24 15:25:07 -03:00
Lourens Schep
c934c62351
Address PR feedback and fix some minor issues
2022-03-24 15:25:06 -03:00
Lourens Schep
569e27bf02
Add changelog
2022-03-24 15:25:06 -03:00
Lourens Schep
c281ddb820
Add progress header bar to task list experiment
2022-03-24 15:25:06 -03:00
Lourens Schep
9a6c077b69
Add build-watch command for woocommerce-admin
2022-03-24 15:09:15 -03:00
Lourens Schep
4a76505fdf
Add comment for woocommerce-reset plugin addition
2022-03-24 14:11:18 -03:00
Lourens Schep
20c0c85f9c
Fix admin-e2e-test dependency and add new purchase task E2E test, also added the WooCommerce reset plugin
2022-03-24 14:08:03 -03:00
Barry Hughes
9056be919d
Merge pull request #32332 from woocommerce/fix/32329
...
Don't change quotes when replacing text domain.
2022-03-24 09:23:54 -07:00
Nestor Soriano
913c6bddb2
Add more "#[\ReturnTypeWillChange]" attributes.
...
These are needed for the code to be compatible with both PHP 7.x and 8.x
2022-03-24 14:08:18 +01:00
Nestor Soriano
fbc77160db
Use CssInliner class instead of Emogrifier class
...
With the upgrade of the Emogrifier package we can't use the Emogrifier
class, since it was removed in v4 (we need to use at least v5 for
compatibility with PHP 8); so we now use the CssInliner class.
Note that this is a potential breaking change for consumers of the
woocommerce_emogrifier hook, which was getting an Emogrifier object
as parameter (now it gets a CssInliner object, which is partially
compatible).
2022-03-24 14:08:18 +01:00
Nestor Soriano
0f2b717462
Fix calls to deprecated PHPUnit methods in unit tests.
...
Fix tests where PHPUnit 8 would throw "this method is deprecated
and will be removed in PHPUnit 9, use this other one instead"
warnings, by replacing all those with the proper ones. This will help
once we are able to use PHP 8 (once WP requirement is bumped to 5.9)
2022-03-24 14:08:18 +01:00
Nestor Soriano
5837a53821
Add .phpunit.result.cache to .gitignore
...
This file is created by PHPUnit v8 when tests run.
2022-03-24 14:08:18 +01:00
Nestor Soriano
01073ec24f
Add return type setUp and tearDown methods in 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.
2022-03-24 14:08:17 +01:00
Nestor Soriano
819494f2ed
Bump WooCommerce minimum required PHP version to 7.2
...
This includes:
- Changing "Requires PHP" in woocommerce.php
- Changing "require-php" and "config-platform-php" in composer.json
- Bumping pelago/emogrifier to ^6.0 in composer.json
- Bumping maxmind-db/reader to ^1.6 in composer.json
- Bumping composer/installers to ^1.9 in composer.json
(bump to 2.0 not possible due to conflict with Admin package)
- Removing jobs for 7.0/.1 unit test runs in CI
- Explicitly specifying the PHPUnit version to be 7.5,
otherwise it will install v8 which isn't compatible with
WordPress <5.9
2022-03-24 14:08:11 +01:00
Peter Fabian
8cd3a86aaa
Merge pull request #31539 from nagpai/fix/30209
...
Fix columns in checkout page for TwentyTwenty theme
2022-03-24 10:57:22 +01:00
Chi-Hsuan Huang
096759862f
Update woo admin node version to ^16
2022-03-24 16:33:53 +08:00
louwie17
eb081aa9fa
Merge pull request #32320 from woocommerce/add/32161_reminder_bar
...
Add reminder bar for task list experiment
2022-03-23 17:12:05 -03:00
Lourens Schep
44d9824d47
Fix error when tasks are not defined yet
2022-03-23 14:05:25 -03:00
Lourens Schep
371ce71173
Update completed tasks variable
2022-03-23 13:57:48 -03:00
Josh Betz
939d429389
Simplify product variation filtering
...
Fixes an issue where we were conditionally mutating the meta key and value. This was originally copy/pasted from somewhere else. In this context, we don't need all of these values, so the simpler approach is good.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-03-23 11:09:50 -05:00
Josh Betz
8446625b0d
Merge pull request #32073 from woocommerce/reviews-api/add-product-info
...
Added product name + permalink to the GET Reviews API endpoint response
2022-03-23 11:06:22 -05:00
Peter Fabian
f2b534c687
WC Admin is no longer a package
2022-03-23 15:45:21 +01:00
Seghir Nadir
180178044a
Update WooCommerce Blocks package to 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 .
Details from all the different releases included in this pull:
## Blocks 7.2.1
[Release PR](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6072 )
[Testing Instruction](https://github.com/woocommerce/woocommerce-gutenberg-products-block/blob/trunk/docs/testing/releases/721.md )
### Changelog entry
#### The following changelog entries are only those that impact existing blocks and functionality surfaced to users:
#### Bug fixes
- Don't trigger class deprecations notices if headers are already sent [#6074 ](https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/6074 )
### Changelog entry
> Dev - Update WooCommerce Blocks version to 7.2.1
2022-03-23 15:02:45 +01:00
Rodrigue Tusse
e7f822e8eb
Changes to class-wc-auth that allows it to work with sso auth
2022-03-23 15:51:42 +02:00
Peter Fabian
d7642c7ae7
Don't change quotes when replacing text domain.
2022-03-23 13:50:37 +01:00
Fernando Marichal
f276434ea4
Disable welcome modals
2022-03-23 09:11:34 -03:00
anitaamurthy
7603a2c02b
Fixed spacing issue
2022-03-23 17:11:09 +05:30
Chi-Hsuan Huang
e3d035a624
Merge pull request #32291 from woocommerce/add/32138-ability-for-code-based-notes-to-update
...
Add ability for code-based notes to update
2022-03-23 17:08:15 +08:00
RJ
04d94d0430
Merge pull request #32327 from woocommerce/dev/publish-wca-packages
...
Corrected path for publishing commands
2022-03-23 16:07:19 +08:00
rjchow
2d8214af2e
Corrected path for publishing commands
...
- typo in the path in previous commit
2022-03-23 13:30:11 +08:00
Chi-Hsuan Huang
9d7879b254
Merge pull request #32290 from woocommerce/add/primary-arg-back-to-add-action
...
Add `$primary` param back to add_action method
2022-03-23 11:22:52 +08:00
RJ
fc163b6dc9
Merge pull request #32313 from woocommerce/dev/publish-wca-packages
...
Bump WCA JS packages version numbers in package.json and changelogs
2022-03-23 11:18:04 +08:00
Tomek Wytrębowicz
a67188b52e
Fix argument forwarding for npm script lint:js-fix.
...
Redo 7d1a6661f9
.
2022-03-22 16:36:17 +01:00
Tomek Wytrębowicz
4714289838
Fix `packages/` path for npm script `lint:js`.
2022-03-22 16:35:12 +01:00
Lourens Schep
fdbc2190c0
Update changelog
2022-03-22 12:32:32 -03:00
Lourens Schep
25d6b6d528
Add reminder bar for task list experiment
2022-03-22 12:28:58 -03:00
Ovidiu Liuta
9d9b7464d7
Update class-wc-download-handler.php
2022-03-22 14:46:14 +02:00
Ovidiu Liuta
4c97d8e757
Update class-wc-download-handler.php
2022-03-22 14:45:42 +02:00
Ovidiu Liuta
867f26da8b
woocommerce_download_parse_remote_file_path filter
2022-03-22 14:42:08 +02:00
Ovidiu Liuta
17b18ac68f
adding woocommerce_download_parse_file_path filter
2022-03-22 14:26:41 +02:00
louwie17
b27618e51d
Merge pull request #32304 from woocommerce/fix/add_feature_config_to_gitignore
...
Remove feature config from repo and add it to the gitignore
2022-03-22 08:56:38 -03:00
Chi-Hsuan Huang
c9e9465802
Update indent
2022-03-22 16:13:22 +08:00
Chi-Hsuan Huang
b7cee3e867
Add tests for update_note_field_if_changed method
2022-03-22 16:09:01 +08:00
rjchow
3c0cc02104
Updated WCA package publishing commands
...
- Updated path for packages
2022-03-22 16:07:36 +08:00
Chi-Hsuan Huang
5b294e4c11
Use in_array to check need_save logic
2022-03-22 15:29:30 +08:00
Chi-Hsuan Huang
da241f6c70
Merge pull request #32293 from woocommerce/fix/admin-js-tests
...
Fix WooCommerce Admin JS unit tests
2022-03-22 14:11:08 +08:00
Chi-Hsuan Huang
1fcdc5b6a2
Update wc admin test command
2022-03-22 11:24:59 +08:00
Chi-Hsuan Huang
3dc5f95254
Update test mocks
...
Fix lint
2022-03-22 11:24:58 +08:00
Lourens Schep
f82d3b7301
Remove feature config from repo and add it to the gitignore
2022-03-21 14:49:44 -03:00
barryhughes
cadb25d1cf
Amend `generate_generate_<CUSTOM>_html` hook docs.
2022-03-21 10:02:00 -07:00
Luigi Pulcini
fc59fa5d5b
converted action into filter
2022-03-21 09:47:52 -07:00
LuigiPulcini
6f5a8f4394
Add action hook to generate a custom field type
...
Adding a `woocommerce_generate_{$type}_html` action hook allows to generate the HTML output of a custom field type for those classes extending the `WC_Settings_API` (e.g. `WC_Email`).
2022-03-21 09:47:52 -07:00
Chi-Hsuan Huang
8ce25e6b1b
Change @wordpress/data from devDependencies to peerDependencies
...
When @wordpress/data is included in devDependencies, all tests mocked @wordpress/data fails
2022-03-21 18:28:56 +08:00
Chi-Hsuan Huang
24595bd2cb
Fix jest config paths
2022-03-21 18:28:05 +08:00
Chi-Hsuan Huang
ffef8df540
Update possibly_update_note() to update other attributes
2022-03-21 12:03:29 +08:00
Chi-Hsuan Huang
58422dd008
Add $primary param back to add_action method
...
See https://github.com/woocommerce/woocommerce-admin/pull/8474/files#r829672400
2022-03-21 11:33:50 +08:00
Christopher Allford
fdf88c0d94
Updated Core Build Script
...
Since the smoke and E2E tests don't use `nx` commands to build, we need to make sure
that the command they run builds our dependencies. In the future we should change
all of the scripts and Nx executors to make this all simpler.
2022-03-19 11:42:55 -07:00
Christopher Allford
d928a5e1a6
Added missing namespace import
2022-03-18 16:23:00 -07:00
Christopher Allford
0e4b42b732
Remove WCA package existence check
2022-03-18 16:00:56 -07:00
Christopher Allford
3feab4a747
Fixed Deprecated Notes Inclusion
2022-03-18 15:51:55 -07:00
Christopher Allford
6acfa7a037
Added React Client as Implicit Dependency
...
This makes sure that building WooCommerce builds the
react admin as well.
2022-03-18 15:46:48 -07:00
Christopher Allford
839b6ffbc6
Moved WooCommerce Admin Images
...
This commit moves the images from `plugins/woocommerce-admin/images`
to their new home in `plugins/woocommerce/assets/images`
2022-03-18 15:44:40 -07:00
Christopher Allford
c4628b966b
Removed WooCommerce Admin Package
...
This commit removes the WooCommerce Admin package from Core. The
result of this change is that the code for WooCommerce Admin will come
from the included content, rather than the previous package.
2022-03-18 15:30:00 -07:00
Christopher Allford
80c3858aa6
Removed WooCommerce Admin SSR Version
...
Since there's no such thing as WooCommerce Admin anymore,
we can remove it from the SSR.
2022-03-18 15:28:44 -07:00
Christopher Allford
3dd60322d5
Migrated WooCommerce Admin PHP Code
...
This commit moves all of the PHP code from `plugins/woocommerce-admin`
to its new home in `plugins/woocommerce`.
- `plugins/woocommerce-admin/src` -> `plugins/woocommerce/src/Admin`
- `plugins/woocommerce-admin/src-internal` -> `plugins/woocommerce/src/Internal`
- `plugins/woocommerce-admin/includes` -> `plugins/woocommerce/includes/react-admin`
2022-03-18 15:23:33 -07:00
Christopher Allford
93e44b3628
Updated React Admin Build Output
...
This changes the output of the React-based
admin client from WooCommerce Admin to
an appropriate location in the core plugin.
2022-03-18 14:53:25 -07:00
Christopher Allford
d2d8d78be1
Moved WCA Packages
...
This commit moves all of the packages in
`plugins/woocommerce-admin/packages` to their
new home in `packages/js`.
2022-03-18 14:25:26 -07:00
Christopher Allford
efb270ef27
Remove Husky from WooCommerce Admin
2022-03-18 14:07:30 -07:00
Christopher Allford
dbf004023e
Fixed PNPM Lockfile
2022-03-18 14:04:13 -07:00
Christopher Allford
3077c3752b
Merge remote-tracking branch 'woocommerce/woocommerce-admin/main' into merge/woocommerce-admin
2022-03-18 13:56:18 -07:00
Christopher Allford
da6ad73d18
Add workflow to block merges to main
...
With the migration of the feature plugin into the `woocommerce/woocommerce` repository, we're going to use this workflow to block content from being merged into `main`.
2022-03-18 13:13:49 -07:00
louwie17
4bff4d1302
Fix php notice when selecting paid theme ( https://github.com/woocommerce/woocommerce-admin/pull/8493 )
...
* Add initial E2E tests for purchase task
* Update paid theme logic to remove PHP warning and keep the correct price
* Fix php unit tests
* Address some PR feedback
* Add changelog
* Include the purchase task e2e test
* Disable test
* Delete purchase E2E test file
2022-03-18 16:05:38 -03:00
Viktor Szépe
c45cb7a398
Merge remote-tracking branch 'wc/trunk' into patch-6
2022-03-18 17:42:35 +00:00
Christopher Allford
d67041f0a7
Updated Composer to v2
2022-03-18 09:56:28 -07:00
Christopher Allford
efbc635e32
Added Beta Tester Plugin To Nx
...
This commit adds the project file and makes the
necessary changes to the workspace to support
the new plugin.
2022-03-18 09:46:10 -07:00
Christopher Allford
7be60a5b52
Merge remote-tracking branch 'woocommerce/woocommerce-beta-tester/trunk' into merge/woocommerce-beta-tester
2022-03-18 09:42:18 -07:00
Michal Iwanow
a4f9445ad4
Subscriptions - add tracking params to WCCOM URLs
...
Add Google Analytics params to product name, "Purchase" button, and "Renew" button links in in-app subscriptions page. This is will be used to be able to tell how many people end up on the WCCOM product page or My Subscriptions page from this page.
2022-03-18 15:31:55 +01:00
Chi-Hsuan Huang
c05605fddf
Update linting, testing, `@types/*` dependencies ( https://github.com/woocommerce/woocommerce-admin/pull/8475 )
...
* Update husky from 4 to 7
* Update @types/jest from 26 to 27
* Update lint-staged from 10 to 12
* Update babel-jest from 26 to 27
* Update @typescript-eslint/eslint-plugin from 4 to 5
* Update @typescript-eslint/parser from 4 to 5
* Update chalk from 4 to 5
* Update concurrently from 5 to 7
* Update stylelint from 9 to 14 and stylelint-config-wordpress from 13 to 17
* Update @wordpress/prettier-config from 0.4 to 1.1
* Update eslint from 7 to 8, @wordpress/eslint-plugin from 8 to 10, eslint-plugin-testing-library to 5
* Fix lint errors after updating eslint-plugin-testing-library
* Fix style lint
* Rename .stylelintrc.json -> stylelint.config.js & add todo comment
Fix stylelint.config.js
* Remove @wordpress/e2e-test-utils
* Add changelogs for eslint-plugin
* Update storybook/preview.js since addDecorator has been deprecated
Remove parameters
* Import directly from @storybook/addon-docs
* Migrate some stories to use @storybook/addon-controls
Add a comment for @storybook/addon-knobs
* Update changelogs
* Update preview.js to fix lint warning
* Update pnpm-lock.yaml
* Fix eslint layout errors (https://github.com/woocommerce/woocommerce-admin/pull/8484 )
2022-03-18 19:45:14 +08:00
RJ
d9714b55c3
Update webpack 4 to webpack 5 ( https://github.com/woocommerce/woocommerce-admin/pull/8476 )
...
* updated webpack to 5
* fix dependency extraction config
* port unminify.js to webpack 5
* updated packages webpack version
* changelogs
* Updated @wordpress/custom-templated-path-webpack-plugin
- also removed Terser from package.json
* Upgraded storybook config to webpack 5
2022-03-18 18:59:05 +08:00
Chi-Hsuan Huang
8277860a19
Fix wc-admin-php-test-suite Dockerfile ( https://github.com/woocommerce/woocommerce-admin/pull/8492 )
2022-03-18 18:48:44 +08:00
Peter Fabian
9ffaf34c23
Merge pull request #31609 from woocommerce/update/product-block-templates-meta-box
...
Allow relevant block templates to be listed in the Edit Product view
2022-03-18 11:13:11 +01:00
Peter Fabian
59b941b239
Added approval feature for downloadable files
2022-03-18 10:26:32 +01:00
Peter Fabian
6e9ed9a83a
Cast limit to int in all branches.
2022-03-18 10:10:08 +01:00
Peter Fabian
c4b965e543
Fix error messages for order endpoints.
2022-03-18 10:04:09 +01:00
Chi-Hsuan Huang
89e7d145f4
Fix `next_week_start` logic ( https://github.com/woocommerce/woocommerce-admin/pull/8468 )
...
* Fix next_week_start logic
* Add changelog
* Update function docs for definitions of week end and week start
2022-03-18 12:18:16 +08:00
Moon
a7645fa07d
Allow CLI environments to run the install routines ( https://github.com/woocommerce/woocommerce-admin/pull/8488 )
2022-03-17 20:17:25 -07:00
Chi-Hsuan Huang
4de940111c
Remove `is_primary` column from the `wp_wc_admin_notes` table ( https://github.com/woocommerce/woocommerce-admin/pull/8474 )
...
* Remove is_primary column from the wc_admin_notes table
* Add changelog
2022-03-18 09:17:35 +08:00
Chi-Hsuan Huang
0a75b1b657
Refactor the `onFilterChange` method in the `AdvancedFilters` component ( https://github.com/woocommerce/woocommerce-admin/pull/8459 )
...
* Refactor the onFilterChange method in the AdvancedFilters component to use object params
* Fix advanced-filters/stories currency undefined error
* Add changelog
* Update changelog
2022-03-18 09:16:32 +08:00
Barry Hughes
d2966e0fca
Merge pull request #32081 from johnregan3/31824-add-order-id-to-error
...
Include order ID in the error log message
2022-03-17 15:12:16 -07:00
Christopher Allford
b63091bee0
Merge pull request #32075 from woocommerce/update/woocommerce-blocks-7.2.0
...
Update WooCommerce Blocks package to 7.2.0
2022-03-17 15:11:53 -07:00
Joshua T Flowers
611903ef5d
Separate onboarding concerns into separate classes ( https://github.com/woocommerce/woocommerce-admin/pull/8280 )
...
* Separate onboarding concerns into separate classes
* Fix up onboarding product types
* Fix up references to profile data option
* Fix up call to allowed themes
* Move onboarding features to internal namespace
* Remove old onboarding redirect
* Fix failing tests
* Add changelog entry
* Move inernal classes to the new src-internal folder
* Fix lint error
* Add deprecated class for Onboarding
* Add empty construct method
* Remove some of the unnecessary static functions and make sure OnboardingTasks still gets initialized
* Fix missed changes during rebase
* Fix tests
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2022-03-17 17:10:43 -03:00
Josh Betz
31bcda40b2
Check $product is set
...
This variable is set conditionally, so we need to explicitly check if it
is set rather than just checking if it's truthy.
2022-03-17 14:49:41 -05:00
Josh Betz
f61503f82c
Merge branch 'trunk' into update/filter-out-product-variation-line-item-meta
2022-03-17 14:25:51 -05:00
Josh Betz
bb9feb7d68
Add `order_item_display_meta` query parameter
...
By default we will show all meta for order items to maintain backwards
compatibility. When this new parameter is set, we will filter out
variation meta just as core does on the web.
2022-03-17 14:20:17 -05:00
9ete
b662d2b450
fix/30156: prevent 'Search' field from overflowing container on the 'Downloadable product permissions' widget when in the sidebar on the admin order detail page
2022-03-17 13:42:08 -05:00
Jorge A. Torres
f32b9c813b
Merge pull request #31940 from pcarrier/pcarrier/whatismyipaddress
...
class-wc-geolocation.php: drop bot.whatismyaddress.com, introduce tnedi.me
2022-03-17 11:38:51 -05:00
Peter Fabian
9c48710497
Merge pull request #32067 from woocommerce/add/primary-key-to-product-attributes-lookup-table
...
Add a primary key to the product attributes lookup table.
2022-03-17 17:17:43 +01:00
John Regan
9994291d33
31824 Add translator note
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-03-17 08:11:20 -05:00
Tomek Wytrębowicz
ae89e6ae20
Suppress `lint:js` warnings in CI and GitHub PRs ( https://github.com/woocommerce/woocommerce-admin/pull/8020 )
...
- Add returned type annotations to `packages/admin-e2e-tests/src/elements/*.ts` and `packages/admin-e2e-tests/src/*.ts`.
- Remove unused vars from `packages/admin-e2e-tests/src/*.ts`.
- Simplify `unknown` type union.
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-03-17 12:13:37 +01:00
Néstor Soriano
04a96f0c5b
Merge pull request #32076 from woocommerce/fix/31244-paypal-admin-js
...
Minify updated PayPal admin JS.
2022-03-17 10:57:05 +01:00
Chi-Hsuan Huang
6d139e063d
Fix industry tab not clickable after going back ( https://github.com/woocommerce/woocommerce-admin/pull/8469 )
...
* Fix industry tab not clickable after going back
* Add changelog
* Add e2e test for testing industry tab going back
* Add changelog
* Add navigate to fix the test
2022-03-17 17:39:50 +08:00
Nestor Soriano
ad55634ea5
Add error logging to DataRegenerator::create_table_primary_index
2022-03-17 09:31:26 +01:00
renovate[bot]
8e6d8c829e
Update dependency @automattic/explat-client-react-helpers to ^0.0.4 ( https://github.com/woocommerce/woocommerce-admin/pull/8471 )
...
* Update dependency @automattic/explat-client-react-helpers to ^0.0.4
* Reverted patch for building @automattic/explat-client-react-helpers
* Updated pnpm-lock.yaml
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rjchow <me@rjchow.com>
2022-03-17 11:15:12 +08:00
Moon
2ea4d92c30
Translate dates in NewSalesRecord note ( https://github.com/woocommerce/woocommerce-admin/pull/8426 )
...
* Translate dates
* Add changelog
* Add test
* Fix broken tests
2022-03-16 14:03:43 -07:00
louwie17
b2e83899b3
Add/8269 rest api docs ( https://github.com/woocommerce/woocommerce-admin/pull/8429 )
...
* Internalize all WooCommerce Admin main API controllers
* Internalize all report and report stat controllers
* Make function public and label as internal to fix PHP unit tests
* Add changelog
2022-03-16 14:46:48 -03:00
Tam Mullen
76deb8b6a1
Include link to e2e boilerplate in e2e Readme
2022-03-16 15:43:49 +00:00
John Regan
53473a6aa5
31824 Remove test code
2022-03-16 09:21:20 -05:00
John Regan
05427269db
Merge branch 'trunk' into 31824-add-order-id-to-error
2022-03-16 09:19:33 -05:00
John Regan
8dbc76ef2b
fix/31824 - Initial commit
2022-03-16 09:19:18 -05:00
Nestor Soriano
fc4a71d9b8
Don't use ADD PRIMARY KEY IF NOT EXISTS as it's not supported by MySQL
...
Instead, manually check if the key exists and create it if not.
2022-03-16 13:18:22 +01:00
Nestor Soriano
71cc725bb5
Some minor improvements in the custom orders table implmentation.
2022-03-16 11:00:41 +01:00
renovate[bot]
3f3f25f4b7
Update dependency mariadb to v10.8.2 ( https://github.com/woocommerce/woocommerce-admin/pull/8473 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 11:15:01 +08:00
Chi-Hsuan Huang
a9fe13e80b
Add capability for ExPlat integration to authenticate WPCOM users ( https://github.com/woocommerce/woocommerce-admin/pull/8428 )
...
* Add @wordpress/api-fetch to explat/package.json
* Export auth exPlat utils
* Support request assignment as wpcom user
* Add experiments proxy api for js
* Update error response
* Add changelog
* Update pnpm-lock.yaml
* Change error type
* Update explat/README.md
* Update includes/class-experimental-abtest.php
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Fix get explat /assignments
* Fix url & add comment to assignment.ts
* Fix cors issue
* Fix php test
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-03-16 11:03:10 +08:00
Renovate Bot
84a7c24599
Update dependency jest-environment-jsdom to ~27.5.0
2022-03-16 02:58:10 +00:00
Shohei Tanaka
8ba55cd021
Escape processing missing
...
It was escaped in other email templates, but not here.
2022-03-15 17:19:30 -05:00
Jorge A. Torres
ca7bedd249
Merge pull request #31987 from woocommerce/fix/internal-links-in-readmes
...
Fix internal links in README files
2022-03-15 15:38:46 -05:00
Jacob Sewell
463394f3db
Create lookup_notes method to bypass woocommerce_note_where_clauses filter. ( https://github.com/woocommerce/woocommerce-admin/pull/8387 )
...
* Add args_to_where_clauses() and lookup_notes() methods to Admin\Notes\DataStore.
For use by internal code to bypass woocommerce_note_where_clauses filter.
* Changelog for 8385/8387.
* Add some linter whitelist notation to preexisting warnings in class-wc-test-notes-data-store.
* Add unit tests for the differences between lookup_notes() and get_notes().
* Minor text fix in changelog for 8385/8387.
* Better explanation in pagination tests in test_lookup_notes_versus_get_notes().
* All Notes created by WC_Tests_Notes_Data_Store should have source and name values.
* Add tearDown method to WC_Tests_Notes_Data_Store to delete test-created Notes.
2022-03-15 14:24:09 -05:00
barryhughes
72e00f9f99
Minify updated PayPal admin JS.
2022-03-15 11:09:24 -07:00
louwie17
f37af20b5f
New task list version 1 ( https://github.com/woocommerce/woocommerce-admin/pull/8457 )
...
* Allow for easy task component switch
* Add past tense feature addition with cross out
* Add visible option for task lists and make use of new feature config
* Fix lint errors
* Fix lint errors
* Fix css lint
* Fix js unit tests
* Address PR feedback
* Add js tests for task list changes
* Add php tests for updated logic
* Add changelog
* Update copy
* Make snooze test a little more robust
2022-03-15 14:40:22 -03:00
Nestor Soriano
eb94672f76
Delete the (now redundant) product_or_parent_id_term_id index
...
in the product attributes lookup table.
2022-03-15 17:03:51 +01:00
Nestor Soriano
904ec4343c
Fix misc links in READMEs and GitHub templates.
2022-03-15 16:01:12 +01:00
Fernando
9a704ad1e2
Remove class `ExtendedPayments`. ( https://github.com/woocommerce/woocommerce-admin/pull/8461 )
...
* Removed class `ExtendedPayments`
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-15 09:10:40 -03:00
Mike Jolley
2e3937d68e
Composer update
2022-03-15 11:50:10 +00:00
Mike Jolley
8740ec4de1
Update WooCommerce Blocks package to 7.2.0
2022-03-15 11:50:03 +00:00
Chi-Hsuan Huang
eb2777f344
Update @types/wordpress__notices ( https://github.com/woocommerce/woocommerce-admin/pull/8464 )
2022-03-15 17:35:18 +08:00
Chi-Hsuan Huang
7514af2801
Update `@woocommerce/date` documentation ( https://github.com/woocommerce/woocommerce-admin/pull/8465 )
...
* Update packages/date README.md
* Update headings
2022-03-15 17:34:33 +08:00
anitaamurthy
c335c7322e
Fixed failing unit tests in Version2/product-reviews
2022-03-15 14:41:39 +05:30
Moon
b2d32e9e72
Add required dependencies for pnpm nx build {package} command ( https://github.com/woocommerce/woocommerce-admin/pull/8436 )
...
* Add required dependencies for pnpm nx install {package} command
* Update pnpm lock file
* Add missing deps for packages/*
* Change to use relative imports for packages/components
* Move ts from deps to devDeps
* Add rimraf to packages/* devDependencies for clean command
* Add webpack cli to packages dependencies
* Add jest-cli to packages devDependencies
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-03-14 20:04:46 -07:00
Moon
8232b226f7
Use constant to construct image URLs ( https://github.com/woocommerce/woocommerce-admin/pull/8451 )
...
* Add WC_ADMIN_IMAGES_FOLDER constant
* Use WC_ADMIN_IMAGES_FOLDER to construct image URL
* Rename WC_ADMIN_IMAGES_FOLDER to WC_ADMIN_IMAGES_FOLDER_URL
* Use WC_ADMIN_IMAGES_FOLDER_URL to construct image URLs
* Move wcpay-banner.png to client dir
* Move wcpay-banner.png to client dir
* Use WC_ADMIN_IMAGES_FOLDER_URL for wcAdminAssetUrl
* Use WC_ADMIN_IMAGES_FOLDER_URL to construct image URLs
* Use WC_ADMIN_IMAGES_FOLDER_URL to construct image URLs
* Revert to images
* Add / to the path
2022-03-14 15:01:03 -07:00
Jorge A. Torres
7ffd4f2f85
Merge pull request #31979 from woocommerce/add/commment-about-db-updates-on-install
...
Add code comments clarifying database updates on new WooCommerce installs
2022-03-14 16:20:46 -05:00
Matt Sherman
1ccb11c0f6
Experimental: Add filters to allow simple products to be included in Variations analytics report ( https://github.com/woocommerce/woocommerce-admin/pull/8462 )
2022-03-14 17:06:05 -04:00
louwie17
8d4471fce4
Fix paid themes ( https://github.com/woocommerce/woocommerce-admin/pull/8412 )
...
* Add support for paid themes
* Fix lint errors
* Add changelog
* Refactor get_products logic and add unit tests
* Add comment
2022-03-14 17:31:03 -03:00
Joel Thiessen
8465c10917
Display WCPay task when installed via subscriptions option on profiler ( https://github.com/woocommerce/woocommerce-admin/pull/8445 )
2022-03-14 12:44:55 -07:00
Nestor Soriano
1caf5aa7da
Add a primary key to the product attributes lookup table.
2022-03-14 11:30:54 +01:00
Chi-Hsuan Huang
4ec162bab0
Add ":preserveSemverRanges" to renovate.json ( https://github.com/woocommerce/woocommerce-admin/pull/8466 )
2022-03-14 17:18:04 +08:00
Chi-Hsuan Huang
d797b658c6
Add `moment-timezone` to `@woocommerce/components` package.json ( https://github.com/woocommerce/woocommerce-admin/pull/8458 )
...
* Add moment-timezone to package.json
* Add changelog
2022-03-14 17:07:21 +08:00
Job
94729ca032
Update wc-setup.scss
2022-03-11 18:05:06 -05:00
Job
98376d4ec4
Update class-wc-settings-emails.php
2022-03-11 18:05:06 -05:00
Jorge A. Torres
ae2a7af951
Merge pull request #30763 from szepeviktor/patch-5
...
Remove stray unset from wc_update_200_line_items
2022-03-11 16:31:38 -05:00
Viktor Szépe
5963c564cb
Remove stray unset from wc_update_200_line_items
...
Discovered by @phpstan
2022-03-11 15:41:56 -05:00
Jorge A. Torres
8af58a5e93
Merge pull request #32000 from woocommerce/fix/csv-import-failure-formatting
...
Allow limited HTML when rendering failure messages (CSV import).
2022-03-11 14:51:21 -05:00
Nestor Soriano
746d6a99b1
Improve the "Orders out of sync" warning message in COT settings
2022-03-11 16:56:31 +01:00
Vedanshu Jain
e8e5823423
Merge pull request #32041 from woocommerce/add/rate-limit-remaining-column
...
Add rate_limit_remaining column to wc_rate_limits table
2022-03-11 20:46:41 +05:30
Vedanshu Jain
4303fbbce3
Merge pull request #30948 from woocommerce/add/hook-to-display-metadata
...
Add wrapper for `get_formatted_meta_data` to make `$include_all` default to `true`
2022-03-11 20:44:19 +05:30
Fernando
b11bae047a
Removed not used `OnboardingEmailMarketing` ( https://github.com/woocommerce/woocommerce-admin/pull/8446 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-11 10:43:40 -03:00
Jacob Sewell
2a7df822b3
Avoid get_notes() in Notes::possibly_delete_survey_notes() ( https://github.com/woocommerce/woocommerce-admin/pull/8206 )
...
* Query for admin survey note_ids directly in Notes::possibly_delete_survey_notes().
* Add get_notes_with_type( $note_type ) method to Automattic\WooCommerce\Admin\Notes.
Name selected for consistency with preexisting get_notes_with_name( $name ) method.
* Use new get_notes_with_type() in Notes::possibly_delete_marketing_notes().
* Use new get_notes_with_type() in Notes::possibly_delete_survey_notes().
* Correct copy-pasta error querying for MARKETING notes instead of SURVEY notes in possibly_delete_survey_notes().
* Only delete actioned notes in possibly_delete_survey_notes(), which was the previous behavior.
* Changed get_notes_with_type() to get_note_ids_by_type() in Notes data store.
* Changelog for 7987/8206.
* Add missing method name in changelog for 7987/8206.
2022-03-10 18:57:29 -06:00
Chi-Hsuan Huang
7c8c0ee893
Fix failing `test_cancel_import` and `WC_Tests_API_Reports_Variations` php tests ( https://github.com/woocommerce/woocommerce-admin/pull/8456 )
...
* Assert the pending action explicitly to fix failing test_cancel_import with latest woo
* Use function lambda
* Fix WC_Tests_API_Reports_Variations by assigning parent_id to variations
2022-03-11 06:39:59 +08:00
Chi-Hsuan Huang
03c428969c
Fix possibly_update_note get_content() on null ( https://github.com/woocommerce/woocommerce-admin/pull/8455 )
2022-03-11 06:39:45 +08:00
Barry Hughes
8be6eb4a63
Update plugins/woocommerce/includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
2022-03-10 10:48:01 -06:00
Peter Fabian
8d8a556e5c
Fixed docs.
2022-03-10 10:48:01 -06:00
Peter Fabian
ce37800178
Fixed the order id fetching
2022-03-10 10:48:01 -06:00
Peter Fabian
95ec1fc56e
Receiver email set separately for bw compat
2022-03-10 10:48:01 -06:00
Vedanshu Jain
b1b68f52cd
Fix object reference
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-03-10 10:48:01 -06:00
Nestor Soriano
3e1acd113b
Create a new WC_Gateway_Paypal_Response::check_response_for_order method
...
Adding a new parameter to the existing check_response method could cause
backwards incompatibility issues in inherited classes, so we deprecate
the old method and create a new one instead.
2022-03-10 10:48:01 -06:00
Jorge A. Torres
8bb2b57f65
Make PayPal Standard PDT notification validation more strict
2022-03-10 10:48:01 -06:00
berislav grgičak
a2a53ab6c2
Fix legend item width ( https://github.com/woocommerce/woocommerce-admin/pull/8442 )
...
* Fix legend item width
* Add testing instructions
* Add changelog entry
* Fix changelog
* Add changelog
2022-03-10 15:09:45 +01:00
louwie17
7bba8dcdee
Rename Settings.php to more specific name and create new Settings.php class to handle WooCommerce Admin settings ( https://github.com/woocommerce/woocommerce-admin/pull/8443 )
2022-03-10 09:42:55 -04:00
Peter Fabian
6c009e5276
Merge pull request #32007 from woocommerce/spotfix/return-type
...
Correct type in @return tag (to string).
2022-03-10 13:56:47 +01:00
Nestor Soriano
65b716346d
Add the DataSynchronizer::get_ids_of_orders_pending_sync method
2022-03-10 11:41:58 +01:00
Barry Hughes
42ec5e18c0
Merge pull request #30602 from sicelo/patch-1
...
Fix symbol for SZL currency.
2022-03-09 19:37:15 -08:00
Barry Hughes
28b2acb373
Merge pull request #32031 from helgatheviking/issues/30187-has_options
...
Add has_options to product REST API response. Closes #30187 .
2022-03-09 14:23:55 -08:00
barryhughes
57a7f94fe9
Tweak field description.
2022-03-09 12:31:46 -08:00
barryhughes
17744d5aa6
Update tests to account for the 'has_options' property.
2022-03-09 12:18:29 -08:00
Joel Thiessen
db258aeb10
Fixing home item appearing in extensions menu on Woo Navigation ( https://github.com/woocommerce/woocommerce-admin/pull/8432 )
2022-03-09 08:07:29 -08:00
louwie17
c65d43a35e
Cleanup Loader.php and move it to Internal namespace ( https://github.com/woocommerce/woocommerce-admin/pull/8416 )
...
* Seperated Asset, page, and translation logic into seperate classes out of Loader.php
* Move user, and assets logic out of Loader.php
* Move Loader to Internal and move page helper functions to PageController
* Fix unit tests
* Add changelog
2022-03-09 10:04:34 -04:00
Nestor Soriano
c49280b91a
Implement DataSynchronizer::get_current_orders_pending_sync_count
...
Use real SQL to get the count of unsynced orders.
2022-03-09 12:09:19 +01:00
Nestor Soriano
0114d3b5d6
Infrastructure for the sync process
...
- Update settings UI
- Start sync via scheduled actions when sync is enabled
- Auto-switch authoritative table on sync finished if so configured
- Disable auto-switch if sync is disabled
- Show initial and current count of orders pending sync in settings UI
2022-03-09 11:01:01 +01:00
renovate[bot]
eeaafb911a
Update dependency @woocommerce/e2e-environment to ^0.2.3 || ^0.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8438 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:34:45 +08:00
renovate[bot]
17ef9c0533
Update actions/setup-node action to v2.5.1 ( https://github.com/woocommerce/woocommerce-admin/pull/8437 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:02:52 +08:00
renovate[bot]
2d706ebbd0
Update saulmaldonado/skip-workflow action to v1.1.1 ( https://github.com/woocommerce/woocommerce-admin/pull/8435 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:02:30 +08:00
roykho
8d57884a70
Cherry picked sec changes
2022-03-08 13:00:34 -08:00
roykho
9cd2a2bce1
Update readme
2022-03-08 12:56:16 -08:00
Fernando
f5316d02af
Make individual note classes internal ( https://github.com/woocommerce/woocommerce-admin/pull/8398 )
...
* Moved `WooSubscriptionsNotes`
* Moved `WooSubscriptionsNotes` deprecated
* Moved `WooCommerceSubscriptions`
* Moved `WooCommercePayments`
* Fix `WooCommerceSubscriptions`
* Fix `WooSubscriptionsNotes
* Fix `WooCommercePayments`
* Moved `WelcomeToWooCommerceForStoreUsers
* Add use `Note`
* Moved `UpdateStoreDetails`
* Moved `UnsecuredReportFiles`
* Moved `TrackingOptIn`
* Moved `TestCheckout`
* Moved `SetUpAdditionalPaymentTypes`
* Moved `SellingOnlineCourses`
* Moved `RealTimeOrderAlerts`
* Moved `PersonalizeStore`
* Moved `PerformanceOnMobile`
* Moved `PaymentsRemindMeLater`
* Moved `OrderMilestones`
* Moved `OnlineClothingStore`
* Moved `OnboardingPayments
* Moved `NewSalesRecord`
* Moved `NavigationNudge`
* Moved `NavigationNudge`
* Moved `MobileApp`
* Moved `MigrateFromShopify`
* Moved `MarketingJetpack`
* Moved `ManageStoreActivityFromHomeScreen`
* Moved `ManageOrdersOnTheGo`
* Moved `MagentoMigration`
* Moved `LaunchChecklist`
* Moved `InstallJPAndWCSPlugins`
* Moved `InsightFirstSale`
* Moved `InsightFirstProductAndPayment`
* Moved `GivingFeedbackNotes`
* Moved `FirstProduct`
* Moved `FirstDownlaodableProduct`
* Moved `EUVATNumber`
* Moved `EditProductsOnTheMove`
* Moved `DeactivatePlugin`
* Moved `CustomizingProductCatalog`
* Moved `CustomizeStoreWithBlocks`
* Moved `CouponPageMoved`
* Moved `CompleteStoreDetails`
* Moved `ChoosingTheme`
* Moved `AddingAndManangingProducts`
* Moved `AddFirstProduct`
* Removed `OnboardingTraits` trait
* Moved `EmailNotification`
* Fixed notes
* Add changelog
* Fix lint error
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-08 10:55:27 -03:00
Mike Jolley
3450112f39
Add rate_limit_remaining column to wc_rate_limits table
2022-03-08 12:25:54 +00:00
anitaamurthy
acbb448f6b
Updated existing unit tests
2022-03-08 13:55:11 +05:30
anitaamurthy
014d64a941
Added product name + permalink to the GET Reviews API endpoint response
2022-03-08 13:36:09 +05:30
Chi-Hsuan Huang
1335fe4a1a
Fix long notes are not replaced with shorter notes ( https://github.com/woocommerce/woocommerce-admin/pull/8401 )
...
* Add possibly_update_note to replace long notes with shorter notes
* Add changelog
* Refactor possibly_update_note
2022-03-08 12:07:14 +08:00
Moon
86b94e64c3
Run woocommerce_admin_updated as a scheduled action ( https://github.com/woocommerce/woocommerce-admin/pull/8423 )
...
* run woocommerce_admin_updated as a scheduled action
* Rename the action
2022-03-07 18:26:09 -08:00
Chi-Hsuan Huang
9aba93d127
Update all js packages with minor/patch version changes ( https://github.com/woocommerce/woocommerce-admin/pull/8392 )
...
* Update all js packages with minor/patch version changes
* Add changelog
* Fix packages/data types errors
* Update data/CHANGELOG.md
* Fix puppeteer version
* Fix packages/data > countries error types
* Make data key optional in RestApiError
2022-03-08 10:11:12 +08:00
Moon
1860aeba28
Use update_option instead of delete_option + add_option ( https://github.com/woocommerce/woocommerce-admin/pull/8421 )
2022-03-07 17:58:51 -08:00
Joshua T Flowers
834307e155
Merge payment gateway suggestion classes into single source of truth ( https://github.com/woocommerce/woocommerce-admin/pull/8252 )
...
* Rename route to payment gateway suggestions
* Create separate payment gateway suggestions controller
* Move payment gateway logic into feature class
* Merge payment gateway information into single source of truth
* Filter out WCPay client-side
* Fix up frontend
* Redirect to payment settings page on install
* Add test around showing installed gateways
* Remove check for marketplace suggestions at the endpoint level
* Fix up payment gateway conflicts after rebase
* Handle PR feedback
* Optimistically dismiss the payment gateway suggestions
* Add changelog entry
* Add square_image support for new API param
* Fixed lint error
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2022-03-07 09:15:06 -04:00
Chi-Hsuan Huang
ac660167a0
Reintroduce emphasis on inbox note action button ( https://github.com/woocommerce/woocommerce-admin/pull/8411 )
...
* Reintroduce emphasis on inbox note action button
* Add changelog
* Remove actioned note gray color style
2022-03-07 17:14:49 +08:00
Chi-Hsuan Huang
be7e73d484
Use integers for add_menu_page priority ( https://github.com/woocommerce/woocommerce-admin/pull/8399 )
...
* Use integers for menu page priority
In wordpress >= 6.0, the seventh parameter passed to add_menu_page() should be an integer representing menu position.
* Add changelog
* Fix Analytics & WcPayWelcomePage menu positions
2022-03-07 17:12:24 +08:00
Chi-Hsuan Huang
6c474ed5cb
Fix "docs" command ( https://github.com/woocommerce/woocommerce-admin/pull/8410 )
2022-03-07 13:39:48 +08:00
Chi-Hsuan Huang
3dff2fe11e
Fix inbox letters truncator to support multi characters ( https://github.com/woocommerce/woocommerce-admin/pull/8404 )
...
* Install grapheme-splitter
* Support multi-characters Unicode letters for inbox html truncator
* Fix truncateRenderableHTML length compare
* Change note to immutable
* Add changelog
* Use hasChildNodes() to check if we should call truncateElement
* Add tests for truncate()
2022-03-07 12:09:26 +08:00
helgatheviking
7ac79aa6d7
Add has_options to product REST API response. Closes #30187 .
2022-03-05 15:05:13 -07:00
Josh Betz
e35c7ac6dc
Filter out product variation line_item meta
...
There are cases where we want to display line item meta, similar to the
checkout flow on the web. The web filters out variation meta because
it's redundant. The product name already includes the relevant meta.
ref: 8bc310008c/plugins/woocommerce/includes/class-wc-order-item.php (L282-L285)
2022-03-04 15:06:43 -06:00
Chi-Hsuan Huang
86fc8b62e5
Switch to pnpm ( https://github.com/woocommerce/woocommerce-admin/pull/8349 )
...
* Add pnpm-workspace.yaml
* Add missing dependencies & replace file: with workspace:* in
package.json
* Replace "npm" with "pnpm"
* Replace "npx" with "pnpx"
* Remove package-lock.json
* Add pnpm setup action to github workflows
* Update webpack babel exclude path
* Upgrade woo e2e and fix e2e test command
Update e2e.yml
Use pnpm run e2e:docker-up in e2e.yml
* Remove unused docker-compose.yaml
* Replace lerna with pnpm commands
Update publish commands
* Exclude _locutus_shared_bc.js in babel.config.js
* Add .npmrc to set enable-pre-post-scripts=true by default
* Fix storybook babel config
Update babel.config.js
* Add changelog
* Update pnpm-lock.yaml
* Replace pnpx with pnpm exec
* Update pnpm-lock.yaml
* Remove js-tests/package-lock.json
* Fix @woocommerce/tracks -> workspace:*
* Update pnpm-lock.yaml
* Add @woocommerce/experimental to onboarding/package.json
* Add "@woocommerce/component" to onboarding/package.json
* Update pnpm-lock.yaml
* Use || instead of && for "test:watch"
Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
* Fix packages/number "clean" command
* Add root: true to .eslintrc.js to enforce it to use the root config file
* Exclude packages/**/node_modules from babel transpiling
* Fix js-tests build config
Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
2022-03-04 12:01:16 +08:00
Barry Hughes
8bc310008c
Merge pull request #31877 from iamdharmesh/fix/29445
...
Fixed clear cart after payment for block-based themes/themes without a header template.
2022-03-03 15:45:54 -08:00
Roy Ho
1e743fec74
Merge pull request #32013 from felipelousantos/fix/wp-version-compatibility
...
Update the WP version compatibility
2022-03-03 12:21:38 -08:00
Fernando
336645332b
Updating all versions ( https://github.com/woocommerce/woocommerce-admin/pull/8395 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-03 09:41:01 -03:00
Fernando
162a70494f
Fix `pre-release` script ( https://github.com/woocommerce/woocommerce-admin/pull/8396 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-03-03 09:40:41 -03:00
Jorge A. Torres
11fa76e447
Merge pull request #30949 from sebcode/fix/type-annotation
...
Fix docblock type annotation of WC_Coupon::is_type.
2022-03-03 09:31:05 -03:00
Jorge A. Torres
edc5d0a408
Merge pull request #31860 from scholary-tim/fix/email-styles-template-duplicate
...
Removed duplicate height style in email-styles template
2022-03-03 09:23:34 -03:00
Felipe Santos
a8679b041d
Update the WP version for tests and WooCommerce
2022-03-03 11:38:27 +00:00
Felipe Santos
e8f9ea3f4f
Update the WP version compatibility
2022-03-02 23:45:42 +00:00
Francesco
1ace2bbf1e
add: `@woocommerce/block-data` in Webpack deps extraction ( https://github.com/woocommerce/woocommerce-admin/pull/7911 )
2022-03-02 10:31:30 -06:00
Moon
5d55b9b625
Redirect customers back to the payment task after enabling an offline gateway ( https://github.com/woocommerce/woocommerce-admin/pull/8389 )
...
* Redirect customers back to the payment task page after enabling an offline payment
* Add changelog
* Make hasPlugins property boolean
* Remove unnecessary type checking
* Fix the comparison logic
2022-03-01 17:45:44 -08:00
Barry Hughes
097e2d3121
Correct type in @return tag (to string).
2022-03-01 16:35:15 -08:00
Brent Nef
40a1988f24
Add tests.
2022-03-01 17:45:13 -03:00
Brent Nef
c01fcf389a
Respect the $limit parameter (0)
2022-03-01 17:45:13 -03:00
RJ
d2205a6faf
Stop showing actioned inbox items ( https://github.com/woocommerce/woocommerce-admin/pull/8394 )
...
* Stop showing actioned inbox items
- revert of https://github.com/woocommerce/woocommerce-admin/pull/7983/
* Trigger rerun of CI
2022-03-01 21:08:29 +08:00
louwie17
b871cbf09b
Fix/8251 woocommerce payments task list logic ( https://github.com/woocommerce/woocommerce-admin/pull/8332 )
...
* Allow the support of multiple task lists with overlapping tasks
* Add filter by task ids
* Revert getTaskListById call
* Fix notices
* Move prefix event to task and task list classes instead
* Fix track events and extended task list
* Fix php unit tests
* Remove the seperate task list classes as this was unnecessary.
* Fix tests
* Remove unneeded allowed-tasks
* Change onboarding task list redux store structure
* Add extra id for handling hidden param for experimental task lists
* Fix lint errors
* Fix forgotten change
* Add changelog
2022-03-01 08:34:18 -04:00
louwie17
212d1c6e96
Remove the use of preloaded countries ( https://github.com/woocommerce/woocommerce-admin/pull/8380 )
...
* Remove the use of preloaded countries and make use of country data store instead
* Fix shipping task
* Add changelog
* Fix lint errors
2022-03-01 08:33:41 -04:00
Adrian Duffell
f43e4caf4b
Fix view logic for Setup additional payment providers task ( https://github.com/woocommerce/woocommerce-admin/pull/8391 )
2022-03-01 17:06:20 +08:00
RJ
f306cc2ba5
Enable Typescript checking on ./client folder ( https://github.com/woocommerce/woocommerce-admin/pull/8372 )
...
* Copied .tsconfig into ./client to enable ts checking
- Made sub-repos composite typescript packages where necessary
* Prevent tsc from transpiling ./client
- we use webpack for transpiling so no need for this
* Added tsc resolution path for @automattic/explat-client
- Seems like there's a type export issue (?) with @automattic/explat-client and @automattic/explat-client-react-helpers
- adding the node_modules/@automattic/explat-client path in tsconfig seems to help TS resolve this using the source .ts files
- found answer here: https://github.com/microsoft/TypeScript/issues/42873
- should figure out what's actually wrong with the type exports and fix that there instead
* Removed mandatory checking from webpack
- removed this for now as it will block all development until all type inconsistencies are fixed
- for now, run the optional ts:check task either in console or vscode for highlighting type errors
* Added vscode tasks for typescript checking
* Patch @automattic/explat-client-react-helpers
- this changes the installed code in node_modules (post-installation) for @automattic/explat-client-react-helpers so that it exports the necessary type interfaces required by us
- attempted unsuccessfully to override type exports using declare module
- not too sure how to fix this internally by other means
- have to investigate what fixes to propose to @automattic/explat-client-react-helpers team
* changed tests in ./client to use ts-jest instead of babel-jest
- rewrote jest config to use ts-jest instead of babel-jest
- set ts errors to warnings instead so that tests don't fail on type errors
- created new tsconfig for ./packages/js-tests so that build and ts-check are separate, as js-tests need to be built for commonjs
2022-03-01 12:19:07 +08:00
barryhughes
2874a22fe2
Allow limited HTML when rendering failure messages (CSV import).
2022-02-28 19:34:19 -08:00
louwie17
1c6b18c05a
Remove unused data endpoints param ( https://github.com/woocommerce/woocommerce-admin/pull/8379 )
...
* Remove unused data endpoints param
* Add changelog
2022-02-28 18:51:14 -04:00
Moon
3e672d7664
Redirect to the WC Pay onboarding when WC Pay is installed ( https://github.com/woocommerce/woocommerce-admin/pull/8367 )
...
* Redirect to the connect page when WC Pay is installed
* Add comment
2022-02-28 11:40:45 -08:00
Moon
a2dfbffe89
Remove inbox_action_click event -- this is called from backend by triggerNoteAction ( https://github.com/woocommerce/woocommerce-admin/pull/8376 )
2022-02-28 11:40:35 -08:00
Moon
01e5cbdd7f
Only run the version check for an admin request ( https://github.com/woocommerce/woocommerce-admin/pull/8384 )
2022-02-27 19:42:48 -08:00
Fernando
77fb10c53e
OBW: fix copy on Business Details when "WooCommerce Shipping" is not listed ( https://github.com/woocommerce/woocommerce-admin/pull/8324 )
...
* Fix wc-shipping copy
* Fix method `createInstallExtensionOptions`
* Fix tests
* Add changelog
* Add WCTax logic
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-02-25 18:26:44 -03:00
louwie17
84e6a1e317
Add missing dependency to onboarding package ( https://github.com/woocommerce/woocommerce-admin/pull/8378 )
...
* Add missing dependency
* Add changelog
2022-02-25 08:44:07 -04:00
louwie17
02d7973b55
Update WooCommerce Payment note action callback logic ( https://github.com/woocommerce/woocommerce-admin/pull/8366 )
...
* Update WooCommerce Payment note action callback logic
* Fix lint errors
2022-02-25 08:43:59 -04:00
Néstor Soriano
d76dac08e6
Add syntax highlight to README for the code hacker
2022-02-25 11:38:27 +01:00
Nestor Soriano
32e01a21f2
Fix internal links in README files
...
After the WooCommerce code was moved to 'plugins/woocommerce' many of
the internal links in the README files (links to other README files
or to code files) were broken. This commit fixes that.
2022-02-25 11:27:58 +01:00
Jaclyn Chen
cb9e6b34df
Fix hidden notes in `admin/notes` when the user is not in tasklist experiment ( https://github.com/woocommerce/woocommerce-admin/pull/8328 )
...
* Fix hidden notes from tasklist experiment.
* Add changelog.
* Use PR number instead of issue number in the changelog.
2022-02-25 08:09:49 +08:00
Claudio Sanches
7fdebe1214
Merge pull request #31973 from woocommerce/update/package
...
Update browserslist package
2022-02-24 19:02:18 -03:00
Vedanshu Jain
e0af6c1050
Merge pull request #31779 from woocommerce/fix/31729-add-menu-page-arg
...
Use integers for menu page priority.
2022-02-24 20:10:01 +05:30
Nestor Soriano
0f5a395cb9
Add code comments about db updates on new WooCommerce installs.
...
The update functions in wc-update-functions.php run when WooCommerce
is updated from a previous version, but not when it's newly installed.
This commit adds a couple of comments explaining that.
2022-02-24 15:26:34 +01:00
Ilyas Foo
48cbbfbe38
Bump woocommerce-admin to 3.2.1
2022-02-24 10:36:36 +08:00
Moon
5338ebf04a
Make $customer_id public again ( https://github.com/woocommerce/woocommerce-admin/pull/8371 )
...
* Make $customer_id public -- see issue 8369. We have a backward compatibility issue
2022-02-23 16:31:41 -08:00
Jeff Stieler
291790c64d
Refactor handle_upload() rather than change import_error() visibility.
2022-02-23 18:56:48 -03:00
Jeff Stieler
c85f3b7e1d
Add test case for tax importer.
2022-02-23 18:56:43 -03:00
Jeff Stieler
735d9f15a2
Add test case for product importer.
2022-02-23 18:56:37 -03:00
Jeff Stieler
654036850e
Prevent path traversal outside ABSPATH in product and tax importers.
2022-02-23 18:56:31 -03:00
Claudio Sanches
4a87a9bfbb
Merge pull request from GHSA-6wvr-47ff-m546
...
Fixed permission check for reviews in v1 & v2 REST API
2022-02-23 18:54:33 -03:00
roykho
c749bd3bd6
Update browserslist package
2022-02-23 12:10:00 -08:00
louwie17
e652b0b93f
Fixes some minor process issues ( https://github.com/woocommerce/woocommerce-admin/pull/8355 )
...
* Additional general updates and improvements
* Fix php lint errors
2022-02-23 13:04:59 -04:00
louwie17
ed2a1eaae2
Updated changelog with cherry picks ( https://github.com/woocommerce/woocommerce-admin/pull/8347 )
2022-02-23 08:59:49 -04:00
Daniele Scasciafratte
76c3ef7466
Fix Notice in RuleEvaluator ( https://github.com/woocommerce/woocommerce-admin/pull/8184 )
...
* Fix Notice in RuleEvaluator
Ref: https://github.com/woocommerce/woocommerce-admin/issues/7825
* fix indentation
* fix lint
2022-02-22 20:48:15 -08:00
Chi-Hsuan Huang
e8ce945d0e
Implement MailChimp API request threshold for MailchimpScheduler ( https://github.com/woocommerce/woocommerce-admin/pull/8342 )
...
* Implement MailChimp API request threshold for MailchimpScheduler
Fix class-wc-tests-mailchimp-scheduler.php
Fix class-wc-tests-mailchimp-scheduler.php
* Add changelog
* Fix class-wc-tests-mailchimp-scheduler.php
* Fix class-wc-tests-mailchimp-scheduler.php
2022-02-23 09:37:00 +08:00
Chi-Hsuan Huang
f052c3fed1
Replace deprecated wp.compose.withState with wp.element.useState ( https://github.com/woocommerce/woocommerce-admin/pull/8338 )
...
* Update search-list-control
* Update tag
* Update stories
* Add packages/components changelog
2022-02-23 09:35:50 +08:00
Moon
1c2bc9843c
Use WC_VERSION as cache buster for assets ( https://github.com/woocommerce/woocommerce-admin/pull/8308 )
...
* Use WC_VERSION as cache buster
* Add changelog
2022-02-22 10:51:53 -08:00
Lourens Schep
0b34842c8d
Bump woocommerce-admin version
2022-02-22 14:36:48 -04:00
berislav grgičak
e2dfe225b8
Increase chart selection to 10 and allow color overriding ( https://github.com/woocommerce/woocommerce-admin/pull/8258 )
...
* Increase selection limit to 10
* Add filter for overriding chart colors
* Add filter documentation
* Update chart story
* Add testing instructions
* Changelogs
* Remove broken changelog entires
* Update changelogs
* Fix changelogs
* Add filter example
* Improve filter example
2022-02-22 09:01:14 -04:00
Chi-Hsuan Huang
56f7850d07
Make src/Features/* internal except for Features.php, Onboarding.php and TransientNotices.php ( https://github.com/woocommerce/woocommerce-admin/pull/8318 )
...
* Move src/Features/* to src-internal/Admin/ except for Features.php, Features/Onboarding.php and TransientNotices.php
2022-02-21 17:47:28 +08:00
Chi-Hsuan Huang
9c49667dde
Fix Google Listings plugin is always shown in free features despite already activated ( https://github.com/woocommerce/woocommerce-admin/pull/8330 )
...
* Add is_visible rule for google-listings-and-ads to not display it if it's already activated
* Add changelog
2022-02-21 17:46:25 +08:00
Chi-Hsuan Huang
dd4736cc5c
Add build-types to .eslintignore ( https://github.com/woocommerce/woocommerce-admin/pull/8334 )
2022-02-21 12:12:05 +08:00
Chi-Hsuan Huang
bda55d99f3
Bump package versions ( https://github.com/woocommerce/woocommerce-admin/pull/8333 )
2022-02-21 11:27:45 +08:00
Chi-Hsuan Huang
c05ed7777a
Update dependencies to support react 17 ( https://github.com/woocommerce/woocommerce-admin/pull/8305 )
...
* Upgrade dependencies to support react17
Update pkg
Update @wordpress/api-fetch and gridicons
* Update test snapshots
* Update SnackbarList with latest react-spring
* Mock data.dispatch for task-list-item.test.tsx
* Remove '@wordpress/components/src/visually-hidden/style' import
wp-components has included it
* Update interpolateComponents import path
* Fix display-options test
* Add changelogs
Update changelogs
* Add @automattic/explat-client-react-helpers back
* Update webpack.config for explat-client-react-helpers
Update webpack config comment
Fix grammar
2022-02-21 10:34:25 +08:00
Pierre Carrier
b072cc1f9e
includes/class-wc-geolocation.php: bot.whatismyipaddress.com gone, tnedi.me new
2022-02-20 13:14:59 -05:00
Josh Betz
31b22673f4
Revert "If applied, this commit will format Line items price in order api ( #31593 )"
...
This reverts commit afde32fd01
.
2022-02-18 14:42:25 -06:00
Vedanshu Jain
dcbc37a904
Merge pull request #31785 from Saggre/fix/wc-api-error-code
...
Fix typo in wc api exception code
2022-02-18 21:15:18 +05:30
Fernando
524fad10cd
Merge pull request #31906 from woocommerce/fix/28603_follow_up
...
Add event tracking to Payments tab
2022-02-18 12:04:31 -03:00
Ron Rennick
101347788f
Merge pull request #31921 from woocommerce/try/k6-run-ci-onpr
...
Run k6 tests on PR after e2e and API
2022-02-18 10:55:31 -04:00
louwie17
42625174d9
Have free subscriptions adhere to cbd industry ( https://github.com/woocommerce/woocommerce-admin/pull/8323 )
...
* Make sure the free subscriptions does not show when cbd industry is selected
* Add changelog and fix productTypes not being defined
* Fix lint issue
* Fix lint error
2022-02-18 10:23:37 -04:00
barryhughes
5855856125
Explicitly set usser when testing if non-reviews can be deleted.
2022-02-18 06:08:37 -08:00
louwie17
7c6a1f3b5b
Fix payment task conflicts ( https://github.com/woocommerce/woocommerce-admin/pull/8321 )
...
* Fix payment logic of payment tasks between current task list and experimental one.
* Revert testing changes
* Fix linting
* Add changelog
2022-02-18 09:59:39 -04:00
Néstor Soriano
adc5b1ba42
Merge pull request #30994 from dnwjn/feature/refund-restock-note-filter
...
Add filter for refund restock note
2022-02-18 12:20:38 +01:00
Néstor Soriano
9c017e0366
Change @since annotation for woocommerce_refund_restock_note to 6.4
2022-02-18 11:59:11 +01:00
Tam Mullen
579d491ca2
Update orders and product k6 tests to be more robust
2022-02-17 22:34:09 +00:00
Tam Mullen
67d6c063fd
Add k6 test scenario for all requests to run in PR action
2022-02-17 22:09:11 +00:00
barryhughes
5ceaf46285
Add check against deleting non-product reviews to our APIv3 Product Review tests.
2022-02-17 11:34:56 -08:00
barryhughes
be2eac5637
Tests for product review permissions, simplify permission checks (APIv3).
2022-02-17 11:28:00 -08:00
Moon
718bac6981
Prompt a modal to save any unsaved changes in OBW ( https://github.com/woocommerce/woocommerce-admin/pull/8278 )
...
* Add a modal to show when unsaved changes are detected
* Add functions to track value changes from the steps
* Warn unsaved changes for the store details
* Add styles for the unsaved modal
* Warn unsaved changes for the Industry
* Warn unsaved changes for the Product Types
* Warn unsaved changes for the Business Details
* Add changelog
* Add testing instructions.
* Sort array values before comparison
* Use only the array values to compare the diff
* Catch rejected promise on continue
* Set initial value to an empty object
* Fix failing tests
2022-02-17 11:15:11 -08:00
Moon
c16a17a17b
Enable navigation in core env ( https://github.com/woocommerce/woocommerce-admin/pull/8310 )
2022-02-17 11:14:45 -08:00
Moon
3a81e6b78d
Make classes in src internal ( https://github.com/woocommerce/woocommerce-admin/pull/8317 )
...
* Add psr-4 for the internal classes -- this is a temp. changes. We should remove it once we completely merge to the core
* Register class aliases
* Move WcPayPromotion classes to the internal
* Ignore namespace PHP CS issue
* Make features/WcPayPromotion internal
* Added src-internal directory for Automattic\WooCommerce\Internal\Admin namespace
* Moved src/Features/WcPayPromotion to src-internal/Admin/WcPayPromotion
* Add phpcs rules for src-internal
* Remove phpcs:ignoreFile
* Update letter case to make it PSR4 compatible
* Fix letter cases
* Move the alias array into the function
* Rename WcPayPromotion to WCPayPromotion (letter case update)
* Include src-internal
* Update letter case
* Make classes internal
* Update references
* Fix WC_ADMIN_ABSPATH path
2022-02-17 11:14:23 -08:00
Moon
aa554fb1e3
Move src/Schedulers/* to src-internal/Admin/Schedulers ( https://github.com/woocommerce/woocommerce-admin/pull/8316 )
...
* Add psr-4 for the internal classes -- this is a temp. changes. We should remove it once we completely merge to the core
* Register class aliases
* Move WcPayPromotion classes to the internal
* Ignore namespace PHP CS issue
* Make features/WcPayPromotion internal
* Added src-internal directory for Automattic\WooCommerce\Internal\Admin namespace
* Moved src/Features/WcPayPromotion to src-internal/Admin/WcPayPromotion
* Add phpcs rules for src-internal
* Remove phpcs:ignoreFile
* Update letter case to make it PSR4 compatible
* Fix letter cases
* Move the alias array into the function
* Rename WcPayPromotion to WCPayPromotion (letter case update)
* Include src-internal
* Update letter case
* Make src/Schedulers/* internal, except the SchedulerTraits
* Add @internal comment tag
* Clean up incorrect import
* Remove unused import
2022-02-17 10:48:31 -08:00
Fernando Marichal
5dc30bd013
Add Account Details event tracking
2022-02-17 15:43:16 -03:00
Fernando
ce0f73aa9b
Refactor `MerchantEmailNotifications` ( https://github.com/woocommerce/woocommerce-admin/pull/8304 )
...
* Refactor `MerchantEmailNotifications`
* Rename `NotificationEmail`
* Add changelog
* Add folder `Notes` to `Internal`
* Moved folder and the namespace was renamed
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-02-17 14:33:19 -03:00
barryhughes
401f4c0d0e
Simplify early checks, do not duplicate work performed by wc_rest_check_product_review_permissions().
2022-02-17 09:20:02 -08:00
barryhughes
a6fb397a1a
Protect REST API v1 and v2 from a category of accidental deletion, where the supplied product ID is invalid.
2022-02-17 08:51:21 -08:00
barryhughes
efac1bad3c
Separate out assertions; group those relating to other comment types in their own test.
2022-02-17 08:35:13 -08:00
Nestor Soriano
563c56d76b
Remove the DataRegenerator::maybe_create_table_indices
...
It's not needed since dbDelta will take care of the indices in both
new WooCommerce installs and upgrades from a previous version.
2022-02-17 16:04:17 +01:00
Nestor Soriano
eca84266f0
Create and fill the product attributes lookup table in clean installs.
...
The table creation and filling was happening in a data migration, but
data migrations only run when WooCommerce is upgraded, not on a
clean install. Also, the option for using the lookup table
wasn't being set after a clean install (when the table has been created
and is empty since there are no products yet).
As part of the fix the table is added to the list of WooCommerce
core tables, and thus it's covered by the "Verify base database tables"
tool.
2022-02-17 11:00:12 +01:00
Néstor Soriano
48da1c7928
Merge pull request #31889 from woocommerce/add/abort-resume-tool-for-product-attributes-lookup-table-regeneration
...
Add extra UI for aborting/resuming the product attributes lookup table filling
2022-02-17 09:13:10 +01:00
Ilyas Foo
5840898524
Add card fees to specify what the discount applies to ( https://github.com/woocommerce/woocommerce-admin/pull/8319 )
2022-02-17 11:30:59 +08:00
rjchow
99a382c649
Fixed typing errors in Stepper component after typescript conversion
2022-02-17 10:35:39 +08:00
rjchow
0a314f1a97
Renamed stepper components to .tsx
2022-02-17 10:35:39 +08:00
Barry Hughes
91ed566198
Merge pull request #31414 from woocommerce/fix/extend-admin-refunds-for-gift-cards
...
Support gift cards in admin order refunds template.
2022-02-16 15:34:59 -08:00
barryhughes
9a4b4907cd
Tweak docblock for `woocommerce_admin_order_should_render_refunds` filter hook.
2022-02-16 15:02:43 -08:00
xristos3490
45b9eebcda
Move filter at the top of the template
2022-02-16 21:56:24 +02:00
Fernando Marichal
b327fb5439
Add event tracking to Payments
2022-02-16 15:32:41 -03:00
Moon
8023579670
Move src/Features/WcPayPromotion to /src-internal/Admin/WcPayPromotion ( https://github.com/woocommerce/woocommerce-admin/pull/8307 )
...
* Add psr-4 for the internal classes -- this is a temp. changes. We should remove it once we completely merge to the core
* Register class aliases
* Move WcPayPromotion classes to the internal
* Ignore namespace PHP CS issue
* Make features/WcPayPromotion internal
* Added src-internal directory for Automattic\WooCommerce\Internal\Admin namespace
* Moved src/Features/WcPayPromotion to src-internal/Admin/WcPayPromotion
* Add phpcs rules for src-internal
* Remove phpcs:ignoreFile
* Update letter case to make it PSR4 compatible
* Fix letter cases
* Move the alias array into the function
* Rename WcPayPromotion to WCPayPromotion (letter case update)
* Include src-internal
* Update letter case
* Move src/Features/RemoteFreeExtensions to src-internal/Admin/RemoteFreeExtensions (https://github.com/woocommerce/woocommerce-admin/pull/8311 )
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2022-02-16 04:50:33 -08:00
Ilyas Foo
d590b1116f
Fix WCPay in core texts and promo slug ( https://github.com/woocommerce/woocommerce-admin/pull/8296 )
...
* Fix texts and change promo slug
* Changelog
2022-02-16 11:10:59 +08:00
barryhughes
c675f72ea6
Remove handling for nested id (no routes allow for this).
2022-02-15 06:34:27 -08:00
barryhughes
18fa388ed9
Clean-up.
2022-02-15 06:32:02 -08:00
barryhughes
a7c98d5f58
Update and resolve conflicts.
2022-02-15 05:44:34 -08:00
barryhughes
4282811649
Tidy tests.
2022-02-15 05:42:24 -08:00
barryhughes
43d49bfed0
Cleanup reviews/comments work.
2022-02-15 05:38:50 -08:00
Néstor Soriano
44a2c99268
Merge pull request #31811 from woocommerce/mvp-cot/intial-table-strucuture
...
Add DB table structure for custom order tables.
2022-02-15 11:58:08 +01:00
RJ
ab1cbfb6f2
Added tracks test for PaymentGatewaySuggestions ( https://github.com/woocommerce/woocommerce-admin/pull/8306 )
2022-02-15 10:30:46 +08:00
Claudio Sanches
a9189c73d1
Merge pull request #31897 from woocommerce/prep/trunk
...
Prep trunk for next release
2022-02-14 17:13:00 -03:00
Travis
ae582fdc66
Jetpack Backup note - change time range and add an image ( https://github.com/woocommerce/woocommerce-admin/pull/8293 )
...
* start note after 3 days and add an image
* add changelog entry
* add PR number to changelog
2022-02-14 12:42:50 -06:00
roykho
618864243e
Bump version for package.json
2022-02-14 08:40:21 -08:00
Nestor Soriano
5d1040232d
Remove no longer needed 'use'.
2022-02-14 15:11:06 +01:00
Néstor Soriano
fbc67db556
Merge pull request #31692 from woocommerce/scafolding-for-custom-order-tables
...
Add scafolding for the custom orders table feature.
2022-02-14 15:02:16 +01:00
roykho
dae8aa1d67
Prep trunk for next release
2022-02-14 05:55:53 -08:00
Lucas Bustamante
616b61348e
Merge pull request #31872 from woocommerce/add/suppress-wp-compose-console-messages
...
Suppress wp.console.withState deprecation warning
2022-02-11 13:41:50 -03:00
Nestor Soriano
e2a94bd776
Add extra UI for aborting/resuming the product attributes table filling.
...
Two new tools are added in the Status - Tools section:
- "Abort the table regeneration" - this one shows up if a regeneration
process is in progress. Running it will remove the "regeneration
in progress" option and set the "regeneration aborted" flag, it also
removes any pending regeneration step scheduled action.
- "Resume the table regeneration" - this one resumes the regeneration
process by setting the "regeneration in progress" option, removing
the "regeneration aborted" option, and scheduling a new regeneration
step action.
2022-02-11 16:27:53 +01:00
Paul Sealock
e41441f83e
Add hook reference generator README and documentation ( https://github.com/woocommerce/woocommerce-admin/pull/8004 )
...
* Add hook reference README
* update hook reference
* better
* changelog
* add pr number
* remove example
* add desc
* add stats
* jsdoc REPORTS_FILTER
* Category configs
* configs
* data
* dashboard
* dashboard charts
* save
* save
* save
* done with filters
* Add scope to slotFill docs
* data
* add all slotfills
* data
* Fix error when scope is not present, and make use of typedef imports
* Move chart and filter jsdoc definitions to the reports index file
* Update hook reference data.json
* Make use of import for filter typedef and address some typos
Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2022-02-11 10:38:38 -04:00
louwie17
0deb1c33bc
Add wc_version to store profiler view and complete tracks ( https://github.com/woocommerce/woocommerce-admin/pull/8290 )
...
* Add wc_version to store profiler view and complete tracks
* Add changelog
* Update changelog
2022-02-11 10:03:37 -04:00
louwie17
7e999148f1
Sync changelog and testing instructions from 3.2 ( https://github.com/woocommerce/woocommerce-admin/pull/8289 )
...
* Add additional testing instructions
* Update changelog entries for 3.2
2022-02-11 08:40:33 -04:00
RJ
087ce5aa61
Enable type definitions output for @woocommerce/components ( https://github.com/woocommerce/woocommerce-admin/pull/8282 )
...
* Output typedefs for @woocommerce/packages
2022-02-11 19:39:34 +08:00
Chi-Hsuan Huang
4f5e537a54
Fix a lot of pending "run_remote_notifications" scheduled actions ( https://github.com/woocommerce/woocommerce-admin/pull/8285 )
...
* Change to only create remote action when there_are_now_products is false
* Add changelog
* Update src/RemoteInboxNotifications/StoredStateSetupForProducts.php
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Update function name
* Add comment
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-02-11 15:08:11 +08:00
Barry Hughes
fa3ca776de
Merge pull request #31826 from woocommerce/add/api/order-payment-url
...
API: Orders: Add payment_url
2022-02-10 16:29:45 -08:00
Joshua T Flowers
7ebb561d98
Add checks around setup widget display when features are disabled ( #31884 )
...
* Add checks around setup widget display when features are disabled
* Avoid refetching task list after initialization
2022-02-10 16:59:53 -05:00
Joshua T Flowers
f9cf24e50b
Add WooCommerce Admin widget tracks ( #31857 )
...
* Add tracks events for dashboard setup widget load and click
* Add status widget tracks
* Use data attributes to track current and total steps
* Add newline at EOF
* Remove errant console logs
2022-02-10 16:59:22 -05:00
Fernando
0f5a6e251b
Merge pull request #31844 from woocommerce/fix/28603_tracks_on_payments_tab
...
Fix Payments tab tracking
2022-02-10 18:41:00 -03:00
Fernando Marichal
780a703aa7
Fix current tab setting
2022-02-10 17:54:29 -03:00
Fernando Marichal
4d7e8ce2e8
Fix lint
2022-02-10 17:18:16 -03:00
Fernando Marichal
49053b5f88
Set current tab
2022-02-10 17:16:44 -03:00
Fernando Marichal
42e4564705
Remove `add_admin_options_tracking`
2022-02-10 17:07:44 -03:00
Fernando Marichal
7abd23438d
Fix toggle tracking
2022-02-10 17:05:27 -03:00
Claudio Sanches
b7cef6ad78
Update changelog and prepare everything for 6.3
2022-02-10 13:00:01 -03:00
Roy Ho
53d30f7000
Merge branch 'trunk' into update/woocommerce-blocks-6.9.0
2022-02-10 06:45:17 -08:00
Roy Ho
85ac42b945
Merge pull request #31875 from woocommerce/update/bump_woocommerce_admin_3.1.0-rc.1
...
Bump WooCommerce Admin version to 3.2.0-rc.1
2022-02-10 06:41:10 -08:00
Néstor Soriano
6eaef89bdb
Fix unit tests related to wc_get_price_excluding_tax
2022-02-10 12:40:10 +01:00
Nestor Soriano
7f48e88a09
Small changes to the custom orders table implementation
...
- Add an extra warning message in the settings page
- Escape table name for DROP statement in DatabaseUtil::drop_database_table
2022-02-10 09:13:39 +01:00
Dharmesh Patel
1be5e81860
Fixed clear cart after payment for block-based themes(Twenty Twenty-Two).
2022-02-10 10:14:01 +05:30
barryhughes
8d279c018c
Update tests for product reviews (REST API endpoints).
2022-02-09 19:53:00 -08:00
Fernando Marichal
ca88734006
Fix actions in gateways
2022-02-09 22:02:44 -03:00
barryhughes
dc98056178
Update precision function when pass empty parameter.
...
Formatting adjusted to meet standards; rebased on trunk.
2022-02-09 16:16:07 -08:00
Josh Betz
4069cc3470
fix tests
2022-02-09 13:47:50 -06:00
Lourens Schep
cd410637fd
Bump WooCommerce Admin version
2022-02-09 15:26:14 -04:00
Jon Lane
287c560692
Suppress wp.console.withState deprecation warning
2022-02-09 10:23:53 -08:00
Gabriel Nascimento
a1e5ddbced
remove zeroclipboard
2022-02-09 08:06:25 -08:00
Nestor Soriano
3964a2255a
Make the db utils class non-static, change the custom orders tables UI
...
- Rename DBUtils to DatabaseUtils, and register it in the DI container
(instead of having it just contain static methods)
- The tool for the custom orders tables has now two shapes:
"create tables" and "delete tables" (so no regeneration, migration...)
- Not yet used constants and methods from DataSynchronizer removed
- Added missing method comments
2022-02-09 11:58:19 +01:00
Chi-Hsuan Huang
e1ac06afa7
Fix payments extensions displayed below the offline payments options ( https://github.com/woocommerce/woocommerce-admin/pull/8232 )
...
* Fix payments extensions displayed below the offline payments options
Add spaces back
* Add changelog
* Remove the snapshot test and update payment gateway render test
* Make sorting compare function as a helper function
2022-02-09 14:12:20 +08:00
Chi-Hsuan Huang
6dc5189fc2
Replace "any" type with an explicit type ( https://github.com/woocommerce/woocommerce-admin/pull/8262 )
...
* Replace "any" type with an explicit type
* Add types in utils and import FormInputProps to store address
2022-02-09 12:40:44 +08:00
barryhughes
b2580b29f7
Further adjust permissions for reviews (REST API).
2022-02-08 14:48:04 -08:00
louwie17
83e1addd82
Fix minor process issues ( https://github.com/woocommerce/woocommerce-admin/pull/8279 )
2022-02-08 18:22:26 -04:00
louwie17
7d2aa04b2a
Add business-details step complete track ( https://github.com/woocommerce/woocommerce-admin/pull/8265 )
...
* Add business-details step complete track
* Add changelog
* Update tab name and treat each tab as an individual step when trickering tracks
* Add comment
* Fix linting
* Remove unnecessary css selector
* Update goToNextStep param to make it less confusing
* Update jsdoc param
2022-02-08 14:29:17 -04:00
xristos3490
741f5015e0
typo
2022-02-08 19:27:30 +02:00
xristos3490
f331dbc9d2
Move filter into the template controller
2022-02-08 19:24:55 +02:00
Néstor Soriano
87d8e93bfe
Fix argument count in hook.
2022-02-08 17:42:30 +01:00
vedanshujain
fc0c45a204
Show link to create custom orders table.
2022-02-08 21:57:39 +05:30
vedanshujain
3d29e8329c
Refactor and move DB related methods to util class.
2022-02-08 21:44:38 +05:30
Tim
b1e7046808
Removed duplicate height style in email-styles template
2022-02-08 09:29:11 +00:00
Nestor Soriano
2e613bbd0c
Merge branch 'scafolding-for-custom-order-tables' into mvp-cot/intial-table-strucuture
2022-02-08 09:26:08 +01:00
RJ
b9806c5087
Made email in OBW optional again ( https://github.com/woocommerce/woocommerce-admin/pull/8263 )
2022-02-08 08:56:45 +08:00
louwie17
23505c1e58
Make sure hidden fields are cleared when definition changes ( https://github.com/woocommerce/woocommerce-admin/pull/8250 )
...
* Make sure hidden fields are cleared when definition changes
* Make use of shortened condition available in TS
2022-02-07 19:31:08 -04:00
barryhughes
f762037e61
Update permission checks for V1/V2 product review endpoints.
2022-02-07 12:58:29 -08:00
Jon Lane
00536e4442
Update instructions for external sites
2022-02-07 11:56:14 -08:00
louwie17
c2537136bb
Fix shipping task step when store location isn't filled out ( https://github.com/woocommerce/woocommerce-admin/pull/8260 )
...
* Remove completeStep call in StoreLocation callback to avoid duplicate call.
* Add changelog
2022-02-07 14:55:35 -04:00
Moon
080dc48a9b
Fix/8191 deleting products adds blank space to analytics data ( https://github.com/woocommerce/woocommerce-admin/pull/8255 )
...
* Retrieve variation name from woocommerce_order_items for deleted products
* Remove test code
* Refactor to use wc_order_product_lookup table
* Identation fix
* Remove link if the variation/product has been deleted
* Add changelog
* Remove (deleted) suffix
* Add (Deleted) suffix in frontend
2022-02-07 10:13:27 -08:00
Nestor Soriano
7a9651ad30
Rename FeatureController to CustomOrdersTableController.
...
Also fix priority-args count reversed in filter hookings in that class.
2022-02-07 11:57:54 +01:00
Ilyas Foo
dfdafc1568
Update headercard to use filter to add ExPlat parameter ( https://github.com/woocommerce/woocommerce-admin/pull/8233 )
...
* Add changelog
* Update headercard experiment hook to utilize `woocommerce_explat_request_args` filter
* Add test
* Fix experiment name check
* Update parameter name
* Add changelog
* Removed old changelog
* Added prop comments to Layout component
* Add preload option for homescreen
* Fix class attribute typo
* Hide extended tasklist when task detail is shown
* Add local Suspense to stop lazy component bubbling up to Controller's Suspense
* Remove unused props
* Add missed Suspense, add loading logic to ActivityHeader
Co-authored-by: Moon <moon.kyong@automattic.com>
2022-02-07 08:50:20 +08:00
Fernando Marichal
eb44888a79
Fix `track_setting_change` method
2022-02-05 09:54:10 -03:00
Oscar Gare
7428e264bd
woocommerce_adjust_non_base_location_prices filter not work if there is no order
2022-02-05 10:57:46 +01:00
Barry Hughes
f3927c786a
Merge pull request #31819 from woocommerce/add/indices-to-product-attributes-lookup-table
...
Add database indices for the product attributes lookup table
2022-02-04 14:55:15 -08:00
Fernando Marichal
59b4c806f6
Add event tracking to `Payment methods` list
2022-02-04 14:57:29 -03:00
Joshua T Flowers
517d248ed7
Remove unused task styling classes ( https://github.com/woocommerce/woocommerce-admin/pull/8234 )
...
* Remove unused task styling classes
* Rename typo in dismiss modals
* Remove extra styling selector class
* Add changelog entry
2022-02-04 10:26:56 -05:00
Joshua T Flowers
e8c1c94b01
Only add product data on REST requests and task list ( https://github.com/woocommerce/woocommerce-admin/pull/8235 )
...
* Only add product data on REST requests and task list
* Add changelog entry
* Return new product data variable
2022-02-04 10:03:47 -05:00
louwie17
ec3852160d
Add support for filtering by changelog type for testing instructions ( https://github.com/woocommerce/woocommerce-admin/pull/8256 )
...
* Add support for filtering by changelog type for testing instructions, and remove some warnings
* Update readme
* Remove error log
* Add changelog
2022-02-04 09:32:21 -04:00
Fernando Marichal
4cd6d31839
Add Payments tab tracking
2022-02-04 10:23:20 -03:00
Fernando Marichal
22b887fb20
Add `woocommerce_update_options_payment_gateways_` action
2022-02-04 10:22:52 -03:00
Fernando Marichal
178db4e789
Add action `woocommerce_update_options_payment_gateways`
2022-02-04 10:21:22 -03:00
Peter Fabian
79578e1262
Make the error code more correct.
2022-02-04 11:00:46 +01:00
Peter Fabian
4e8b179a8b
Update plugins/woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
...
Report more correct error code.
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2022-02-04 10:58:47 +01:00
Nestor Soriano
a2e3e31bd0
Create indices in a stored procedure so that IF...THEN can be used.
2022-02-04 10:27:51 +01:00
Jacob Sewell
9c18a427fa
Avoid `get_notes` call in `CouponPageMoved` ( https://github.com/woocommerce/woocommerce-admin/pull/8202 )
...
* First draft of CouponPageMoved::has_(unactioned|dismissed)_note() method changes to avoid get_notes().
* Add static function get_note_by_name( $note_name ) to Automattic\WooCommerce\Admin\Notes\Notes class.
* Use Notes::get_note_by_name() in Notes::get_note_status().
* Use new Notes::get_note_by_name() in CouponPageMoved::has_unactioned_note().
* Use new Notes::get_note_by_name() in CouponPageMoved::has_dismissed_note().
* Add changelog for 7986/8202.
2022-02-03 15:27:55 -06:00
Josh Betz
8a9782986d
API: Orders: Add payment_url
...
Adds the payment URL to the order response if we request it. This is
helpful for sharing payment links from the apps.
Ref: https://wp.me/p91TBi-7ov
2022-02-03 14:10:20 -06:00
Philipp Bammes
14ce6090b0
Align notion for country states in PHP comments
...
Use adjectival form of country names, lowercase "states" etc., end with period, remove reference links.
2022-02-03 20:35:13 +01:00
Philipp Bammes
434de6aa19
Add states for Germany
...
Source: 666bcce731/common/subdivisions/en.xml (L1090-L1106)
2022-02-03 20:05:46 +01:00
Peter Fabian
c3572a19ff
Fixed permission check for reviews in v1 & v2 REST API
2022-02-03 16:24:17 +01:00
Alex Florisca
556b6101bf
Bump woocommerce-blocks to 6.9.0 in composer.json
2022-02-03 10:14:16 +00:00
Néstor Soriano
c36d25af71
Merge pull request #31663 from woocommerce/add/wcpay_settings_tracker
...
Add WcPay settings info to WC Tracker
2022-02-03 10:45:49 +01:00
Nestor Soriano
7795682232
Add database indices for the product attributes lookup table.
...
These are intended to improve the performance of the table querying
when there's a lot of products and attributes, see:
https://github.com/woocommerce/woocommerce/issues/31688
The indices will be created during the database migration to v6.3,
regardless of whether the lookup table already existed at that point
or not.
2022-02-03 10:08:50 +01:00
louwie17
8d3eefb508
Add additional testing instructions for 3.2 release ( https://github.com/woocommerce/woocommerce-admin/pull/8247 )
...
* Add additional testing instructions for 3.2 release
* Add specificity to the scheduled actions that need running
2022-02-02 11:48:07 -04:00
louwie17
d492793276
Update changelog ( https://github.com/woocommerce/woocommerce-admin/pull/8243 )
2022-02-02 10:46:24 -04:00
louwie17
d41906267a
Dev/e2e reset ( https://github.com/woocommerce/woocommerce-admin/pull/8219 )
...
* Add payment_setup track for WooCommerce Payments
* Add WooCommerce Reset Plugin to E2E environment
* Add resetWoComerceState util
* Add state reset before obw test
* Refactor resetWooCommerceState
resetWooCommerceState now makes the HTTP request locally instead of from inside the browser context.
* Update reset functionality
* Add custom settings reset function for onboarding
* Update reset functionality
* Add action-scheduler run helper function
* Fix add section test
* Add plugin removal helper functions
* Fix lint errors
* Fix broken e2e tests
* Add changelog
* Remove unused imports
* Add comment for extra timeout
* Add helper function to wait until button stops moving, incase of animations
* Fix lint error
* Add variable for string used in multiple places
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2022-02-02 08:55:10 -04:00
vedanshujain
ad6c9a7099
Fixups for typo and unintended code.
2022-02-02 15:14:34 +05:30
vedanshujain
5308d5b10a
Add initial DB structure for custom order tables.
2022-02-02 14:51:18 +05:30
vedanshujain
1aaa4de48e
Refactor verify_base_tables method to allow custom schema verification.
2022-02-02 14:50:30 +05:30
Moon
69034713a1
Reintroduce CES ( https://github.com/woocommerce/woocommerce-admin/pull/8238 )
...
* Reintroduce CES for the following actions
* Add a product
* Update product
* Edit order
* Add changelog
* Add PR # to the changelog
2022-02-01 15:34:17 -08:00
Moon
52fbcffe92
Make ExPlat request URL args filterable ( https://github.com/woocommerce/woocommerce-admin/pull/8231 )
...
* Support woocommerce_explat_request_args filter to modify ExPlat request args
* Add ExPlat test
* Add ExPlat test for PHP
* Add changelog
* Add doc for the filter
* Fix syntax
2022-02-01 14:17:03 -04:00
Chi-Hsuan Huang
e6f19d0d91
Fix country/region selection not preserved in store details task ( https://github.com/woocommerce/woocommerce-admin/pull/8228 )
...
* Fix country/region selection not preserved in store details task
* Update store-adress test cases
* Add changelog
* Check alphabets regx for isStateAbbreviation
* Update comments
* Use unknown type for locale
* Add Disable reason
2022-02-01 14:13:54 -04:00
Peter Fabian
2a4de35e24
Merge pull request #31701 from dhjw/autocomplete-signup
...
Enable browser-suggested passwords on checkout signup
2022-02-01 18:40:06 +01:00
Joshua T Flowers
ea6b50f241
Show single success message for theme install and activation ( https://github.com/woocommerce/woocommerce-admin/pull/8236 )
...
* Show single success message for theme install and activation
* Add changelog entry
2022-02-01 12:02:33 -05:00
Peter Fabian
4645a3a534
Merge pull request #31754 from woocommerce/fix/echo-atto-required-asterix
...
Echo the escaped text (required field asterix)
2022-02-01 17:51:30 +01:00
Saggre
ace9786914
Fix typos in phpdocs and comments
2022-02-01 17:06:58 +02:00
Saggre
6eadc14259
Fix invalid wc api exception code
2022-02-01 13:27:08 +02:00
Jeff Stieler
598f5f329d
Fix typo.
2022-02-01 09:56:15 +01:00
Jeff Stieler
40f2575b6c
Style the 2022 theme store notice.
2022-02-01 09:55:49 +01:00
Jeff Stieler
de57b39d8e
Use integers for menu page priority.
2022-01-31 18:12:23 -07:00
Jacob Sewell
5002a1498a
Fix distorted Country/Region label at some zoom levels ( https://github.com/woocommerce/woocommerce-admin/pull/8186 )
...
* Override overflow rule for label in select controls in OBW store address inputs.
* Changelog for 7893/8186.
* Rather than specifically override the overflow for store addresss country/region, remove the specific rule that was causing the issue.
* Increase line-height on SelectControl label.
* Restore overflow: hidden rule for profile wizard control label.
* Update changelog for 7893/8186.
* Add package changelog entry for 7893/8186.
2022-01-31 15:56:15 -06:00
Joshua T Flowers
8abea5a435
Add asynchronous plugin install and activation endpoints ( https://github.com/woocommerce/woocommerce-admin/pull/8079 )
...
* Move plugin installation method to plugin helper
* Add hook to for note addition on install error to JP/WCS note
* Add install scheduler
* Add async request parameter
* Fix up scheduled action errors
* Add route to get installation status
* Add activation endpoints and helper async methods
* Fix errors in plugin activation
* Make job ID null by default
* Add async plugin tests
* Fix install activation error errant method
* Return error codes from API
* Us AS to retrieve jobs instead of transients
* Get plugin status data from AS actions
* Use job ID instead of action ID for scheduling activation
* Add generic activation and installation status endpoints
* Add changelog entry
2022-01-31 09:17:14 -05:00
Joshua T Flowers
75bc438973
Update store setup widget to use task list API ( #31755 )
...
* Hide store setup widget if user cannot manage woocommerce
* Use task list API to retrieve tasks
* Fix up URL and URL fragments from tasks
* Remove URL assertion on external API response
* Simplify task count and completed count test
* Update tests around widget visibility
* Update step number to be completed count +1
2022-01-30 10:28:40 -05:00
barryhughes
80fbb5f74d
Echo the escaped text (required field asterix)
2022-01-28 06:18:17 -08:00
Vedanshu Jain
02085a084f
Merge pull request #31589 from masteradhoc/patch-2
...
Special characters in email subject
2022-01-28 17:37:25 +05:30
Peter Fabian
9203111ee5
Merge pull request #31744 from woocommerce/fix/double_php_version_nag
...
Fix: double "PHP version upgrade required" notice
2022-01-28 10:36:13 +01:00
Barry Hughes
dc2269eb12
Merge pull request #31673 from mrleemon/trunk
...
Wrap terms and conditions required asterisk symbol with <abbr> tag
2022-01-27 19:22:24 -08:00
Barry Hughes
a859cdd50c
Merge pull request #31295 from oscarssanchez/fix/customers-api-search-param
...
Customers endpoint: Check if search param could be considered empty
2022-01-27 19:21:31 -08:00
Barry Hughes
085d12fc6c
Merge pull request #31711 from woocommerce/issue-31710
...
Hook `set_session` at `woocommerce_after_calculate_totals` @ `1000`
2022-01-27 16:08:57 -08:00
Barry Hughes
0a381f422b
Merge pull request #31266 from carlalexander/patch-1
...
Enhancement: Add `file` to check import file path hooks
2022-01-27 16:05:45 -08:00
barryhughes
0052af05d6
Ensure PHP is parsed
2022-01-27 15:56:48 -08:00
Oscar Sanchez S
806a25633c
Check if search param could be considered empty
2022-01-27 15:37:31 -08:00
Barry Hughes
3e740461dc
Revise docblock.
2022-01-27 15:33:56 -08:00
Barry Hughes
6c2778c109
Add docblock for revised filter.
2022-01-27 15:33:08 -08:00
Nestor Soriano
d93d0abd77
Fix: double "PHP version upgrade required" double notice
...
Recently a new admin notice has been added to warn users about the
upcoming PHP 7.2 requirement starting in Woo 6.5. For new installs
this was appearing together with the "recommended PHP 7.2" notice.
This commit removes the "recommended" notice if the new "required"
notice is already being displayed (unless the site is also using
an outdated WordPress version, which is also covered by the
"recommended" notice).
2022-01-27 16:52:26 +01:00
Fernando
525b8d5ec1
Replace mysql image with mariadb ( https://github.com/woocommerce/woocommerce-admin/pull/8220 )
...
* Replace mysql image with mariadb
This fixes the missing architecture error raised by docker compose
* Update readme.txt
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-27 11:28:56 -03:00
RJ
ed27652e35
fix: onboarding wizard checkmarks go missing sometimes ( https://github.com/woocommerce/woocommerce-admin/pull/8222 )
...
- checkmarks in the stepper component go missing if the first checkmark is hidden
- happens because of html id collision between the checkmarks
- added some randomness to the mask ids
2022-01-27 19:08:31 +08:00
Barry Hughes
7395a4698b
Merge pull request #31734 from helgatheviking/twenty-twenty-one-inputs
...
Limit input widths to number inputs in Twenty Twenty One theme.
2022-01-26 18:41:17 -08:00
helgatheviking
d7a76a5e89
Limit input widths to number inputs in Twenty Twenty One theme. Follow up to #31698 .
2022-01-26 18:17:39 -07:00
jamelreid
70091b2a35
Updated describeIf to use repository variable
2022-01-26 17:07:10 -05:00
Joshua T Flowers
ace300b4cd
Fix setup wizard title and flash of content ( https://github.com/woocommerce/woocommerce-admin/pull/8201 )
...
* Fix setup wizard title and flash of content
* Redirect to profiler server-side if landing on the homepage
* Add changelog entry
2022-01-26 15:28:52 -05:00
jamelreid
8158343c74
Added support for PLUGIN_REPOSITORY & PLUGIN_NAME
2022-01-26 12:49:32 -05:00
jamelreid
a631454b91
Updated describe block for better logging
2022-01-26 11:53:43 -05:00
Chi-Hsuan Huang
8281eac885
Fix Uncaught TypeError count(NULL) for php8+ in Marketing.php ( https://github.com/woocommerce/woocommerce-admin/pull/8213 )
...
* Fix Uncaught TypeError count(NULL) for php8+ in Marketing.php
* Add changelog
2022-01-26 22:42:03 +08:00
Chi-Hsuan Huang
bfa445f600
Add Spain to Square suggestion country list ( https://github.com/woocommerce/woocommerce-admin/pull/8210 )
...
* Add Spain to square_credit_card suggestion country list
* Fix payment-gateway-suggestions.md data source polling url
* Add changelog
2022-01-26 17:37:05 +08:00
dependabot[bot]
cad71e98a0
Bump node-fetch from 2.6.1 to 2.6.7 in /.github/actions/pr-labeler ( https://github.com/woocommerce/woocommerce-admin/pull/8218 )
...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch ) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases )
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7 )
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 16:21:51 +08:00
dhjw
af347d3dc0
Merge branch 'woocommerce:trunk' into autocomplete-signup
2022-01-25 19:43:26 -08:00
Matt Sherman
56a78ab4f9
Bump version to 3.3.0-dev and sync changelog from 3.2.0-beta.1 ( https://github.com/woocommerce/woocommerce-admin/pull/8217 )
...
* Bump version to 3.3.0-dev
* Bump WP tested up to
* Update changelog
* Update testing instructions version
2022-01-25 17:55:50 -05:00
louwie17
2e3b9f1e01
Add tasklist_payment_setup track for WooCommerce Payments ( https://github.com/woocommerce/woocommerce-admin/pull/8146 )
...
* Add changelog
* Move payment setup even to Action button
2022-01-25 17:47:36 -04:00
Jacob Sewell
917545577f
Task List: Personalize your store / Import products - error message is not formatted correctly ( https://github.com/woocommerce/woocommerce-admin/pull/8173 )
...
* Use __() to display a generic error message on sample item import rather than passing through the server message because it probably has tags.
* Add changelog for 4314/8173.
* Add support for __unstableHTML option to Snackbar.
* Use __unstableHTML option to display server-side error messages as they come in.
* Update changelog description for 4314/8173.
2022-01-25 13:06:38 -06:00
Tam Mullen
a61cca5f5f
Merge pull request #31042 from woocommerce/performance/merchant-search-orders
...
Add new performance test Merchant / Search Orders
2022-01-25 15:10:58 +00:00
Fernando
c4e62407ed
Merge pull request #31689 from woocommerce/fix/wc-admin-is-admin-check
...
Add method to check capability to access to the top-level WooCommerce menu item.
2022-01-25 11:26:26 -03:00
Ilyas Foo
af2f0f7a78
Bump versions for multiple WooCommerce packages ( https://github.com/woocommerce/woocommerce-admin/pull/8214 )
...
* Bump versions for multiple packages
* Bump all package versions
* Fix spacing
2022-01-25 19:22:58 +08:00
Peter Fabian
c0951016db
Merge pull request #31290 from woocommerce/add/rest-api-order-auto-draft
...
PoC: Allow auto-draft in API orders
2022-01-25 12:01:02 +01:00
Ilyas Foo
ad5b1bd36c
Update changelog ( https://github.com/woocommerce/woocommerce-admin/pull/8212 )
2022-01-25 17:26:42 +08:00
Ilyas Foo
4acea19739
Update woocommerce-admin to 3.1.0
2022-01-25 12:04:50 +08:00
Sadik
1225371ca8
get_percent_complete return value cast to int
2022-01-24 14:38:25 -08:00
Barry Hughes
fbd450c24d
Merge pull request #31256 from woocommerce/create-product-attributes-lookup-table-in-data-migration
...
Create and activate product attributes lookup table in data migration
2022-01-24 13:08:57 -08:00
Claudio Sanches
2e2ec741cc
Merge pull request #31707 from woocommerce/update/woocommerce-blocks-6.7.3
...
Update WooCommerce blocks package to 6.7.3
2022-01-24 17:07:36 -03:00
Claudio Sanches
648e29146d
Merge pull request #31712 from woocommerce/bump/sniff
...
Bump woocommerce sniff version
2022-01-24 17:03:42 -03:00
Barry Hughes
ee76f6939d
Merge pull request #31565 from johnregan3/31252-woo-var-header-hook
...
Add $loop var to woocommerce_variation_header hook
2022-01-24 10:51:51 -08:00
Barry Hughes
053ee9007c
Merge pull request #31303 from paulochang/patch-4
...
Make GT postcode visible but do not require it.
2022-01-24 10:00:32 -08:00
Barry Hughes
d0f4773ac7
Merge pull request #31698 from helgatheviking/twenty-twenty-inputs
...
Limit input widths to number inputs in Twenty Twenty theme
2022-01-24 08:59:01 -08:00
roykho
a6a686049a
Bump woocommerce sniff version
2022-01-24 08:39:16 -08:00
louwie17
3742be465e
Add performance tracks to onboarding flow ( https://github.com/woocommerce/woocommerce-admin/pull/8042 )
...
* Add payment_setup track for WooCommerce Payments
* Add timing props to tracks in onboarding when installing extensions
* Update extension key logic
* Add changelog
* Add tests for extension installation data for tracks
* Add util function for plugin slug parsing
* Only install and activate plugins that are not already active
2022-01-24 12:23:12 -04:00
Jason Kytros
4001340603
Hook `set_session` at `woocommerce_after_calculate_totals` @ `1000`
2022-01-24 17:29:19 +02:00
Jeff Stieler
bbce4c0d4b
2022 Theme: Fix Search Blocks ( #31687 )
...
* Style search blocks for 2022 theme.
* Use magnifying glass icon for single product zoom.
* Match border color on WP search block.
2022-01-24 09:45:11 -05:00
Veljko V
d0f70804db
Add missing product_search_term in import
...
Added a missing product_search_term in the imports
2022-01-24 15:33:52 +01:00
Luigi
5e2dadb10e
Update WooCommerce blocks package to 6.7.3
2022-01-24 14:25:31 +01:00
Nestor Soriano
186f5b4eda
Set the return type of LookupDataStore::regeneration_was_aborted to bool
2022-01-24 11:11:23 +01:00
Nestor Soriano
d90a1f4e1a
Enable the product attributes lookup table after data regeneration
...
After a regeneration of the product attributes lookup table finishes
successfully the table usage will be automatically enabled, except
if the regeneration was aborted via the deletion of the
woocommerce_attribute_lookup_regeneration_in_progress option.
2022-01-24 11:11:08 +01:00
Ilyas Foo
0d730a5bed
Update readme ( https://github.com/woocommerce/woocommerce-admin/pull/8203 )
2022-01-24 12:46:36 +08:00
Vedanshu Jain
c158d5168f
Merge pull request #31682 from woocommerce/fix/31671-checkout-pay-order-styling
...
Fix styling of "pay for order" form.
2022-01-24 10:14:57 +05:30
dhjw
cd8559381b
Enable browser-suggested passwords on checkout signup
2022-01-22 16:07:04 -08:00
helgatheviking
f7d9ebc436
Limit input widths to number inputs
2022-01-22 12:33:16 -07:00
Jacob Sewell
2b1dd08040
Fix/7174 dismiss button alignment ( https://github.com/woocommerce/woocommerce-admin/pull/8168 )
...
* Combine all the .woocommerce-task-dashboard__container .woocommerce-task-card rules in one block.
* Move the .woocommerce-task-card__section-controls text-align center rule up in specificity so it overrides the rule in experimental-list.
Do we need the experimental-list package still?
* Changelog for 7174/8168.
* Expand button to container width and center text rather than centering the entire button in the ellipsis menu.
* Move ellipsis menu button style to _global so it applies, um, globally.
* Update changelog description for 7174/8186.
* Move ellipsis-menu popover button style to package from _global.
* Add components package changelog for Dismiss button in Unreleased section.
2022-01-22 11:48:01 -06:00
Joshua T Flowers
b5ae232106
Add product meta data to published product tracks ( #31355 )
2022-01-21 17:19:56 -05:00
Fernando Marichal
c065121582
Add call to method `can_view_woocommerce_menu_item`
2022-01-21 17:29:44 -03:00
Nestor Soriano
2565df378e
Add scafolding for the custom orders table feature.
...
- Add the src/Internal/DataStores/Orders, with the appropriate
class files.
- Add an entry in the tools page to initiate the (re)generation
of the table data (does nothing for now).
- Add a new data store class (empty for now).
2022-01-21 16:17:18 +01:00
Fernando Marichal
8e1bd702e4
Add calls to method `can_view_woocommerce_menu_item`
2022-01-21 11:02:23 -03:00
Fernando Marichal
317e530fba
Add method can_view_woocommerce_menu_item
...
This commit adds a method to check if the user can access the top-level WooCommerce item.
2022-01-21 11:02:02 -03:00
Jacob Sewell
1e8cdb3543
Reduce padding around plugin list titles for marketing tools page. ( https://github.com/woocommerce/woocommerce-admin/pull/8171 )
...
* Reduce padding around plugin list titles for marketing tools page.
* Changelog for 8164/8171.
* Update plugin list title padding
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2022-01-20 20:50:21 -06:00
dependabot[bot]
f217131dd0
Bump trim-off-newlines from 1.0.1 to 1.0.3 ( https://github.com/woocommerce/woocommerce-admin/pull/8195 )
...
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines ) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/stevemao/trim-off-newlines/releases )
- [Commits](https://github.com/stevemao/trim-off-newlines/compare/v1.0.1...v1.0.3 )
---
updated-dependencies:
- dependency-name: trim-off-newlines
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-20 16:41:17 +08:00
RJ
49bf6a5c81
Updated frontend email validation to use @wordpress/url ( https://github.com/woocommerce/woocommerce-admin/pull/8197 )
...
* Updated frontend email validation to use @wordpress/url
- added testing for StoreDetails
- changed basic email validation to use @wordpress/url isEmail
2022-01-20 16:40:20 +08:00
renovate[bot]
8af4fe6311
Update dependency follow-redirects to 1.14.7 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8194 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-20 16:33:34 +08:00
Chi-Hsuan Huang
ff1e31cfd4
Enhance report chart i18n support ( https://github.com/woocommerce/woocommerce-admin/pull/8129 )
...
* Support i18n texts for report chart
* Add changelogs
* Add d3-time-format to date pkg devDependencies
* Fix date php format and add tests
* Add date changelog
* Fix date test
* Escape week of string for php formatter
2022-01-20 08:20:18 +08:00
Chi-Hsuan Huang
19e7345f01
Fix undefined derived_currency value for the track 'wcadmin_storeprofiler_store_details_continue' ( https://github.com/woocommerce/woocommerce-admin/pull/8193 )
...
* Fix undefined store_country value for the track wcadmin_storeprofiler_store_details_continue
* Add changelog
2022-01-20 08:19:20 +08:00
Fernando
b74600593e
Change the reviews empty state panels logic ( https://github.com/woocommerce/woocommerce-admin/pull/8147 )
...
* Add unapproved reviews check
* Add tests
* Add changelog
* Create a review e2e test
* Fix lint
* Rename some constants (https://github.com/woocommerce/woocommerce-admin/pull/8178 )
* Renamed `countUnapprovedReviews`
* Renamed `lowStockProductsCount`
* Renamed `unreadOrdersCount`
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-19 13:45:17 -03:00
Joshua T Flowers
ecd8c34c42
Hide store address fields in regions that specify hidden ( https://github.com/woocommerce/woocommerce-admin/pull/8172 )
...
* Hide store address fields in regions that specify hidden
* Add changelog entry
2022-01-19 09:07:43 -05:00
Žygimantas Arūna
db6f6f22ca
New hook: cart item removed because of hash change
2022-01-19 15:01:21 +01:00
Peter Fabian
af3c2732c1
Merge pull request #31508 from woocommerce/update/revert-Customize-WC-logic
...
Revert #30044
2022-01-19 14:50:02 +01:00
Peter Fabian
322696b2fa
Merge pull request #31506 from siliconforks/woocommerce_product_recount_terms-filter
...
Change '__return_true' to true in apply_filters()
2022-01-19 14:38:14 +01:00
Chi-Hsuan Huang
9cfd69d778
Fix incorrect date options when the "Default Date Range" is set from Analytics settings ( https://github.com/woocommerce/woocommerce-admin/pull/8189 )
...
* Add defaultDateRange argument to getAllowedIntervalsForQuery function for default period value
* Fix incorrect date options when the "Default Date Range" is set
* Add changelog
2022-01-19 10:15:33 +08:00
Jeff Stieler
8c78791c37
Fix styling of order pay form via my account.
2022-01-18 16:50:30 -07:00
Jeff Stieler
1a8e27e5ca
Fix my account orders action button spacing.
2022-01-18 16:50:07 -07:00
Joshua T Flowers
067c9f763e
Fix task ID class check and add tests around tracking ( https://github.com/woocommerce/woocommerce-admin/pull/8185 )
...
* Fix task ID class check and add tests around tracking
* Add changelog entry
* Add doc comment for return value of recorded tracks event
2022-01-18 15:29:14 -05:00
Joel Thiessen
96c7eb4e26
Adding tooltip to describe the lack of refund deductions from revenue summaries ( https://github.com/woocommerce/woocommerce-admin/pull/8187 )
2022-01-18 12:07:32 -08:00
jonathansadowski
5e4f6c7413
Add `@see` tag to hint at usage of `wp_doing_ajax`
2022-01-18 13:15:32 -06:00
mrleemon
f5411284a5
Wrap terms and conditions required asterisk symbol with <abbr> tag
2022-01-18 20:00:33 +01:00
Jonathan Sadowski
d39bd0eb54
Partially revert #31113
...
This commit reverts the deprecation if `is_ajax` that occurred in #31113 . It leaves beind the changes to use the native function `wp_doing_ajax` instead.
2022-01-18 11:28:35 -06:00
Fernando
3c424992a4
Refactor selling options - OBW - Business Details ( https://github.com/woocommerce/woocommerce-admin/pull/8081 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2022-01-18 10:46:10 -03:00
Chi-Hsuan Huang
2ce17ed7c0
Fix incorrect total count of downloads on the analytics download report ( https://github.com/woocommerce/woocommerce-admin/pull/8182 )
...
* Fix incorrect total count of downloads on download analytics report
* Add changelog
2022-01-18 19:04:20 +08:00
Chi-Hsuan Huang
18a4a467f8
Fix get_automated_tax_supported_countries doesn't include UK ( https://github.com/woocommerce/woocommerce-admin/pull/8180 )
...
* Add GB to automated tax supported countries list
* Add changelog
2022-01-18 18:31:46 +08:00
Chi-Hsuan Huang
3b8c6662e8
Fix incorrectly displayed note created date ( https://github.com/woocommerce/woocommerce-admin/pull/8179 )
...
* Fix incorrectly displayed note created date
* Add changelog
* Add package changelog
2022-01-18 18:24:15 +08:00
Menaka S
80bf1cfb76
Add WcPay settings info to WC Tracker
2022-01-18 14:22:42 +04:00
Chi-Hsuan Huang
08acc3e2f7
Fix incorrect reader text generated for data points on charts table ( https://github.com/woocommerce/woocommerce-admin/pull/8181 )
...
* Fix incorrect screen reader text generated for data points on charts table
* Add changelog
2022-01-18 18:10:23 +08:00
Nestor Soriano
dbb4605e8e
Change db update version from 6.2 to 6.3.
...
Also rename the db update function to include the Woo version number.
2022-01-18 09:28:54 +01:00
Nestor Soriano
806c4f2ed3
Add a table regeneration step size filter and a "regeneration aborted" warning
...
Add a new filter: woocommerce_attribute_lookup_regeneration_step_size,
it allows to choose how many products will be processed on each
step when the product attributes lookup table is being regenerated,
the default is the previous fixed value, 10.
Also when the regeneration is manually aborted (via deleting the
woocommerce_attribute_lookup_regeneration_in_progress option), the
products - advanced settings section will still allow to enable the
usage of the table, but a warning will be shown because the table
will be in an inconsistent state.
2022-01-18 09:06:14 +01:00
Chi-Hsuan Huang
ae0ea6df2c
Fix php unit test "test_deleted_coupons" for wc >= 6.1.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8162 )
...
* Fix bin/install-wp-tests.sh for wc >= 6.0.0
* Fix php unit test "test_deleted_coupons" for wc >= 6.1.0
* Update WC_Tests_Reports_Coupons test_populate_and_query test
Fix test
2022-01-18 13:31:21 +08:00
Vedanshu Jain
3c9d1353e5
Merge pull request #31317 from kkmuffme/cookie-consent-filter
...
add cookie consent filter
2022-01-17 16:28:33 +05:30
Vedanshu Jain
e6544d737d
Rename filter to be more generic since it can be used across different use cases.
2022-01-17 16:04:34 +05:30
Peter Fabian
505e6ee27c
Merge pull request #31590 from masteradhoc/patch-3
...
change string 'automatically generate an account password'
2022-01-17 11:25:11 +01:00
Chi-Hsuan Huang
161a9d6feb
Fix shipping rate error message overlaps with the 'Proceed' button ( https://github.com/woocommerce/woocommerce-admin/pull/8165 )
...
* Fix shipping rate error message overlaps with the 'Proceed' button
* Add changelog
2022-01-17 14:39:02 +08:00
Chi-Hsuan Huang
409f077a83
Fix setup wizard free features checkbox re-check itself ( https://github.com/woocommerce/woocommerce-admin/pull/8169 )
...
* Fix setup wizard free features checkbox re-check itself
* Add changelog
2022-01-17 10:03:32 +08:00
Kamil
37794b2b7c
Additional parameters in `woocommerce_get_product_thumbnail` ( #31605 )
...
* Additional parameters in `woocommerce_get_product_thumbnail`
* Protection against potential wrong types of parameters
* Coding standards
2022-01-14 13:42:35 -05:00
秋余
afde32fd01
If applied, this commit will format Line items price in order api ( #31593 )
...
* If applied, this commit will format Line items price in order api
When buying three products at price is 17.17. request /wp-json/wc/v3/orders api will get line_items prices is 17.169999999999998, this is because floating point numbers have limited precision.
* use wc_format_decimal function format line item price on order api
2022-01-14 12:35:46 -05:00
jonathansadowski
2a2b609055
Merge pull request #31640 from woocommerce/update/changelog-6.1
...
Prepare trunk to 6.3.0-dev and update changelog
2022-01-14 10:30:47 -06:00
Tom Cafferkey
88a623639c
Code review feedback
2022-01-14 14:26:12 +00:00
Joshua T Flowers
666f740659
Add localized validation to store address ( https://github.com/woocommerce/woocommerce-admin/pull/8123 )
...
* Use locale labels for store info
* Get address validation errors based on locale
* Fix validation rules based on locale
* Fix up store address in location task step
* Add changelog entry
2022-01-14 08:39:25 -05:00
vedanshujain
7b8f3be261
Merge branch 'trunk' into pr/31317
2022-01-14 17:20:46 +05:30
vedanshujain
17f6671924
Merge branch 'trunk' into pr/31435
2022-01-14 17:01:30 +05:30
Vedanshu Jain
fd658797d8
Merge pull request #31577 from woocommerce/issue/31562-filter-coupons-by-status
...
Issue/31562 filter coupons by status
2022-01-14 16:32:27 +05:30
Vedanshu Jain
d5f32ee514
Merge pull request #31610 from woocommerce/fix/allow-block-taxonomy-product-templates
...
Allow Blocks for Custom Product taxonomies
2022-01-14 16:22:50 +05:30
Vedanshu Jain
a9c1c6756a
Updated @since version
2022-01-14 15:57:31 +05:30
dnwjn
fe7a35adc8
Update since version
2022-01-14 10:16:22 +01:00
Claudio Sanches
fa781ef9e7
Merge pull request #31623 from kvnang/trunk
...
Use inline `onload` event instead of jQuery `load`
2022-01-14 02:43:11 -03:00
Ilyas Foo
352c533ed8
Update changelog and testing instructions with 3.1.0-rc.1 release ( https://github.com/woocommerce/woocommerce-admin/pull/8166 )
...
* Update changelogs
* Update testing instructions
* Fix testing instructions
* Fix instructions
2022-01-14 09:53:21 +08:00
Ilyas Foo
e3357ff3bf
Bump version
2022-01-14 07:39:59 +08:00
Claudio Sanches
efcdcfa67c
Prepares trunk to 6.3.0-dev and update changelog
2022-01-13 20:28:58 -03:00
Claudio Sanches
36f4ee84aa
Merge pull request #31556 from woocommerce/update/woocommerce-blocks-6.7.0
...
Update WooCommerce Blocks package to 6.7.1
2022-01-13 20:22:48 -03:00
Joshua T Flowers
3c20d0f007
Add countries data store ( https://github.com/woocommerce/woocommerce-admin/pull/8119 )
...
* Add countries data store
* Add countries state type to reducer
* Add changelog entry
2022-01-13 14:43:56 -05:00
Miguel Perez Pellicer
bfa5d2d14d
Fix format for PHP < 7.3
2022-01-13 18:14:29 +01:00
Miguel Perez Pellicer
9ec469859b
Fix format for PHP < 7.3
2022-01-13 18:10:26 +01:00
Miguel Perez Pellicer
ae65c8c139
Adding Unit tests
2022-01-13 18:01:11 +01:00
Vedanshu Jain
4f8540a6c9
Merge pull request #31587 from esprssoo/trunk
...
Fix PHPDoc Type
2022-01-13 21:21:11 +05:30
Vedanshu Jain
7ef18a5879
Merge pull request #31634 from woocommerce/fix/2022-order-details-table-narrow
...
Fix order details table width on narrow viewports.
2022-01-13 15:53:43 +05:30
Peter Fabian
28f6760b00
Merge pull request #31557 from woocommerce/add-php-72-version-bump-notice
...
Add an admin notice about the upcoming change in PHP requirements
2022-01-13 10:14:06 +01:00
Nestor Soriano
0853bf411d
Fix a "__" that should be "esc_html__" (triggering deprecation notice)
2022-01-13 09:57:29 +01:00
Nestor Soriano
9821d5d0fe
Tryy to remove th PHP 7.2 bump notice only if it actually exists.
2022-01-13 08:57:51 +01:00
Vedanshu Jain
2a3360fb95
Merge pull request #31633 from woocommerce/fix/31324-checkout-block-overlay
...
Basis of overlay used when processing Twenty Twenty-Two checkout.
2022-01-13 09:21:00 +05:30
Chi-Hsuan Huang
f00e904d13
Fix category report query returns invalid net sales ( https://github.com/woocommerce/woocommerce-admin/pull/8153 )
...
* Fix category report query returns invalid net sales
fixes woocommerce/woocommerce-admin#7710
2022-01-13 11:12:16 +08:00
Chi-Hsuan Huang
cedb47d2b0
Make activity panel badges margin consistent ( https://github.com/woocommerce/woocommerce-admin/pull/8152 )
...
* Make activity panel badges margin consistent
* Add changelog
2022-01-13 09:50:59 +08:00
Joel Thiessen
512a4fac7a
Fix marketing task not displaying on Atomic sites. ( https://github.com/woocommerce/woocommerce-admin/pull/8150 )
...
* Should accept a boolean value for is_visible property with an extension, and only evaluate a set of rules
* Adding changelog
* Moving fix to RuleEvaluator so it applies to other rulesets
2022-01-13 09:39:22 +08:00
Moon
fec3ab8c5e
Fix incorrectly selected column type in two-cols experiment ( https://github.com/woocommerce/woocommerce-admin/pull/8137 )
...
* Remove updating to two_cols
* Put woocommerce_task_list_prompt_shown update logic back
2022-01-13 09:38:38 +08:00
Jeff Stieler
6c8758118a
Fix order details table width on narrow viewports.
2022-01-12 18:26:36 -07:00
Jeff Stieler
be7b1b63f1
Add loading treatment to AJAX add to cart buttons.
2022-01-12 18:17:23 -07:00
barryhughes
ef514df47d
Import spin animation.
2022-01-12 17:08:12 -08:00
Barry Hughes
cd73b57191
Modify background color for <mark> elements ( #31631 )
2022-01-12 19:55:07 -05:00
Barry Hughes
360ed8d3c6
Merge pull request #31630 from woocommerce/fix/2022-checkout-tweaks
...
Some 2022 Checkout Form Tweaks
2022-01-12 16:42:48 -08:00
barryhughes
a20513b919
Basis of overlay used when processing Twenty Twenty-Two checkout.
2022-01-12 16:18:23 -08:00
Jeff Stieler
be6feced4c
Fix font sizes in single product tabs area, review form styling.
2022-01-12 16:21:13 -07:00
Jacob Sewell
bba520b886
OBW: Move newsletter signup checkbox inside the same Card as the rest of the Store Details form inputs. ( https://github.com/woocommerce/woocommerce-admin/pull/8148 )
...
* OBW: Move newsletter signup checkbox inside the same Card as the rest of the Store Details form inputs.
* Add changelog entry for 8033/8148.
* Fix changelog format for 8033/8148.
2022-01-12 16:56:19 -06:00
Barry Hughes
045c3fb915
Center product cards (2022 Theme) ( #31626 )
...
* Center product cards (2022 Theme)
* Product card color.
* Center product rating in loops.
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2022-01-12 17:00:52 -05:00
Jeff Stieler
accd914e54
Bold font for all price values on checkout.
2022-01-12 14:59:38 -07:00
Jeff Stieler
8e215949f8
Fix vertical alignment of prices on checkout.
2022-01-12 14:59:13 -07:00
Jeff Stieler
9c3afa0ab3
Fix product vendor display on checkout.
2022-01-12 14:58:54 -07:00
Josh Betz
e9e7bed39b
We can still assume the old status is pending
...
Per the code comment, we were already explicitly assuming draft posts
are "pending". That's fine and shouldn't block us from setting new posts
to auto-draft.
2022-01-12 14:53:52 -06:00
Josh Betz
58aca9855e
PoC: Allow auto-draft in API orders
...
For some operations in the API, like calculating taxes or shipping, it's
helpful to be able to have an order saved in the database. Having an
order object with an ID lets us perform other API actions on that order.
However, we also don't necessarily want these to show up on certain
screens.
Here we adopt the auto-draft status from core WordPress as a way to save
an order as a discrete object while signalling that it's not ready to
action yet.
Suggestions:
* auto-draft might not make sense given that it's used in core. We might
want to use something like `draft` instead.
* We may want to track this separate set of statuses (trash, auto-draft)
in a more official way, so we don't have to copy/paste around the
codebase.
2022-01-12 14:53:52 -06:00
Joshua T Flowers
583590ecf9
Add Magento migration note ( https://github.com/woocommerce/woocommerce-admin/pull/8145 )
...
* Add Magento migration note
* Add changelog entry
2022-01-12 15:41:12 -05:00
Joshua T Flowers
287b00d11b
Add REST endpoint to retrieve address locales ( https://github.com/woocommerce/woocommerce-admin/pull/8116 )
...
* Add REST endpoint to retrieve address locales
* Add changelog entry
2022-01-12 15:40:52 -05:00
Vedanshu Jain
6e08e1802f
Checkout tweaks for 2022 compatibility ( #31619 )
2022-01-12 13:17:49 -05:00
dnwjn
f48358403e
Add comments
2022-01-12 18:30:08 +01:00
Josh Betz
947b9c8ff1
Add doc comment for WC_REST_Coupons_Controller::prepare_objects_query
2022-01-12 11:06:44 -06:00
Josh Betz
a88a7255b1
Fix infinite loop
...
Oops. We can't call $this->prepare_objects_query() unconditionally inside
prepare_objects_query(). This was my fault 🙃
b43af2ae16
To explicitly reference the parent implementation, we use `parent::`
2022-01-12 11:01:53 -06:00
Peter Fabian
38931e401b
Merge pull request #31395 from woocommerce/fix/remove-old-images
...
Removed assets referred to from deprecated functions.
2022-01-12 16:21:51 +01:00
Kevin Ang
d974373b1f
Use inline `onload` event instead of jQuery `load`
2022-01-12 08:30:05 -06:00
Moon
29d4e96114
Make sure WP_ENVIRONMENT_TYPE is defined before checking the value ( https://github.com/woocommerce/woocommerce-admin/pull/8133 )
2022-01-12 14:48:20 +08:00
Ilyas Foo
a0ffceec06
Move WC Pay welcome page from wc-calypso-bridge ( https://github.com/woocommerce/woocommerce-admin/pull/8151 )
...
* Move WC Pay welcome page from wc-calypso-bridge (https://github.com/woocommerce/woocommerce-admin/pull/8083 )
* Add wc-pay-welcome-screen flags
* Add wc pay welcome page from wc calpyso bridge
* Add changelog
* Rename var to pageViewTimestamp to prevent confusion
* Remove unused code
* Make sure hasViewedWelcomePage is a boolean value
* Simplify storeViewWelcome
* Add payments remind me later note (https://github.com/woocommerce/woocommerce-admin/pull/8085 )
* Add payments remind me later note
Fix wcpay path
* Add changelogs
* Update src/Notes/PaymentsRemindMeLater.php
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Fix possibly_add_note syntax error
Update Events.php
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Replace flag icon with component and svg background to png (https://github.com/woocommerce/woocommerce-admin/pull/8101 )
* Activate promo note after WC Pay is activated (https://github.com/woocommerce/woocommerce-admin/pull/8104 )
* Activate promo after wcpay is a\ctivated
* Add changelogs
* Add experimental to promo API path and limit the promo names
* Use ExPlat to render the WC Pay menu conditionally (https://github.com/woocommerce/woocommerce-admin/pull/8115 )
* Check ExPlat to render the menu conditionally
* Update the experiment name
* Fix letter case to follow feature class naming convention
* Enable wc-pay-welcome-page feature in core config (https://github.com/woocommerce/woocommerce-admin/pull/8124 )
* Use wc_calypso_bridge_payments_dismissed option name to respect the previously saved setting from wp.com
* Missed wc_calypso_bridge_payments_dismissed rename
* Use the existing code to prevent duplication
* Fix warning (https://github.com/woocommerce/woocommerce-admin/pull/8141 )
* Change experiment to come after checks (https://github.com/woocommerce/woocommerce-admin/pull/8142 )
* Change track path to (https://github.com/woocommerce/woocommerce-admin/pull/8143 )
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
* Replace deprecated wc-admin-settings package
Co-authored-by: Moon <moon.kyong@automattic.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2022-01-12 14:46:33 +08:00
Jeff Stieler
0c4035615a
Style order details.
2022-01-11 22:46:49 -07:00
Jeff Stieler
497738ea71
Tweak show password icon again.
2022-01-11 21:51:26 -07:00
Jeff Stieler
59f57a631d
Fix radio buttons on cart.
2022-01-11 21:51:14 -07:00
Jeff Stieler
4718c65352
Style order button and responsive form width.
2022-01-11 21:33:29 -07:00
Jeff Stieler
4b83fa9bca
Style checkbox input.
2022-01-11 21:18:37 -07:00
Jeff Stieler
cbc4d31ec5
Fix margin on my account address form.
2022-01-11 20:43:57 -07:00
Jeff Stieler
5c67ccdb86
Style radio buttons.
2022-01-11 20:43:40 -07:00
Jeff Stieler
e4d51dc017
Style checkout form.
2022-01-11 20:43:32 -07:00
Jeff Stieler
a3d83d4aec
Fix checkout column layout.
2022-01-11 18:08:06 -07:00
Jeff Stieler
e20d76a7f7
Style cart totals table.
2022-01-11 15:46:09 -07:00
Jeff Stieler
5224c4c83d
Style "view cart" and "return to shop".
2022-01-11 15:14:31 -07:00
Jeff Stieler
9b8a73875d
Fix add to cart buttons.
2022-01-11 14:58:16 -07:00
Jeff Stieler
d20aa95d03
Fix password input.
2022-01-11 14:58:08 -07:00
Jeff Stieler
9ef7e0c778
Style cart items table.
2022-01-11 14:57:52 -07:00
Joel Thiessen
8ab602de9d
Adding allowed plugins to composer configuration ( https://github.com/woocommerce/woocommerce-admin/pull/8139 )
2022-01-11 12:14:28 -08:00
Jeff Stieler
51f3e1c3f0
Style login form.
2022-01-11 11:04:11 -07:00
Jeff Stieler
96241487d5
Style tables on my account.
2022-01-11 11:04:11 -07:00
Jeff Stieler
ca7a3eec62
Fix input height - affected add to cart.
2022-01-11 11:04:11 -07:00
Jeff Stieler
c6dd0f0ab5
Remove button inner border.
2022-01-11 11:04:11 -07:00
Jeff Stieler
d0f4691b65
Fix notice/message bottom margin.
2022-01-11 11:04:11 -07:00
Jeff Stieler
7e28e79f26
Style address edit form.
2022-01-11 11:04:11 -07:00
Jeff Stieler
540cbf587a
Initial styles for my account template.
2022-01-11 11:04:11 -07:00
Jeff Stieler
f07a9d40ad
Fix message display on my account page.
2022-01-11 11:04:11 -07:00
Vedanshu Jain
487c4f6e17
2022 theme stylings for product and shop pages. ( #31536 )
...
* 2022 theme stylings for product and shop pages.
* Add support for variable products and gallery.
* Add margin to reset button.
* Add support grouped product.
* Disable breadcrumb and add notice styling child.
* Reduce heading size on title page.
* Reduce font-size for content in tabs.
* Fixes for PR 31536 (#31611 )
* Set max width to 1000px for shop and products.
* Display breadcrumbs on product pages.
* Remove admin styles.
* Fix result count and ordering control alignment.
* Fix onsale alignment on single product pages.
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2022-01-11 12:57:48 -05:00
Moon
7348c302ec
Fix duplicated back button with two-cols experiment ( https://github.com/woocommerce/woocommerce-admin/pull/8138 )
...
* Do not render individual task in the extended component when it is rendered with two column task component
* Change var name to shouldRenderTask
2022-01-11 08:21:50 -08:00
Josh Betz
b1da020e07
Fix indentation
...
We use spaces to align the `=>` instead of a mix of tabs and spaces.
2022-01-11 10:08:12 -06:00
Miguel Perez Pellicer
06faa5daa6
Fix logic in get_template_loader_default_file function for loading custom product taxonomies.
2022-01-11 12:30:14 +01:00
Tom Cafferkey
c01e9e6582
Allow relevant block templates to be listed in the edit product view
2022-01-11 11:21:42 +00:00
anitaamurthy
9a34ccc7ba
Merge branch 'trunk' into issue/31562-filter-coupons-by-status
...
# Conflicts:
# plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php
# plugins/woocommerce/tests/legacy/unit-tests/coupon/data.php
2022-01-11 11:36:16 +05:30
Jeff Stieler
030cea98c8
Improve Customers Sync Performance ( https://github.com/woocommerce/woocommerce-admin/pull/8021 )
...
* Avoid unnecessary customer ID retrieval.
* Ignore order count when validating customers.
WC_Customer::get_order_count causes a full table scan without cache.
* Don't get customer names from their last order.
WC_Customer::get_last_order has to scan all _customer_user meta rows.
* Add changelog entry.
* Fix changelog.
* Cache customer ID in Order override classes.
* Check all user roles.
2022-01-10 19:22:09 -05:00
Joshua T Flowers
2dde3f5fa4
Add custom error for store details email and allow continue ( https://github.com/woocommerce/woocommerce-admin/pull/8110 )
...
* Add custom error for store details email and allow continue
* Add changelog entry
2022-01-10 14:18:19 -05:00
Anitaa Murthy
0a1b850fb3
Issue/31555 add status field coupons api ( #31561 )
...
* Added the status field to the GET Coupon(s) API endpoint
* Updated existing unit test for reading coupons from the db
* Updated tests for version 2&3 when fetching coupons
* Update plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php
Co-authored-by: Josh Betz <j@joshbetz.com>
* Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
Co-authored-by: Josh Betz <j@joshbetz.com>
* Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
Co-authored-by: Josh Betz <j@joshbetz.com>
* Updated unit test for getters and setters
* Fix indentation
* Fix indentation.
Co-authored-by: Josh Betz <j@joshbetz.com>
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2022-01-10 13:41:32 -05:00
jonathansadowski
4f482cff26
Merge pull request #31603 from woocommerce/fix/dep-sass-format
...
Use calc function to prevent deprecated warnings when building
2022-01-10 10:19:08 -06:00
Brian
26d8a667b5
small text change
2022-01-10 16:03:31 +01:00
roykho
39a048631c
Use calc function to prevent deprecated warnings when building
2022-01-10 06:40:40 -08:00
louwie17
48c2742099
Update changelog with 3.0.3 changes ( https://github.com/woocommerce/woocommerce-admin/pull/8130 )
2022-01-10 08:22:19 -04:00
Jeff Stieler
79c9b66714
Prevent photoswipe tap from interacting with elements directly underneath.
...
Props @Edsuns and @andi34.
2022-01-07 18:02:46 -07:00
Brian
f736216f01
Update class-wc-settings-accounts.php
2022-01-08 01:17:33 +01:00
Brian
1d7b1a7171
fixes #31560
...
fixes #31560 - change string 'automatically generate an account password'
2022-01-08 01:13:22 +01:00
Brian
9a6ba5cac9
fix #31586
...
fix #31586 - Special characters in email subject
2022-01-08 01:05:43 +01:00
Raluca Stan
cbb6c6b4ab
Merge branch 'trunk' into update/woocommerce-blocks-6.7.0
2022-01-07 18:37:05 +01:00
Raluca Stan
56bc2cec33
Update Woo Blocks version to 6.7.1
2022-01-07 18:23:32 +01:00
anitaamurthy
f43ae46ff3
Merge branch 'issue/31562-filter-coupons-by-status' of https://github.com/woocommerce/woocommerce into issue/31562-filter-coupons-by-status
2022-01-07 16:46:20 +05:30
anitaamurthy
2a43c843ec
Updated filter to support backward compatibility
2022-01-07 16:45:40 +05:30
Anitaa Murthy
b43af2ae16
Update plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-coupons-controller.php
...
Co-authored-by: Josh Betz <j@joshbetz.com>
2022-01-07 16:38:36 +05:30
Nikos Papadakis
67d81bac8d
Fix PHPDoc Type
2022-01-07 11:50:53 +02:00
Nestor Soriano
d3036beff7
Changes in the notice for the PHP 7.2 bump:
...
- Update the link to the announcement post
- Extend the notice text with "Your server is currently running an
older version of PHP, so this change will impact your store".
2022-01-07 10:25:19 +01:00
Chi-Hsuan Huang
016c8887c9
Fix storybook cannot resolve @woocommerce/settings error ( https://github.com/woocommerce/woocommerce-admin/pull/8128 )
2022-01-07 13:05:22 +08:00
Chi-Hsuan Huang
b9d788c457
Fix variations table product filter ( https://github.com/woocommerce/woocommerce-admin/pull/8120 )
...
* Fix variations table product filter query
* Add changelogs
2022-01-07 12:25:44 +08:00
Chi-Hsuan Huang
f47a5c7898
Fix misaligned status column on orders report ( https://github.com/woocommerce/woocommerce-admin/pull/8121 )
...
* Fix misaligned status column on order report
Add labelPositionToLeft prop to order-status component
Set labelPositionToLeft=true for <OrderStatus> on orders report table
Remove style import
* Add changelogs
Add changelogs
2022-01-07 11:37:47 +08:00
Lourens Schep
af929b5b39
Version bump WooCommerce Admin to 3.0.3
2022-01-06 19:35:52 -04:00
louwie17
0e3286772e
Check if WC Pay is supported before adding gateway ( https://github.com/woocommerce/woocommerce-admin/pull/8122 )
...
* Check if WC Pay is supported before adding gateway
* Add changelog
2022-01-06 18:15:08 -04:00
Joel Thiessen
9f107352ad
Adding changelogs from 3.0.2 release ( https://github.com/woocommerce/woocommerce-admin/pull/8118 )
2022-01-06 09:34:11 -08:00
roykho
3953686056
Update the recommended engine versions to use
2022-01-06 09:14:13 -08:00
Raluca Stan
5d74f6a691
Fix the update of composer.lock
2022-01-06 14:41:19 +01:00
Raluca Stan
7f733646f1
Revert "Update WooCommerce blocks package to 6.7.0"
...
This reverts commit ccf5db4f3a
.
2022-01-06 14:37:05 +01:00
louwie17
26a9089f58
Make use of the woocommerce_allow_marketplace_suggestions filter ( https://github.com/woocommerce/woocommerce-admin/pull/8117 )
...
* Make use of the woocommerce_allow_marketplace_suggestions filter in WooCommerce Payment promotion
* Add changelog
2022-01-06 09:00:38 -04:00
louwie17
3998f88597
Remove unpublished wc-admin-settings package and update getSetting usage ( https://github.com/woocommerce/woocommerce-admin/pull/8057 )
...
* Remove use of wc-admin-settings from packages
* Move getSetting to getAdminSetting and remove wc-admin-settings package
* Add changelog
* Update package.json and remove last use of wc-admin-settings
2022-01-06 08:53:30 -04:00
anitaamurthy
89d8cb6a9b
Merge branch 'issue/31555-add-status-field-coupons-api' into issue/31562-filter-coupons-by-status
2022-01-06 10:54:41 +05:30
anitaamurthy
5b582de829
Updated unit test for getters and setters
2022-01-06 10:48:33 +05:30
Anitaa Murthy
74adbd18f5
Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
...
Co-authored-by: Josh Betz <j@joshbetz.com>
2022-01-06 10:42:04 +05:30
Anitaa Murthy
b7e2a58cea
Update plugins/woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
...
Co-authored-by: Josh Betz <j@joshbetz.com>
2022-01-06 10:41:57 +05:30
Anitaa Murthy
e6133734f2
Update plugins/woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php
...
Co-authored-by: Josh Betz <j@joshbetz.com>
2022-01-06 10:41:46 +05:30
Chi-Hsuan Huang
0c028b4a87
Add resolution check to ensure setup-wizard redirection on homescreen is stable ( https://github.com/woocommerce/woocommerce-admin/pull/8114 )
...
* Add resolution check to ensure setup-wizard redirection is stable
* Add changelogs
2022-01-06 09:47:09 +08:00
Barry Hughes
747cb6b718
Merge pull request #30955 from drjamesj/fix/30828
...
Fixes #30828
2022-01-05 15:51:11 -08:00
James
232e47611b
Fixes #30828
2022-01-05 14:11:57 -08:00
roykho
0f67d858e9
Use application installed Grunt instead of requiring global install
2022-01-05 13:18:09 -08:00
roykho
26c3171101
Explicitly add plugins allowed
2022-01-05 12:09:29 -08:00
anitaamurthy
820cdbe00c
Added unit tests for filtering coupons by status
2022-01-05 21:05:24 +05:30
John Regan
757094ea43
Add var to woocommerce_variation_header hook
2022-01-05 08:56:01 -06:00
anitaamurthy
5f881728e5
Added new unit test class for coupons v3 controller
2022-01-05 18:38:48 +05:30
anitaamurthy
53cdfa9c24
Added option to filter coupons by status
2022-01-05 18:16:22 +05:30
anitaamurthy
07e8c0667b
Updated tests for version 2&3 when fetching coupons
2022-01-05 16:36:09 +05:30
Chi-Hsuan Huang
91fc05dcfe
Fix misaligned rows per page dropdown ( https://github.com/woocommerce/woocommerce-admin/pull/8113 )
...
* Fix misaligned rows per page dropdown
* Add changelogs
Add changelogs
2022-01-05 18:01:42 +08:00
Chi-Hsuan Huang
af99137dff
Truncate the site title with an ellipses on the second line ( https://github.com/woocommerce/woocommerce-admin/pull/8112 )
...
* Truncate the site title with ellipses on the second line
Fix style
* Add changelogs
* Add title property to nav site title
Update
2022-01-05 13:39:33 +08:00
anitaamurthy
160cf58410
Updated existing unit test for reading coupons from the db
2022-01-05 10:32:53 +05:30
renovate[bot]
1f0385561a
Update dependency nth-check to 2.0.1 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8050 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 11:02:20 +08:00
renovate[bot]
84ae45c2ef
Update dependency json-schema to 0.4.0 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8049 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-05 11:00:30 +08:00
Moon
8983852686
Render the activity panel when the tasklist is hidden ( https://github.com/woocommerce/woocommerce-admin/pull/8111 )
2022-01-04 18:23:34 -08:00
jonathansadowski
3ce4a7c911
Update class-wc-admin-notices.php
2022-01-04 13:03:02 -06:00
Nestor Soriano
860a8b9e84
Add an admin notice about the upcoming change in PHP requirements
...
The minimum required PHP version will be 7.2 as of WooCommerce 6.5.
This adds a dismissable admin notice to PHP 7.0 and 7.1 users.
2022-01-04 17:21:19 +01:00
Raluca Stan
ccf5db4f3a
Update WooCommerce blocks package to 6.7.0
2022-01-04 14:34:37 +01:00
renovate[bot]
233a8a1da1
Update dependency prismjs to 1.25.0 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8051 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 20:00:18 +08:00
renovate[bot]
718aceac64
Update dependency ansi-regex to 5.0.1 [SECURITY] ( https://github.com/woocommerce/woocommerce-admin/pull/8048 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-04 19:57:55 +08:00
Ján Mikláš
fb9f50a2e5
Add MailPoet to Installed marketing extensions ( https://github.com/woocommerce/woocommerce-admin/pull/8091 )
...
* Add MailPoet to Installed marketing extensions
Fixes woocommerce/woocommerce-admin#8088
* Add changelogs
2022-01-04 18:00:22 +08:00
anitaamurthy
9fee3b0b4e
Added the status field to the GET Coupon(s) API endpoint
2022-01-04 15:20:37 +05:30
Chi-Hsuan Huang
f838727546
Replace all docs.woocommerce.com links with woocommerce.com's ( https://github.com/woocommerce/woocommerce-admin/pull/8105 )
...
* Replace all docs.woocommerce.com links with woocommerce.com/documentation
* Add changelogs
Update changelogs
* Update woocommerce-amazon-ebay-integration doc url
2022-01-04 17:03:58 +08:00
Chi-Hsuan Huang
4aaa938c3e
Fix ci php unit tests with woocommerce >= 6.0.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8108 )
2022-01-04 17:03:30 +08:00
Vedanshu Jain
aee1f0880f
Merge pull request #31522 from woocommerce/fix/31518-support-for-new-block-templates-naming-conventions
...
Add support for Gutenberg 12.1.0 block template naming convention
2022-01-04 13:53:37 +05:30
Chi-Hsuan Huang
950455827b
OBW: Fix free extensions list isn't updated after store location or industry is changed ( https://github.com/woocommerce/woocommerce-admin/pull/8099 )
...
* Rename variables and remove unnecessary select calls in selective-extensions-bundle
* Invalidate getFreeExtensions resolution whenever country or industry
changed
* Fix grammar
* Add changelogs
2022-01-04 11:31:58 +08:00
Chi-Hsuan Huang
a2f0390ac8
Skip opening the dropdown if the click event is from the error message ( https://github.com/woocommerce/woocommerce-admin/pull/8094 )
...
* Skip focusing the dropdown if the click event is from the error message
fix woocommerce/woocommerce-admin#7906
Update conmments
* Add changelogs
2022-01-04 11:00:05 +08:00
Tom Cafferkey
49681e6b24
Change continue to break in foreach loop to prevent further iterations
2022-01-03 12:01:45 +00:00
Chi-Hsuan Huang
2f290d79a9
Reset "install_timestamp" if it's not numeric to avoid TypeError ( https://github.com/woocommerce/woocommerce-admin/pull/8100 )
...
* Reset install_timestamp if it's not numeric to avoid type error
Fix indent
* Add changelogs
* Remove ununnecessary logic
2022-01-03 15:51:51 +08:00
Nagesh Pai
6bff4ff4d4
Merge branch 'woocommerce:trunk' into fix/30209
2022-01-01 19:19:03 +05:30
Nagesh Pai
f8afaf8d42
CSS fix for checkout page in Twenty Twenty. Cleaned an empty rule in the Twenty Twenty SCSS file
2021-12-31 22:11:51 +05:30
Fernando Marichal
04567bb8fd
Bump woocommerce-admin version to 3.0.1
2021-12-30 17:01:21 -03:00
Ilyas Foo
aa9f2df07f
Sync version and changelogs after 3.1.0 beta ( https://github.com/woocommerce/woocommerce-admin/pull/8092 )
...
* Bump version to next dev version
* Update testing instructions
* Update changelogs
2021-12-30 10:35:22 +08:00
Chi-Hsuan Huang
755f99d5a1
Disallow whitespace as a platform name input ( https://github.com/woocommerce/woocommerce-admin/pull/8090 )
...
* Disallow whitespace as the platform name input
* Add changelogs
2021-12-30 10:05:12 +08:00
jonathansadowski
6cc335c35a
Merge pull request #31523 from woocommerce/fix/block-theme-check
...
Update block theme check to work in WP 5.9 without Gutenberg enabled
2021-12-29 12:13:03 -06:00
Veren
4da4c1d12f
Simplify possible path generation
2021-12-29 15:28:21 +01:00
Fernando
cb8eff85f5
Changelog - Update release date ( https://github.com/woocommerce/woocommerce-admin/pull/8093 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-29 08:04:23 -03:00
Albert Juhé Lluveras
91d2b68769
Update block theme check to work in WP 5.9 without Gutenberg enabled
2021-12-29 11:10:14 +01:00
Chi-Hsuan Huang
ac78e74ef6
OBW: Hide the extensions header when no available plugins in the category ( https://github.com/woocommerce/woocommerce-admin/pull/8089 )
...
* Hide extension list header if no plugins under the category
* Refactor variable naming and add missing hook deps
* Add changelogs
* Add tests for <ExtensionSection />
2021-12-29 16:32:19 +08:00
Fernando Marichal
921b0c19f5
Bump woocommerce-admin version to 3.0.0
2021-12-28 17:02:22 -03:00
Veren
b2239b592a
Add support for Gutenberg 12.1.0 block template naming convention
...
Gutenberg 12.1.0 has changed the convention for the directory paths from
`block-templates` and `block-template-parts` to `templates` and `parts`
respectively.
Previously, WooCommerce was checking whether block templates were
available, only in the `block-templates` directory.
This commit adds support for both older and newer naming conventions,
as well as parents and child themes.
Fixes #31518
2021-12-28 19:25:13 +01:00
Adrian Duffell
a0278af8ad
Syc 2.9.x changelog entries ( https://github.com/woocommerce/woocommerce-admin/pull/8044 )
...
* Add changelog
* Fixed style
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-28 10:36:16 -03:00
Moon
c84a8f4d40
Add/8073 add action_click event to inbox 2.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8086 )
...
* Prevent firing multiple panel view event
* Add inbox_action_click event when a note gets clicked
* Add changelog
2021-12-27 16:38:31 +08:00
Moon
ccd2495ff4
Do not initialize WC Pay promotion if spec is empty ( https://github.com/woocommerce/woocommerce-admin/pull/8087 )
2021-12-27 16:29:51 +08:00
Tam Mullen
74445e23d5
Add GitHub templates for issues and PRs
2021-12-24 16:45:52 +00:00
Niels Lange
db2be99ea8
Revert #30044
2021-12-24 19:59:26 +07:00
Silicon Forks
27dc83a779
Change '__return_true' to true in apply_filters()
...
Presumably the original author of this code intended to use true here
instead of '__return_true'; '__return_true' is commonly used with
add_filter() but it does not really make sense to use it here.
This was not really a bug because '__return_true' is a "truthy" value,
so the logic was working as intended; I am changing it to true just to
improve code readability.
2021-12-23 13:39:38 -04:00
Chi-Hsuan Huang
61cdae82c4
Fix unexpected analytics report table filter results ( https://github.com/woocommerce/woocommerce-admin/pull/8072 )
...
* Fix unexpected analytics report table filter results
* Add changelogs
Update changelogs
2021-12-23 16:52:39 +08:00
Fernando
566bf788a4
OBW: Update WC Pay label on recommended extensions list ( https://github.com/woocommerce/woocommerce-admin/pull/8038 )
...
* Modified WC-Pay label
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-22 09:22:29 -03:00
Tom Cafferkey
c9c5f86d30
Update WooCommerce Blocks to 6.5.1
2021-12-22 11:55:17 +00:00
Chi-Hsuan Huang
a43bcaca0f
Remove low performing inbox notes ( https://github.com/woocommerce/woocommerce-admin/pull/8054 )
...
* Remove Marketing note
* Remove DrawAttention note
Remove DrawAttention note
* Remove NeedSomeInspiration note
* Remove ChooseNiche note
* Remove StartDropshippingBusiness note
* Remove FilterByProductVariationsInReports note
* Remove LearnMoreAboutVariableProducts note
* Remove GettingStartedInEcommerceWebinar note
* Remove deprecated note tests
* Add changelogs
Update changelogs
* Remove navigation feedback notes (https://github.com/woocommerce/woocommerce-admin/pull/8055 )
* Remove navigation feedback note
issue woocommerce/woocommerce-admin#8043
* Add changelogs
2021-12-22 13:11:10 +08:00
Joshua T Flowers
0ef8959a22
Allow content data note props to be passed from remote sources ( https://github.com/woocommerce/woocommerce-admin/pull/8047 )
...
* Allow content data note props to be passed from remote sources
* Add changelog entry
2021-12-21 10:52:15 -05:00
Fernando
00055f69e4
Add e2e tests for PR 7963 ( https://github.com/woocommerce/woocommerce-admin/pull/7996 )
...
* Add e2e tests for PR 7963
* Fix lint
* Verify the next screen is shown
* Simplifying product types step
* Add className to SelectControl
* Fix e2e test
* Removed not used dependency
* Add method `expandRecommendedBusinessFeatures`
* Fixed style selectors
* Add default value to `name`.
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-21 09:58:15 -03:00
Veljko V
03a4ed7ed9
Update plugins/woocommerce/tests/performance/requests/merchant/orders-search.js
...
Co-authored-by: Tam Mullen <tam.mullen@automattic.com>
2021-12-21 13:56:11 +01:00
Veljko V
0fb8047bcc
Update plugins/woocommerce/tests/performance/requests/merchant/orders-search.js
...
Co-authored-by: Tam Mullen <tam.mullen@automattic.com>
2021-12-21 13:54:23 +01:00
Veljko V
829d9b3035
Update plugins/woocommerce/tests/performance/requests/merchant/orders-search.js
...
Co-authored-by: Tam Mullen <tam.mullen@automattic.com>
2021-12-21 13:54:12 +01:00
Chi-Hsuan Huang
b5ebf374e3
Allow storybook use different style based on a config ( https://github.com/woocommerce/woocommerce-admin/pull/8046 )
...
* Add style links to storybook preview head based on the env
Use *style.css or *style-rtl.css based on a env flag so we don't need to modify
the preview-head.html manully.
* Add npm run storybook-rtl
* Update the storybook-rtl command description
2021-12-21 10:48:28 +08:00
Chi-Hsuan Huang
a04ac544f8
Fix select-control component label value alignment css style ( https://github.com/woocommerce/woocommerce-admin/pull/8045 )
...
* Fix(select-control): fix label value alignment
Add padding to input value to have same algin space with input label.
fixed issue 7786
* Add changelogs
Fix changelog entry
Add changelogs
2021-12-20 17:54:22 +08:00
Ron Rennick
669fcef988
Product version bump update
2021-12-17 14:13:06 -04:00
Ron Rennick
5bd9f109b5
add change log header for 2.0.5
2021-12-17 14:11:16 -04:00
Ron Rennick
fe5d4d6c2e
Merge pull request #31400 from woocommerce/add/plugin-upload-test-functionality
...
Added plugin upload and test functionality
2021-12-17 12:22:33 -04:00
jonathansadowski
3c96dec9d7
Merge pull request #31471 from woocommerce/update/woocommerce-blocks-6.5.0
...
Update WooCommerce Blocks package to 6.5.0
2021-12-17 08:41:11 -06:00
Néstor Soriano
1a90c7245e
Merge pull request #31088 from LuigiPulcini/add/bulk-action-shortcircuit
...
Added logic to prematurely return on custom actions
2021-12-17 15:21:52 +01:00
Tom Cafferkey
bb5b1a1e90
composer.lock update
2021-12-17 09:01:10 +00:00
Tom Cafferkey
e364a67f42
Update package version
2021-12-17 08:52:25 +00:00
Tam Mullen
67a81463e4
Merge pull request #31007 from woocommerce/performance/newest-test-category-page
...
Add new performance test Shopper / Browse products by category
2021-12-16 21:57:10 +00:00
Greg
e7d3a65752
Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-16 13:39:15 -07:00
Greg
77bb3e958d
Logic for private repos and minor tweaks
2021-12-16 09:58:11 -07:00
Roy Ho
f7c93a6823
Merge branch 'trunk' into standardize-config-files
2021-12-16 05:44:48 -08:00
Joel Thiessen
8b0b840a89
Bumping WCA version to 3.0.0-rc.1
2021-12-15 15:48:39 -06:00
Greg
7c8bd91b25
Use describeIf to check for running plugin upload
2021-12-15 13:55:24 -07:00
Greg
6e5005b0d4
Merge branch 'trunk' into add/plugin-upload-test-functionality
2021-12-15 13:43:46 -07:00
Christopher Allford
4d18d16236
Merge pull request #31450 from woocommerce/dev/bump-woo-admin-2-9-4
...
Bump Woo Admin to 2.9.4
2021-12-15 10:52:58 -08:00
Barry Hughes
b3a54801a1
Merge pull request #31394 from tc33/fix/31393-geolocating-country-codes
...
Fix #31393 to use country from headers only if geolocating current user
2021-12-15 09:52:55 -08:00
Joel Thiessen
2579f063d9
Sync up changelogs after 3.0.0-rc.1 release ( https://github.com/woocommerce/woocommerce-admin/pull/8032 )
2021-12-15 08:54:48 -08:00
Roy Ho
af3585b67b
Merge branch 'trunk' into standardize-config-files
2021-12-15 07:13:58 -08:00
roykho
0f369d7040
Update package and node version
2021-12-15 07:08:37 -08:00
Adrian Duffell
8c98b437da
Bump Woo Admin to 2.9.4
2021-12-15 22:49:15 +08:00
Ilyas Foo
21f0a4e618
Bump WCA version to 2.9.3
2021-12-15 11:38:06 +08:00
Ron Rennick
b478bbb949
Merge pull request #31415 from woocommerce/fix/jest-e2e-retries
...
Fix jest e2e retries
2021-12-14 22:34:22 -04:00
Paul Sealock
eb453cce20
Add NX commands for Jetpack Changelogger ( #31166 )
2021-12-15 14:14:17 +13:00
roykho
47e39bcafc
Restore eslint dep
2021-12-14 12:22:50 -08:00
Christopher Allford
ea1871abb9
Updated Changelog
2021-12-14 11:07:37 -08:00
Greg
2762c9821a
Merge branch 'trunk' of https://github.com/woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-14 10:49:53 -07:00
roykho
3ba275e6c9
Deprecate stylelint-config-wordpress with current package
2021-12-14 09:14:54 -08:00
roykho
3578d61c0a
Replace deprecated babel-eslint with @babel/eslint-parser
2021-12-14 09:08:24 -08:00
roykho
85297dd1a1
Use sass package instead of node-sass
2021-12-14 08:57:28 -08:00
Joshua T Flowers
7aeb0a19d2
Migrate header items to slot fills ( https://github.com/woocommerce/woocommerce-admin/pull/7805 )
...
* Add SlotFill area to header
* Add activity panel fill
* Move activity panel to root client folder
* Move activity panel registration to its own folder
* Add navigation fill
* Add page title slotfill
* Slot fill the back button
* Move mobile banner to slot fill
* Fix navigation fill on embed pages
* Add changelog entry
* Allow order prop to header item fill
* Split header into before and after
* Fix header title gaps
* Fix nav and mobile app banner placement
* Fix display options import
* Only use last item for page header title fill
* Use function to pass fill props instead of bind
* Rename header slots
* Fix mobile banner dismissal check
* Fix up inbox panel rename
* Update task title in tests
* Fix up task status retrieval
2021-12-14 11:56:42 -05:00
roykho
ff7c615770
Move gitignore paths to root when it makes sense
2021-12-14 08:21:37 -08:00
John Regan
e31086327b
Fix/7660 Remove note->read_meta ( https://github.com/woocommerce/woocommerce-admin/pull/7988 )
...
* 7660 Remove note->read_meta
* Fix/7660 Update changelog
* 7660 Remove note->save_meta_data
2021-12-14 09:43:24 -04:00
erikdemarco
7b0b6e3db4
Filter enhancement
...
add field key to 'woocommerce_checkout_required_field_notice' filter. Currently if we want to hook any field we can only hooked on field's label. This is not good because field can have duplicate label. And field label can hae many variation because of translations. We need to add field key to the filter so we can hook on it instead.
2021-12-14 17:09:12 +07:00
Moon
2e9bbae66f
Bump woocommerce-admin version to 2.9.2
2021-12-13 16:11:30 -08:00
Greg
54d1379deb
Rename plugin_repository variable
2021-12-13 16:11:22 -07:00
Greg
fba795421d
Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-test-functionality
2021-12-13 15:45:32 -07:00
Joshua T Flowers
602ff9500c
Fix shipping task completion status ( https://github.com/woocommerce/woocommerce-admin/pull/8031 )
...
* Remove destructured props in favor of explicit props
* Optimistically complete task when rates are updated
* Add changelog entry
2021-12-13 16:13:05 -05:00
MD Sultan Nasir Uddin
705a383de5
Fix hard coded email template path ( #31321 )
2021-12-13 14:03:45 -07:00
roykho
26121fa059
Designate root level eslint config
2021-12-13 08:13:40 -08:00
xristos3490
dcdc32b7af
Fix typo
2021-12-10 18:18:07 +02:00
xristos3490
bab6835915
Add filter to control if an order is partially refunded under wc_create_refund
2021-12-10 18:14:51 +02:00
jamelreid
b4d0bc0dab
Enabled jest retries locally
2021-12-10 11:01:58 -05:00
xristos3490
a5e4f1be2f
Fix the filter argument
2021-12-10 17:57:15 +02:00
xristos3490
304840bb6b
Cleanup
2021-12-10 17:47:58 +02:00
xristos3490
8ee6fa6fbe
Add refund related filters to html-order-items template
2021-12-10 17:45:20 +02:00
Fernando
020ad3a58d
Add featured pill for MailPoet and Google Listings in marketing task ( https://github.com/woocommerce/woocommerce-admin/pull/8009 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-10 08:01:13 -05:00
Jamel Noel Reid
22721e0a70
Merge pull request #31336 from woocommerce/add/jest-retry
...
Retry failed E2E tests using Jest
2021-12-10 07:46:09 -05:00
Vedanshu Jain
bd5cf4adca
Merge pull request #31373 from woocommerce/fix/28459
...
Db version option consistency
2021-12-10 16:15:02 +05:30
Ilyas Foo
fd396d018d
Add Inbox Note example code to docs ( https://github.com/woocommerce/woocommerce-admin/pull/8019 )
...
* Add Inbox Note example extension
* Typo
* Put into class
* Fix premature class import, moved note check logic to its own method
2021-12-10 12:52:03 +08:00
jamelreid
68ca895e8b
Removed parameter
2021-12-09 16:46:55 -05:00
Jeff Stieler
7f86a45292
Adds the image size to gallery nav (waiting the image load) ( #31407 )
...
* adds the image size to gallery nav
* replaces tabs with spaces
Co-authored-by: Erik Golinelli <erik@codekraft.it>
2021-12-09 13:22:07 -07:00
Moon
149abf09bc
Do not truncate non-U.S notes. ( https://github.com/woocommerce/woocommerce-admin/pull/8022 )
...
* Do not truncate non-U.S notes.
* Include en_AU, en_CA, en_GB, and en_ZA
2021-12-09 10:43:04 -08:00
Adrian Duffell
85f7ee83f5
Add Testing Instructions for Inbox 2.0 ( https://github.com/woocommerce/woocommerce-admin/pull/8025 )
2021-12-09 18:22:32 +08:00
Moon
98c9d8adc5
Do not truncate notes created before WC 6.1 release ( https://github.com/woocommerce/woocommerce-admin/pull/8023 )
...
* Do not truncate notes created before WC 5.9 release
* Change WC version number
2021-12-08 19:08:47 -08:00
Greg
473c4e5279
Added upload and test functionality
2021-12-08 15:56:42 -07:00
jamelreid
6086223708
Added setupJestRetries to beforeAll block
2021-12-08 14:00:31 -05:00
jamelreid
f4472d74ec
Merge branch 'trunk' into add/jest-retry
2021-12-08 13:03:23 -05:00
Peter Fabian
d53a472bf1
Merge pull request #31105 from matchboxdesigngroup/fix/a11y-improvement-add-to-cart-variable
...
A11y improvement to the variable product add to cart table on product singles
2021-12-08 18:38:01 +01:00
Cullen Whitmore
be19efe729
Bump the version string in the template header to 6.1.0
2021-12-08 10:13:11 -06:00
Joel Thiessen
6b687e4196
Sync up changelogs after 3.0.0-beta.2 release ( https://github.com/woocommerce/woocommerce-admin/pull/8016 )
2021-12-08 08:11:12 -08:00
Peter Fabian
88943b0f67
Removed assets referred to from deprecated functions.
2021-12-08 14:58:34 +01:00
Tom Castle
23fe784e5a
Fix #31393 to use country from headers only if geolocating current user
2021-12-08 12:53:20 +00:00
Adrian Duffell
e4d670e035
Bump woocommerce-admin package to 2.9.1
2021-12-08 12:19:46 +08:00
Peter Fabian
edcffa9912
Merge pull request #31338 from woocommerce/fix/28166-coupon-item-meta-data
...
Consistently Store Coupon Data in Order Item Meta
2021-12-07 18:35:08 +01:00
Barry Hughes
b439bbd612
Merge pull request #31383 from woocommerce/fix/base-address-wording-2
...
Make the setting's name for default customer location more accurately reflect the effect of it.
2021-12-07 09:28:44 -08:00
Barry Hughes
acbe200c79
Merge pull request #31113 from kkmuffme/use-native-wp_doing_ajax
...
Use native wp_doing_ajax() instead of custom is_ajax()
2021-12-07 09:26:40 -08:00
barryhughes
ca37d3ba41
Deprecation will be as of 6.1.0.
2021-12-07 08:59:17 -08:00
Peter Fabian
1003a27b1b
Make the setting's name more accurately reflect the effect of it.
2021-12-07 17:41:04 +01:00
Luigi Pulcini
17ef312178
changed requested data check
2021-12-07 11:33:13 +01:00
LuigiPulcini
f845063422
Requested change on data check
2021-12-07 10:03:02 +01:00
Moon
935e79caee
Update the default mysql username and password ( https://github.com/woocommerce/woocommerce-admin/pull/8003 )
2021-12-06 17:20:35 -08:00
Adrian Duffell
6c802ff932
Add inbox_note_view Tracks Event ( https://github.com/woocommerce/woocommerce-admin/pull/8002 )
2021-12-07 09:18:54 +08:00
Mik
3fb028931e
Prevent coupon move notice for new installs. ( https://github.com/woocommerce/woocommerce-admin/pull/7995 )
...
* Prevent notice if legacy coupon menu is disabled
* Disable legacy menu for new install
* Add changelog entry
* Add PR number to changelog
2021-12-06 15:21:08 +00:00
Peter Fabian
ba1b98cba8
Update the tooltip to reflect the db update policy.
2021-12-06 14:52:08 +01:00
Peter Fabian
feaf225526
Update db version to match the WC version after running update callbacks.
...
This is the behaviour that normally happens when a user updates version by version, but if the user skips several versions, db version and WC version could diverge.
2021-12-06 14:50:25 +01:00
Cullen Whitmore
a96eb4d583
Merge branch 'trunk' into fix/a11y-improvement-add-to-cart-variable
2021-12-04 22:57:55 -06:00
louwie17
6c2fbce0c0
Remove limit from coupons query when getting the total count ( https://github.com/woocommerce/woocommerce-admin/pull/8001 )
...
* Remove limit from coupons query when getting the total count.
* Add changelog
2021-12-04 14:29:12 -04:00
Joshua T Flowers
5f8db47c16
Add payment gateway suggestion docs and example extensions ( https://github.com/woocommerce/woocommerce-admin/pull/7966 )
...
* Remove dated doc references
* Clean up slotfill and install script docs
* Add filter to suggestion specs
* Register example gateways
* Mock gateway installation and activation
* Add simple gateway
* Update gateway IDs
* Add slot filled gateway
* Add slot fill for slot filled gateway
* Allow gateway to be enabled and marked as configured if already enabled
* Add changelog entry
* Add quick start blurb to markdown file
* Remove duplicate JS registration and add default export
* Add payment settings save hook
2021-12-03 15:13:05 -05:00
louwie17
c3dc45d129
Update e2e-environment, so tests are run successfully locally. ( https://github.com/woocommerce/woocommerce-admin/pull/8000 )
...
* Update e2e-environment, so tests are run successfully locally.
* Add changelog
2021-12-03 15:34:00 -04:00
jamelreid
18283d2b1a
Merge branch 'trunk' into add/jest-retry
2021-12-03 14:25:00 -05:00
louwie17
db29d8b571
Add loading icon and disable continue until free extensions are loaded ( https://github.com/woocommerce/woocommerce-admin/pull/7979 )
...
* Add loading icon and disable continue until free extensions are loaded.
* Add changelog
* Only show dropdown when we have installable extensions listed
* Revert spinner addition and add loading to Continue button
* Add wait for dropdown to be enabled
2021-12-03 11:03:44 -04:00
louwie17
7eeb77acc3
Fix datepicker in advanced filter ( https://github.com/woocommerce/woocommerce-admin/pull/7982 )
...
* Make sure we set the onMonthPreviewed prop as this is required for wp.components.DatePicker
* Add changelogs
2021-12-03 09:29:27 -04:00
louwie17
0cb4382c05
Correctly match payment gateways by id ( https://github.com/woocommerce/woocommerce-admin/pull/7994 )
2021-12-03 09:27:45 -04:00
Nestor Soriano
95dde6c082
Change db update version from 6.1 to 6.2.
2021-12-03 12:50:02 +01:00
Nestor Soriano
79f2936ae9
Temporary fix for a unit test.
...
The "Advanced" section in the product settings page exists only
if the product attributes lookup table exists. The table will
eventually exist for everybody, so a temporary check has been added.
2021-12-03 12:25:20 +01:00
Nestor Soriano
fd81e477d2
Fix: bad counters in the filter by attribute widget for OR.
...
When a filter by attribute widget was configured as OR, the query
to return the product counts was overfiltering and returning
less results than it should. It now works as in the case of not
using the lookup table.
2021-12-03 12:22:52 +01:00
Moon
008b6cf2e5
Display actioned notes on Woo Home ( https://github.com/woocommerce/woocommerce-admin/pull/7983 )
...
* Query both actioned and unactioned notes
* Fix note title style issue when the component is rendered in the sidebar
* Add changelog
* Update changelog
* Adjust styling
* Fix lint error
* Simplify title style by using title class selector
2021-12-02 13:04:05 -08:00
roykho
68fbca56dc
Upgrade node-sass back to latest
2021-12-02 08:23:11 -08:00
roykho
b9c3644a84
Downgrade node-sass version
2021-12-02 08:11:56 -08:00
roykho
edf5512311
Update node-sass
2021-12-02 07:24:30 -08:00
jamelreid
0d2b20b309
Added jest object setup
2021-12-02 09:41:04 -05:00
Fernando
7ea82c7778
Fix PHP Warning on 'Add new product' page ( https://github.com/woocommerce/woocommerce-admin/pull/7989 )
...
* Fix method call
* Add changelog
* Add testing instructions
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-12-02 09:55:21 -03:00
Joel Thiessen
faf5d61f25
Update/version 3.1.0 dev and changelogs ( https://github.com/woocommerce/woocommerce-admin/pull/7991 )
2021-12-01 14:38:03 -08:00
jamelreid
6fa14b0b6c
Set jest.retryTimes wih the E2E_RETRY_TIME env
2021-12-01 14:35:25 -05:00
jamelreid
f8210cade8
Updated README.md
2021-12-01 14:34:06 -05:00
Jamel Noel Reid
e0516c475d
Merge pull request #31314 from woocommerce/fix/31305
...
Update setBrowserViewport to use default dimensions
2021-12-01 09:24:30 -05:00
Moon
398aaa6320
Set comp props explicitly ( https://github.com/woocommerce/woocommerce-admin/pull/7985 )
2021-11-30 19:13:25 -08:00
Claudio Sanches
ac799921a3
Merge pull request #31335 from woocommerce/add/cleanup
...
Add/cleanup
2021-11-30 20:32:57 -03:00
Joshua T Flowers
9eca023fb4
Move payments task to extended task list when WC Pay task is shown ( https://github.com/woocommerce/woocommerce-admin/pull/7980 )
...
* Move payments task to extended list if wc pay task is shown
* Delete additional payment gateway note if no longer applicable
* Add changelog entry
2021-11-30 17:09:37 -05:00
Jeff Stieler
35c7ad75d5
Add unit test.
2021-11-30 14:58:18 -05:00
Ron Rennick
519b4f6de4
fix lock merge conflict
2021-11-30 15:48:39 -04:00
roykho
20ef737a02
Move ignored paths to plugin specific
2021-11-30 11:32:34 -08:00
Jeff Stieler
3f7dbcd43b
Add coupon meta data to backend and API orders.
2021-11-30 13:57:55 -05:00
Joshua T Flowers
d692986e11
Add option to dismiss promotional payment gateway ( https://github.com/woocommerce/woocommerce-admin/pull/7965 )
...
* Add ellipsis menu and styling
* Add dismissed option to pseudo payment gateway
* Check if the suggested gateway has been dismissed
* Add visibility and transition rules
* Remove CSSTransition wrapper due to invalid tags
* Fix padding on ellipsis menu
* Add dismiss tracks event
* Add changelog entry
* Check dismissal of promotion server-side
2021-11-30 13:02:54 -05:00
Joel Thiessen
d79d32d4e5
Ending wcpay promotion experiment and always displaying in payment methods table ( https://github.com/woocommerce/woocommerce-admin/pull/7962 )
2021-11-30 09:13:16 -08:00
Moon
bf5cc8b4fe
Sync changelog entries from 2.9.0 final ( https://github.com/woocommerce/woocommerce-admin/pull/7976 )
...
* Sync changelog entries from 2.9.0 final
* Remove changelog files
2021-11-29 19:28:36 -08:00
Moon
6d30160cb2
Make inbox note title clickable ( https://github.com/woocommerce/woocommerce-admin/pull/7977 )
...
* Make note title clickable
* Note title is clickable
* Updated styles to make title link look like H3
* Clicking title does not trigger busy state
* Add changelog
2021-11-29 18:13:54 -08:00
Albert Juhé Lluveras
6e27a3204e
Update WooCommerce Blocks to 6.3.3
2021-11-29 17:51:41 -08:00
Moon
7286dca881
Bump woocommerce-admin version to 2.9.0
2021-11-29 15:56:18 -08:00
Adrian Duffell
b9b4c82dca
Make Homescreen Default to Single Column Layout ( https://github.com/woocommerce/woocommerce-admin/pull/7969 )
...
* Add database migration deleting layout option
* Remove calls to update the option
* Remove unused variable
* Add changelog
* Remove unused var (lint failure)
* Increase e2e test timeout to 1000
* Fix test: navigate to homescreen
Co-authored-by: Moon <moon.kyong@automattic.com>
2021-11-29 13:04:34 -08:00
louwie17
b19ca6b4d1
Add testing instructions ( https://github.com/woocommerce/woocommerce-admin/pull/7974 )
2021-11-29 16:59:52 -04:00
Fernando
a90e9de61a
OBW - Add number of employees field ( https://github.com/woocommerce/woocommerce-admin/pull/7963 )
...
* Add number of employees field
* Fix "reduce - spread" anti-pattern
This commit fixes the "reduce - spread" anti-pattern https://www.richsnapp.com/article/2019/06-09-reduce-spread-anti-pattern
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-11-29 16:00:38 -04:00
jonathansadowski
24b327bb59
Merge pull request #31301 from woocommerce/update/distignore
...
Exclude changelog directory from deployments
2021-11-29 13:14:42 -06:00
jamelreid
92ae77c817
Updated browser viewport dimensions
2021-11-29 13:54:44 -05:00
roykho
2ab1393bdc
Merge branch 'trunk' into add/legacy-assets-build
2021-11-29 10:26:05 -08:00
roykho
1f7f576bbe
Use correct path
2021-11-29 10:06:01 -08:00
roykho
2c0487e152
Ignore tsconfig.tsbuildinfo
2021-11-29 09:59:53 -08:00
roykho
3d7ec4cd59
Remove redundant grunt items
2021-11-29 09:45:05 -08:00
Néstor Soriano
53dc551f44
Merge pull request #31308 from woocommerce/up/action-scheduler
...
Update AS to 3.4
2021-11-29 10:16:19 +01:00
kkmuffme
923a23d0bc
add cookie consent filter
...
for https://github.com/woocommerce/woocommerce/issues/31118
2021-11-27 16:30:28 +01:00
Jamel Noel Reid
f46ceee910
Merge pull request #31291 from woocommerce/add/woocommerce-menu-page-load-tests
...
Added WP Admin page load tests
2021-11-26 14:23:11 -05:00
Barry Hughes
d12717211a
Merge pull request #31307 from woocommerce/fix/table-name
...
Update db table name to use the new convention.
2021-11-26 10:15:06 -08:00
Claudio Sanches
bc910e2364
Merge pull request #31206 from woocommerce/fix/changelogger-validate
...
Jetpack Changelogger: Validate entries
2021-11-26 13:21:01 -03:00
Thomas Roberts
b87c52f068
Add tests for new get_all_formatted_metadata method
2021-11-26 16:17:44 +00:00
Thomas Roberts
eb31bd5275
Update uses of get_formatted_data to new wrapper
2021-11-26 16:16:48 +00:00
Thomas Roberts
95a43ea56a
Add get_all_formatted_meta_data wrapper
...
This sets include_all to true
2021-11-26 15:48:06 +00:00
Thomas Roberts
cd9efe16c0
Fix problem with assignment in conditional
2021-11-26 15:40:52 +00:00
Thomas Roberts
d0a5c6b998
Add docblock to html-order-item-meta
2021-11-26 15:39:43 +00:00
Thomas Roberts
695117ef90
Revert changes made in PR so far
2021-11-26 15:37:13 +00:00
Thomas Roberts
2256b9b337
Add file meta to html-order-item-meta.php
2021-11-26 15:24:21 +00:00
Thomas Roberts
91f2295c41
Remove accidentally added empty line
2021-11-26 15:24:19 +00:00
Thomas Roberts
09450393d0
Update uses of get_formatted_metadata to pass through filter first
2021-11-26 15:24:17 +00:00
Thomas Roberts
bdf673c86d
Add woocommerce_order_item_meta_include_all_meta_lines filter
...
This will be used to determine if all meta lines should be shown in the order-item-meta template.
2021-11-26 15:24:15 +00:00
Thomas Roberts
d3421126e7
Add 'woocommerce_show_product_variant_metadata_line' hook
...
This can be used to allow extensions to override whether the metadata line
is displayed in the order meta box or not.
2021-11-26 15:24:13 +00:00
Peter Fabian
757bfe1d16
Update AS to 3.4
2021-11-26 11:53:46 +01:00
Peter Fabian
433bd34b18
Update db table name to use the new convention.
2021-11-26 11:35:29 +01:00
Paulo Chang
870d706d1a
Unhide GT Postcode
...
It seems that some private courier services use the post code internally to price services.
2021-11-25 17:38:13 +01:00
Claudio Sanches
cf8e4225a6
Exclude changelog directory from deployments
2021-11-25 11:14:52 -03:00
Vedanshu Jain
5d0296c565
Merge pull request #31286 from woocommerce/php8.1/add-ReturnTypeWillChange-attributes
...
[PHP 8.1] Add ReturnTypeWillChange attribute to classes implementing ArrayAccess
2021-11-25 17:22:31 +05:30
Moon
c3a050254d
Add a new update callback for the 3.0 version to update is_read column ( https://github.com/woocommerce/woocommerce-admin/pull/7945 )
...
* Added a new update callback for 3.0 version to migrate is_read col from last_read user pref value
* Remove unnecessary comments
* Remove add column logic -- not needed as tables are updates during the bootstrap
* Remove column existence check
* Use the latest woocommerce_admin_activity_panel_inbox_last_read value
* Clean up woocommerce_admin_activity_panel_inbox_last_read after updating is_read
* Remove unnecessary var
* Update includes/wc-admin-update-functions.php
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Update test to use ms
* Use get_users() to get the latest meta value
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-11-24 17:44:30 -08:00
Robert Massaioli
bcfdd8666c
The woocommerce_webhook_options needs webhook
...
The action for adding extra webhook options should pass in the webhook so that those that are extending the webhooks page can know which webhook is being edited.
2021-11-25 12:19:48 +11:00
jamelreid
730cd35d96
Added page load tests to the plugin e2e directory
2021-11-24 19:21:01 -05:00
Nestor Soriano
f7137a44e6
Fix README in the tests directory
...
The instructions to run the unit tests in PHP 8 were missing
a couple of required commands.
2021-11-24 16:53:34 +01:00
Nestor Soriano
963eef02fa
Add ReturnTypeWillChange attribute to classes implementing ArrayAccess
...
PHP 7.x and 8.1 will throw a fatal error, thus causing the unit tests
suite to abruptly end, if a method from an implemented interface doesn't
fully match the signature as defined in the interface. In WooCommerce
that's the case for the classes that implement ArrayAccess: in
PHP 8.0+ these signatures have type hints and return types (as in
"offsetUnset( mixed $offset ):void" ) but the code in WooCommerce
doesn't. We can't just add the missing types to the signatures because
then the same error appears in PHP 7.x, in which there aren't
types in the method signatures of ArrayAccess.
The fix consists of adding the ReturnTypeWillChange attribute,
introduced in PHP 8.1, which instructs the runtime to not throw the
error. PHP 7.x doesn't support attributes, but in this case the
attribute declaration is seen as a comment.
See https://php.watch/versions/8.1/ReturnTypeWillChange
2021-11-24 16:22:49 +01:00
Fernando
c634ed5eb7
Add Tracks event ( https://github.com/woocommerce/woocommerce-admin/pull/7960 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-11-24 10:16:24 -03:00
Mahmoud Saeed
05fbbc591e
Fix taxes endpoint returning incorrect X-WP-Total and X-WP-TotalPages headers #30890
2021-11-24 11:16:55 +02:00
Moon
d64a276032
Introduce a 320 character limit for inbox note contents ( https://github.com/woocommerce/woocommerce-admin/pull/7958 )
...
* Introduce a 320 char limit for inbox notes
* Extract truncateRenderableHTML to utils and use truncate from lodash to support word break
* Replace omission with blank so that lodash does not add ... at the end
* Add test cases for truncateRenderableHTML
* Add a test case with unicode string
* Add changelog
* Add a test case for preserving whole words
2021-11-23 15:47:48 -08:00
Moon
b41ab2f37f
Fix the failing e2e test ( https://github.com/woocommerce/woocommerce-admin/pull/7961 )
...
* Wait 500ms after clicking Enable button
2021-11-23 15:13:10 -08:00
Brian
727ccd0dd3
Albania: add states and change label ( #31190 )
...
* add albanian states
* change label for albania
* change to english language
* fix names
* sorting
2021-11-23 16:53:25 -05:00
Brian
2623be878e
Nicaragua: Add States / Update Label ( #31179 )
...
* add label for nicaragua state
* add nicaragua states
* change to english string
* fix names
2021-11-23 14:36:05 -05:00
Brian
e1b9235855
Ecuador: add states / update label ( #31186 )
...
* add ecuador states
* add label for ecuador
* change to english string
* add hyphenate
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2021-11-23 12:47:22 -05:00
Brian
80d95b72e5
Colombia: add states / change label ( #31188 )
...
* add colombia states
* update label for state (colombia)
* change to english string
* fixes CLDR names, sorting
* sorting
Co-authored-by: Jeff Stieler <jeff.m.stieler@gmail.com>
2021-11-23 12:47:05 -05:00
Brian
28e902442b
Honduras: Add States / Update Label ( #31180 )
...
* add honduras states
* add label for state (honduras)
* change to english string
* fix name due to cldr
* fix name
* fix sorting
2021-11-23 12:46:46 -05:00
Brian
d96c380332
Panama: Update States & Label ( #31178 )
...
* add panama states
https://en.wikipedia.org/wiki/ISO_3166-2:PA
* add label for state
* change to english string
* fix name to english
2021-11-23 12:40:41 -05:00
Brian
cf9510577b
Republica Dominicana: change label for state ( #31191 )
...
* change label for state DO
* change to english string
* added cdlr states, sorting
2021-11-23 12:10:24 -05:00
Brian
dd64b5c8ff
Bolivia: fix iso code / update label ( #31181 )
...
* fix iso format of bolivian states
* add label for states bolivia
* change to english string
* update sorting of states
2021-11-23 11:41:33 -05:00
Moon
e36b65e3b9
Hide InboxPanel header content in the sidebar ( https://github.com/woocommerce/woocommerce-admin/pull/7952 )
...
* Hide Inbox Panel header when it is rendered in the sidebar
* Add changelog
* Update changelog
2021-11-23 02:27:32 -08:00
Sebastian Volland
593cf4636b
Fix docblock type annotation of WC_Coupon::is_type.
2021-11-23 10:43:21 +01:00
Nestor Soriano
5253a1adae
Sort arrays before comparison in unit test
...
Without this a test fails in GitHub
("Run unit tests with code coverage" task).
2021-11-23 10:28:49 +01:00
Nestor Soriano
b068ade7c6
Create and activate product attributes lookup table in data migration
...
Until now the product attributes lookup table had to be created
and its usage had to be activated manually, via the tools page.
This commit does the following:
1. Remove the tools to create and delete the table
(but keeps the tool to regenerate the table data for one or for
all the products)
2. Creates a data migration that triggers the table creation and
filling (unless the table already existed) for Woo 6.1
3. After the migration finishes, activates the table usage for
product filtering (site admin can still disable it via
Settings - Products - Advanced)
2021-11-23 10:28:49 +01:00
dependabot[bot]
5914475807
Bump semver-regex from 3.1.2 to 3.1.3 ( https://github.com/woocommerce/woocommerce-admin/pull/7955 )
...
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases )
- [Commits](https://github.com/sindresorhus/semver-regex/commits )
---
updated-dependencies:
- dependency-name: semver-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-23 16:37:17 +08:00
dependabot[bot]
a06aefc471
Bump tmpl from 1.0.4 to 1.0.5 ( https://github.com/woocommerce/woocommerce-admin/pull/7954 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-23 16:35:45 +08:00
Barry Hughes
5773089e8c
Merge pull request #31227 from woocommerce/fix/count_param
...
Update count param consistently.
2021-11-22 11:34:47 -08:00
Peter Fabian
ab1a35719c
Merge pull request #31257 from woocommerce/fix/31035
...
Send set password link instead of the actual password to new users.
2021-11-22 18:43:41 +01:00
Jacob Sewell
1182b47331
Fix/7938 navigation feedback follow up note should self delete when not relevant ( https://github.com/woocommerce/woocommerce-admin/pull/7939 )
...
* Add NavigationFeedbackFollowUp to daily possibly_delete_notes().
* Implement is_applicable() in NavigationFeedbackFollowUp.
* Changelog for 7938/7939
* Update changelogs/fix-7938-navigation-feedback-follow-up-note-should-self-delete-when-not-relevant
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-11-22 11:16:05 -06:00
vedanshujain
2013a66313
Add test for parse_file_path method in WC_Download_Handler class.
2021-11-22 19:39:00 +05:30
vedanshujain
a6626eeb64
Send $count param as argument so that its updated consistently.
...
As far as I can see, this count param is not really needed, but it will still be good to keep it updated in case its getting used in an edge case that I have not considered.
2021-11-22 19:39:00 +05:30
Peter Fabian
5cba6b6eb6
Merge pull request #31126 from woocommerce/update/fallback-extensions-message
...
Show fallback message in extensions marketplace when the store can't connect to the WCCOM API
2021-11-22 11:02:32 +01:00
Carl Alexander
55e1fadd3d
Add `file` to check import file path hooks
2021-11-21 14:35:58 -05:00
Jeff Stieler
209566b7c4
Fix errant stock adjustment when saving partially refunded orders. ( #31172 )
...
* Preserve stock metadata for refunded items.
Prevents fully restocked items on partially refunded orders from having stock reduced on subsequent order updates.
* Add E2E test covering errant restocking fix.
2021-11-19 14:24:35 -07:00
louwie17
ff12150b7c
Remove @woocommerce/settings package, that is not used ( https://github.com/woocommerce/woocommerce-admin/pull/7949 )
...
* Remove @woocommerce/settings package, that is not used
* Add changelog
2021-11-19 17:03:54 -04:00
Brian
4d212875f5
Costa Rica: add states and change label ( #31189 )
...
* add costa rica states
* change label state from costa rica
* change to english string
2021-11-19 12:25:37 -07:00
Brian
59910ffeab
Guatemala: fix iso code - change label for state ( #31187 )
...
* fix iso code for guatemalan states
* change label for guatemala state
* change to english instead local version
https://github.com/woocommerce/woocommerce/issues/31150#issuecomment-970322350
2021-11-19 12:17:40 -07:00
Peter Fabian
1fd893a2ed
Bump template version.
2021-11-19 19:34:46 +01:00
Peter Fabian
10daece5ae
The extra parameter actually seems unnecessary.
2021-11-19 19:18:17 +01:00
Brian
cc9de68f6c
Paraguay: Update Label ( #31177 )
...
* add label for paraguay states
* change to english string
2021-11-19 10:33:01 -07:00
Brian
df87e5a42d
El Salvador: Update States + label ( #31176 )
...
* add el salvador states
add el salvador states with correct ISO-Code
* change label to departamento
* change to english string
* fix states
2021-11-19 10:29:08 -07:00
Brian
f48492df86
add uruguay states ( #31167 )
...
* update uruguay states
add regions
* change string to departamento
* change to english string
2021-11-19 10:24:51 -07:00
roykho
11c2028bd5
Move dependency declaration into project level
2021-11-19 08:44:44 -08:00
Brian
2bf383a643
Venezuela States: Update iso-code's + state name change ( #31175 )
...
* update iso-code + state name change
update iso-code + state name change
* venezuela: update label for statefield
* remove as state is correct
2021-11-19 09:05:01 -07:00
roykho
2955638af6
Remove build assets from source
2021-11-19 07:36:29 -08:00
Peter Fabian
b7c8e3ea68
Send set password link instead of the actual password to new users.
2021-11-19 16:30:53 +01:00
roykho
a07f471fed
Update gitignore
2021-11-19 07:08:48 -08:00
roykho
f7b32f2231
Move js and css folders into legacy
2021-11-19 06:46:28 -08:00
roykho
6202c49803
Move legacy into woocommerce folder
2021-11-19 06:40:48 -08:00
roykho
4681ccfc15
Add project.json
2021-11-19 06:38:24 -08:00
roykho
371c20cc45
Add package.json
2021-11-19 06:37:47 -08:00
roykho
bd8b8a947b
Add dot files
2021-11-19 06:36:51 -08:00
And Finally
257e7c866c
Addressing feedback.
...
- Replaced `intval` calls with faster type casting.
- Showing more informative error messages.
- Using ternary for better legibility in `WC_Admin_Addons::output`.
- Added `is_wp_error` check to avoid warning from `count` call in `html-admin-page-addons.php`.
- Always showing error message as detail in error output.
- Showing error detail message above "To start growing your business, head over to WooCommerce.com" text, instead of below.
2021-11-19 10:42:05 +00:00
And Finally
ea1dd33b25
Updated error text.
2021-11-19 10:41:21 +00:00
And Finally
61d46c6987
Added more informative error messages when API request fails on the in-app marketplace featured page.
2021-11-19 10:41:21 +00:00
And Finally
9a0e91477e
Added `woocommerce_page_wc-addons_connection_error` action, which records a Track event when the in-app marketplace fails to connect properly to the WCCOM API.
2021-11-19 10:41:21 +00:00
And Finally
b7520f3d9a
Slightly tidier handling of bad responses in `render_featured`.
2021-11-19 10:41:21 +00:00
And Finally
a40ed95c0f
Showing fallback message when the store can't connect to the WCCOM API.
2021-11-19 10:41:21 +00:00
Ron Rennick
53402656a0
Merge branch 'trunk' into fix/30866
2021-11-18 21:58:51 -04:00
Christopher Allford
b7cc36e2c7
Updated 6.1 Version
...
With the release branch for 6.0 cut,
we can now update the development version.
2021-11-18 16:16:50 -08:00
Adrian Duffell
36b48fec96
Bump WooCommerce Admin to 2.9-rc.2
2021-11-18 13:34:56 -08:00
Niels Lange
909ba998fd
Update composer.json and composer.lock for Blocks 6.3.2
2021-11-18 13:00:35 -08:00
Fernando
481c9a796a
Refactor `wcadmin_storeprofiler_store_business_features_continue` Tracks event handling ( https://github.com/woocommerce/woocommerce-admin/pull/7924 )
...
* Refactor tracks event handling
Refactor `wcadmin_storeprofiler_store_business_features_continue` tracks event handling to not hardcode extensions
* Rename const and move function
* Add tests
* Fix typo
* Renamed method
This commit renames the method `prepareInstalledExtensionsForTracking` as `prepareExtensionTrackingData`.
* Prop renamed
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-11-18 14:15:19 -03:00
roykho
19d26298ea
Merge branch 'trunk' into nx/gh-actions
2021-11-18 08:02:24 -08:00
roykho
8732c04c86
Use single commands for executors
2021-11-18 07:28:51 -08:00
Greg
0c6964822d
Update gitignore ( https://github.com/woocommerce/woocommerce-beta-tester/pull/107 )
2021-11-18 13:54:08 +01:00
Greg
3f2a0c3508
Lower case string comparison for versions ( https://github.com/woocommerce/woocommerce-beta-tester/pull/105 )
...
* Lower case string comparison for versions
* Embolden the installed version text
2021-11-18 13:49:46 +01:00
Néstor Soriano
e21e4ef0d2
Merge pull request #31228 from woocommerce/remove/snippet-needed-to-activate-attributes-lookup-table-feature
...
Remove the need to invoke LookupDataStore->show_feature() to use the product attributes lookup table
2021-11-18 12:02:48 +01:00
louwie17
30bca4c613
Fix WC pay promotion ordering ( https://github.com/woocommerce/woocommerce-admin/pull/7943 )
...
* Fix WC Pay ordering and overwriting another payment gateway
* Fix styling if extra columns are present
* Add changelog
2021-11-18 12:53:50 +08:00
Ilyas Foo
82f4120208
Fix race condition in data package's options module ( https://github.com/woocommerce/woocommerce-admin/pull/7947 )
...
* Fix race condition on data package's options module.
* Update changelog
2021-11-18 12:52:43 +08:00
Moon
765697f5e0
Implement inbox note read state ( https://github.com/woocommerce/woocommerce-admin/pull/7896 )
...
* Wrap notes with Card component -- Added header, badge, and cllipsis menu
* Add hover state
* Dismiss note immediately without prompting a confirmation (https://github.com/woocommerce/woocommerce-admin/pull/7868 )
* use woocommerce-admin-dismiss-notification class to target the dissmiss btn
* Add changelog
* Specify CSS styles so tha they dont get overridden by other plugins
* Update changelog
* Add is_read column
* Do not update activity_panel_inbox_last_read upon viewing the homepage
* Remove use of last_read variable
* Return is_read field from the note api
* Use is_read field and remove last_read from the test
* Set is_read to true when an action is triggered
* CSS changes for the read state
* Apply padding and border if there are multiple actions
* Remove unread indicator
* Add changelog
* Update changelog
* Revert package-lock.json
* Fix onDismiss not being called after rebasing
* Check is_read before setting it to the obj -- this prevents uninteded error messages piling up in case is_read col is missing for some reason
* Revert changs added by mistake during rebasing
* Revert changes to package-lock.json
* Remove incorrect changelog
* Commit to triger Github workflows
2021-11-17 12:15:48 -08:00
Nestor Soriano
3a40691c6b
Replace "{$wp->prefix}posts" with "{$wp->posts}"
2021-11-17 11:38:39 -08:00
Nestor Soriano
caf1481767
Improve the performance of the product attributes lookup table query
...
Improve (by a lot) the performance of the queries for the
product attributes lookup table by doing the following:
1. Fallback the query for the "AND" case to thequery for the "OR" case
when there's only one term being filtered for the category
(the subquery for the "OR" case is much simpler)
2. Collapse all of the "AND" queries (for all the categories)
into a simple one (this is possible since term ids are unique
even across categories)
3. The most important change: introduce an extra derived query,
so
...AND posts.ID in ( SELECT product_id FROM lookup_table WHERE...
becomes
...AND posts.ID in ( SELECT product_id FROM (
SELECT product_id FROM lookup_table WHERE...
This causes the filtering subquery to be executed only once.
2021-11-17 11:38:39 -08:00
roykho
79ee6c00f5
Create a seperate no dev composer install command
2021-11-17 11:32:53 -08:00
roykho
008f2cbea9
Change format of passing flags
2021-11-17 11:24:35 -08:00
LuigiPulcini
4a3b6fdcbe
Merge branch 'woocommerce:trunk' into add/bulk-action-shortcircuit
2021-11-17 19:10:06 +01:00
roykho
feedced44b
Remove flags
2021-11-17 09:35:20 -08:00
roykho
0657b44dd5
Move composer install script to Nx commands
2021-11-17 09:09:09 -08:00
Ron Rennick
b1a8664ff4
merge trunk
2021-11-17 12:46:23 -04:00
roykho
24c565ba68
Add working directory
2021-11-17 08:39:05 -08:00
hellwig-data443
ebcd4d9682
Update PageController.php ( https://github.com/woocommerce/woocommerce-admin/pull/7855 )
...
* Update PageController.php
* Create fix-7758
* Minor fixes
2021-11-17 08:36:25 -08:00
Vedanshu Jain
c3405cf06f
Merge pull request #31075 from woocommerce/fix/30781
...
Delay handling of hide-notice requests
2021-11-17 21:52:22 +05:30
roykho
c4998a931f
Add cwd and update paths
2021-11-17 08:07:53 -08:00
roykho
347ed51214
Update paths
2021-11-17 07:58:53 -08:00
Néstor Soriano
efdaf77d80
Merge pull request #31094 from woocommerce/update/current-theme-has-wc-or-fse-support
...
has_archive if current theme supports woocommerce or is an FSE theme
2021-11-17 16:51:51 +01:00
roykho
0f57209548
Set cwd for command
2021-11-17 07:39:24 -08:00
Nestor Soriano
bd9b70c9ec
Remove the need to invoke LookupDataStore->show_feature()
...
This was needed to activate the feature for filtering products
by attribute using the new lookup table. The lookup table still
needs to be created and filled via the tools page.
2021-11-17 10:33:55 +01:00
Moon
2e1473a25e
Rename Inbox -> Activity from the activity header ( https://github.com/woocommerce/woocommerce-admin/pull/7879 )
...
* Add flag icon
* Rename Inbox to Activity
* Add changelog
* Update changelog
2021-11-16 21:56:25 -08:00
Moon
db030bb938
Add dismiss all button for Inbox 2.0 ( https://github.com/woocommerce/woocommerce-admin/pull/7871 )
...
* Wrap notes with Card component -- Added header, badge, and cllipsis menu
* CSS changes to adjust padding and margin
* Update text and classname
* Add dismiss all modal
* Render dismiss all modal
* Dismiss all notes
* Update client/inbox-panel/index.scss
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Update client/inbox-panel/index.scss
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
* Move text to inline
* Pass onClose callback instead
* Move dismissAllNotes into the modal component
* Rename dismissNote to onDismiss
* Alias setShowDismissAllModal as onDismissAll
* Reset margin-bottom to prevent the latest GB to add unwanted margin-bottom
* Commit to triger Github workflows
* Add changelog
Co-authored-by: Joshua T Flowers <joshuatf@gmail.com>
2021-11-16 21:56:05 -08:00
roykho
1f850553ea
Merge branch 'trunk' into nx/gh-actions
2021-11-16 20:58:17 -08:00
Ron Rennick
e5d710390d
Merge branch 'trunk' into fix/30866
2021-11-16 18:51:49 -04:00
Ron Rennick
2f9a6a32c2
deprecate core e2e setup, onboarding tests
2021-11-16 18:51:24 -04:00
Vedanshu Jain
78e7039944
Use update_coupon_usage_counts to avoid double count. ( #31147 )
...
Previously we were increasing coupon usage count on every apply_coupon method. This was causing double usages because, we would also increase on order save callback.
We instead now call `wc_update_coupon_usage_counts` in apply_method itself, which would increase the usage and also set the `_recorded_coupon_usage_counts` order meta.
Additional, we also manually call $couon->increase_usage_count if `_recorded_coupon_usage_counts` is because in this case, we are likely applying more than one coupon to the order. And `_recorded_coupon_usage_counts` meta would have already been set by the first coupon. This is not a good solution, ideally we should revamp how we store the coupon recorded information to support multiple coupon information from the get-go.
2021-11-16 14:23:24 -07:00
Claudio Sanches
742fffff79
Merge pull request #31149 from woocommerce/update/docs
...
Update/docs
2021-11-16 18:15:57 -03:00
roykho
b92ace6fa5
Merge branch 'trunk' into nx/gh-actions
2021-11-16 11:50:56 -08:00
Roy Ho
6ea1313674
Merge branch 'trunk' into remove/install-subset
2021-11-16 10:19:58 -08:00
Roy Ho
0c940df051
Update plugins/woocommerce/tests/e2e/README.md
...
Co-authored-by: Claudio Sanches <contato@claudiosanches.com>
2021-11-16 10:11:06 -08:00
Jeff Stieler
2bac37f4e6
Orders Endpoint Acceptance Tests ( #31033 )
...
* Create more sample orders data.
* Code formatting.
* Add tests for pagination.
* Formatting.
* Add test case for inclusion and exclusion parameters.
* Add test for parent and parent_exclude parameters.
* Add test case for status parameter.
* Add test case for customer parameter.
* Add test case for product parameter.
* Create a test order with all numerical properties populated.
* Add test case for precision parameter.
* Add test case for search parameter.
* Add test case for orderby parameter.
* Move missed api-core-tests files.
* Force tests to run in band (sequentially).
2021-11-16 10:03:53 -07:00
roykho
6f0bba9e23
Use Nx commands in pr-code-coverage action
2021-11-16 07:26:33 -08:00
David Stone
74cd6f9be0
Allow empty arrays to be cached ( #31077 )
...
* Allow empty arrays to be cached
* Fix second check
* Add tests for attribute function changes
* Use InvokedRecorder to explicitly assert invocation count.
Provides more friendly failure messages and self documenting code.
* Code format fixes
2021-11-16 07:16:00 -07:00
Joshua T Flowers
8ff08ea0c9
Use abstraction to add and retrieve task data ( https://github.com/woocommerce/woocommerce-admin/pull/7918 )
...
* Add class check to added tasks
* Make Task class asbtract
* Update tasks to use abstraction
* Update task property calls to methods and add extended class
* Fix up task tests
* Reorder script enqueing to check less expensive operations first
* Fix up dismissable and snoozeable checks
* Fix up typos
* Load default task classes on init
* Handle PR feedback
* Fix extended tasks not showing
* Update is_visible to can_view in deprecated tasks
* Use TestTask class for unit tests
* Add changelog entry
* Fix up API tests
* Update ExtendedClass name to DeprecatedExtendedClass
* Fix up rebase
2021-11-16 08:59:55 -05:00
louwie17
dc03c6fbb5
Update payment method suggestion endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/7913 )
...
* Initial refactor
* Update payment recommendations to use new endpoint data
* Make sure to run specs
* Fix test
* Delete old PaymentPlugins class
* Update url to point to woocommerce.com
* Remove unused displayable prop
* Move option name
* Fix js tests
* Add changelog
2021-11-16 09:57:23 -04:00
And Finally
0bc7e4bc65
Combine My Subscriptions and Marketplace back into one Extensions page ( #31085 )
...
* Reverting changes in https://github.com/woocommerce/woocommerce/pull/30380 , preparatory to merging the My Subscriptions and Marketplace pages back into one Extensions page.
* Moved category nav to a separate file.
* Added main nav tabs.
* Added category nav, styled the mobile version.
* Experiments with doing category tabs as a list.
* Styling category menu as a list of links in rectangular pills on desktop.
* Adjusting margins of product list in in-app marketplace.
* Removed `submenu_file` filter which called deleted `update_menu_highlight` method.
* Restored styling for update count bubble on My Subscriptions tab.
* Styling update bubble on My Subscriptions tab.
* Addressing design feedback. Restyled category pills to make them more obvious. Added `Browse categories` title before category menu on desktop. Changed `.addon-product-group-title` to an h2.
* Addressing feedback from https://github.com/woocommerce/woocommerce/pull/31085#pullrequestreview-806319880 .
- Removing addition of `admin_title` filter calling deleted `update_my_subscriptions_title` method.
- Prepending `__DIR__` constant before path in `require` call.
2021-11-16 06:23:21 -07:00
Jacob Sewell
f0aebb8046
Have NavigationNudge and NavigationFeedback self-delete when irrelevant ( https://github.com/woocommerce/woocommerce-admin/pull/7914 )
...
* If the navigation feature does not exist, have the NavigationNudge note self-action.
* Create delete_if_not_supported method on NavigationNudge note.
If we encounter this situation again we might consider adding a version of this method to NoteTraits.
* Add possibly_delete_notes() to do_wc_admin_daily().
* Add changelog entry for Issue 7807.
* Add should_note_exist() method to NavigationNudge note.
* Add should_note_exist() and delete_if_not_supported() to NavigationFeedback.
* Add NavigationFeedback::delete_if_not_supported() to possibly_delete_notes() in daily cron.
* Fix changelog missing PR number.
* Update changelog to include navigation feedback note.
* Rename should_note_exist and delete_if_not_supported to is_applicable and delete_if_not_applicable, add to NoteTraits.
2021-11-15 22:51:53 -06:00
Paul Sealock
14a7614f61
update types descriptions
2021-11-16 15:16:20 +13:00
Christopher Allford
c91dda177d
Fix E2E Tests ( #31205 )
...
* Removed Changlogger Autoload
* Changed Jetpack Changelogger Formatter Loading
Rather than using the Composer autoload, we should use the
changelogger's "filename" option to point directly at the file.
This keeps the file out of the autoloads, since it's possible that
plugins or packages may be symlinked and break the relative
path to the plugin.
2021-11-16 15:01:50 +13:00
Barry Hughes
0df6cc108d
Merge pull request #31026 from woocommerce/update/in-app-marketplace-price-suffix
...
Support dynamic `price_suffix` in in-app marketplace
2021-11-15 17:34:23 -08:00
Barry Hughes
be1c879e47
Merge pull request #31196 from woocommerce/fix/30733
...
Set autocomplete off in cart quantity input field to show actual value.
2021-11-15 17:30:54 -08:00
Joel Thiessen
1ccb1f6e1d
Fixing references to null value throwing errors on products task ( https://github.com/woocommerce/woocommerce-admin/pull/7934 )
2021-11-15 16:48:14 -08:00
Joshua T Flowers
126707eeab
Replace old task list option calls with data store selectors ( https://github.com/woocommerce/woocommerce-admin/pull/7820 )
...
* Add endpoint to unhide task list
* Rename show method to unhide
* Replace requests for hidden task list options
* Replace unhide task list requests
* Replace task list complete checks
* Replace dismiss option requests
* Remove complete task option check
* Fix up panel buttons
* Update finished setup to wait for task list resolution
* Create selector for getting a single task list
* Add selector for single task
* Fix task list panel visibility
* Add changelog entry
* Fix empty product types in profiler data
* Revert to checking for hidden task list
2021-11-15 15:57:13 -05:00
Joshua T Flowers
f48ea01543
Sync WooCommerce Payments default gateway with WCCOM ( https://github.com/woocommerce/woocommerce-admin/pull/7922 )
2021-11-15 15:09:24 -05:00
Joshua T Flowers
331ca075c4
Pass child props to partners card ( https://github.com/woocommerce/woocommerce-admin/pull/7929 )
2021-11-15 15:09:02 -05:00
Barry Hughes
a236bdca19
Merge pull request #31004 from matt-h/review-filter
...
Add Product Reviews filter for `review` comment type.
2021-11-15 10:26:28 -08:00
And Finally
24bafaa74d
Update plugins/woocommerce/includes/admin/class-wc-admin-addons.php
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2021-11-15 16:33:20 +00:00
Matt Sherman
30e9922986
Set Node version to 14 in .nvmrc to prevent incompatible versions of Node from being used with nvm ( https://github.com/woocommerce/woocommerce-admin/pull/7932 )
...
Pin Node version to 14 in .nvmrc
2021-11-15 10:14:05 -05:00
Tom Cafferkey
1e4f045b6a
Update theme_support check to include FSE enabled themes so that option woocommerce_queue_flush_rewrite_rules gets updated and run
2021-11-15 13:45:52 +00:00
Néstor Soriano
88621c6d01
Merge pull request #31169 from woocommerce/fix/unit-tests
...
Fix unit tests
2021-11-15 11:14:27 +01:00
vedanshujain
907c8d403b
Set autocomplete off in cart quanity input field to show actual value.
...
Autocomplete is default to on in most browsers, this is usually fine, but FireFox will overwrite actual value with whatever user entered last. This means if we change the quanity in some other page, and then refresh the cart page, the last entered value in cart page will be displayed, overwriting the actual value passed by server.
So autcomplete is disabled by default for quanity input field, further a filter is added like other fields in case this needs to be modified.
2021-11-15 11:38:39 +05:30
Sicelo A. Mhlongo
cfff7eb7aa
Rename Swaziland to Eswatini
...
The country of Swaziland was officially renamed to Eswatini in April 2018. Let
us reflect this change.
2021-11-13 18:38:30 +02:00
Sicelo
1e11f8e867
Fix symbol for SZL currency
...
The symbol for the Swaziland (now Eswatini) Lilangeni is not L (for Lilangeni),
but E (for Emalangeni, plural). Even if it is just one Lilangeni, it is written as
E1.00.
2021-11-13 17:28:52 +02:00
vedanshujain
90bae59c43
Fix polyfill path.
2021-11-12 18:57:57 +05:30
vedanshujain
dfdf593be1
Lock PHP platform confirm to last 7.0.x release to build correct dep tree.
2021-11-12 18:57:57 +05:30
vedanshujain
6c71a84b56
Fix unit test for WP 5.9 nightly by changing error message.
2021-11-12 18:57:57 +05:30
Christopher Allford
6b1aa73ab7
Moved Test File
...
It looks like a test file ended up at the top of the repository, this
moved it to the correct location.
2021-11-12 18:57:44 +05:30
Ilyas Foo
62c3b6ea97
Fix TaskList UI experiment enablement logic ( https://github.com/woocommerce/woocommerce-admin/pull/7930 )
...
* Fix TaskList UI logic to enable when either experiment is in treatment
* Fix invalid react attribute
* Changelog
2021-11-12 18:32:27 +08:00
Ilyas Foo
f085c6a09a
Fix ExPlat PHP client and experimental onboarding note ( https://github.com/woocommerce/woocommerce-admin/pull/7926 )
...
* Add urlencode to explat get request parameters
* Rename update profile action name
* Add completed condition to wc-admin-complete-store-details note
* Fix logic for update profile note
* Add 2col experiment to the fray
* Changelog
2021-11-12 17:22:08 +08:00
Claudio Sanches
fd3dfdbf3e
Merge pull request #31129 from woocommerce/distignore/project.json
...
Remove project.json from distribution
2021-11-11 18:34:22 -03:00
Claudio Sanches
7c145b9f69
Merge pull request #31148 from woocommerce/fix/repository-structure
...
Moved Test File
2021-11-11 18:33:45 -03:00
Christopher Allford
f3bd2739b8
Moved Test File
...
It looks like a test file ended up at the top of the repository, this
moved it to the correct location.
2021-11-11 13:16:27 -08:00
roykho
8cc99368f2
Update unit tests readme
2021-11-11 11:35:01 -08:00
Fernando
9ecea4a638
Bump experimental version ( https://github.com/woocommerce/woocommerce-admin/pull/7928 )
...
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-11-11 14:25:02 -03:00
roykho
9267d70dc7
Update e2e testing steps to use Nx
2021-11-11 07:54:55 -08:00
Paul Sealock
15f26ee8f7
update to 3.0.2 of changelogger
2021-11-11 17:03:44 +13:00
Paul Sealock
5c68568bb7
Revert "add nx composer-install targets"
...
This reverts commit ffaef64343
.
2021-11-11 16:47:50 +13:00
Paul Sealock
ffaef64343
add nx composer-install targets
2021-11-11 16:43:27 +13:00
Paul Sealock
20fb81eb5a
point to next changelog
2021-11-11 16:38:38 +13:00
Paul Sealock
40918d28f2
core changelog content
2021-11-11 16:30:22 +13:00
Paul Sealock
a5abab9ab0
Add Jetpack Changelogger
2021-11-11 16:28:10 +13:00
roykho
aa2dc625e2
Remove install-subset process
2021-11-10 13:35:16 -08:00
roykho
f75523a2ca
Remove project.json from distribution
2021-11-10 12:02:13 -08:00
barryhughes
13f598a0b1
Whitespace.
2021-11-10 13:06:46 -05:00
barryhughes
55503c6bd6
Fix hook/callback name, add type hints.
2021-11-10 13:06:46 -05:00
Matt Harrison
594eedeca1
Add Product Reviews filter for `review` comment type.
...
Creates the filter option for the WordPress Comments page to filter to
product reviews.
Closes #29920
2021-11-10 13:06:20 -05:00
roykho
898ccb986f
Add some common composer executor commands for woocommerce so it can be used in Nx context
2021-11-10 06:34:54 -08:00
Roy Ho
9d08ac8ac3
Merge pull request #31095 from woocommerce/setup-nx
...
Setup nx
2021-11-09 20:26:37 -08:00
Brian
1bd2886b0f
take over fix of barryhughes
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2021-11-09 15:31:58 -08:00
Brian
2d6451d6e2
revert changes
2021-11-09 15:31:57 -08:00
Brian
c530dc60fd
Update i18n/states.php
...
linting issue - done by barryhughes
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2021-11-09 15:29:44 -08:00
Brian
c0e4852cda
Update class-wc-countries.php
...
hide PLZ
..based on feedback at https://github.com/woocommerce/woocommerce/issues/30375#issuecomment-937858938
2021-11-09 15:29:44 -08:00
Brian
8abba36b89
Update states.php
...
fix codesniff
2021-11-09 15:29:43 -08:00
Brian
13be555407
update chile regions
...
based on https://en.wikipedia.org/wiki/ISO_3166-2:CL
2021-11-09 15:29:43 -08:00
Adrian Duffell
56c98220af
Prepare 3.0.0 release cycle ( https://github.com/woocommerce/woocommerce-admin/pull/7909 )
...
* Bump version to 3.0
* Update changelog
2021-11-10 06:49:47 +08:00
Ron Rennick
9736b15eb6
Merge pull request #31102 from woocommerce/fix/30655
...
remove duplicate gitignore entries
2021-11-09 16:46:05 -04:00
roykho
d839bdfc94
Implement executors for all script commands
2021-11-09 12:35:22 -08:00
Peter Fabian
619d7097f1
Merge pull request #31100 from woocommerce/brexit-tax-obw
...
Recommend automated taxes to 'GB'
2021-11-09 19:23:29 +01:00
kkmuffme
4f39c25991
use native wp_doing_ajax instead of custom is_ajax
2021-11-09 17:55:02 +01:00
Fernando
6e26f66564
Fix marketing extensions tracks ( https://github.com/woocommerce/woocommerce-admin/pull/7908 )
...
* Fix `Business Details` step tracks
* Add changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-11-09 12:36:26 -03:00
Néstor Soriano
d64c4492c1
Add promoted card to in-App marketplace page ( #31090 )
...
* Add promoted card to in-App marketplace page
* Change name of transient
Changed name of transient for v2.0 of in-app marketplace featured page
content, so sites upgrading to WooCommerce 5.9 will get the correct
data for the new version of the page.
2021-11-09 08:02:57 -07:00
Peter Fabian
80ba82a00e
Merge pull request #30970 from woocommerce/fix/20563
...
Clarify tooltip for on-hold email.
2021-11-09 14:57:42 +01:00
Joshua T Flowers
7d464a514c
Remove task status endpoint ( https://github.com/woocommerce/woocommerce-admin/pull/7841 )
...
* Add extra status properties to tasks
* Convert extra properties to camelcase
* Replace task status usage in client
* Remove task status data store
* Remove task status endpoint
* Remove remaining task status references
* Add has products to appearance task data
* Handle PR feedback
* Fix up additional data for Avalara task
* Add changelog entry
2021-11-09 07:42:33 -05:00
Cullen Whitmore
057019c614
Move text alignment to the label to improve CSS specificity
2021-11-08 12:28:56 -06:00
Cullen Whitmore
499d443656
Add text-alignment to `th` elements in the variations table
2021-11-08 12:04:58 -06:00
Ron Rennick
64b562e498
Merge pull request #31082 from woocommerce/add/wsl-instructions
...
Added WSL instructions
2021-11-08 13:34:27 -04:00
Cullen Whitmore
f7623ac324
Change attribute label column from `td` to `th`
2021-11-08 11:30:18 -06:00
Tom Cafferkey
c5e17812f0
Ensure we are loading product page gallery scripts in for FSE themes
2021-11-08 17:26:46 +00:00
Rodel
7c1888ddad
Better phrasing in Running Tests opening statement
2021-11-09 00:45:34 +08:00
Barry Hughes
976f623792
Merge pull request #31091 from woocommerce/update/woocommerce-admin-2.8.0_Woo-6.0
...
Bump WooCommerce Admin version to 2.8.0
2021-11-08 08:10:58 -08:00
Vedanshu Jain
ca2495fc96
Merge pull request #31092 from woocommerce/add/5.9-changelog-entries
...
Add changelog entries for 5.9
2021-11-08 20:55:03 +05:30
Ron Rennick
a53e37f43b
remove duplicate gitignore entries
2021-11-08 11:03:19 -04:00
David Stone
10b534ac82
Add 'GB' to list of countries that are supported by taxjar since it no longer is part of EU
...
Closes https://github.com/Automattic/woocommerce-shipping-issues/issues/20
2021-11-08 13:02:00 +02:00
Joshua T Flowers
abc47adc95
Add Avalara to tax task ( https://github.com/woocommerce/woocommerce-admin/pull/7874 )
...
* Move woocommerce tax flow to subdirectory
* Add partner cards
* Use png for logo files
* Add partner card other actions
* Add partner card styling
* Add in mobile styles
* Interpolate links and html elements
* Redirect to tax configuration if Avalara not supported
* Mark task complete if Alavara is installed
* Record events when task partners are shown or selected
* Add changelog entry
* Update task card flow based on visible partners
* Skip plugin step if all plugins installed
* Move reusable components into subdirectory
* Record available partner options
* Fix type reference
* Wrap callback functions in useCallback to avoid rerenders
* Handle PR feedback
* Add key to partner card container
* Add testing instructions
2021-11-05 16:32:02 -04:00
Joshua T Flowers
675cf379c1
Only load default tasks during REST requests ( https://github.com/woocommerce/woocommerce-admin/pull/7904 )
...
* Only load default tasks during REST requests
* Add changelog entry
2021-11-05 15:38:05 -04:00
Ron Rennick
a6df312732
Merge pull request #31084 from woocommerce/fix/e2e-env-readme-links
...
Update links to moved e2e READMEs.
2021-11-05 15:54:30 -03:00
roykho
0ddad32294
Add docker up/down to executors
2021-11-05 10:10:13 -07:00
roykho
4501f13a87
Accommodate different directory names for woocommerce
2021-11-05 10:09:34 -07:00
Tom Cafferkey
5cdc6c86f6
Revert change for theme support on permalinks
2021-11-05 15:35:08 +00:00
Tom Cafferkey
2003a7813e
Create conditional function wc_current_theme_supports_woocommerce_or_fse
2021-11-05 15:31:22 +00:00
roykho
b86a66168e
Add Nx script executors to woocommerce plugin
2021-11-05 08:19:36 -07:00
Rodel
f37bc08a44
Corrected reference to WSL instructions
2021-11-05 20:44:31 +08:00
Nestor Soriano
b5c5a4da15
Improve handling of relative paths in downloadable files
...
to prevent access to files outside of WordPress uploads folder.
2021-11-05 13:43:22 +01:00
Rodel
8c8385fcce
Remove earlier WSL section
2021-11-05 20:42:12 +08:00
Rodel
1b60740e57
Reference to WSL md at the beginning of Running tests section
2021-11-05 20:40:54 +08:00
Rodel
df85aa293c
Minor changes
2021-11-05 20:23:37 +08:00
Rodel
906afa8a67
Separate readme for WSL instructions
2021-11-05 20:10:03 +08:00
Nestor Soriano
aaab2095fa
Change stable tag to 5.9
2021-11-05 12:57:59 +01:00
Nestor Soriano
e1bdd037c1
Add missing changelog entries for 5.9
2021-11-05 12:56:59 +01:00
Nestor Soriano
63531b985b
Bump WooCommerce Admin version to 2.8.0
2021-11-05 12:11:11 +01:00
Nestor Soriano
2d71ec403c
Fix (and improve) failing unit test.
2021-11-05 11:59:33 +01:00
Nestor Soriano
d98112e014
Use base taxes instead of current user taxes in wc_get_price_excluding_tax
...
Modify wc_get_price_excluding_tax so that when there's no user
available from a passed order and the
'woocommerce_adjust_non_base_location_prices' filter returns false,
the shop base location is used for the tax calculation instead of
the location of the currently logged in user.
2021-11-05 11:59:33 +01:00
Nestor Soriano
76c611b2d8
Fix: wc_get_price_excluding_tax when an order with no customer is passed
...
PR #30692 modified 'wc_get_price_excluding_tax' so that if an order
is passed its customer will be passed to WC_Tax::get_rates in order
to use the proper location for the taxes to be discounted. The problem
is that when the order has no customer (it's "Guest") an invalid
customer (id=0) is passed, which has no location, and thus no taxes
are deducted whatsoever.
The fix consists of checking if the customer id from the order is 0,
and in that case no customer is passed to WC_Tax::get_rates, thus
the shop location is used for the taxes.
2021-11-05 11:59:33 +01:00
And Finally
1a48569af9
Allow for 9 items in Marketing recommended lists ( https://github.com/woocommerce/woocommerce-admin/pull/7887 )
...
* - Increased `per_page` parameter of API request in `getRecommendedPlugins` from 6 to 9, to accommodate additional MailPoet item.
- Added new `mailpoet.js` with SVG icon for MailPoet, and corresponding entry to list of product icons.
* Changelog for this change.
* Renamed changelog.
* Added PR number to changelog content.
* Fix formatting
Co-authored-by: Adrian Duffell <9312929+adrianduffell@users.noreply.github.com>
2021-11-05 12:08:35 +08:00
Moon
a70d331cdf
Present Inbox notes in a panel with header ( https://github.com/woocommerce/woocommerce-admin/pull/7864 )
...
* Wrap notes with Card component -- Added header, badge, and cllipsis menu
* CSS changes to adjust padding and margin
* Change buttons to link style
* Render image only when the layout is thumbnail
* Add hover state
* Update text and classname
* Dismiss note immediately without prompting a confirmation (https://github.com/woocommerce/woocommerce-admin/pull/7868 )
* use woocommerce-admin-dismiss-notification class to target the dissmiss btn
* Add changelog
* Specify CSS styles so tha they dont get overridden by other plugins
* Update changelog
* Remove message gap
* Remove unwanted changes from package-lock.json
* Update changelog
2021-11-04 20:51:30 -07:00
And Finally
a6828f915c
Revert woocommerce/woocommerce-admin#7529 – remove Marketplace menu ( https://github.com/woocommerce/woocommerce-admin/pull/7902 )
...
* Reverts the changes in https://github.com/woocommerce/woocommerce-admin/pull/7529 , as we are merging My Subscriptions and Marketplace back into one Extensions page.
* Reverts the changes in https://github.com/woocommerce/woocommerce-admin/pull/7529 , as we are merging My Subscriptions and Marketplace back into one Extensions page.
* Added changelog.
2021-11-05 11:21:52 +08:00
And Finally
d03e53e765
Revert woocommerce/woocommerce-admin#7471 – use "Extensions" as the page title for My Subscriptions and Marketplace pages ( https://github.com/woocommerce/woocommerce-admin/pull/7901 )
...
* Reverts the changes in https://github.com/woocommerce/woocommerce-admin/pull/7471 , as we are merging the My Subscriptions and Marketplace pages back into one Extensions page.
* Added changelog.
2021-11-05 11:21:35 +08:00
LuigiPulcini
06894169da
Added logic to return on custom actions
...
This change adds the possibility for custom actions to return prematurely before the AJAX request is sent.
2021-11-05 00:32:18 +01:00
roykho
b64d0b3dfe
Add initial project.json config files to all packages and plugins
2021-11-04 14:51:04 -07:00
Lourens Schep
012359b499
Fix format of order_edit_recalc_totals props, so event does not get rejected
2021-11-04 12:26:41 -03:00
roykho
acbd9883f1
Prevent from running npm
2021-11-04 07:36:58 -07:00
roykho
7db8509af1
Extend the base TS configuration and update package path
2021-11-04 07:32:47 -07:00
Fernando
9a2cd38004
Add tests to Subscriptions inclusion ( https://github.com/woocommerce/woocommerce-admin/pull/7804 )
...
* Add unit tests to `OnboardingProductTypes` REST API
* Add e2e tests
* Add changelog
* Fix e2e tests
* Fix test description
* Fix to clean payment methods
* Fixed `clickStartWithTemplate`
* Fix test description
* Add package changelog
Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
2021-11-04 10:15:42 -03:00
Tomek Wytrębowicz
e73329fdf3
Update links to moved e2e READMEs.
2021-11-04 12:58:11 +01:00
Matt Sherman
e7a8193529
Use id instance property in DataSourcePoller instead of ID const defined in child classes ( https://github.com/woocommerce/woocommerce-admin/pull/7865 )
2021-11-03 17:28:43 -04:00
Rodel
73c3563290
Added WSL instructions
2021-11-04 02:48:30 +08:00
Michael Silber
4cba4bc1be
Add woocommerce_after_variations_table action hook after variations table
2021-11-03 05:51:55 -07:00
louwie17
44a01d6fe6
Fix wc_admin_daily from a missed change ( https://github.com/woocommerce/woocommerce-admin/pull/7829 )
...
* Fix wc_admin_daily
* Remove accidental change
* Make sure we use slug as key for remote inbox notifications and remove unnecessary transient delete
2021-11-03 09:43:40 -03:00
Manos Psychogyiopoulos
fb1cc38375
Delay handling of requests to hide admin notices and limit to admin area
...
Moving this to `admin_init` also ensures that WC_Notes_Run_Db_Update has been instantiated before it can hook into the `woocommerce_hide_update_notice` action. See:
- WC_Install:init()
- WC_Notes_Run_Db_Update::construct()
closes #30781
2021-11-03 10:28:30 +02:00
Peter Fabian
3398cf88cb
Clarify tooltip for on-hold email.
2021-11-03 13:35:58 +05:30
Moon
6747e90ceb
Remove the Spinner component while loading the store alerts ( https://github.com/woocommerce/woocommerce-admin/pull/7886 )
...
* Remove Spinner
* Add changelog
* Use null so it render nothing
* Update changelog
2021-11-02 21:17:26 -07:00
Matt Sherman
04a9091c29
Sync changelog from 2.8.0 ( https://github.com/woocommerce/woocommerce-admin/pull/7880 )
...
* Add changelog entry for 7824
* Add changelog entry for 7813
* Add changelog entry for 7817
* Update changelog for 7856 and 7873
2021-11-02 19:00:10 -04:00
Adrian Duffell
5d6ceafbff
Bump Minimum Versions for 2.9 Release ( https://github.com/woocommerce/woocommerce-admin/pull/7883 )
...
* Bump WordPress version
* Bump WooCommmerce version
2021-11-03 06:48:33 +08:00
Adrian Duffell
db11df4296
Add 2col Experiment ( https://github.com/woocommerce/woocommerce-admin/pull/7872 )
...
* Update experiment name
* Add 2col experiment
* Add changelog
* Update changelog
* Revert "Add 2col experiment"
This reverts commit 6509bf75f48d2662a4b3e53d3022ea82daac0d2b.
* Add 2col experiment
2021-11-03 06:36:12 +08:00
Moon
6205c8ba01
Avoid caching extended info on Analytics -> Products ( https://github.com/woocommerce/woocommerce-admin/pull/7819 )
...
* Do not cache extended info -- this is required to get the latest stock data
* Add changelog
2021-11-02 15:18:57 -07:00
Joel Thiessen
5356726638
Adding unfulfilled order count badge to woo navigation ( https://github.com/woocommerce/woocommerce-admin/pull/7835 )
2021-11-02 12:00:21 -07:00
Joshua T Flowers
d27da1aac1
Clean up tax task components ( https://github.com/woocommerce/woocommerce-admin/pull/7870 )
...
* Separate tax automated screen and stepper
* Move stepper to separate folder
* Fix up TS errors
* Fix location settings update
* Move complete address logic to store location component
* Prevent prematurely showing steps before resolution
* Update onEnable to onAutomate
* Add changelog entry
2021-11-02 13:33:42 -04:00
barryhughes
91435c89c5
Correct IQD currency symbol.
2021-11-02 10:32:37 -07:00
Joshua T Flowers
ea857c73d6
Add WC Pay in person text ( https://github.com/woocommerce/woocommerce-admin/pull/7830 )
...
* Update WCPay in person text
* Remove div wrapping finish setup button
* Add changelog entry
* Add US specific WooCommerce Payment suggestion
* Allow different gateway suggestion IDs for wcpay
* Add older fallback version of WCPay
* Change check to dev version of 2.9.0
* Use 5.10.0-dev for WC checks
2021-11-02 09:03:04 -04:00
Adrian Duffell
d57232719d
Add Profile Notes ( https://github.com/woocommerce/woocommerce-admin/pull/7861 )
...
* Add wc-admin-update-store-details note
* Add wc-admin-complete-store-details note
* Add notes to daily cron
* Add conditional display of notes if in experiment
* Fix bug preventing control experience being cached in transient
* Add filtering of experiment notes in REST API
* Revert "Add conditional display of notes if in experiment"
This reverts commit 99908b83d7868ae69dd1ccca1b565ee2de4dff0d.
* Add changelog
* Update changelog
* Refactor experiment condition for performance
2021-11-02 13:01:31 +08:00
Moon
777c3a709a
Add two-columns class dynamically ( https://github.com/woocommerce/woocommerce-admin/pull/7878 )
2021-11-01 19:43:46 -07:00
Moon
5391b9e066
Remove store setup from the things to do list ( https://github.com/woocommerce/woocommerce-admin/pull/7876 )
2021-11-01 19:33:10 -07:00
louwie17
1af44c47fa
Add extra intl countries to WC Pay support ( https://github.com/woocommerce/woocommerce-admin/pull/7873 )
...
* Fix lint error
* Add changelog
2021-11-01 16:33:08 -03:00
Peter Fabian
f7eeeacb10
Fixed typo in readme.
2021-11-01 11:43:26 +01:00
Barry Hughes
ec5ab7cdb5
Merge pull request #30997 from woocommerce/update/has-block-template-filter
...
Update has_block_template function to use apply_filters
2021-10-29 08:47:04 -07:00
Tom Cafferkey
f8eebbecbd
Update plugins/woocommerce/includes/class-wc-template-loader.php
...
Co-authored-by: Barry Hughes <3594411+barryhughes@users.noreply.github.com>
2021-10-29 16:16:10 +01:00
Joshua T Flowers
d5bdb285d8
Add marketing extensions back to obw ( https://github.com/woocommerce/woocommerce-admin/pull/7831 )
...
* Add back in extension list title
* Separate task list and obw plugin lists
* Remove mailpoet from basics list
* Bump extensions REST API to v3
* Add changelog entry
2021-10-29 08:47:05 -04:00
Tom Cafferkey
3047603e2b
Updated has_block_template to have type casting, added a block comment to the filter and updated filter prefix to use woocommerce_
2021-10-29 13:02:23 +01:00
Ilyas Foo
e73a4cd2ea
Add console warning on Inbox notes character limit ( https://github.com/woocommerce/woocommerce-admin/pull/7869 )
...
* Add initial console warning
* Update warning to include permalink to post
* Fix formatting for multiple notes
* Changelog
* Add dompurify
* Add translation
2021-10-29 18:15:42 +08:00
Paul Sealock
789d942f89
Update e2e package locations and add PNPM ( #30977 )
2021-10-29 08:32:31 +13:00
Peter Fabian
bc25115549
Merge pull request #31034 from woocommerce/tweak/readme-verbiage
...
Spotfix a few typos
2021-10-28 14:38:37 +02:00
Veljko
5c110acd4a
Add performance orders search
2021-10-28 13:52:12 +02:00
Ilyas Foo
d4e27ea3ea
Fix Tasklist UI illustrations styling ( https://github.com/woocommerce/woocommerce-admin/pull/7858 )
...
* Fix css styles
* Changelog
2021-10-28 16:02:56 +08:00
Joshua T Flowers
91473959c8
Update add task extension example ( https://github.com/woocommerce/woocommerce-admin/pull/7809 )
...
* Update task extension example
* Fix up namespaced classes
* Register task on init hook for REST usage
2021-10-27 15:03:27 -04:00
Ilyas Foo
96028ff055
Revert experiment task titles back to original ( https://github.com/woocommerce/woocommerce-admin/pull/7853 )
...
* Remove experiment task titles
* Changelog
2021-10-27 17:41:51 +08:00
Ilyas Foo
7ae80e7969
Change CTA text for personalize store task after completion ( https://github.com/woocommerce/woocommerce-admin/pull/7852 )
...
* Change CTA text for personalize store task after completion
* Changelog
2021-10-27 17:41:34 +08:00
Néstor Soriano
2d405cc8c1
Merge pull request #30901 from woocommerce/fix/30594-api-key-description-length
...
Fix Description Length Preventing REST API Key Creation
2021-10-27 11:10:24 +02:00
Néstor Soriano
59ab939282
Merge pull request #30935 from EvanHerman/trunk
...
Update locale-info.php
2021-10-27 09:57:44 +02:00
Néstor Soriano
33715a6d96
Merge pull request #30950 from woocommerce/add/enhance-unit-test-documentation
...
Add troubleshooting section to running unit test section
2021-10-27 09:22:58 +02:00
Nestor Soriano
14ebad52a6
Add "Troubleshooting" to the ToC in the unit tests README.
2021-10-27 09:20:33 +02:00
Moon
d97a45c432
Update experiment name ( https://github.com/woocommerce/woocommerce-admin/pull/7851 )
...
* Use UTC timezone for the month and year
* Include year
2021-10-26 20:09:26 -07:00
Moon
a90f80e838
Set the circle bg to transparent ( https://github.com/woocommerce/woocommerce-admin/pull/7849 )
2021-10-26 18:56:03 -07:00
Barry Hughes
03903d36a6
Spotfix a few typos
2021-10-26 13:04:44 -07:00
Moon
b027461e44
Use WordPress 5.6 ( https://github.com/woocommerce/woocommerce-admin/pull/7843 )
2021-10-26 10:27:37 -07:00
Rodel
ec6f839ee2
Added tests for batch update products
2021-10-26 18:14:57 +08:00
Rodel
817db0aa14
Minor doc update
2021-10-26 18:14:36 +08:00
Ilyas Foo
30d7def26f
Add header cards for all tasks in Tasklist UI experiment ( https://github.com/woocommerce/woocommerce-admin/pull/7838 )
...
* Add illustration images
* Refactor the way clicking task is handled, tracking clicks should be during CTA
* Refactor task list on select and rendering
* Add WCPay task and update existing tasks to use new API
* Change payments task behaviour to show after wcpay is connected
* Add couple more tasks
* Add marketing and appearance tasks, customize styles
* Refactor to use svg components instead of images, add custom task titles for experiment
* Updated tracking to be like existing task list
* Change default task shown to be the last
* Cleanup css
* Changelog
* Fix ellipsis menu css to be more specific to the respective tasklist
2021-10-26 16:40:35 +08:00
Rodel
751dc5da1f
Data file for products CRUD tests
2021-10-26 16:27:20 +08:00
Rodel
054183cb5a
Renamed data file for product-list tests
2021-10-26 15:40:00 +08:00
Moon
543cefa004
Two columns experiment - move paid extensions to extended task list ( https://github.com/woocommerce/woocommerce-admin/pull/7839 )
...
* Render extended task list
* Remove margin-bottom when the extended task list is empty
* Fix typo
* Remove redundant isVisible check
* Remove unallowedTasks and move it to concat
* Remove woocommerce_tasklist_progression experiment
* Remove duplicate array items
* Use isVisible to check the visibility
* Remove redundant logic
2021-10-25 21:08:05 -07:00
Joel Thiessen
c146e25b47
Updating woo navigation link colors for greater contrast ( https://github.com/woocommerce/woocommerce-admin/pull/7833 )
2021-10-25 09:35:22 -07:00
Tomek Wytrębowicz
cc5b2d9f58
Set the scope of `wpNavMenuClassChange` to wp-admin's menu. ( https://github.com/woocommerce/woocommerce-admin/pull/7773 )
...
Fixes woocommerce/woocommerce-admin#7772
2021-10-25 15:59:35 +02:00
Rodel
04d6e7acdb
Minor test suite name change
2021-10-25 20:03:46 +08:00
Rodel
9104089b01
Split products tests
2021-10-25 20:02:17 +08:00