Commit Graph

40130 Commits

Author SHA1 Message Date
Claudio Sanches c65699e907
Merge pull request #30356 from woocommerce/update/woocommerce-admin/2.5.0-rc.1
Bump woocommerce-admin version to 2.5.0-rc.1
2021-07-29 15:34:28 -03:00
Vedanshu Jain 10ecf34d94
Merge pull request #30360 from woocommerce/fix/5.6-changelog
Fixed changelog entry type for 5.6.0
2021-07-29 21:16:54 +05:30
Vedanshu Jain d9a69c37a5
Merge pull request #30381 from woocommerce/fix/automatic-milestoning-for-fork-prs
Fix: automatic milestoning GitHub action not working with PRs coming from forks
2021-07-29 21:08:57 +05:30
roykho d7493e10e1
Allow user with capabilities to view downloadable image closes #29988 2021-07-29 08:19:35 -07:00
Nestor Soriano 9ffddbac1f
Use 'pull_request_target' in the automatic milestoning action
The original event used, 'pull_request', runs in the context of the
pull request. In the case of pull requests created from forks this means
that a read-only GitHub token is used for API calls, and thus the
call used to assign the milestone fails.

The fix is using the 'pull_request_target' event, which runs in the
context of the base branch, and thus with a read-write token. See:
https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target

Also, added a warning message when no milestone without a release
branch is found and thus the newest existing milestone is assigned
(this is a fallback that should normally not happen).
2021-07-29 16:47:27 +02:00
Maria Górska-Piszek 3ffc3de4c5 Update e2e tests. 2021-07-29 15:52:30 +02:00
Maria Górska-Piszek 8fdcaa0b55 Split Extensions page into 2 menu items. 2021-07-29 15:49:12 +02:00
rodelgc 1bff2b6609
Merge branch 'trunk' into add/e2e-implement-describe-each 2021-07-29 20:35:49 +08:00
Rodel Calasagsag 344aebd0b5 Fix merge conflict in e2e-utils CHANGELOG 2021-07-29 20:32:50 +08:00
rodelgc 0ea8637094
Merge branch 'trunk' into add/e2e-merchant-batch-create-orders 2021-07-29 19:48:26 +08:00
Néstor Soriano 409c996834
Merge pull request #30366 from woocommerce/add/logging_for_milestone_assignment_gh_action
Add error logging to the GitHub action for assigning a milestone to merged pull requests
2021-07-29 13:33:46 +02:00
Rodel Calasagsag e5078cdf5c Add new util function to the readme 2021-07-29 19:32:12 +08:00
Rodel Calasagsag 16083c2574 Move utility function to withRestApi 2021-07-29 19:31:27 +08:00
Rodel Calasagsag b116756b09 Renamed 'status' variable 2021-07-29 18:27:26 +08:00
Dan Bitzer 89fa082743 Remove \WC_Customer::get_hook_prefix method
This method is now redundant since the `$object_type` property is set for the class. This means the parent method will now return the exact same value.
2021-07-29 11:26:21 +09:30
Dan Bitzer 5c7d1a440a Set $object_type prop for WC_Customer class 2021-07-29 11:26:21 +09:30
roykho eb66b032dc
Revert the use of prop here as we want to remove the attribute completely closes #30282 2021-07-28 10:56:55 -07:00
Nestor Soriano 68fcfa9cf6
Add logging to the GH action for assigning a milestone to merged PRs
If the GH API call to assign the milestone to a merged PR returns an
error, the data returned from the call will be dumped to the console,
and thus will be readable by looking at the action execution log.
2021-07-28 15:20:16 +02:00
Vedanshu Jain 124aeb7467
Merge pull request #30204 from getsnoopy/fix-postal-code-labels
Correct postal code labels for US & India
2021-07-28 13:38:45 +05:30
Greg 47683bb1b5 Update README 2021-07-27 20:48:45 -06:00
Greg b50f88ee29 Removed ignore lint fields 2021-07-27 20:43:47 -06:00
Claudio Sanches ba786322a4 Added missing entry 2021-07-27 20:31:37 -03:00
Claudio Sanches 1ee5301cef Fixed changelog entry type for 5.6.0 2021-07-27 19:57:47 -03:00
Claudio Sanches 16f2b6e9b1
Merge pull request #30352 from woocommerce/fix/refresh-package-lock
package lock maintenance
2021-07-27 14:08:56 -03:00
Claudio Sanches d7531db491
Merge pull request #30355 from woocommerce/fix/version
Bump version to the next
2021-07-27 14:08:28 -03:00
Barry Hughes f8955593f1
Merge pull request #30351 from woocommerce/fix/cant-create-product-attributes-lookup-table
Fix attributes lookup table creation and usage option name.
2021-07-26 15:28:59 -07:00
Fernando Marichal cc100361de Bump woocommerce-admin version to 2.5.0-rc.1 2021-07-26 16:34:43 -03:00
roykho f34061e91e
Bump version to the next 2021-07-26 09:27:01 -07:00
Roy Ho 081e725190
Merge pull request #30216 from woocommerce/add/new-locale-info-file
Update locale-info.php
2021-07-26 15:32:10 +01:00
Ron Rennick 73b0192ed7 package lock maintenance 2021-07-26 11:30:26 -03:00
Nestor Soriano 48f3adcb32
Fix attributes lookup table creation and usage option name
Fix two bugs related to the product attributes lookup table:

