Commit Graph

32317 Commits

Author SHA1 Message Date
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
Renovate Bot df15398098
Update dependency chromedriver to v75.1.0 2019-07-11 16:57:32 +00: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
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