Albert Juhé Lluveras
e2b10bdb49
Fix test_variable_product_extended_info ( https://github.com/woocommerce/woocommerce-admin/pull/1498 )
2019-02-07 10:49:50 +01:00
renovate[bot]
c5900286c0
Update dependency rimraf to v2.6.3 ( https://github.com/woocommerce/woocommerce-admin/pull/1487 )
2019-02-07 17:40:01 +08:00
renovate[bot]
be6d287118
Update dependency lerna to v3.10.8 ( https://github.com/woocommerce/woocommerce-admin/pull/1486 )
2019-02-07 17:36:43 +08:00
renovate[bot]
1017ba1bdc
Update dependency eslint-plugin-jest to v22.2.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1484 )
2019-02-07 17:29:39 +08:00
renovate[bot]
9a5b9b0b73
Update dependency eslint to v5.13.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1482 )
2019-02-07 17:26:44 +08:00
Joshua T Flowers
8c3973a445
Add manage_stock to stock controller response ( https://github.com/woocommerce/woocommerce-admin/pull/1475 )
...
* Add manage_stock to stock controller response
* Add manage_stock property to stock report tests
* Add changelog entry
* Make stock quantity float instead of int
* Add manage_stock to the products API response
* Check for manage_stock in products table
* Add manage_stock property to product API tests
2019-02-07 16:29:01 +08:00
Albert Juhé Lluveras
79738b2022
Add 'variations' attribute in products 'extended_info' ( https://github.com/woocommerce/woocommerce-admin/pull/1478 )
...
* Add 'variations' attribute in products 'extended_info'
* Add tests
2019-02-07 09:27:02 +01:00
Joshua T Flowers
2b0c8089c0
Try: Fix failing returning customer test ( https://github.com/woocommerce/woocommerce-admin/pull/1496 )
...
* Don't check against same order when checking for returning customer
* Sleep between order creation
* Add todo removal comments for sleep functions
2019-02-07 15:49:56 +08:00
Peter Fabian
79e22bcefd
Switched to creating orders from oldest to newest, not the other way around. ( https://github.com/woocommerce/woocommerce-admin/pull/1495 )
...
That should hopefully take care of the problem with strange new/returning customer values and failing tests.
2019-02-07 15:41:09 +08:00
Jeff Stieler
28739b7cf7
Return a success code when syncing order products in the case of refunds.
...
On the initial sync, no products will be deleted by the sync method (which was indicating a false negative before this fix).
2019-02-06 19:16:30 -08:00
Jeff Stieler
56a1a30224
Skip processing `shop_order_refund`s when syncing coupon and tax lookup tables.
2019-02-06 19:15:06 -08:00
Jeff Stieler
ea39313a60
Avoid false positives when rescheduling dependent queued actions.
2019-02-06 19:11:35 -08:00
Kevin Killingsworth
368c6d729b
@woocommerce/navigation v2.0.0 ( https://github.com/woocommerce/woocommerce-admin/pull/1494 )
...
* @woocommerce/navigation v2.0.0
* Bump `@wordpress/components` to use navigation v2.0.0
2019-02-06 19:26:22 -06:00
Kevin Killingsworth
8b7e309e6f
navigation: Lazy-create history ( https://github.com/woocommerce/woocommerce-admin/pull/1472 )
...
history.createHashHistory() is being called whenever this package is
imported, which causes the URL to redirect to a hash. This is
unnecessary in cases where elements of wc-admin are used outside of a
completely controlled/routed page.
This lazy-creates the history object only when it's needed and therefore
avoids the URL redirection unless history features are in use.
2019-02-06 13:28:29 -06:00
Peter Fabian
dd947044b9
Changed the date_created columns to datetime.
...
date_created should store local date and time, not UTC timestamp, as the data needs to be sliced and diced by local date/time, not by UTC date/time.
2019-02-06 19:13:57 +01:00
Justin Shreve
a1bbd22ca2
Update product details report to use getItems ( https://github.com/woocommerce/woocommerce-admin/pull/1488 )
2019-02-06 11:24:40 -05:00
Justin Shreve
81fcab5709
Fix product comparison + color scale on charts with lots of options ( https://github.com/woocommerce/woocommerce-admin/pull/1481 )
...
* Fix color scale on charts with lots of options
* Fix product comparison
2019-02-06 10:46:37 -05:00
renovate[bot]
43f3aba8dc
Update dependency eslint-loader to v2.1.2 ( https://github.com/woocommerce/woocommerce-admin/pull/1483 )
2019-02-06 18:28:41 +08:00
Joshua T Flowers
b7379def1b
Format todo comments to match WC Core format ( https://github.com/woocommerce/woocommerce-admin/pull/1474 )
...
* Format todo comments to match WC Core format
* Remove variations todo comment
2019-02-06 14:41:53 +08:00
Claudio Sanches
b7c40c2c29
Merge pull request woocommerce/woocommerce-admin#1461 from woocommerce/fix/1460
...
Fixed database prefixes for admin notes tables
2019-02-05 16:21:43 -02:00
Claudio Sanches
7a0dba9f87
Merge pull request woocommerce/woocommerce-admin#1412 from woocommerce/fix/1307
...
Update loopkup tables when an order is deleted
2019-02-05 16:20:26 -02:00
Claudio Sanches
d26e82b526
Merge branch 'master' into fix/1307
2019-02-05 16:20:08 -02:00
Claudio Sanches
86c3c00480
Clean tables when order is deleted
2019-02-05 16:15:39 -02:00
Justin Shreve
949afce248
Add Product Detail Report & Finish Comparison Chart Mode Functionality ( https://github.com/woocommerce/woocommerce-admin/pull/1391 )
...
Product detail report and comparison
Code cleanup
Fix 404 on product variations endpoint after rebase
Fix up tests
Fix loading indicators and add some checks around malformed variation response
Add date filtering SQL bits to the variations query
Handle PR feedback: Fix viewport, fix duplicate product issue, fix legend display reset, fix bargraph overflow, fix some coding standards/whitespace, add extra variation santiziation.
Fix scroll on wide charts, and fix undefined prop getting passed into report chart render
2019-02-05 13:12:58 -05:00
Peter Fabian
ff129d948c
Merge pull request woocommerce/woocommerce-admin#1383 from woocommerce/fix/1012-2
...
Fixes for ordering and zero-filling.
2019-02-05 19:08:06 +01:00
Claudio Sanches
10f40d4cf3
Merge branch 'master' into fix/1307
2019-02-05 15:48:59 -02:00
Peter Fabian
98e91966d5
Updated tests for code in master:
...
- added segment arrays and
- forced sync before running asserts.
2019-02-05 18:46:42 +01:00
Claudio Sanches
20ae502ddd
Merge pull request woocommerce/woocommerce-admin#1459 from woocommerce/feature/754
...
Introduced new hooks for jetpack sync
2019-02-05 15:43:06 -02:00
Claudio Sanches
e0004eb461
Merge branch 'master' into feature/754
2019-02-05 15:42:34 -02:00
Peter Fabian
b69d2aa2ab
Merge branch 'master' into fix/1012-2
...
# Conflicts:
# tests/reports/class-wc-tests-reports-orders-stats.php
2019-02-05 18:34:15 +01:00
Albert Juhé Lluveras
84ef5ffb89
Show empty table when search returns no results ( https://github.com/woocommerce/woocommerce-admin/pull/1452 )
...
* Show empty table when search returns no results
* Fix singular wrong string for 'orders'
Co-Authored-By: Aljullu <aljullu@gmail.com>
* Check if search returned 0 results inside table components instead of passing a prop
2019-02-05 13:00:37 +01:00
Albert Juhé Lluveras
df97ac4d49
Improve display of 0-value charts ( https://github.com/woocommerce/woocommerce-admin/pull/1470 )
...
* Improve display of 0-value charts
* Add Changelog comment
2019-02-05 10:56:26 +01:00
Joshua T Flowers
3aaf318779
Exclude trashed orders from reports ( https://github.com/woocommerce/woocommerce-admin/pull/1464 )
2019-02-05 10:57:38 +08:00
renovate[bot]
fd3da36a2f
Lock file maintenance ( https://github.com/woocommerce/woocommerce-admin/pull/1462 )
2019-02-05 10:53:46 +08:00
Jeff Stieler
0711ed85f8
Merge pull request woocommerce/woocommerce-admin#1426 from woocommerce/update/1323-handle-report-regeneration-fail
...
Use Action Scheduler for lookup table updates & schedule retries.
2019-02-04 17:12:35 -07:00
Jeff Stieler
7664612b57
Fix order stats report status filtering test case (returning customer value incorrect).
2019-02-04 16:59:08 -07:00
Albert Juhé Lluveras
16ea4f60fc
Fix hourly labels in bar charts X-axis ( https://github.com/woocommerce/woocommerce-admin/pull/1468 )
...
* Fix hourly labels in bar charts X-axis
* Add CHANGELOG comment
* Remove unnecessary date object call
2019-02-04 22:15:06 +01:00
Jeff Stieler
f938dd5708
Invoke queue test helper in new Order Stats and Products Report tests.
2019-02-04 11:46:46 -07:00
Claudio Sanches
58cdf6a7f9
Fixed hook names
2019-02-04 16:02:49 -02:00
Claudio Sanches
a1976bc1bc
Improve action/hook naming
2019-02-04 15:58:37 -02:00
Albert Juhé Lluveras
7916100009
Fix CSS Lint warning ( https://github.com/woocommerce/woocommerce-admin/pull/1469 )
2019-02-04 18:32:27 +01:00
Jeff Stieler
bebe1bdead
Add test for scheduling a retry job when order syncing fails.
2019-02-04 09:18:51 -07:00
Jeff Stieler
21572698d8
Fix unit tests that rely on queued data updates.
2019-02-04 09:18:50 -07:00
Jeff Stieler
11d18a8b5b
Queue individual order syncing instead of handling immediately.
2019-02-04 09:18:49 -07:00
Jeff Stieler
9f3c95ae63
Rework lookup table data store sync methods to return a meaningful status.
2019-02-04 09:09:44 -07:00
Jeff Stieler
9b1f6999aa
Add action argument support when scheduling dependent actions.
2019-02-04 09:06:44 -07:00
Joshua T Flowers
0d4e42def0
Add segments to expected response in order stats ( https://github.com/woocommerce/woocommerce-admin/pull/1466 )
2019-02-04 18:39:33 +08:00
Albert Juhé Lluveras
9dd4c10d7d
Fix autocompleters in customers and taxes report ( https://github.com/woocommerce/woocommerce-admin/pull/1458 )
2019-02-04 09:51:29 +01:00
Joshua T Flowers
fb0d71f117
Update page query to 1 when base query is changed ( https://github.com/woocommerce/woocommerce-admin/pull/1444 )
...
* Update page query to 1 when base query is changed
* Use history replace instead of updating query
2019-02-04 10:55:06 +08:00
Joshua T Flowers
17179d41ff
Add order status tests and refund tests ( https://github.com/woocommerce/woocommerce-admin/pull/1443 )
...
* Add default order status tests
* Test querying an excluded status
* Add tests for product line item refunds
* Update status test method comment
* Drop @since versioning from doc blocks
2019-02-04 10:52:29 +08:00