Plugin Directory

Changeset 2924279

Timestamp:
06/10/2023 03:40:57 PM (14 months ago)
Author:
lysyiweb
Message:

Released 0.4.2

Location:
debug-me
Files:
172 added
6 edited

Legend:

Unmodified
Added
Removed
  • debug-me/trunk/assets/css/pages/server-info.css

    r2913428 r2924279  
    1 .table .sub-table td {
    2   width: 250px;
     1.table . {
     2  ;
    33}
    44.table tr {
    5   border: 0;
    6   border-bottom: 1px solid #5271ff;
     5  outline: 0;
     6  border: transparent;
     7  box-shadow: 0 5px 6px rgba(233, 233, 233, 0.4901960784);
     8  padding-top: 5px;
     9  margin-top: 15px;
     10  display: block;
    711}
    812.table tr.section-title td {
     
    1620.table tr td p {
    1721  font-size: 14px;
     22
    1823}
    1924.table tr td:first-child p {
    20   min-width: 200px;
     25  min-width: 00px;
    2126  font-weight: bold;
    2227}
  • debug-me/trunk/assets/css/style.css

    r2913428 r2924279  
    162162}
    163163
    164 .table .sub-table td {
    165   width: 250px;
     164.table . {
     165  ;
    166166}
    167167.table tr {
    168   border: 0;
    169   border-bottom: 1px solid #5271ff;
     168  outline: 0;
     169  border: transparent;
     170  box-shadow: 0 5px 6px rgba(233, 233, 233, 0.4901960784);
     171  padding-top: 5px;
     172  margin-top: 15px;
     173  display: block;
    170174}
    171175.table tr.section-title td {
     
    179183.table tr td p {
    180184  font-size: 14px;
     185
    181186}
    182187.table tr td:first-child p {
    183   min-width: 200px;
     188  min-width: 00px;
    184189  font-weight: bold;
    185190}
  • debug-me/trunk/assets/scss/pages/server-info.scss

    r2798673 r2924279  
    22
    33.table {
    4     .sub-table {
    5         td {
    6             width: 250px;
    7         }
     4    .no-shadow{
     5        box-shadow: none;
    86    }
    97    tr {
    10         border: 0;
    11         border-bottom: 1px solid $main-theme-color;
     8        outline: 0;
     9        border: transparent;
     10        box-shadow: 0 5px 6px #e9e9e97d;
     11        padding-top: 5px;
     12        margin-top: 15px;
     13        display: block;
    1214
    1315        &.section-title {
     
    2426            p {
    2527                font-size: 14px;
     28
    2629            }
    2730            &:first-child {
    2831                p {
    29                     min-width: 200px;
     32                    min-width: 00px;
    3033                    font-weight: bold;
    3134                }
  • debug-me/trunk/index.php

    r2913428 r2924279  
    55 * Description: View WordPress logs in a convenient and searchable way and revise your server settings. Nice plugin for debugging.
    66 * Author: lysyiweb
    7  * Version: 0.4.1
     7 * Version: 0.4.
    88 * Tags: debug, logs, troubleshooting, health
    99 * Requires PHP: 5.4
  • debug-me/trunk/readme.txt

    r2913430 r2924279  
    22
    33Contributors: lysyiWeb
    4 Tags: wp-config, debug, logs, phpinfo, troubleshooting, health
     4Tags: wp-config, debug, logs, phpinfo,
    55Requires at least: 4.6
    6 Tested up to: 6.2.1
    7 Stable tag: 0.4.1
     6Tested up to: 6.2.
     7Stable tag: 0.4.
    88Requires PHP: 5.4
    99License: GPLv2
     
    1111
    1212== Description ==
    13 View WordPress logs in a convenient and searchable way and revise your server settings. Nice plugin for debugging.
     13ing.
    1414
    15 Sometimes it is difficult to read and search over the debug.log file. That is why the DebugMe shows the log in your WordPress Dashboard, not on the server. It is readable and searchable.
     15Reading and searching through the debug.log file can be challenging and time-consuming. With DebugMe, you can access and analyze the log directly from your WordPress Dashboard, eliminating the need to navigate to the server. The log is presented in a readable and searchable format, making it effortless to locate specific notices, warnings, and errors.
    1616
    17 **Debug Log Viewer**
    18 View notices, warnings, and errors of the WordPress debug.log file in a simplified table format. Search (by error type, line, and file) and pagination make the process of log control quick and convenient.
     17**Key Features:**
    1918
    20 **Server info**
    21 Track all your server settings in one place. We parsed phpinfo(); for you!
     19**Debug Log Viewer:** Gain quick insights into your WordPress debug.log file with a simplified and user-friendly table format. Easily browse through log entries and navigate using search filters such as error type, line number, and file name. The pagination feature ensures smooth log control and efficient debugging.
     20
     21**Server Info:** Keep track of all your server settings in one centralized location. DebugMe automatically parses the phpinfo() output, providing you with comprehensive server information. No need to dig into the server configuration files manually - everything is neatly displayed for you.
     22
     23DebugMe is designed to streamline your debugging process, saving you valuable time and effort. With its intuitive interface and powerful features, you can easily identify and address issues, ensuring the smooth operation of your WordPress site.
     24
     25Install DebugMe today and take control of your WordPress logs and server settings effortlessly. Debug with ease and keep your website running at its best.
     26
     27Note: DebugMe is constantly updated and maintained to ensure compatibility and optimal performance with the latest versions of WordPress.
     28
     29
    2230
    2331== Installation ==
    2432
    25 ### How to activate withing Wordpress
     33### How to activate within Wordpress
    2634
    27351. Go to 'Plugins > Add New'
     
    5058== Changelog ==
    5159
     60
     61
     62
     63
     64
    5265= 0.4.1 =
    5366* Changed color scheme
  • debug-me/trunk/views/pages/server-info.php

    r2913428 r2924279  
    11<?php
     2
    23
    34class DBGME_ServerInfoView
    45{
    5 
    66    public static function dbgme_render_view()
    77    {
    88        require_once(realpath(__DIR__) . '/../header.php');
    9 
    10         $data = DBGME_ServerInfoController::dbgme_parse_phpinfo(); ?>
    11 
     9        $data = DBGME_ServerInfoController::dbgme_parse_phpinfo();
     10    ?>
    1211        <div class="container server-info">
    13             <div class="col-md-9">
    14                 <table class="php-info table table-hover">
    15                     <thead>
    16                         <tr>
    17                             <td>Name</td>
    18                             <td>Value</td>
    19                         </tr>
     12            <div class="col-md-12">
     13                <table class="php-info table">
     14                    <thead style="display: none">
     15                        <th>Property</th>
     16                        <th>Value</th>
    2017                    </thead>
    2118                    <tbody>
    22                         <?php foreach (($data) as $key => $value) { ?>
    23                            
    24 
    25                             <?php foreach ($value as $sub_key => $sub_value) { ?>
     19                        <?php foreach ($data as $section_title => $section_content) : ?>
     20                            <tr class="no-shadow">
     21                                <td>
     22                                    <h4 class="section-title"><?php echo esc_html($section_title); ?></h4>
     23                                </td>
     24                                <td></td>
     25                            </tr>
     26                            <?php foreach ($section_content as $sub_key => $sub_value) : ?>
     27                                <?php if ($sub_key === 'Directive') continue; ?>
    2628                                <tr>
    2729                                    <td>
     
    3335                                            if (is_string($sub_value)) {
    3436                                                echo esc_html($sub_value);
    35                                             } elseif (is_array(($sub_value))) { ?>
    36                                         <!-- <table class="table sub-table"> -->
    37                                             <tr>
    38                                                 <?php
    39                                                 foreach ($sub_value as $k => $v) {
    40                                                     if ($k === 0) { ?>
    41                                                         <td><?php _e('Local value', 'dbgme'); ?></td>
    42                                                     <?php } elseif ($k === 1) { ?>
    43                                                         <td><?php _e('Master value', 'dbgme'); ?></td>
    44                                                     <?php } ?>
     37                                            } elseif (is_array($sub_value)) {
     38                                                $formatted_values = array_map(function ($k, $v) {
     39                                                    $label = $k === 0 ? __('Local value', 'dbgme') : __('Master value', 'dbgme');
     40                                                    return $label . ': ' . esc_html($v);
     41                                                }, array_keys($sub_value), $sub_value);
    4542
    46                                                     <td><?php echo esc_html($v); ?> </td>
    47                                                 <?php } ?>
    48                                             </tr>
    49                                         <!-- </table> -->
    50                                     <?php } ?>
    51                                     </p>
     43                                                echo implode('<br>', $formatted_values);
     44                                            }
     45                                            ?>
     46                                        </p>
    5247                                    </td>
    5348                                </tr>
    54 
    55                             <?php } ?>
    56                         <?php } ?>
     49                            <?php endforeach; ?>
     50                        <?php endforeach; ?>
    5751                    </tbody>
    5852                </table>
    5953            </div>
    60             <div class="col-md-3">
    61                 table
    62             </div>
    6354        </div>
    64 <?php
     55<?php
    6556    }
    6657}
Note: See TracChangeset for help on using the changeset viewer.