Shiki
a3f46e5526
Schema: Make display_key and *_value available for v3 and v2
...
This is just the schema and the actual functionality isn't implemented yet.
2020-10-13 22:32:30 +05:30
Shiki
b9ae830da5
Fix formatting in Orders V2 unit test
2020-10-13 22:32:30 +05:30
Shiki
f45e8b884b
Orders V3: Reuse WC_Order_Item->get_formatted_meta_data
...
Previously, I was using my own function. This time, we're using the function
available in WC_Order_Item but sanitizing the results after.
2020-10-13 22:32:30 +05:30
Shiki
2e92460df2
Orders V3: Include display_key and display_value in item meta_data
2020-10-13 22:32:30 +05:30
Shiki
d8ac282c80
Orders V3 Schema: Add display_key and display_value for meta props
2020-10-13 22:32:29 +05:30
Rodrigo Primo
f4316a0e9f
Add github-actions[bot] to the list of ignored users
...
This commit simply adds github-actions[bot] (a bot used in the
woocommerce-blocks repository) to the list of users ignored
by the bin/contributors.sh script.
2020-10-13 11:47:49 -03:00
Rodrigo Primo
9c943aaf1f
Remove woocommerce-rest-api from contributors.sh
...
Now that woocommerce-rest-api was merged back into the WC core
repository, we don't need to check contributions in the depreacted
woocommerce-rest-api repository.
2020-10-13 11:39:28 -03:00
James Allan
1fcedb5279
Removes the remaining uses of $order->get_product_from_item
2020-10-13 11:24:48 +10:00
Rodrigo Primo
16faf915e0
Merge pull request #27918 from woocommerce/update/woocommerce-admin/1.6.0
...
Update WooCommerce Admin to 1.6.0
2020-10-10 10:54:52 -03:00
Rodrigo Primo
5f5e739d7a
Update e2e test documentation to fix invalid example
...
This commit just updates the e2e test documentation to use a test file that exists in the section on how to run individual tests
2020-10-10 10:33:41 -03:00
Timmy Crawford
58f181e351
Update WooCommerce Admin to 1.6.0
2020-10-09 14:15:42 -07:00
Ron Rennick
903b86677c
add readme to core tests package
2020-10-09 10:31:45 -03:00
Peter Fabian
85caf328b1
Merge pull request #27912 from woocommerce/fix-composer-install-no-dev-bin-not-installed
...
Fix "bin not installed" error on "composer install no-dev"
2020-10-09 10:43:16 +02:00
Ron Rennick
62acca06e1
don't run tests if testing host not ready
2020-10-09 05:14:57 -03:00
Ron Rennick
7f57906959
add test:e2e-debug command
2020-10-09 05:00:03 -03:00
sudoshreyansh
f1d89e6e78
Fixed taxonomy term message
2020-10-09 13:16:40 +05:30
Nestor Soriano
d083a08a1f
Fix "bin not installed" error on "composer install no-dev"
...
We introduced the Composer Bin package as a dev dependency, and this
required a "composer bin install" post-install/update Composer command.
However when doing "composer install no-dev" this throws a
"Command 'bin' is not defined" error.
The solution is to add a dummy "bin" command in composer.json that
will run in lieu of the Composer Bin one when doing a no-dev install.
2020-10-09 08:21:57 +02:00
Néstor Soriano
c15488d840
Merge pull request #27830 from woocommerce/php8/fix-round-function-with-non-numeric-argument
2020-10-09 08:01:44 +02:00
Christopher Allford
f9ef91adc1
Merge pull request #27836 from woocommerce/packages/api/add/repository-listing
...
@woocommerce/api: Added list() repository operation and classes for managing store settings
2020-10-08 13:20:12 -07:00
Rodrigo Primo
6861fdab5d
Update @version in which a filter was added
2020-10-08 17:03:09 -03:00
Jon Campbell
0fedb0db7a
Added filter for low stock notification emails ( #27819 )
...
* Adding new filter for low stock notification
* Update class-wc-emails.php
fixing whitespace
2020-10-08 17:02:09 -03:00
Ron Rennick
c6cf81fb30
Merge pull request #27805 from woocommerce/fix/25962
...
Core E2E test package
2020-10-08 16:21:43 -03:00
Christopher Allford
1d0cbc8187
Merge branch 'master' into packages/api/add/repository-listing
2020-10-08 11:48:22 -07:00
Ron Rennick
31001036c9
Merge branch 'master' into fix/25962
2020-10-08 15:30:25 -03:00
Ron Rennick
4a8898dfbd
restore $attachment_ids for product thumbnails template
2020-10-08 15:08:03 -03:00
Néstor Soriano
b105e4a7b7
Merge pull request #27753 from woocommerce/add/composer-bin-plugin
...
Add composer-bin-plugin
2020-10-08 15:54:44 +02:00
Néstor Soriano
e4b78cedbf
Merge pull request #27748 from woocommerce/remove-leftovers-from-improved-filtering-by-attribute-for-variations
...
Remove leftovers from the reverted improved filtering mechanism for variations
2020-10-08 15:45:09 +02:00
Claudio Sanches
11a886a91a
Merge pull request #27845 from woocommerce/fix-string-capitalization
...
Revert string capitalization to the original version
2020-10-08 10:22:01 -03:00
Rodrigo Primo
6c5bb58efa
Merge pull request #27841 from woocommerce/update/readme
...
Update readme opening paragraphs
2020-10-08 10:18:05 -03:00
Rodrigo Primo
0771138604
Merge pull request #27707 from dd32/php8/warnings
...
PHP8 Warning: Change __wakeup() to a public method
2020-10-08 10:01:21 -03:00
Nestor Soriano
e22a20cee8
Revert unintended change to composer.lock
2020-10-08 14:29:11 +02:00
Néstor Soriano
ab529835fa
Merge pull request #27840 from woocommerce/php8/fix-required-parameters-after-optional
...
[PHP 8] Convert optional-before-required parameters into required parameters
2020-10-08 14:22:52 +02:00
Nestor Soriano
ac0641d02a
Fix a couple of incompatibilities with NumberUtils::round
...
- Passing a string that represents a number but has spaces (e.g. ' 1 ')
now works as expected (the number is properly interpreted)
- Passing the boolean true now returns 1, not 0
- Passing an object throws an error, instead of returning 0
2020-10-08 13:13:53 +02:00
Vedanshu Jain
8a9fa0d27b
Merge pull request #27587 from om4james/fix/26847-rest-api-auth
...
Fix HTTP 401 `woocommerce_rest_cannot_view` `Sorry, you cannot list resources` REST API response
2020-10-08 16:32:03 +05:30
Nestor Soriano
a621f07a96
Merge branch 'master' into add/composer-bin-plugin
2020-10-08 12:27:28 +02:00
Néstor Soriano
9c90461b56
Merge pull request #27733 from woocommerce/reinstate-the-dependency-injection-engine
...
Reinstate the dependency injection engine
2020-10-08 12:15:47 +02:00
Gerhard
945ca8e591
Revert back to using the world's most popular, but link out to source.
2020-10-08 10:43:07 +02:00
Nestor Soriano
ca085a8e6b
Update composer.lock
2020-10-08 09:30:29 +02:00
Nestor Soriano
62aaa3f73a
De-refactor the output function in scripts
2020-10-08 09:28:05 +02:00
Nestor Soriano
69b32246c1
Remove the PHPCS rule for method names as we'll keep them snake_case.
2020-10-08 09:28:05 +02:00
Nestor Soriano
d687c0c919
Improvements on prefix-vendor-namespaces.sh
...
- Prefix also Container's composer.json
- Use one single variant for sed, creating a backup file and
later deleting it
2020-10-08 09:28:05 +02:00
Nestor Soriano
fcd9b115ca
Adjust the namespace prefixing script to macOS/Linux
...
Both OSes have a slightly different syntax for "sed -i" and therefore
two versions of the command are needed.
2020-10-08 09:28:05 +02:00
Nestor Soriano
b71f876cba
Reintroduce the dependency injection related code.
...
After the League's Container package has been reintroduced, all the
code that implements the dependency injection mechanism in woocommerce
can be brought back as well.
2020-10-08 09:28:05 +02:00
Nestor Soriano
97618d8fad
Reintroduce the League's Container package, and prefix it.
...
All the classes in the package are re-namespaced from
"Leage\Container" to "Automattic\WooCommerce\Vendor\League\Container"
to prevent conflicts with extensions using the same plugin.
The re-namespacing is done by using a simple text substitution
on all the code files (see prefix-vendor-namespaces.sh), for this
particular case this approach is enough.
2020-10-08 09:28:01 +02:00
Néstor Soriano
3e6861189e
Merge pull request #27848 from woocommerce/php8/remove-useless-test-assertion
...
[PHP 8] Remove a useless test assertion that fails in PHP 8
2020-10-08 09:06:39 +02:00
James Collins
79dd557b77
Return true to indicate that authentication using this method was successful
2020-10-08 09:33:33 +08:00
Ron Rennick
175499b40a
Merge branch 'master' into fix/27215
2020-10-07 15:59:19 -03:00
Ron Rennick
2380e9d376
Merge pull request #27432 from woocommerce/fix/e2e-url-no-port
...
Add support for URLs without a port to test:e2e
2020-10-07 15:51:45 -03:00
Ron Rennick
577494796c
Merge pull request #27736 from woocommerce/fix/27681
...
Update taxonomy template file names to `-`
2020-10-07 15:23:11 -03:00
Ron Rennick
24ec59cf26
fix merge conflict
2020-10-07 15:19:05 -03:00