Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue/826 #1214

Merged
merged 62 commits into from
Nov 9, 2016
Merged

Issue/826 #1214

merged 62 commits into from
Nov 9, 2016

Conversation

kevinwhoffman
Copy link
Contributor

Description

This PR overhauls the System Info screen with the following changes:

  • Adds a visual interface to view system info.
  • Adds contextual tooltips to explain each row.
  • Displays warnings for certain specs that do not meet min requirements:
    • WP Memory Limit < 64 MB
    • PHP < 5.6
    • cURL < 7.40
    • MySQL < 5.6
  • Makes System Info the default Tools tab.
  • Adds row for Admin Email Notifications.
  • Adds row for Donor Email Access.
  • Adds license validation for Give add-ons.
  • Adds child/parent theme detection.
  • Adds "Get System Report" button for generating plain text report.
  • Adds "Understanding the System Report" for contextual link to Give docs (docs update required)

How Has This Been Tested?

  • Tested fresh install of WP with Give as the only plugin.
  • Tested with other plugins activated; confirmed they appear in report.
  • Tested with Give add-ons activated; confirmed license detection works.
  • Tested without WooCommerce to confirm no WC dependencies required.

Screenshots (jpeg or gifs if applicable):

Plain Text Report (Expanded)

826-plain-text-report

Full System Info Screen

826-full-report

Types of changes

Addresses the system info requests in #826. Note that TLS 1.2 detection will be addressed in #810.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation.

@DevinWalker
Copy link
Member

@kevinwhoffman this is looking and working great. I just have one request. When a license is active can that show win green or perhaps a green checkmark? And then when unlicensed can we show it in red or an "x" icon? You choose.

2016-11-09_11-10-30

@DevinWalker DevinWalker merged commit 9908644 into impress-org:release/1.8 Nov 9, 2016
$posting['wp_remote_get']['success'] = false;
}

$posting = apply_filters( 'woocommerce_debug_posting', $posting );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevinwhoffman Can we rename this to give_debug_posting

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ravinderk Yes, thanks.

$posting['wp_remote_get']['name'] = __( 'Remote Get', 'give');
$posting['wp_remote_get']['help'] = __( 'Give plugins may use this method of communication when checking for plugin updates.', 'give' );

$response = wp_safe_remote_get( 'https://woocommerce.com/wc-api/product-key-api?request=ping&network=' . ( is_multisite() ? '1' : '0' ) );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kevinwhoffman Can we use givewp.com or same site to check get request?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ravinderk Yes, that should be changed to use givewp.com since the purpose of the test is to confirm that the current site can check for plugin updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants