Commit Graph

36166 Commits

Author SHA1 Message Date
David Levin 8c62fc72a6 update order summary totals 2019-12-19 07:53:35 -08:00
David Levin d25178b793 rename fee method again 2019-12-18 22:19:34 -08:00
David Levin f4277f9c1a
Merge pull request #25267 from harvitronix/update/order-details-3
Leave other fee total logic alone, reduce the fee array to get a simple sum
2019-12-18 22:12:45 -08:00
Matt Harvey 11ee9525b3
Merge branch 'update/order-details-3' into update/order-details-3 2019-12-18 22:09:59 -08:00
Matt Harvey 4326e39250 Leave other fee total logic alone, reduce the fee array to get a simple sum 2019-12-18 22:08:39 -08:00
David Levin 5df30cdbd6 rename method to get fee totals 2019-12-18 21:34:40 -08:00
David Levin ba60f79114
Merge pull request #25266 from harvitronix/update/order-details-3
Abstract fee calculation and expose as a method on abstract Object class
2019-12-18 21:07:57 -08:00
Matt Harvey 73189340c8 Merge branch 'master' into update/order-details-4 2019-12-18 21:00:32 -08:00
Matt Harvey 4eeec4705d Abstract fee calculation and expose as method to abstract Object class. 2019-12-18 20:58:39 -08:00
David Levin c6cd7331f9 update order details summary with items subtotal and start to add fees 2019-12-18 20:51:45 -08:00
Christopher Allford 16abc27272
Revert "Revert "Update Renovate bot configuration to update dev dependencies …" 2019-12-18 16:20:50 -08:00
Claudio Sanches f7bc61f818 Add @juliaamosova and @ObliviousHarmony to contributors 2019-12-18 20:52:43 -03:00
Claudio Sanches 22bbfe7511 3.9.0-beta.2 2019-12-18 20:37:05 -03:00
Claudio Sanches 6e1e55d41e Updated changelog 2019-12-18 20:36:00 -03:00
Claudio Sanches 8eca3529ab
Merge pull request #25264 from woocommerce/renovate/woocommerce-woocommerce-rest-api-1.x
Update dependency woocommerce/woocommerce-rest-api to v1.0.5
2019-12-18 20:31:11 -03:00
Renovate Bot dee631a71e
Update dependency woocommerce/woocommerce-rest-api to v1.0.5 2019-12-18 23:02:51 +00:00
Christopher Allford ee9dc110ed
Merge pull request #25263 from woocommerce/revert-25259-update-renovate
Revert "Update Renovate bot configuration to update dev dependencies …
2019-12-18 18:01:38 -05:00
Christopher Allford b16ab57cf1
Revert "Update Renovate bot configuration to update dev dependencies once per month" 2019-12-18 14:57:49 -08:00
Christopher Allford 181df5ad21
Merge pull request #25194 from rodrigoprimo/php-7.4-travis
Use PHP 7.4 instead of PHP 7.4snapshot in Travis
2019-12-18 17:47:45 -05:00
Claudio Sanches 3be425631f Version 1.0.5 2019-12-18 19:20:59 -03:00
Christopher Allford 0704f6d023 Added support for filtering products and variations by their menu_order 2019-12-18 19:20:12 -03:00
Claudio Sanches 5a509591e7 Fixed unit tests 2019-12-18 19:20:00 -03:00
Claudio Sanches 3e0e9fee77 Included tests for v3 2019-12-18 19:20:00 -03:00
Claudio Sanches b0da8ca633 Included unit tests 2019-12-18 19:20:00 -03:00
Claudio Sanches 218f1b1edb Fixed prepare_line_items for v1 2019-12-18 19:20:00 -03:00
Claudio Sanches 48fb4433ac Allow edit line items without passing an product ID again 2019-12-18 19:20:00 -03:00
Claudio Sanches 28e046c33e Make product_id non mandatory while updating a line_item in orders endpoint 2019-12-18 19:20:00 -03:00
Csaba Maulis 1d5e1715d6 Fix Products Controller images property type 2019-12-18 19:19:45 -03:00
Christopher Allford b5c7fc631a
Merge pull request #25259 from woocommerce/update-renovate
Update Renovate bot configuration to update dev dependencies once per month
2019-12-18 16:46:26 -05:00
Claudio Sanches 3f87c1b6f7
Merge pull request #25213 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.6
2019-12-18 12:45:43 -03:00
Claudio Sanches 6d15638881
Merge pull request #25251 from woocommerce/fix/25250
Adjusted the checkout email validation regex to be more accurate
2019-12-18 12:33:06 -03:00
Claudio Sanches c2e7f0a35d
Merge pull request #25260 from woocommerce/add/wc-admin-version-check
Add WP version check before recommending WooCommerce Admin
2019-12-18 12:16:29 -03:00
Justin Shreve a5ee52a6c6 Add WP version check before recommending WooCommerce Admin 2019-12-18 09:29:21 -05:00
Rodrigo Primo 50279fa21e Update Renovate bot config to update dev dependencies once per month
Doing this to reduce the noise caused by Renovate bot creating several
PRs for packages that are updated frequently.
2019-12-18 11:09:58 -03:00
Rodrigo Primo 6b6a96c12e
Merge pull request #25256 from woocommerce/renovate/pin-dependencies
Pin dependency phpunit/phpunit to 7.5.18
2019-12-18 10:52:01 -03:00
Rodrigo Primo 6734662cbb Improve PHPCS configuration
This commit implements the following changes to PHPCS execution via its configuration file:

