Commit Graph

35315 Commits

Author SHA1 Message Date
Christopher Allford 7331036d17 Moved synchronous webhook execution into a shutdown function
One of the problems with synchronous webhooks is that they are executed as soon as the related action is. Since we may call an action multiple times in the process of updating something, this causes only the first action to trigger the hook. This differs from asynchronous execution because in that case, the web hook will be executed after the entire request has completed.
2020-06-25 16:54:17 -07:00
Claudio Sanches 0757f711de Need to use edit_others_shop_orders also for coupons menu item 2020-06-25 20:34:28 -03:00
Claudio Sanches 8609500cc2 Check for the correct cap for shop_coupon 2020-06-25 20:31:06 -03:00
Claudio Sanches f5b9af8591 Keep WooCommerce menu structure if user can edit others shop orders 2020-06-25 20:01:12 -03:00
Paul Sealock 75cd74fe24 Bump wc-admin version 1.3.0-rc.2 2020-06-25 15:23:50 +12:00
Ron Rennick ce70d6ad7a add Google weblight user agent check 2020-06-24 14:26:25 -03:00
Claudio Sanches c3afafee76
Update template version 2020-06-24 11:53:39 -03:00
Dan Bitzer 25fbe58872 Add order note action docblock 2020-06-24 09:35:46 +09:30
Claudio Sanches da19e6af27
Updated algerian states based on the CLDR list
Based on https://github.com/unicode-org/cldr/blob/release-37/common/subdivisions/en.xml#L1176-L1224
2020-06-23 17:14:59 -03:00
Claudio Sanches f4d11c89f3
Merge branch 'master' into issue-24266-solution 2020-06-23 16:47:30 -03:00
Claudio Sanches a008e8a9ac
Fixed coding standards 2020-06-23 16:40:53 -03:00
Claudio Sanches 77f1842a9a
Fixed "Attica" name 2020-06-23 14:36:30 -03:00
Ron Rennick e9f71ac24c
Merge pull request #26802 from woocommerce/fix/25833
introduce woocommerce_enable_nocache_headers filter
2020-06-23 13:35:13 -03:00
Ron Rennick e56ef185b0
Merge pull request #26809 from woocommerce/fix/25606
remove privacy page dropdown
2020-06-23 13:34:33 -03:00
Ron Rennick 524b7e7876
Merge pull request #26840 from woocommerce/test/template-cache-clearing
add template cache unit test
2020-06-23 13:32:52 -03:00
Claudio Sanches c192c4082e
Merge pull request #26649 from woocommerce/renovate/mocha-7.x
Update dependency mocha to v7.2.0
2020-06-23 13:06:46 -03:00
Claudio Sanches 6890251b0e
Fixed typos and coding standards 2020-06-23 11:51:19 -03:00
Giorgos Sarigiannidis ee3a1b7e5e
Update states.php
Updated Greek states based on the names from the CLDR list (see: https://github.com/woocommerce/woocommerce/pull/26719#pullrequestreview-435847710)
2020-06-23 17:47:31 +03:00
Renovate Bot 1551775307
Update dependency mocha to v7.2.0 2020-06-23 14:46:03 +00:00
Claudio Sanches d1bd90fc8f
Merge pull request #26714 from woocommerce/dependabot/npm_and_yarn/websocket-extensions-0.1.4
Bump websocket-extensions from 0.1.3 to 0.1.4
2020-06-23 11:29:17 -03:00
Claudio Sanches 3bb7f30c01
Merge branch 'master' into fix/25561 2020-06-23 11:23:29 -03:00
Claudio Sanches f2299ecfa8
Fixed coding standards 2020-06-23 11:09:21 -03:00
Claudio Sanches ca9a76c462
Fixed coding standards 2020-06-23 10:46:26 -03:00
Claudio Sanches 6b1fe47901
Merge pull request #26790 from woocommerce/renovate/docker-wordpress-5.x
Update wordpress Docker tag to v5.4.2
2020-06-23 10:12:24 -03:00
Peter Fabian a442f183ad
Merge pull request #26849 from woocommerce/fix/26845
Put back the remove element for multiselects on selectWoo
2020-06-23 15:00:02 +02:00
Néstor Soriano fbe03ba256
Merge pull request #26848 from woocommerce/update/wc-admin-1.3.0-rc.1
Bump wc-admin to 1.3.0-rc.1
2020-06-23 14:54:55 +02:00
Renovate Bot 151c905eb2
Update wordpress Docker tag to v5.4.2 2020-06-23 12:40:48 +00:00
Peter Fabian 56d343e26a Added minified files. 2020-06-23 13:12:10 +02:00
Peter Fabian 3b0dd45fcf Put back the remove element for multiselects. 2020-06-23 12:38:43 +02:00
Paul Sealock 7ae8bd53d0 Bump wc-admin to 1.3.0-rc.1 2020-06-23 21:49:59 +12:00
Peter Fabian 568997493c
Merge pull request #26807 from woocommerce/fix/reserve-stock-update-query
Update reserved stock when a row already exists
2020-06-23 11:03:20 +02:00
Dan Bitzer 9cddd9ae18 Add `woocommerce_order_note_added` action
This action provides an easier way to perform an action when a non-customer order note is added.
2020-06-23 16:55:08 +09:30
Ron Rennick 59f2bdbe46 add template cache unit test 2020-06-22 16:05:29 -03:00
dependabot[bot] ff0945c183
Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-22 17:08:32 +00:00
Ron Rennick fbc66f3b2b
Merge pull request #26432 from woocommerce/add/npm-publish
Add npm publish script for /tests/e2e
2020-06-22 14:05:47 -03:00
Ron Rennick 7d181230e7 update package-lock with master merge 2020-06-22 13:48:52 -03:00
Ron Rennick ee151bbd95 Merge branch 'master' into add/npm-publish 2020-06-22 13:46:54 -03:00
Ken Gagne bc210d6db1
Add login link for existing account
When a logged-out user tries to check out with an email address associated with an existing account, they are prompted to log in. This PR updates that prompt with a link to the login form. Though other opportunities to log in should already exist elsewhere on the checkout page (such as `form-login.php`'s "Returning customer?" prompt), this change makes it more explicit and intuitive.
2020-06-22 09:57:28 -06:00
Claudio Sanches f21c92d0b6
Merge pull request #26804 from woocommerce/fix/obw-e2e-test
E2E: Fix OBW e2e test to account for the new Home Screen
2020-06-22 11:46:06 -03:00
Tam Mullen 720c1a1910
Merge pull request #26771 from woocommerce/update/wc-issue-templates
Update GitHub issue templates to request more details
2020-06-22 12:09:21 +01:00
Peter Fabian 60955a9926
Merge pull request #26829 from IanDelMar/patch-2
Fix typo in composer.json
2020-06-22 12:36:39 +02:00
Christopher Allford 05adbd718d
Merge pull request #26742 from woocommerce/update/git-hook-pre-push
Added pre-push hook to prevent accidental pushes to master
2020-06-21 11:28:00 -07:00
IanDelMar bff2cab4c0
Fix typo 2020-06-21 13:26:51 +02:00
Ron Rennick 4a9fb66a39 update comment to accurate description 2020-06-18 10:56:31 -03:00
Ron Rennick a88a708286 remove privacy page dropdown 2020-06-18 10:40:17 -03:00
Mike Jolley 00f1246553 Update reserved stock when a row already exists 2020-06-18 12:09:57 +01:00
Manos Psychogyiopoulos 06a7847f73 Preserve qty input val whan changing variations 2020-06-18 07:42:25 +03:00
Julia Amosova 281057eee8 Adjust various conditions of the OBW e2e test to make it pass 2020-06-17 17:20:12 -04:00
Ron Rennick 6743073a0f introduce woocommerce_enable_nocache_headers filter 2020-06-17 15:02:09 -03:00
Daniel Morell 94e317f9f8
Fixed wc_get_order function name
The WC_Abstract_Order __construct() method doc block had the wc_get_order() method referred to as get_order().
2020-06-17 10:49:40 -05:00