Claudio Sanches
94d23605b8
Merge pull request #26658 from zackkatz/patch-1
...
Fix undefined index PHP warning
2020-07-01 12:48:13 -03:00
Claudio Sanches
d74b73f014
Merge pull request #26558 from woocommerce/fix/26555
...
Fix tooltip flashing
2020-07-01 12:47:14 -03:00
Claudio Sanches
2874915339
Merge pull request #26553 from szepeviktor/patch-2
...
Fix PHPDoc in WC_Notes_Run_Db_Update
2020-07-01 12:46:48 -03:00
Claudio Sanches
d5010a6967
Merge pull request #26737 from navigatrum/nav/phpunit-min-6.5
...
Update PHPUnit minimum version to 6.5
2020-07-01 12:45:46 -03:00
Claudio Sanches
1cf2120a02
Merge pull request #26719 from gsarig/patch-1
...
Define Greek states in the English language
2020-07-01 12:45:20 -03:00
Claudio Sanches
9c4ac29137
Merge pull request #26565 from woocommerce/fix/26510
...
Allow set "order key" while creating order via CRUD
2020-07-01 12:42:18 -03:00
Claudio Sanches
54f91a5a59
Merge pull request #26566 from woocommerce/update/26510-generate-order-key
...
Allow custom values in wc_generate_order_key()
2020-07-01 12:41:24 -03:00
Claudio Sanches
cac529c393
Merge pull request #26567 from woocommerce/fix/26510-created-date
...
Allow set "date_created" while creating orders via CRUD
2020-07-01 12:40:43 -03:00
Claudio Sanches
4450d2239f
Merge pull request #26660 from woocommerce/add/status-tools-prompt
...
Adds a prompt to confirm if should run tools in the Status page.
2020-07-01 12:39:54 -03:00
Claudio Sanches
f6cd453840
Merge pull request #26669 from woocommerce/fix/filter-params
...
Normalize parameters for woocommerce_product_importer_parsed_data filter
2020-07-01 12:39:17 -03:00
Claudio Sanches
ab8a1b78a3
Merge pull request #26668 from woocommerce/fix/typo
...
Fixed typo in WC_Product_CSV_Importer class
2020-07-01 12:39:03 -03:00
Claudio Sanches
6fc008c104
Merge pull request #26698 from woocommerce/fix/26643
...
Puerto Rico: Remove "City" field and rename "State" to "Municipality"
2020-07-01 12:38:28 -03:00
Claudio Sanches
683296f2dc
Merge pull request #26805 from franticpsyx/issue-26799
...
Preserve qty input val when changing variations
2020-07-01 12:37:55 -03:00
Claudio Sanches
32a3d29bd9
Merge pull request #26798 from danielmorell/patch-1
...
Fixed wc_get_order function name in doc block
2020-07-01 12:37:06 -03:00
Claudio Sanches
3b45cf2443
Merge pull request #26758 from IanDelMar/patch-1
...
Fix WPCS sniff exclusion
2020-07-01 12:35:25 -03:00
Claudio Sanches
705062cb8c
Merge pull request #26906 from woocommerce/add/packages-to-build
...
add package build to build script
2020-07-01 12:34:40 -03:00
Claudio Sanches
7647a122ab
Merge pull request #26920 from alamgircsebd/fix/wrong-capabilites-use-on-add-order-note
...
Fix - wrong capabilities use on add order note issue fixed
2020-07-01 11:42:45 -03:00
vedanshujain
8ded6a3057
Applied coding standards
2020-07-01 19:09:50 +05:30
vedanshujain
6a8f9a4abe
Disabled flaky test
2020-07-01 19:09:50 +05:30
vedanshujain
836d764c67
Add tests
2020-07-01 19:09:07 +05:30
vedanshujain
1b3f1d75ba
Limit stock changes for order items to status methods for consistency.
...
Methods `wc_maybe_increase_stock_levels` and `wc_maybe_reduce_stock_levels` already reduce/increase stock levels when statuses are changed, so no need to do this here.
2020-07-01 19:09:07 +05:30
Ron Rennick
84f5e61dbf
Merge pull request #26858 from woocommerce/fix/25833-2
...
add Google weblight user agent check
2020-07-01 09:31:35 -03:00
Christopher Allford
627bd5a99a
Simplified the package directory structure
2020-06-30 21:37:17 -07:00
Alamgir
5cda3967ff
Fix - wrong capabilites use on add order note issue fixed
2020-07-01 10:14:22 +06:00
Renovate Bot
653a6ada16
Update dependency lerna to v3.22.1
2020-07-01 02:19:54 +00:00
Renovate Bot
b3dad22f13
Update dependency grunt-stylelint to v0.15.0
2020-07-01 02:12:55 +00:00
Christopher Allford
c23f52aedf
Created a base ModelFactory for all factories to extend
2020-06-30 19:00:42 -07:00
Renovate Bot
ac809b9c9e
Update dependency deasync to v0.1.20
2020-07-01 01:55:43 +00:00
Renovate Bot
f4cae15563
Update babel monorepo to v7.10.4
2020-07-01 00:38:44 +00:00
Christopher Allford
3e2e03d48a
Fixed the URL being passed to the OAuth package
2020-06-30 16:01:47 -07:00
Christopher Allford
603a5e7812
Changed the structure of error responses
...
In practice having the response class contained within the error feels a little backwards. We can instead have a structured APIError model that is contained in the APIResponse and have a consistent response format to consume.
2020-06-30 16:01:12 -07:00
Christopher Allford
7500cc004d
Added a skeleton product factory for testing
2020-06-30 13:05:25 -07:00
Christopher Allford
4aa9360ba7
Added an adapter to support creating models via the API
2020-06-30 12:50:15 -07:00
Claudio Sanches
c3608f3b57
Merge pull request #26878 from woocommerce/fix/26787
...
Moved synchronous webhook execution into a shutdown function
2020-06-30 16:34:12 -03:00
Ron Rennick
15800b0e0b
add package build to build script
2020-06-30 16:32:33 -03:00
Claudio Sanches
0de1d4f9c0
Updated docblock
2020-06-30 13:32:11 -03:00
Claudio Sanches
54a94152ec
Map all deprecated keys in __isset()
2020-06-30 13:25:30 -03:00
Claudio Sanches
701490b13e
Apply suggestions from code review
...
Co-authored-by: Néstor Soriano <nestor.soriano@automattic.com>
2020-06-30 13:05:56 -03:00
Peter Fabian
7231c6addd
Merge pull request #26863 from woocommerce/update/wc-admin-1.3.0-rc.2
...
Bump wc-admin version 1.3.0-rc.2
2020-06-30 13:28:04 +02:00
Tom Hopcraft
e38b887812
[styling] - remove whitespace in a link
2020-06-30 11:40:13 +01:00
Peter Fabian
64bbb09eb2
Merge pull request #26518 from lipemat/patch-1
...
Fix set cache loop when no attributes exist
2020-06-30 12:03:37 +02:00
Néstor Soriano
ca963af1b1
Merge pull request #26541 from jeffreyscottfrench/Fix--calc_shipping_country-default-value
...
Fixes #26540 - Set Select a country option value as default on shipping calculator
2020-06-30 10:35:19 +02:00
Néstor Soriano
3a77066262
Merge pull request #26554 from jeffreyscottfrench/Fix--select_country-default-value
...
Sets "Select a country / region..." option element's value attribute to default in checkout page.
2020-06-30 10:34:06 +02:00
imwatsi
8b8cccf402
Add Namibia regions
2020-06-29 22:07:31 +02:00
Néstor Soriano
cf64c40ace
Merge pull request #26611 from woocommerce/fix/25387
...
Fix stock status update when saving a variable product
2020-06-29 15:46:30 +02:00
Nestor Soriano
391474c5ef
Fix code sniffer errors in class-wc-tests-product.php
2020-06-29 15:20:49 +02:00
Nestor Soriano
9aa3c54bd9
Fix variable product stock status not being properly set on save
...
When a product is saved its validate_props method is invoked,
and this recalculates the stock_status property based on whether
the product manages stock or not, the stock quantity, and the
value of the woocommerce_notify_no_stock_amount option.
In the case of variable products, and when stock is managed, the stock
was set to "instock" when the current stock was enough, but only
if the "stock_quantity" property was in the list of changed properties
for the object (the method in the base product class doen't check
for changed properties). This is a problem because the
wc_update_product_stock function updates stock_quantity but via direct
database modification, and thus stock_quantity isn't considered
modified. Therefore stock modifications via wc_update_product_stock
don't update stock_status on the product (e.g. when going from 0 to 1
after a refund the stock status will remain as "outofstock").
The fix consists of removing the check for changed properties since
it's not done anyway in the other cases (when stock is below the
woocommerce_notify_no_stock_amount threshold) nor in the base class.
Also, validate_props is refactored for readabiliyy, and an useless
set_stock_status() call placed right before save()
in wc_update_product_stock is removed.
2020-06-29 14:32:17 +02:00
Néstor Soriano
7b3e902952
Merge pull request #26629 from woocommerce/fix/25552
...
Schedule a deferred product sync for products with parent on delete.
2020-06-29 14:15:10 +02:00
priyankabehera
995cedbcfe
Fixed HTML entities in product name not showing correctly in cart page #26780
2020-06-27 17:42:47 +05:30
Viktor Szépe
f08b3c2d3a
Merge remote-tracking branch 'upstream/master' into patch-1
2020-06-26 12:24:03 +00:00