Commit Graph

32329 Commits

Author SHA1 Message Date
Akeda Bagus 0f5a33d543
Add authentication for helper request. 2019-07-11 15:55:16 +07:00
Akeda Bagus d088aea85d
Initial work of adding product install API on top of helper. 2019-07-11 15:55:11 +07:00
Beka Rice 3c2e3cc9aa Only set paying customer prop when required 2019-07-10 18:36:43 -04:00
Steve Grunwell 5fa06c6287 Merge remote-tracking branch 'upstream/master' into fix/composer-platform-version 2019-07-10 16:34:41 -04:00
Rodrigo Primo e5857e91f9 Merge branch 'master' into fix/23508 2019-07-10 16:11:07 -03:00
Claudio Sanches c4c8fbbce5 Updated composer.lock 2019-07-10 15:50:28 -03:00
Claudio Sanches c63cd802aa
Merge pull request #23957 from woocommerce/feature/feature-plugin-packages
Include external feature plugins as packages
2019-07-10 15:47:48 -03:00
Claudio Sanches 5b8694e92a
Merge pull request #23915 from woocommerce/fix/23544
[Setup] Make PostCode optional as few countries don't use them
2019-07-10 15:45:32 -03:00
Claudio Sanches 22726bd74d
Merge pull request #24120 from woocommerce/fix/24110
add filter for product import image separator
2019-07-10 14:30:34 -03:00
Claudio Sanches d5168440a8
Merge pull request #24121 from woocommerce/renovate/lint-staged-9.x
Update dependency lint-staged to v9.2.0
2019-07-10 14:03:50 -03:00
Ron Rennick 71d7f2c1bb remove trailing space 2019-07-10 14:01:38 -03:00
Renovate Bot 410a8809a9
Update dependency lint-staged to v9.2.0 2019-07-10 16:17:00 +00:00
Gerhard Potgieter 2734b190c1
Merge pull request #23881 from ionutcalara/master
Update find matching variation method inner query
2019-07-10 15:53:30 +02:00
Gerhard Potgieter 49adf8169b
Merge pull request #23672 from woocommerce/fix/23366-2
Auto generate usernames when a username is blacklisted by WP
2019-07-10 15:44:44 +02:00
Gerhard Potgieter 9ca6dad11e
Merge pull request #23433 from justlevine/master
Preserve State field input classes when selecting a Country.
2019-07-10 15:31:39 +02:00
Gerhard Potgieter d38359e06f
Merge pull request #24118 from aslamshekh/issue-24115
Fix-24115, Downloads report not getting 503 any more, If previously d…
2019-07-10 15:06:42 +02:00
Ron Rennick 64476263b8 add filter for product import image separator 2019-07-10 09:13:05 -03:00
Mike Jolley c928188831 Update from master 2019-07-10 12:57:02 +01:00
Mike Jolley 1b132157ed bump package version to beta 2019-07-10 12:43:43 +01:00
aslamshekh 3df0769366 I have done with few changes which is suggested. 2019-07-10 14:52:59 +05:30
Gerhard 98c24b1090 Merge branch 'master' into pr/23043 2019-07-10 10:34:52 +02:00
Gerhard Potgieter fb87c8f2e3
Merge pull request #24117 from woocommerce/fix/WC_Shortcode_Products_tests
Fix failing WC_Shortcode_Product unit tests
2019-07-10 09:47:58 +02:00
aslamshekh 15eaaebdeb Fix-24115, Downloads report not getting 503 any more, If previously downloaded files are removed from product 2019-07-10 12:58:07 +05:30
Gerhard 5122641be0 Add wc update cli call to the e2e test install. This should fix outdated/missing tables and routines. 2019-07-10 09:20:37 +02:00
Gerhard 22bb52f9be Fix failing unit tests due to changes in #24111 2019-07-10 08:48:33 +02:00
Gerhard Potgieter 600da8cee2
Merge pull request #24112 from woocommerce/fix/tax-class-initialization
Fix Tax Class table initialization
2019-07-10 08:38:31 +02:00
Gerhard Potgieter 235dd9ccdc
Merge pull request #23460 from woocommerce/update/23390
Review template escaping for `_e` and `__`
2019-07-10 08:14:40 +02:00
Steve Grunwell 9a43f4728f Explicitly declare PHP version requirements and platform defaults
When running `composer update` on anything more recent than PHP 7.0, doctrine/instantiator version 1.2.0 is installed and tracked in the `composer.lock` file. Unfortunately, this causes some rather cryptic errors when running the WooCommerce test suite in PHP 7.0, as doctrine/instantiator version 1.1.0 dropped support for PHP < 7.1 (see https://github.com/doctrine/instantiator/releases/tag/1.1.0).

This commit adds two things to the `composer.json` file:

1. Explicit platform requirements ("php": "^5.6|^7.0")
2. A `config.platform` value, which essentially tells Composer "when you're installing/updating dependencies, assume it's on a machine running PHP 7.0".

My assumption is the current `composer.lock` file was generated in an environment running PHP 7.0, which is why current Travis runs are working but running `composer update` on anything higher than PHP 7.0 causes the tests to start failing within the PHP 7.0 test runner.
2019-07-09 21:15:13 +00:00
Claudio Sanches 08d301779b Set max index length for slug in tax class table 2019-07-09 17:59:16 -03:00
Andy Mardell 9d4e7f2e12 Rename filters 2019-07-09 21:22:41 +01:00
Claudio Sanches d18c3f8ed1
Merge pull request #24069 from woocommerce/add/coupon-code-generator
Add generate coupon code button
2019-07-09 16:50:24 -03:00
Claudio Sanches 18b876a95c Always load generate code button
Some improvements in the button label and names
2019-07-09 16:46:17 -03:00
Claudio Sanches 540a3f4216
Merge pull request #23344 from woocommerce/fix/23340
Correct subtotals when changing tax classes via a filter
2019-07-09 16:33:05 -03:00
Claudio Sanches 6e6ca196f9
Merge branch 'master' into fix/23340 2019-07-09 16:32:43 -03:00
Claudio Sanches b63cc12d2b Prevent escape twice 2019-07-09 16:23:53 -03:00
Claudio Sanches 62a32e41d0 Avoid extra escape 2019-07-09 16:23:09 -03:00
Claudio Sanches 86a58a05c3 Fixes based in feedback in #23460 2019-07-09 16:20:54 -03:00
Claudio Sanches c1a3c65e34
Merge branch 'master' into update/23390 2019-07-09 16:15:07 -03:00
Rodrigo Primo 040be6da6d 23781 2019-07-09 16:08:22 -03:00
Rodrigo Primo 53df16b2b5
Merge pull request #23781 from woocommerce/try/obw-changes
OBW: Switch shipping labels and shipping zones placement
2019-07-09 16:06:38 -03:00
Claudio Sanches 0e5c0eeccd
Merge pull request #23091 from woocommerce/fix/23087
Move settings save functionality to wp_loaded hook
2019-07-09 15:47:41 -03:00
Rodrigo Primo cac657d7b3 23785 2019-07-09 15:47:32 -03:00
Rodrigo Primo 2827b57060
Merge pull request #23785 from woocommerce/update/14361
Use WP 5.0 determine_locale() function
2019-07-09 15:46:47 -03:00
Rodrigo Primo 50d26a4045
Merge pull request #23786 from woocommerce/fix/23120-1
Reviews: Respect "Comment author must fill out name and email" setting
2019-07-09 15:40:54 -03:00
Claudio Sanches da00ef76cc
Merge pull request #24111 from alerobertson/add/tag-operator-shortcode
Add tag_operator to products shortcode
2019-07-09 15:37:43 -03:00
Claudio Sanches 6c0ef10016 Do not save create taxes with empty names 2019-07-09 15:26:07 -03:00
Claudio Sanches 56240c9633 Prevent saving empty tax classes into the database 2019-07-09 15:23:46 -03:00
Claudio Sanches b178f1be1f Set initial tax classes 2019-07-09 15:13:02 -03:00
Claudio Sanches 1425b0c3b6 Crate tables before create options 2019-07-09 15:12:34 -03:00
Claudio Sanches 958a970255 Include missing wc_tax_rate_classes in WC_Install::get_tables 2019-07-09 15:02:07 -03:00