haszari
80f59f3819
fix linter errors (2 phpcbf, 31 manual)
2019-07-12 13:42:34 +12:00
haszari
b597ff067a
add in-app-purchase url params to addons screen button
2019-07-12 13:42:33 +12:00
haszari
6f29905ece
fix phpcs errors (4 phpcbf, 40 manual)
2019-07-12 13:42:33 +12:00
Tatu
c52e7bd75a
Dropped redundant persistent cart check code
...
Changing the not equal check between current_user_id and old_session_key to loose type allowed leaving out persistent cart related check.
2019-07-11 23:40:56 +03:00
Ewout Fernhout
0b69a19401
coding standard
2019-07-11 17:21:56 +02:00
Ewout Fernhout
8b51f55856
remove unused variable
2019-07-11 16:11:14 +02:00
Ewout Fernhout
324ac63376
code readability
2019-07-11 15:56:36 +02:00
Ewout Fernhout
1a7955d8f5
default tax rate percent to null
2019-07-11 15:56:28 +02:00
Ewout Fernhout
40a1f268f1
fix setting rate percent in checkout
2019-07-11 15:56:02 +02:00
Rodrigo Primo
52ecc2f357
Merge pull request #24056 from woocommerce/fix/obw-tracks-events
...
OBW: Fix event recording in OBW
2019-07-11 10:00:22 -03:00
Akeda Bagus
fc7cacb711
Fix coding standard issues.
2019-07-11 19:58:16 +07:00
Ewout Fernhout
6fe857f718
Merge remote-tracking branch 'origin/master' into patch-8
2019-07-11 14:44:39 +02:00
Akeda Bagus
e1743bfadb
Remove extra new line.
2019-07-11 18:22:39 +07:00
Akeda Bagus
40201eb9c3
Register wccom-site rest in main class.
...
With API moved to its own package (see #23957 ), controllers for wccom-
site namespace are now registered in wccom-site main class.
2019-07-11 18:19:08 +07:00
Akeda Bagus
5756766a03
Reset current_step state when installing.
2019-07-11 16:01:53 +07:00
Akeda Bagus
7d07e70958
Adjust products parameter so it can pass installation args.
2019-07-11 16:01:53 +07:00
Akeda Bagus
d51e843190
Move WCCOM Site related files to `/wccom-site` directory.
...
Also use queue when installing products so API can respond immediately.
2019-07-11 16:01:53 +07:00
Akeda Bagus
0f2e22de9a
Add docblock in controller class.
2019-07-11 15:59:10 +07:00
Akeda Bagus
a41b66c602
Rename helper to wccom-site.
2019-07-11 15:59:10 +07:00
Akeda Bagus
c59e1c3553
Fix minor wording issue in error message.
2019-07-11 15:58:06 +07:00
Akeda Bagus
9d047fd912
Make sure to flush cache before checking wccom updates.
2019-07-11 15:58:06 +07:00
Akeda Bagus
18b503dbd6
Add support for theme installation.
2019-07-11 15:58:06 +07:00
tgglv
c0d9fc7fc3
Make WP.org plugin support installation method names more precise
2019-07-11 15:58:06 +07:00
tgglv
6eeefd1341
Add WP.org plugin support into Product Activation
2019-07-11 15:58:05 +07:00
tgglv
1fae1d7ba2
Remove redundant line
2019-07-11 15:58:05 +07:00
tgglv
527fbca149
Store product's `installed_path`
2019-07-11 15:58:05 +07:00
tgglv
1dff186076
Add @return types into annotations
2019-07-11 15:58:05 +07:00
tgglv
be63fba4cd
Fix typo
2019-07-11 15:58:05 +07:00
tgglv
5bde7b5161
Fix PHP CodeSniffer issues
2019-07-11 15:58:05 +07:00
Akeda Bagus
52a68177a0
Add product info retrieval step before downloading product.
2019-07-11 15:58:04 +07:00
Akeda Bagus
6854f3bdca
Update the state when installation finished.
2019-07-11 15:58:04 +07:00
Akeda Bagus
7ac8232d2c
Make sure to init the upgrader and clean plugins cache before activate.
2019-07-11 15:58:04 +07:00
Akeda Bagus
b57f05fde9
Add missing description in docblock.
2019-07-11 15:58:04 +07:00
Akeda Bagus
69a4aa926a
Fix typo in error message.
2019-07-11 15:58:04 +07:00
Akeda Bagus
7adc256344
Move subscription check as part of installation steps.
2019-07-11 15:58:03 +07:00
Akeda Bagus
a6e089e47b
Use WP_REST_Server::get_raw_data to get body from the request.
2019-07-11 15:58:03 +07:00
Akeda Bagus
4cf69e350e
Rename filename for helper REST API controller.
2019-07-11 15:55:16 +07:00
Akeda Bagus
72ba4ed2e5
Include helper product install class in main helper class.
2019-07-11 15:55:16 +07:00
Akeda Bagus
61b0d974f4
Add reset state.
2019-07-11 15:55:16 +07:00
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
Rodrigo Primo
e5857e91f9
Merge branch 'master' into fix/23508
2019-07-10 16:11:07 -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
Ron Rennick
71d7f2c1bb
remove trailing space
2019-07-10 14:01:38 -03: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
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
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
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 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
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
6e6ca196f9
Merge branch 'master' into fix/23340
2019-07-09 16:32:43 -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
2827b57060
Merge pull request #23785 from woocommerce/update/14361
...
Use WP 5.0 determine_locale() function
2019-07-09 15:46:47 -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
Rodrigo Primo
34e5018137
Merge pull request #23262 from woocommerce/fix/23257
...
CSV Import - check if sku or id column exists when updating products from csv
2019-07-09 14:25:03 -03:00
alerobertson
b7ab7b81c9
Add tag_operator to products shortcode
...
Allow user to decide how products are filtered by tag, instead of defaulting to IN
2019-07-09 13:06:35 -04:00
Claudio Sanches
92253ea862
Merge pull request #23773 from woocommerce/fix/23744
...
PayPal pass billing address when shipping address option disabled
2019-07-09 12:48:07 -03:00
Claudio Sanches
32996d2fdd
Merge branch 'master' into pr/23043
2019-07-09 12:39:40 -03:00
vedanshujain
dd783615cc
Use helper method instead of `wp_list_pluck` to avoid notices
...
In country locales, many times configuration for postcodes may not be defined. In these cases, using `wp_list_pluck` will throw notices.
We now use a small helper method to extract post code configuration from country locales.
2019-07-09 18:13:27 +05:30
Diego
f95f73c548
Added arguments to filter `woocommerce_ajax_order_item`
2019-07-09 13:31:47 +01:00
vedanshujain
e2577b3a06
[Setup] Make PostCode optional as few countries don't use them
...
Some countries like Hong Kong, UAE etc don't use post codes, in which case this commit will make the field optional.
If its not known whether a country uses postcode or not, it will be required.
2019-07-09 14:37:03 +05:30
Gerhard Potgieter
a7b6d7bfa4
Merge pull request #24024 from woocommerce/fix/23917/code
...
Round late when rounding at subtotal to reduce rounding error.
2019-07-09 11:05:40 +02:00
Gerhard Potgieter
013ee83b47
Merge pull request #23189 from woocommerce/tracks/coupons
...
Tracks: Add coupons view events
2019-07-09 11:04:43 +02:00
Gerhard
7038c73ab4
Merge branch 'master' into update/exclude-compiled-assets-from-git
2019-07-09 10:57:40 +02:00
Claudio Sanches
01f5a09d27
Merge pull request #23338 from woocommerce/update/23335
...
More useful actions in during CRUD save events
2019-07-08 18:56:14 -03:00
Claudio Sanches
55692cba87
Merge pull request #23255 from woocommerce/shopify-column-mapping
...
Mapping for default Shopify fields
2019-07-08 18:53:57 -03:00
Claudio Sanches
c1223e3890
Fixed meta: label
2019-07-08 18:52:03 -03:00
Claudio Sanches
8b04f8d6cc
Merge pull request #23150 from woocommerce/fix/23135
...
Made WooCommerce roles translatable
2019-07-08 18:39:33 -03:00
Claudio Sanches
fb19ffe48f
Avoid infinity loop caused by PHP warning
2019-07-08 18:38:03 -03:00
Claudio Sanches
db06d3dbae
Merge branch 'master' into update/22164-tax-rate-class-table
2019-07-08 18:12:23 -03:00
Claudio Sanches
b54997d9f5
Merge branch 'fix/23221' of https://github.com/senff/woocommerce into senff-fix/23221
2019-07-08 17:55:07 -03:00
Claudio Sanches
adc543f8f1
Merge pull request #24058 from woocommerce/add/wc-admin-obw-recommended
...
OBW: Add wc-admin to recommended page
2019-07-08 16:56:49 -03:00
Claudio Sanches
c131225825
Merge pull request #24050 from woocommerce/update/23930
...
Add support for namespaced Jetpack tracks_get_identity
2019-07-08 16:48:01 -03:00
Claudio Sanches
a4b8184464
Merge pull request #23950 from parmarhardip/fix-23944
...
Currency changes applied for 'São Tomé and Príncipe dobra' and 'Mauritanian ouguiya'
2019-07-08 16:12:53 -03:00
Claudio Sanches
da99bc8ca0
Merge branch 'master' into feature/feature-plugin-packages
2019-07-08 14:33:21 -03:00
Paul Sealock
2d2ef711b8
Pass in select id
2019-07-08 11:41:52 +12:00
Paul Sealock
bc23340909
Use #doaction to target bulk actions
2019-07-05 17:02:30 +12:00
Paul Sealock
7af9d1813d
Tracks: Add coupons view events
2019-07-05 16:46:58 +12:00
Paul Sealock
8777dc4c01
Revert title to WooCommerce Admin
2019-07-05 16:11:35 +12:00
Paul Sealock
1116e5516d
update 'free' usage and wc-admin description
2019-07-05 16:10:10 +12:00
Rodrigo Primo
b648647893
Merge pull request #23741 from woocommerce/feature/23728
...
Allows customize buyer name in orders list screen
2019-07-04 16:23:43 -03:00
Rodrigo Primo
9eed45af4e
Merge pull request #23740 from woocommerce/fix/23735
...
Rename "Postcode / ZIP" to "Postal code" when select Canada
2019-07-04 16:20:11 -03:00
Rodrigo Primo
4712f75f67
Merge branch 'master' into fix/23508
2019-07-04 16:13:01 -03:00
Rodrigo Primo
4de12633d6
Merge pull request #24073 from woocommerce/fix/status-helper-disconnected-typo
...
Fix missing space and closing <strong> tag in WooCommerce.com disconnect message
2019-07-04 16:05:59 -03:00