1. The DataRegenerator::check_can_do_lookup_table_regeneration method
   was incorrectly throwing an exception when invoked with no product id
   (this method will always be called without method id in order to
   create the table, and by then the table will not exist).
2. The products - advanced settings page was using the wrong option
   name to enable the feature.
2021-07-26 16:11:37 +02:00
Taha Paksu 12f033e477 Remove changelog entry, change header versions 2021-07-26 16:58:38 +03:00
Taha Paksu e08540dcf6 Merge branch 'trunk' into add/new-locale-info-file 2021-07-26 16:21:14 +03:00
Claudio Sanches 58e6d8c183
Merge pull request #30344 from woocommerce/prepare/5.7.0
5.7.0-dev
2021-07-23 20:59:09 -03:00
Claudio Sanches 02492514f9 5.7.0-dev 2021-07-23 20:58:37 -03:00
Claudio Sanches 8ae16b7317
Merge pull request #30343 from woocommerce/add/5.6.0-beta.1
Tag 5.6.0-beta.1
2021-07-23 20:43:40 -03:00
Claudio Sanches 58a719aeed Tag 5.6.0-beta.1 2021-07-23 19:20:11 -03:00
Greg e382e03f58
Merge pull request #30291 from woocommerce/add/plugin-upload-flow
Added plugin upload functionality
2021-07-22 13:06:56 -06:00
Greg 5229087aa1 Merge branch 'trunk' of github.com:woocommerce/woocommerce into add/plugin-upload-flow 2021-07-22 12:42:50 -06:00
Ron Rennick f2cb291778
Merge pull request #30330 from woocommerce/fix-e2e/add-wait-for-search
Added wait for selector in search
2021-07-22 15:29:43 -03:00
Greg 32454db984 Update selectors 2021-07-22 11:38:42 -06:00
Greg 946a4e755a Update selector 2021-07-22 11:23:24 -06:00
Greg 0de5726332 Merge branch 'trunk' of github.com:woocommerce/woocommerce into fix-e2e/add-wait-for-search 2021-07-22 11:17:21 -06:00
Greg 45735a30f7 Make selector more specific 2021-07-22 10:55:45 -06:00
Roy Ho 5a70e26541
Merge pull request #29470 from Quy/patch-1
Remove trailing colon when checkbox is before label
2021-07-22 16:16:47 +01:00
Roy Ho 1d725d8dc8
Merge pull request #30068 from jobthomas/patch-1
"Pending payment" instead of "Pending" as the correct status
2021-07-22 16:03:12 +01:00
Roy Ho 742d18a73a
Merge pull request #30252 from kravco/log-file-dropdown-modification-time
fix incorrect modification time in logs dropdown
2021-07-22 15:34:30 +01:00
Roy Ho bb78d07615
Merge pull request #30334 from woocommerce/add_setting_to_tracker
Add the setting checkout_login_reminder to be tracked
2021-07-22 15:25:36 +01:00
Vedanshu Jain 50c8b7d1eb
Merge pull request #30335 from woocommerce/fix/30298
Remove unnecessary search related 'where' in handling of 'posts_clauses'
2021-07-22 16:11:20 +05:30
Nestor Soriano 70dc65ae48
Remove unnecessary search 'where' in handling of 'posts_clauses'
PR 29896 added extra handling in response to the 'post_clauses' hook
in order to use the new product attributes lookup table. However it
also added a new 'where' clause based on the value returned by
'get_main_search_query_sql', which turns out is not needed and
causes problems with some themes.
This commit removes that extra 'where'.
2021-07-22 11:26:10 +02:00