Peter Fabian
d71225d7d1
Use default after and before parameter values if no values are provided by the user.
2019-02-10 17:16:43 +01:00
Peter Fabian
0d4c0452a0
Removed superfluous date setting.
2019-02-10 17:15:08 +01:00
Peter Fabian
8b4b32c43d
Fixed parameter name from previous copy paste error.
2019-02-10 17:10:50 +01:00
Peter Fabian
08fe9c040e
Fixed number of parameters to the function.
2019-02-10 17:09:52 +01:00
Peter Fabian
b3c3aca973
Centralized default before and after parameters.
2019-02-10 17:07:45 +01:00
Peter Fabian
68c65cfde6
Corrected output of GMT time.
2019-02-08 18:12:20 +01:00
Peter Fabian
38a08b58cd
Removed obsolete comment.
2019-02-08 18:11:33 +01:00
Peter Fabian
5fbf5b62d7
Normalize datetimes before doing any further processing with the input from the user.
...
Also, passing DateTime objects around instead of string so that timezone info can be easily attached to it.
2019-02-08 18:11:04 +01:00
Peter Fabian
b70a166f1d
Store datetimes in local time instead of UTC.
2019-02-08 18:01:44 +01: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
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
Joshua T Flowers
2c1f8c17c7
Fix incorrect label async request paths ( https://github.com/woocommerce/woocommerce-admin/pull/1447 )
2019-02-04 10:50:22 +08:00
Joshua T Flowers
a4f7fcdfe3
Fix variation search autocompleter invalid route ( https://github.com/woocommerce/woocommerce-admin/pull/1448 )
2019-02-04 10:49:58 +08:00
Claudio Sanches
c1bb5802d1
Fixed coding standards
2019-02-01 18:48:54 -02:00
Claudio Sanches
464ec09d38
Merge branch 'feature/754' of github.com:woocommerce/wc-admin into feature/754
2019-02-01 18:32:41 -02:00
Claudio Sanches
48ef33636f
Removed extra function from conflicts
2019-02-01 18:31:10 -02:00
Claudio Sanches
8c0c01a3da
Merge branch 'master' into feature/754
2019-02-01 18:27:23 -02:00
Claudio Sanches
31e8dc9332
Merge branch 'master' into fix/1307
2019-02-01 18:24:26 -02:00