- Show progress while it is running
- Improves performance by checking up to 8 files simultaneously
- Display only the relevant bit of filepaths when showing error and warnings
2019-12-18 10:26:36 -03:00
Rodrigo Primo ceaab9fdc0 Bump WP min ver used by PHPCS to match WC current requirement 2019-12-18 10:18:53 -03:00
Renovate Bot 9fc6a048a2
Pin dependency phpunit/phpunit to 7.5.18 2019-12-18 12:06:29 +00:00
Rodrigo Primo a7d57a248e
Merge pull request #25234 from woocommerce/update-phpcs-sniff-names
Replace removed WordPress.Security.NonceVerification.NoNonceVerification
2019-12-18 08:50:38 -03:00
Rohan V 83c88e47a5
Add fix to increase column size for existing installations 2019-12-18 13:24:18 +05:30
Rohan V 2541786ef5
Increase field size for new installation 2019-12-18 12:49:32 +05:30
Christopher Allford ed7c891675 Adjusted the checkout email validation regex to be more accurate 2019-12-17 13:18:53 -08:00
Renovate Bot b8e9fd5dac
Update dependency woocommerce/woocommerce-blocks to v2.5.6 2019-12-17 19:40:53 +00:00
vedanshujain ad2f76275a Applied coding standards 2019-12-17 19:13:19 +05:30
vedanshujain ff2a8a58f2 Commented out flaky test 2019-12-17 19:13:19 +05:30
vedanshujain ba2d825800 Use DB timestamp to ensure consistency between servers. 2019-12-17 19:13:19 +05:30
vedanshujain 9b7343d23b Applied coding standards 2019-12-17 19:13:19 +05:30
vedanshujain 47ba1d49da Cascade to return null to prevent notice when array is empty.
Another situation where this change is required when there are two coupons in an order but only one coupon has limit. In this case array will be present but one of the coupon will not have a corresponding record which will throw a notice.
2019-12-17 19:13:19 +05:30
vedanshujain 53bfcea110 Use same filter for stocks and coupon for consistency. 2019-12-17 19:13:19 +05:30
vedanshujain 72545c44b7 Add support for `_held_for_checkout` records to improve performance.
This will also improve transactional stability and avoid race conditions by providing a way to lock usage counts.
2019-12-17 19:13:19 +05:30