Mike Jolley
1e4bcd631a
Create class to listen for cron events, move from main file
2019-05-14 15:33:45 +01:00
Mike Jolley
b976a5b9d7
Add cron event creation to installer and improve methods
2019-05-14 15:33:22 +01:00
Mike Jolley
9951a286bf
Move functions from main file to core-functions.php file
2019-05-14 15:33:02 +01:00
Mike Jolley
65e3fa905c
Add uninstaller file
2019-05-14 15:32:43 +01:00
Jeff Stieler
122620f031
Sanitize customer IDs in “get customers by orders” query.
2019-05-14 08:30:00 -06:00
Jeff Stieler
071dc7debe
Handle “all guests” when getting customers from orders.
2019-05-14 08:25:43 -06:00
Jeff Stieler
211c00935a
Merge pull request woocommerce/woocommerce-admin#2224 from woocommerce/fix/2222-frequent-order-count-query-milestones
...
Order milestones: prevent order count queries from being issues on every request.
2019-05-14 07:36:26 -06:00
Joshua T Flowers
b8bd689fd0
Import refunds on data sync ( https://github.com/woocommerce/woocommerce-admin/pull/2205 )
2019-05-14 18:37:09 +08:00
Joshua T Flowers
ffed0e8ab2
Fix onboarding profiler layout and notices ( https://github.com/woocommerce/woocommerce-admin/pull/2218 )
...
* Hide nags in notices in profiler
* Center content layout for profiler wizard
2019-05-14 11:21:14 +08:00
Jeff Stieler
6860773fb4
Refactor first two order milestones to behave the same as the others.
...
Prevents order count queries from being issues on every request.
2019-05-13 16:34:51 -06:00
Jeff Stieler
93085fe268
Add documentation on using the new page controller functions.
2019-05-13 15:14:18 -06:00
Jeff Stieler
8cab7c047e
Add filters to page controller.
2019-05-13 15:14:17 -06:00
Jeff Stieler
742a1aa049
Move existing page connection to a separate file.
2019-05-13 15:14:17 -06:00
Jeff Stieler
0028fc0ffe
Use WC_Emails class to dynamically connect email settings pages.
2019-05-13 15:14:17 -06:00
Jeff Stieler
635f9faca7
Restore hardcoded “WooCommerce” root breadcrumb logic and remove “full” path requirement.
2019-05-13 15:14:16 -06:00
Jeff Stieler
3dff00a9a0
Refactor connecting existing admin pages and breadcrumb generation.
2019-05-13 15:14:16 -06:00
Jeff Stieler
6b12d3e1b4
Refactor “is admin page” logic to use page controller.
2019-05-13 15:14:15 -06:00
Jeff Stieler
9fdf2cfb47
Refactor app entry page and dashboard page registration.
2019-05-13 14:30:26 -06:00
Jeff Stieler
7506201571
Refactor analytics page registration.
2019-05-13 14:19:26 -06:00
Jeff Stieler
19bfd01599
Add new page controller class, replace page registration function.
2019-05-13 14:19:26 -06:00
Mike Jolley
d226b80cd4
Merge pull request woocommerce/woocommerce-admin#2215 from woocommerce/renovate/lock-file-maintenance
...
Lock file maintenance
2019-05-13 19:13:08 +01:00
Mike Jolley
03b564e7a5
Merge pull request woocommerce/woocommerce-admin#2221 from woocommerce/fix/string-float-debug
...
fix warning for string shipping tax meta value
2019-05-13 19:11:28 +01:00
Ron Rennick
85e82f07f5
fix warning for string shipping tax meta value
2019-05-13 15:01:05 -03:00
Ron Rennick
6780ae0136
update unit tests for new customer count
2019-05-13 14:14:53 -03:00
Ron Rennick
33919a652d
phpcs sniff fixes
2019-05-13 13:48:22 -03:00
Ron Rennick
28b10f2eb6
restrict customer import to customer role with filter
2019-05-13 13:47:16 -03:00
Renovate Bot
14c162f3de
Lock file maintenance
2019-05-13 04:00:13 +00:00
Ajay Ghaghretiya
38c40430ef
Hide WordPress Upgrade Nag ( https://github.com/woocommerce/woocommerce-admin/pull/2213 )
2019-05-13 10:58:29 +08:00
Joshua T Flowers
fb91cd8788
Add import status endpoint and progress options ( https://github.com/woocommerce/woocommerce-admin/pull/2189 )
...
* Update import progress during batches
* Add import status route for querying import progress
* Update import totals before import start
* Move wc admin notes to separate action scheduler group
* Add import totals route to query customer and order totals
* Add wc helper queue job processing method
* Add import status and total tests
* Separate action type clearing for imports and notes
* Typecast action types as array in clear_pending_wcadmin_actions()
2019-05-13 10:30:07 +08:00
Paul Sealock
c9f738dec8
Dashboard: Fix index and extension issues
2019-05-13 07:20:14 +12:00
Ron Rennick
e9aa903fc6
update default capability for analytics report to view_woocommerce_reports
2019-05-10 15:02:38 -03:00
Albert Juhé Lluveras
54a09ab232
Replace Rebuild reports settings with Import Historical Data ( https://github.com/woocommerce/woocommerce-admin/pull/2198 )
...
* Hide progress bars and status from Import Historical Data screen
* Remove Rebuild Reports Sections from Settings
* Add Delete Imported Data button to the default actions
* Unify @todo comments
2019-05-10 11:34:03 +02:00
Joshua T Flowers
c6a6e737c4
Add refund filtering to order reports ( https://github.com/woocommerce/woocommerce-admin/pull/2179 )
...
* Add customer functions to order and refund classes
* Extract shared order and refund methods to trait
* Add refund filter to advanced filters in orders report
* Filter refund types in orders data store
* Extract refunds subquery to parent report data store method
* Add refund subquery filtering to order stats data store
* Add tests around refund type filtering
* Change the default option for the refunds filter
2019-05-10 14:56:57 +08:00
Joshua T Flowers
3382fb7011
Record refunds separate from order entries ( https://github.com/woocommerce/woocommerce-admin/pull/2083 )
...
* Sync refunds on order sync
* Separate order and refund class extensions
* Add customer functions to order and refund classes
* Change products store to work with refund amounts
* Return early for refunds in coupon data store
* Allow refund processing in tax data store
* Remove unused refund amounts from tables and data stores
* Change order counts to parse out refund entries
* Include refunded orders in default queried statuses
* Only process order number filter on shop order post types
* Extract shared order and refund methods to trait
* Fix renamed schedule_single_order_import method
* Bump PHP and WP version requirements
2019-05-10 14:39:25 +08:00
Ron Rennick
41a341f690
Merge pull request woocommerce/woocommerce-admin#2190 from woocommerce/fix/2180
...
fix customer name logic on populating customer lookup data
2019-05-09 09:39:49 -03:00
Ron Rennick
2cd44376de
Merge pull request woocommerce/woocommerce-admin#2150 from woocommerce/add/report-filter-default-value
...
add a defaultValue parameter to the ReportFilters, ReportChart component
2019-05-09 09:39:16 -03:00
Mike Jolley
a3b90cdb9e
Update get_count to use lookup table
2019-05-09 10:38:26 +01:00
Mike Jolley
d7b81e40d4
Update count query for low stock
2019-05-09 10:28:28 +01:00
Albert Juhé Lluveras
77ff3ea5cf
Hook up API Historical Data screen to API endpoints ( https://github.com/woocommerce/woocommerce-admin/pull/2177 )
...
* Hook up API Historical Data screen to API endpoints
* Avoid making an unnecessary Math.abs()
2019-05-09 11:11:58 +02:00
Albert Juhé Lluveras
065c1fc660
Show Y grid ticks/lines in charts where all values are lower than 1 ( https://github.com/woocommerce/woocommerce-admin/pull/2147 )
...
* Show Y grid ticks/lines in chart where all values are below 1
* Improve how step is calculated for -1 to 1 values
* Add tests
* Handle case when max and min values are 0
2019-05-09 10:20:48 +02:00
Joshua T Flowers
1df54fdae5
Check for page suffix to fix blank pages with WC Branding ( https://github.com/woocommerce/woocommerce-admin/pull/2187 )
2019-05-09 10:39:11 +08:00
Paul Sealock
1a7ba43d46
Merge pull request woocommerce/woocommerce-admin#2185 from woocommerce/renovate/eslint-plugin-wpcalypso-4.x
...
Update dependency eslint-plugin-wpcalypso to v4.1.0
2019-05-09 09:14:21 +12:00
Paul Sealock
add7061a17
Merge pull request woocommerce/woocommerce-admin#2186 from woocommerce/renovate/gridicons-3.x
...
Update dependency gridicons to v3.3.1
2019-05-09 09:13:33 +12:00
Timmy Crawford
d51845930a
Dashboard: Rename class/feature to remove conflict with legacy dashboard widget ( https://github.com/woocommerce/woocommerce-admin/pull/2138 )
...
* Dashboard: Rename class/feature to remove conflict with legacy dashboard class
* Updates per feedback, and fixes.
2019-05-08 09:10:05 -07:00
Mike Jolley
196543ef7f
Render stock status as 'low' on stock report
2019-05-08 15:25:46 +01:00
Mike Jolley
d95e69532e
Update stock report filtering to use correct low stock amounts and lookup table data for performance
2019-05-08 14:58:28 +01:00
Mike Jolley
f85b25f34d
Update stock and sku search query in API to use lookup table.
...
Lookup table was introduced in 3.6 and will improve performance for these 2 queries.
2019-05-08 14:05:35 +01:00
Ron Rennick
0f2788ed1c
fix customer name logic on populating customer lookup data
2019-05-08 10:01:12 -03:00
Mike Jolley
684c526d1e
Fix low stock report due to NULL _low_stock_amount
...
Empty meta values are not stored from WC 3.6+. _low_stock_amount could be NULL. This fixes the low stock queries.
2019-05-08 13:43:25 +01:00
Ron Rennick
d4f1e6bbd8
Merge pull request woocommerce/woocommerce-admin#2139 from woocommerce/add/table-default-order
...
add defaultOrder field to tablecard header
2019-05-08 08:41:48 -03:00