Ron Rennick
eaa0088fd4
Merge pull request woocommerce/woocommerce-admin#2320 from woocommerce/fix/2314
...
allow additional parameters in the page query string
2019-05-28 12:08:07 -03:00
Joshua T Flowers
3b945b4bba
Add profile onboarding mutators and selectors to wc-api ( https://github.com/woocommerce/woocommerce-admin/pull/2310 )
...
* Add onboarding profile selectors and mutators to wc-api
* Show onboarding profiler depending on API results
* Add initial state hydration for onboarding profile
* Add onboarding namespace constant
2019-05-28 22:45:52 +08:00
Joshua T Flowers
4c8487abad
Fix boolean casting in profile controller params ( https://github.com/woocommerce/woocommerce-admin/pull/2316 )
...
* Fix boolean casting in profile controller params
* Update onboarding profile API tests
2019-05-28 22:43:00 +08:00
Joshua T Flowers
5e8509edd3
Onboarding: Add profiler body class on initial load + respect skipped/completed flags ( https://github.com/woocommerce/woocommerce-admin/pull/2300 ) ( https://github.com/woocommerce/woocommerce-admin/pull/2318 )
...
* Add profiler body class on initial load, and respect skipped/complete status.
* Handle PR feedback: Remove unnecessary global, add some todos, added a filter around the next step slug, generalized the is-loading class a bit.
2019-05-28 06:38:01 -04:00
Ron Rennick
d0cee1e37b
allow additional parameters in the page query string
2019-05-28 05:20:54 -03:00
Joshua T Flowers
cda83b4509
Onboarding - Add shared step actions and step 1 actions ( https://github.com/woocommerce/woocommerce-admin/pull/2283 )
...
* Add method to go to next profiler step in step controller
* Add method to update profile params in step controller
* Add action methods to step 1 in the profiler
* Allow JSON body params for profile controller
* Use JSON body params in onboarding profile tests
2019-05-28 11:09:48 +08:00
Jeff Stieler
c4a6471e9c
Merge pull request woocommerce/woocommerce-admin#2291 from woocommerce/fix/2192-screen-meta-links
...
Move StoreAlerts below screen meta links on embed pages.
2019-05-23 11:25:06 -06:00
Justin Shreve
0e1db89f67
Add onboarding plugin installation (step 2) ( https://github.com/woocommerce/woocommerce-admin/pull/2270 )
...
* Add onboarding plugin installation (step 2)
* Handle PR Feedback: Fix vertical label display on mobile, fix Jetpack connect URL generation, so we make sure the plugin is active first, add new constant for local calypso development, fix typo, refactor activatePlugin/installPlugin on the JS side, sanitize plugin name input.
2019-05-23 08:10:42 -04:00
Albert Juhé Lluveras
37fab0227d
Prevent screen meta reflows
2019-05-23 11:43:57 +02:00
Joshua T Flowers
0fd2c24694
Return a success message when updating in profiler controller ( https://github.com/woocommerce/woocommerce-admin/pull/2285 )
2019-05-23 00:47:54 +08:00
Jeff Stieler
a2946ab6d1
Merge pull request woocommerce/woocommerce-admin#2272 from woocommerce/update/allowed-html-admin-notices
...
Allow links in admin notice content.
2019-05-22 08:33:18 -06:00
Jeff Stieler
a70a3deaa8
Allow links in admin notice content.
2019-05-22 08:20:53 -06:00
Jeff Stieler
db5a1b7348
Add support for “primary” admin notice actions.
2019-05-21 13:22:48 -06:00
Jeff Stieler
7a6c7add9e
Merge pull request woocommerce/woocommerce-admin#2265 from woocommerce/fix/2229-exclude-drafts-import
...
Exclude auto-draft and trashed orders from imports.
2019-05-20 14:39:11 -06:00
Paul Sealock
34aa71cfbb
Dashboard Charts: simplify data
2019-05-21 08:09:49 +12:00
Jeff Stieler
0d863ae7a6
Exclude auto-draft and trashed orders from imports.
2019-05-20 13:51:44 -06:00
Mike Jolley
7a73c6cb97
update_db_version
2019-05-16 14:21:57 +01:00
Mike Jolley
97e980cf02
Move print_emoji_detection_script
2019-05-16 14:21:11 +01:00
Mike Jolley
79373b062c
Merge branch 'master' into update/refactor-main-file
2019-05-16 14:20:13 +01:00
Joshua T Flowers
8a03b1bfb3
Add onboarding profile REST endpoints ( https://github.com/woocommerce/woocommerce-admin/pull/2217 )
...
* Add onboarding profile endpoint to get profile data
* Add onboarding profile update endpoint
* Add onboarding profile endpoint tests
* Update onboarding API namespaces
2019-05-16 13:05:37 +08:00
Joshua T Flowers
c87ab4eed7
Update how refunds are displayed in tables ( https://github.com/woocommerce/woocommerce-admin/pull/2102 )
...
* Add customer functions to order and refund classes
* Use parent order for refund order number
* Add renderCurrency method to format negative currencies
* Allow negative number of items for refund fields in database
2019-05-16 13:04:37 +08:00
Ron Rennick
f8c862e4ad
Merge pull request woocommerce/woocommerce-admin#2211 from woocommerce/update/1968-report-permissions
...
update default capability for analytics report to view_woocommerce_reports
2019-05-15 15:28:31 -03:00
Ron Rennick
2aaf7f1d57
Merge pull request woocommerce/woocommerce-admin#2219 from woocommerce/fix/2195
...
Add filters for customer roles
2019-05-15 15:27:50 -03:00
Mike Jolley
91f68121cd
Use $this not static method
2019-05-14 23:09:02 +01:00
Mike Jolley
45102746e6
docblock
2019-05-14 23:08:13 +01:00
Ron Rennick
bfd41fb577
add customer role filter to customer data store
2019-05-14 16:04:31 -03:00
Ron Rennick
15b3bd55ec
update cap handling for new page controller
2019-05-14 15:31:03 -03:00
Mike Jolley
2752605f54
Merge branch 'master' into update/refactor-main-file
2019-05-14 19:21:32 +01:00
Mike Jolley
254e378346
Moved actionsheduler hook to main file
2019-05-14 19:19:24 +01:00
Jeff Stieler
65ca404077
Merge pull request woocommerce/woocommerce-admin#2209 from woocommerce/update/1432-page-handler-embed-refactor
...
Refactor page handler API
2019-05-14 11:54:34 -06:00
Jeff Stieler
93217253ac
Dynamically generate email settings section names in page controller.
2019-05-14 11:36:31 -06:00
Jeff Stieler
a9195efb16
Add missing translation.
2019-05-14 11:25:46 -06:00
Mike Jolley
16bd80fc24
Include core functions
2019-05-14 15:33:56 +01:00
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
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
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