Commit Graph

35151 Commits

Author SHA1 Message Date
Paul Dechov 264556be91 Call ship-to-different-address change handler manually in lieu of event trigger
Avoids unnecessary update_checkout call on initialization.
2019-07-29 22:39:19 -04:00
Paul Dechov 4a94037c52 Replace update_checkout request on checkout page load with updated_checkout event 2019-07-29 22:32:56 -04:00
Renovate Bot 2b7755693d
Update dependency husky to v3.0.2 2019-07-29 17:19:08 +00:00
Renovate Bot 7bf9353d21
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.3 2019-07-29 16:42:16 +00:00
Gerhard Potgieter 8f31d38f75
Merge pull request #24254 from woocommerce/update/3-7-rc.1
WooCommerce 3.7.0 RC 1
2019-07-29 13:42:21 +02:00
Gerhard fa9dfa64e2 Bump version to 3.7.0-rc.1 and update changelog with changes since beta. 2019-07-29 13:23:52 +02:00
Gerhard Potgieter 9709382f31
Merge pull request #24213 from woocommerce/update/3-7-beta-tweaks
Deprecate instead of remove
2019-07-29 13:18:26 +02:00
Gerhard Potgieter 8c19f0d76f
Merge pull request #24251 from woocommerce/update/unit-test-coverage
Exclude new packages and vendor folders from unit tests
2019-07-29 12:52:42 +02:00
Gerhard Potgieter 5261c1555f
Merge pull request #24228 from woocommerce/renovate/lint-staged-9.x
Update dependency lint-staged to v9.2.1
2019-07-29 12:51:19 +02:00
Gerhard 4fa1e7d431 Only remove 2019-07-29 11:53:15 +02:00
Gerhard 41d0702a3c Exclude new packages and vendor folders from unit tests 2019-07-29 11:20:58 +02:00
Gerhard 978f0ef88d Add backward compatible functionality to the new table if maybe_remove_tax_class_rates happens to get called. 2019-07-29 10:56:13 +02:00
Miguel Pinto ce4f0edc3a
Avoid duplicated process for IPN and PDT payment
Currently, Woocommerce is processing twice the payment when IPN and PDT notifications are enable. This mean that stock is reduced twice.
2019-07-29 09:25:30 +01:00
Gerhard Potgieter 672f45881e
Merge pull request #24232 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.2
2019-07-29 08:47:28 +02:00
Rodrigo Primo e0541fc2d1 Reorganize CONTRIBUTING.md 2019-07-26 16:45:26 -03:00
Rodrigo Primo 896f1391f0 Remove section about the build process
This is already covered in the document about how to set up a
development enviroment.
2019-07-26 15:20:10 -03:00
Rodrigo Primo b0fef8e8ef Move Translating WooCommerce section to its own page
https://github.com/woocommerce/woocommerce/wiki/Translating-WooCommerce
2019-07-26 15:19:25 -03:00
Rodrigo Primo 8aa62dc858 Add a link to the wiki in the README.md file 2019-07-26 15:08:29 -03:00
Rodrigo Primo b18135fd3c Consolidate info about support on the README.md file
This commit removes duplicated information about support from
CONTRIBUTING.md and consolidates it in README.md.
2019-07-26 14:59:49 -03:00
Rodrigo Primo 9752c1f8a0 Update tests documentation
Update tests documentation as PHPUnit now should be installed and called using composer instead of
globally. This commit also includes some other minor changes to the
tests documentation like updating the link of the service used for code
coverage reports.
2019-07-26 14:48:05 -03:00
Frédéric Demarle 0fa582a25f Coding standards 2019-07-26 13:40:13 +02:00
Frédéric Demarle e3dd09d021 Fire related actions when deleting all product variations 2019-07-26 11:55:30 +02:00
Gerhard e0371b70e8 Make config flexible to work on local and travis 2019-07-26 09:36:30 +02:00
Renovate Bot f4bfc15ef2
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.2 2019-07-25 15:28:48 +00:00
Gerhard a6eda46b97 npm run 2019-07-25 15:55:33 +02:00
Gerhard e8dff32c88 Use correct variable to trigger visual regression test 2019-07-25 15:28:07 +02:00
Gerhard 49a969a11c tests not test 2019-07-25 13:20:45 +02:00
Gerhard af39fb7e5f Hook up new run-vis-regression.sh script, do not run unit tests on vis regression tests 2019-07-25 13:12:24 +02:00
rspublishing bb2c929fba Use in woocommerce_update_product_stock_query 2019-07-25 09:31:37 +02:00
Renovate Bot 57f2cfafd4
Update dependency lint-staged to v9.2.1 2019-07-25 05:07:55 +00:00
David Stone 487b38e0ae Use two different filters instead to avoid unexpected behavior 2019-07-24 16:54:51 -06:00
Paul Dechov c3076209c7 Cache checkout fragments and only update DOM on change 2019-07-24 18:00:29 -04:00
Gerhard 5db83f1699 First go at setting up travis to run vis regression tests. 2019-07-24 13:20:41 +02:00
Gerhard b5aa45bf54 Add basic screenshot testing framework using jest-puppeteer and jest-image-snapshot, include basic test with a screenshot. 2019-07-23 15:08:36 +02:00
Gerhard Potgieter ba517650a1
Merge pull request #24178 from james-allan/deprecate_before_quantity_zero_action
Deprecate the `woocommerce_before_cart_item_quantity_zero` action
2019-07-22 14:38:40 +02:00
Gerhard Potgieter 1a3e9a668f
Merge pull request #24173 from woocommerce/fix/order-create-track
[Beta fix] Return early if post status is `auto-draft` to prevent fatal.
2019-07-22 14:36:44 +02:00
Gerhard Potgieter f47e18460e
Merge pull request #24212 from woocommerce/renovate/config-3.x
Update dependency config to v3.2.2
2019-07-22 14:31:56 +02:00
Gerhard Potgieter 025103607c
Merge pull request #24211 from woocommerce/renovate/eslint-6.x
Update dependency eslint to v6.1.0
2019-07-22 14:31:24 +02:00
Gerhard e586379c3c Delete woocommerce_tax_classes option after transfering it to the new tax class table. 2019-07-22 14:16:17 +02:00
Gerhard 0e316c238d Add back WC_Tax::maybe_remove_tax_class_rates removed in #23093 and deprecate it instead. 2019-07-22 14:11:11 +02:00
Renovate Bot 8e08c96210
Update dependency config to v3.2.2 2019-07-21 04:32:48 +00:00
Renovate Bot 1128b051af
Update dependency eslint to v6.1.0 2019-07-21 04:08:26 +00:00
David Stone db089c3f9d Only use default message to avoid showing too much information to user 2019-07-19 15:37:10 -06:00
Claudio Sanches 94d0516ba2 Fixed translator notation 2019-07-19 13:29:38 -03:00
Claudio Sanches d91c10ebbf
Merge pull request #24207 from woocommerce/remove-duplicated-methods
Remove methods assertIsWPError() and assertNotWPError() from WC_Unit_Test_Case
2019-07-19 12:36:47 -03:00
Rodrigo Primo 17e5622905
Merge pull request #24206 from JAD3N/patch-1
Fix Missing Translation for Subtotal
2019-07-19 11:19:48 -03:00
Rodrigo Primo a8f6a94cda Remove methods assertIsWPError() and assertNotWPError() from WC_Unit_Test_Case
Those two methods are already declared in the class WP_UnitTestCase, so there is
no need to declare them again in the class WC_Unit_Test_Case. The only
caveat is that assertIsWPError() is called assertWPError() in
WP_UnitTestCase so it was necessary to update all of its usages.
2019-07-19 10:56:58 -03:00
Rodrigo Primo 276334fc4c
Merge pull request #24197 from woocommerce/feature/24192
Updated PHPUnit to 7.5.14
2019-07-19 10:34:04 -03:00
Rodrigo Primo 16442956e8 Fix PHPCS errors 2019-07-19 10:19:23 -03:00
Jaden 83a3c2362a
Fix Missing Translation for Subtotal 2019-07-19 12:53:59 +00:00