Commit Graph

18797 Commits

Author SHA1 Message Date
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
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
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
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