Commit Graph

52489 Commits

Author SHA1 Message Date
Michael Pretty 6771b48c20
get_index_columns using SHOW INDEX FROM query instead of information_schema (#36427)
* get_index_columns using SHOW INDEX FROM query instead of information_schema

* returning empty array for clarity

* ignore interpolated query

* adding changelog entry

* Adding unit tests for the updated DatabaseUtil::get_index_columns()

---------

Co-authored-by: Michael Pretty <prettyboymp@Michaels-MacBook-Pro.local>
2023-06-20 15:34:59 -03:00
Ron Rennick f012b4d038 update remaining print_r in HPOS code 2023-06-20 14:01:02 -03:00
github-actions[bot] 87c69f38e6
Release: Remove 7.9 change files (#38814)
Delete changelog files from 7.9 release

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-20 11:51:33 -05:00
github-actions[bot] 1f68c707cc
Prep trunk for 8.0 cycle (#38812)
Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-20 11:51:03 -05:00
github-actions[bot] 0c5a374c30
Update changelog.txt from release 7.8.0 (#38703)
Prep trunk post release 7.8.0

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
Co-authored-by: jonathansadowski <jonathansadowski@users.noreply.github.com>
2023-06-20 11:50:31 -05:00
github-actions[bot] 95e7ff576e
Delete changelog files based on PR 38545 (#38568)
Delete changelog files for 38545

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-20 11:49:18 -05:00
github-actions[bot] 8b9007d470
Delete changelog files based on PR 38819 (#38829)
Delete changelog files for 38819

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-06-20 11:17:54 -05:00
Ismael Martín Alabarce d31b7866af
Add missing spacing in WCPay welcome incentive page cards (#38819)
* Add missing card spacing for the WCPay welcome incentive cards

* Add changelog entry
2023-06-20 11:12:44 -05:00
Gan Eng Chin 617b51c91d
Add and fix tests for Campaigns component. 2023-06-20 23:03:56 +08:00
Joshua T Flowers dad636799a
Redirect to the old editor when attempting to edit a non-supported product type (#38745)
* Redirect to the old editor when attempting to edit a non-supported product type

* Add changelog entry

* Fix lint errors
2023-06-20 10:15:56 -04:00
Gan Eng Chin c6a5e8ba41
Do not show "Add channels" button when create campaign button is not shown. 2023-06-20 22:13:24 +08:00
kidinov 683039f88b Change log file 2023-06-20 16:07:03 +02:00
kidinov dba0b6fb8d Fixed code style issue 2023-06-20 16:03:51 +02:00
kidinov 1ffacdad67 Updated DataStore to handle filter_empty field 2023-06-20 15:59:44 +02:00
Gan Eng Chin dbfb8f81d8
Add changelog. 2023-06-20 21:07:54 +08:00
Gan Eng Chin 2b477fb93f
Show create campaign button in campaigns card when there are campaign types. 2023-06-20 21:05:27 +08:00
Gan Eng Chin 81c34086fe
Display create campaign button when there are campaign types. 2023-06-20 20:54:45 +08:00
kidinov 7f8aa07cdc Added `filter_empty` parameter 2023-06-20 12:46:53 +02:00
Chi-Hsuan Huang 9509ae8136
Fix help panel links (#38817)
* Fix links under "Help" panel on Home screen

* Add changelog
2023-06-20 18:11:44 +08:00
github-actions[bot] 109b9bfb2e
Prepare Packages for Release (#38818)
Automated change: Prep @woocommerce/onboarding for release.

Co-authored-by: chihsuan <chihsuan@users.noreply.github.com>
2023-06-20 16:13:48 +08:00
Sam Seay 924b29fd92
Add support to install master branch when using WooCommerce Beta Tester (#38536) 2023-06-20 18:54:49 +12:00
Joel Thiessen 6c3256b413
Handling errors from token endpoint (#38708) 2023-06-19 13:44:05 -07:00
Ron Rennick 08c0d0ac4c
fix deprecated warning in dashboard setup (#38776)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-06-19 15:05:07 -03:00
Nathan Silveira 3b038f3475
Disable 'Used for variations' checkbox when product type is not variable (#38802)
* Disable 'Used for variations' checkbox when product type is not variable and remove leftover code

* Run disable or enable fields after saving attributes
2023-06-19 14:50:03 -03:00
Vlad Olaru b3f66e4e3c
Update incentives logic - minor addition (#38803) 2023-06-19 19:23:10 +03:00
Vlad Olaru 4fffdf5703
Fix lint issue 2023-06-19 18:50:12 +03:00
Vlad Olaru 3af12dd381
Add changelog 2023-06-19 18:23:40 +03:00
Vlad Olaru 2a88ed10b1
Encode URL param to be safe 2023-06-19 18:14:42 +03:00
Vlad Olaru b1d689eb37
Merge branch 'trunk' into update/3531-incentive-logic-minor-addition 2023-06-19 18:08:27 +03:00
Vlad Olaru a76d979962
Include incentive ID in connect URL 2023-06-19 18:05:45 +03:00
Ismael Martín Alabarce 1ae97495de
Update WooPayments welcome page incentive logic (#38797)
* Update orders status query to ensure it exclude trash.

* Add incentive ID to every track event

on the welcome incentive page.

* Remove unnecessary SCSS after #38775 fix

* Add changelog entry

* Replace tos_url with tc_url for accurate naming

* Fix phpcs errors

---------

Co-authored-by: Vlad Olaru <vlad@pixelgrade.com>
2023-06-19 15:23:33 +02:00
Ilyas Foo dbd8d1be12
Fix base location remote inbox rule (#38794)
* Add another check in base location rule to fix OBW extensions bug

* Changelog

* Lint

* Add isset check

* Fix logic

* Lint
2023-06-19 19:50:52 +08:00
Vlad Olaru 5e1b6a71f4
Replace tos_url with tc_url for accurate naming 2023-06-19 14:32:57 +03:00
Ismael Martín Alabarce 66b3106def Add changelog entry 2023-06-19 13:06:26 +02:00
Ismael Martín Alabarce 9b0e5dc89a Remove unnecessary SCSS after #38775 fix 2023-06-19 13:05:01 +02:00
Ismael Martín Alabarce 4afd148e0e Add incentive ID to every track event
on the welcome incentive page.
2023-06-19 13:04:14 +02:00
Ismael Martín Alabarce 48670366b2 Update orders status query to ensure it exclude trash. 2023-06-19 12:54:27 +02:00
Moon baa0a275e3
Enable core-profiler flag (#38729)
* Enable core-profiler in prod

* Add Changelog

* Skip StoreDetails tests -- we're replacing it with Core Profiler

* Add features.is_enablefd to detect features

* Skip the onboarding wizard tests when the core profiler is enabled

* Skip skipping the onboarding wizard when the core profielr is enabled

* Incldue features module

* Skip core profiler for testing

* Skip core profiler for testing

* Remove test code
2023-06-18 22:34:51 -07:00
Moon bc827cf16b
Update/38743 loading changes in core profiler (#38750)
* Skip teh plugin page when all the plugins are activated

* Fix the if statement so that stageIndex becomes 2 when progress is over 60

* Add a 2nd loader stage for the skipped guided setup

* Add changelog

* Lint fix -- css

* fix: banished core profiler page spinners

* addressed pr comments

* update jest snapshot

---------

Co-authored-by: rjchow <me@rjchow.com>
2023-06-19 13:33:28 +08:00
Moon cea0bc143c
Decode HTML entities from store name (#38791)
* Decode store name with HTML entities

* Add changelog
2023-06-18 21:58:16 -07:00
Moon 00e4e94c89
Change select option hover color on core profiler pages (#38724)
* Use theme color for the option hover

* Add Changelog

* Remvoe absolute position -- can't predict correct value for bottom

* Fix css lint error

* Fix button width

* Use gray-0 for dropdown item hover color

* Fix border style for Give your store a name field

* Fix hover color for the platform options

* Remove light color on hover

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-06-19 11:03:55 +08:00
Ilyas Foo b490e56a40
Various UI fixes in Core profiler steps (#38759)
* Fix font heading font style and adjust main component max width to match design

* Remove redundant #FunWooFact

* Reset button font color to follow admin theme

* Fix Installed label vertical alignment

* Changelog

* Remove permanent borders from consent checkbox, lint fix

* Remove box shadow on checkboxes in plugins page

* Standardize checkbox styling across core profiler

* Fix heading font styling

* Lint

* More lint

* Update snapshot
2023-06-17 13:14:13 +08:00
Matt Sherman 7004396617
Set attributes to visible by default (#38777)
* Default visible to true if not explicitly set

* Refactor onAddingAttributes to reduce complexity

* Changelog

* Improve hasTermsOrOptions based on review suggestion
2023-06-16 18:02:16 -04:00
Fernando Marichal a40543c16d
Fix styles for modals (#38775)
* Fix obw modal

* Fix modal styles

* Add changelog

* Add changelogs

* Move __selection and __errors
2023-06-16 15:48:33 -03:00
Barry Hughes 409c36a9e7
Fire HPOS bulk action hook for all custom bulk actions (#38747) 2023-06-16 11:35:25 -07:00
Barry Hughes ad2c156966
Single product tabs: improve compat with GTM and similar | #38711 2023-06-16 11:03:21 -07:00
Ron Rennick ada3031725 merge trunk 2023-06-16 14:50:42 -03:00
barryhughes d70c65c353 Add changelog. 2023-06-16 10:16:11 -07:00
jonathansadowski 178e731b9d
Sync 38702 (#38704)
Squashed commit of the following:

commit 8ccd8e26127594e859b37ead9fd150f05d36d9f5
Author: barryhughes <3594411+barryhughes@users.noreply.github.com>
Date:   Mon Jun 5 19:37:57 2023 -0700

    Do not output payment gateway nonce to unqualified users.

commit 882946bb18dee5eb7ffea48ddfbd4c14a5092c94
Author: barryhughes <3594411+barryhughes@users.noreply.github.com>
Date:   Wed Jun 7 14:24:58 2023 -0700

    Instead of looking for `?wc-ajax`, specifically exempt `admin-ajax.php`.

    This mimics the existing approach used for `admin-post.php` requests, and is stricter by default.

commit 99cffd7cde1aa87176254845c732c91a446232f7
Author: barryhughes <3594411+barryhughes@users.noreply.github.com>
Date:   Tue Jun 6 12:40:21 2023 -0700

    Nonce verification not needed when evaluating ajax properties.

commit 99157d2a18ea78c68c265609dfdd1bddadeee7b2
Author: barryhughes <3594411+barryhughes@users.noreply.github.com>
Date:   Tue Jun 6 12:38:53 2023 -0700

    Document `woocommerce_disable_admin_bar` hook.

commit badcf8f50099dd38fa855d2aa71c8507d3f2a252
Author: barryhughes <3594411+barryhughes@users.noreply.github.com>
Date:   Mon Jun 5 18:49:25 2023 -0700

    Describe expectations around customer access to the dashboard.

commit 127053e1c27e7da5515c6638859fa09384241624
Author: barryhughes <3594411+barryhughes@users.noreply.github.com>
Date:   Mon Jun 5 13:30:03 2023 -0700

    'wc-ajax' requests should be filtered out of admin access logic.

commit 2e8182761e050cc4371181eaa197b6d4b2867f89
Author: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
Date:   Fri May 12 15:15:57 2023 +0530

    Clean up individual escape to also do it again when it is used.
2023-06-16 11:04:45 -05:00
Matt Sherman 9a6d9533c9
Keep showing product editor feedback bar after feedback modal shown (#38773)
* Show feedback bar even after feedback is given

* Changelog
2023-06-16 11:51:18 -04:00