Claudio Sanches
8b67f5f50d
Merge pull request woocommerce/woocommerce-admin#646 from woocommerce/fix/lints-class-wc-admin-reports-products-query.php
...
Fixes PHP 5.2 compatibility issues
2018-10-23 14:04:40 -03:00
Claudio Sanches
ebf79b489a
Merge pull request woocommerce/woocommerce-admin#647 from woocommerce/fix/lints-class-wc-admin-reports-products-stats-query.php
...
Fixes PHP 5.2 compatibility issues
2018-10-23 14:04:03 -03:00
Claudio Sanches
12922e3b40
Merge pull request woocommerce/woocommerce-admin#645 from woocommerce/fix/lints-class-wc-admin-reports-orders-stats-query
...
Fixes PHP 5.2 compatibility issues
2018-10-23 14:03:42 -03:00
Jonathan Belcher
2be2d78306
Fixes PHP 5.2 compatibility issues
2018-10-23 12:50:34 -04:00
Jonathan Belcher
b58043380e
Fixes PHP 5.2 compatibility issues
2018-10-23 12:47:51 -04:00
Jonathan Belcher
39ee05cc70
Fixes PHP 5.2 compatibility issues
2018-10-23 12:43:55 -04:00
Jonathan Belcher
03c8e42364
Fix errors in lib/common.php ( https://github.com/woocommerce/woocommerce-admin/pull/641 )
...
* Fix errors in lib/common.php
* Update package.json
2018-10-23 11:55:37 -04:00
renovate[bot]
76a9300b35
Pin dependency composer/installers to ~1.6 ( https://github.com/woocommerce/woocommerce-admin/pull/636 )
2018-10-23 11:12:17 -04:00
renovate[bot]
9de04598a9
Update dependency webpack to v4.22.0 ( https://github.com/woocommerce/woocommerce-admin/pull/617 )
2018-10-23 11:10:49 -04:00
renovate[bot]
19295ebcfb
Update dependency autoprefixer to v9.3.0 ( https://github.com/woocommerce/woocommerce-admin/pull/637 )
2018-10-23 11:09:45 -04:00
Jonathan Belcher
daa929b887
Add file doc block to fix linting issue ( https://github.com/woocommerce/woocommerce-admin/pull/628 )
2018-10-23 11:08:49 -04:00
Jonathan Belcher
521fc2528c
Removes phpcs from npm run lint ( https://github.com/woocommerce/woocommerce-admin/pull/640 )
2018-10-23 11:08:00 -04:00
Albert Juhé Lluveras
b757247c52
Move Revenue table to its own component ( https://github.com/woocommerce/woocommerce-admin/pull/623 )
...
* Move revenue table to its own component
* Remove unnecessary constructor in RevenueReportTable
2018-10-23 10:07:23 +02:00
Albert Juhé Lluveras
7979dbc474
Make Orders placeholder table have the correct sorted column ( https://github.com/woocommerce/woocommerce-admin/pull/620 )
...
* Make Orders placeholder table have the correct sorted column
* Fix wrong CSV filename
2018-10-23 09:49:04 +02:00
Allen Snook
22b37e0e5c
Merge pull request woocommerce/woocommerce-admin#627 from woocommerce/fix/626-notes-schema
...
Activity Panel: Inbox: Correctly define admin notes REST API schema
2018-10-22 17:19:20 -07:00
Allen Snook
2147b23c4d
Correctly define admin notes schema
2018-10-22 13:15:44 -07:00
Jonathan Belcher
24ec81dddd
Adds phpcs npm command ( https://github.com/woocommerce/woocommerce-admin/pull/609 )
...
* Adds phpcs npm command
* fix naming of commands
2018-10-22 12:34:28 -04:00
Allen Snook
bf898e642b
Merge pull request woocommerce/woocommerce-admin#566 from woocommerce/add/admin-notices-new-sales-record
...
Activity Panel: Inbox: New Sales Record Note
2018-10-22 09:26:13 -07:00
Jonathan Belcher
e85ad7d410
Updates package lock ( https://github.com/woocommerce/woocommerce-admin/pull/607 )
...
* Updates package lock
* Recreate package-lock
2018-10-22 12:23:53 -04:00
Jonathan Belcher
7bc2767301
Updates PHPCS rule names ( https://github.com/woocommerce/woocommerce-admin/pull/610 )
2018-10-22 12:20:34 -04:00
Jonathan Belcher
ecb3013fd3
Uses PHPBCF to autofix warnings and errors ( https://github.com/woocommerce/woocommerce-admin/pull/611 )
2018-10-22 12:20:14 -04:00
Allen Snook
f0495c7071
Rename wc_admin_daily function to do_wc_admin_daily to distinguish it from the hook
2018-10-22 09:09:28 -07:00
Timmy Crawford
f8d70506a1
Update/track usage logic ( https://github.com/woocommerce/woocommerce-admin/pull/561 )
...
* Tracks: Don't track if Jetpack is not present or in dev env.
* Check for JETPACK__VERSION instead.
* Fix linting errors
* Yoda conditions use you must
2018-10-22 08:56:02 -07:00
Joshua T Flowers
88058b2bf4
Add default report data if empty product data is returned ( https://github.com/woocommerce/woocommerce-admin/pull/581 )
...
* Add default report data if empty product data is returned
* Remove unused argument ''
* Remove filter params
2018-10-22 11:51:24 -04:00
Albert Juhé Lluveras
bfcc817240
Create EmptyTable component ( https://github.com/woocommerce/woocommerce-admin/pull/605 )
...
* Create EmptyTable component
* Update failing test
* Make EmptyTable a functional component
* Add EmptyTable to example.md
2018-10-20 13:16:53 +02:00
renovate[bot]
1dfd3b186b
Update wordpress monorepo to v2.1.4 ( https://github.com/woocommerce/woocommerce-admin/pull/614 )
2018-10-19 20:35:53 -04:00
Allen Snook
6a25fb2249
Remove unneeded set_id in note deletion handler
2018-10-19 16:24:03 -07:00
Allen Snook
a46d83aea3
Rewrite the queries a bit to leverage prepare when possible
2018-10-19 15:48:38 -07:00
Allen Snook
bb14dcd995
One argument per line in multi argument calls
2018-10-19 15:05:40 -07:00
Allen Snook
0032da31f5
Remove constructor for notes class as not needed
2018-10-19 14:52:53 -07:00
Allen Snook
3d7b92f58f
Make it a proper daily scheduled event
2018-10-19 14:47:39 -07:00
Allen Snook
04b33f9e6b
Hook up the remainder of the sales record message. There can only be one.
2018-10-19 14:45:03 -07:00
Allen Snook
d05a1c63ff
Calculate previous days sales, add note if new max
2018-10-19 14:41:37 -07:00
Allen Snook
85a46c2de2
Merge pull request woocommerce/woocommerce-admin#513 from woocommerce/add/admin-notices-react
...
Activity Panel: Inbox: Add Store, Enable Inbox
2018-10-19 14:32:37 -07:00
Allen Snook
1a3c3f2c86
Undo whitespace change introduced during rebasing
2018-10-19 14:24:22 -07:00
Allen Snook
ffb6ddfafc
Remove package lock from this branch
2018-10-19 14:21:54 -07:00
Allen Snook
9638b063a0
Add unit test for sanitize html
2018-10-19 14:21:54 -07:00
Allen Snook
95080bd68b
Display an error to the user if inbox fetching fails
2018-10-19 14:21:54 -07:00
Allen Snook
b0be112277
Add unit tests for notes store
2018-10-19 14:21:54 -07:00
Allen Snook
bd8fd2c9ec
No need to sort now - the store is ordering correctly
2018-10-19 14:21:54 -07:00
Allen Snook
a7bbb4766d
Correct typo in get path
2018-10-19 14:21:54 -07:00
Allen Snook
2dfc410079
Remove console logging
2018-10-19 14:21:54 -07:00
Allen Snook
ad06cee25d
Update notes store to include queries
2018-10-19 14:21:54 -07:00
Allen Snook
8622ee7fc4
Disable the activity buttons for now (REST API does not update yet)
2018-10-19 14:21:54 -07:00
Allen Snook
8378423077
Newest notes at the top, please
2018-10-19 14:21:54 -07:00
Allen Snook
b8a83bf1e1
Allow selected tags through to the note content
2018-10-19 14:21:54 -07:00
Allen Snook
279be9e66e
Add notes to redux, connect to inbox
2018-10-19 14:21:53 -07:00
Allen Snook
47575a9895
Begin adding notes store
2018-10-19 14:21:53 -07:00
Allen Snook
3b2791acf4
Accept page and per page params in REST query, return total count of notes in header
2018-10-19 14:21:06 -07:00
renovate[bot]
4f37d1b776
Update dependency wimg/php-compatibility to v9 ( https://github.com/woocommerce/woocommerce-admin/pull/601 )
2018-10-19 16:42:45 -04:00