WordPress.org

Plugin Directory

Changeset 538821


Ignore:
Timestamp:
05/02/12 08:08:37 (2 years ago)
Author:
mbijon
Message:

Rebase branch to v0.6.2

Location:
hosting-monitor/branches/classify
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hosting-monitor/branches/classify/hosting-monitor.php

    r455832 r538821  
    22/* 
    33Plugin Name: Hosting Monitor 
    4 Plugin URI: http://www.etchsoftware.com/code-downloads 
     4Plugin URI: http://wordpress.org/extend/plugins/hosting-monitor/ 
    55Description: Displays server resources used by WordPress in a metabox on the WordPress Dashboard. 
    6 Author: Mike Bijon 
    7 Version: 0.5.1 
    8 Author URI: http://www.etchsoftware.com 
     6Author: Alive Media Web Development 
     7Version: 0.6.1 
     8Author URI: http://www.alivemediadev.com 
    99License: GPLv2 or later  
    1010 
     
    1212 
    1313/* 
    14 Copyright 2011 by Mike Bijon (email: mike@etchsoftware.com) 
    15 This is Version 0.5 as of 10/24/2011 
     14Copyright 2011 by Mike Bijon (email: mike@etchsoftware.com) and Ryan Dawson (email: ryan@alivemediadev.com), sharing equal-rights 
     15 
     16This is Version 0.6.1 as of 11/30/2011 
    1617 
    1718    'Hosting Monitor' plugin for WordPress is free software; you can 
     
    3031 
    3132This program incorporates work covered by the following copyright and 
    32 permission notices: 
     33permission notice: 
    3334 
    3435  Disk Space Pie Chart is Copyright 2009-2010 by Jay Versluis 
     
    5051// Add our submenu under Dashboard item in WP-Admin 
    5152function hostm_pages() { 
    52     add_management_page('Hosting Monitor', 'Hosting Monitor', 'administrator', 'hosting-monitor-admin', 'hosting_monitor'); 
     53    global $hostm_admin_page; 
     54    $hostm_admin_page = add_management_page('Hosting Monitor', 'Hosting Monitor', 'manage_options', 'hosting-monitor-admin', 'hosting_monitor'); 
     55     
     56    // Add contextual help menu in wp-admin 
     57    add_action("load-$hostm_admin_page", 'hostm_add_help_menu'); 
    5358} 
    5459 
     
    6873 
    6974/* 
    70  * Determine Database Size Alert-level 
    71  * Database size is shown in red if greater than this value, else in green. 
    72  *  
    73  * Default value is: 10 MB 
    74  * TO CHANGE: Set new size in PHP constant below 
    75  *  
    76  * ###TODO msb 10-22-2011: Add value edit field to Admin settings-page 
    77  * 
    78  * %%Setting from Disk Space Pie Chart 
    79  *  
    80  */ 
    81 define("ALERT_LEVEL", 10); 
    82  
    83  
    84 /* 
    8575 * Save options from update action 
    8676 * This is called by hosting_monitor() after successful nonce-check 
     
    9383    // Field and option names  
    9484    $opt_name = 'guru_space'; 
     85    $opt_name_db = 'hm_db_space'; 
    9586    $opt_name2 = 'guru_unit'; 
     87    $opt_name_db2 = 'hm_db_unit'; 
    9688    $data_field_name = 'guru_space'; 
     89    $data_field_name_db = 'hm_db_space'; 
    9790    $data_field_name2 = 'guru_unit'; 
     91    $data_field_name_db2 = 'hm_db_unit'; 
    9892     
    9993    // Read & sanitize(!) user-posted values 
    10094    $opt_val = intval($_POST[ $data_field_name ]); 
     95    $opt_val_db = intval($_POST[ $data_field_name_db ]); 
    10196    $opt_val2 = sanitize_text_field($_POST[ $data_field_name2 ]); 
     97    $opt_val_db2 = sanitize_text_field($_POST[ $data_field_name_db2 ]); 
    10298 
    10399    // Save the posted values 
    104100    update_option( $opt_name, $opt_val ); 
     101    update_option( $opt_name_db, $opt_val_db ); 
    105102    update_option( $opt_name2, $opt_val2 ); 
     103    update_option( $opt_name_db2, $opt_val_db2 ); 
    106104 
    107105    // On save: return confirm 
     
    124122    // Check that the user has the required capability  
    125123    if ( !current_user_can('manage_options') ) { 
    126         wp_die( __('You do not have sufficient permissions to access this page.') ); 
     124        wp_die( __('You do not have sufficient permissions to access this page.', 'hostm_plugin') ); 
    127125    } 
    128126     
     
    132130        $update_confirm = update_hosting_monitor_options(); 
    133131    } elseif ( !empty($_POST) ) { 
    134         wp_die( __('Invalid action performed. Please check your login and try again.') ); 
     132        wp_die( __('Invalid action performed. Please check your login and try again.', 'hostm_plugin') ); 
    135133    } 
    136134     
    137135    // Field and option names  
    138136    $opt_name = 'guru_space'; 
     137    $opt_name_db = 'hm_db_space'; 
    139138    $opt_name2 = 'guru_unit'; 
     139    $opt_name_db2 = 'hm_db_unit'; 
    140140    $data_field_name = 'guru_space'; 
     141    $data_field_name_db = 'hm_db_space'; 
    141142    $data_field_name2 = 'guru_unit'; 
    142      
    143     // Read in existing option value from database 
    144     $opt_val = get_option( $opt_name, false ); // Explicitly need default 
     143    $data_field_name_db2 = 'hm_db_unit'; 
     144     
     145    // Read in existing option values from database 
     146    $opt_val = get_option( $opt_name, false ); // Explicitly set false 
    145147    // %%DSPC end 
    146148    // Set default space textbox to "0", so can tell if user is new or has Unlimited 
    147149    $opt_val = ( $opt_val === false ? "0" : $opt_val ); 
     150     
     151    $opt_val_db = get_option( $opt_name_db, false ); // Explicitly set false 
     152    // Set default space textbox to "0", so can tell if user is new or has Unlimited 
     153    $opt_val_db = ( $opt_val_db === false ? "0" : $opt_val_db ); 
    148154    // %%DSPC old begin 
    149155     
    150     $opt_val2 = get_option ($opt_name2 ); 
     156    // Units: TB, GB, or MB 
     157    $opt_val2 = get_option( $opt_name2 ); 
     158    $opt_val_db2 = get_option( $opt_name_db2 ); 
     159     
     160    // Decide which units to use for graph 
     161    switch ( $opt_val2 ) { // DISK 
     162        case 'TB': 
     163            $spacecalc = 1024 * 1024 * 1024; 
     164            break; 
     165        case 'GB': 
     166            $spacecalc = 1024 * 1024; 
     167            break; 
     168        default: 
     169            $spacecalc = 1024; 
     170    } 
     171     
     172    switch ( $opt_val_db2 ) { // DB 
     173        case 'TB': 
     174            $spacecalc_db = 1024 * 1024 * 1024; 
     175            break; 
     176        case 'GB': 
     177            $spacecalc_db = 1024 * 1024; 
     178            break; 
     179        default: 
     180            $spacecalc_db = 1024; 
     181    } 
    151182     
    152183    // Report status of options update 
    153184    if ( $update_confirm === true ) { 
    154185        // Success message 
    155         _e('<div class="updated"><p><strong>Your settings have been saved.</strong></p></div>', 'guruspace-menu'); 
     186        _e('<div class="updated"><p><strong>Your settings have been saved.</strong></p></div>', 'hostm_plugin'); 
    156187    } 
    157188     
     
    160191     
    161192    // Settings screen title 
    162     echo "<h2>" . __( 'Hosting Monitor', 'guruspace-menu' ) . "</h2>"; 
     193    echo "<h2>" . __( 'Hosting Monitor', 'hostm_plugin' ) . "</h2>"; 
    163194     
    164195    // Render Settings form 
     
    167198    <form name="hosting_monitor_form" method="post" action=""> 
    168199        <p> 
    169             <?php _e("Your storage space:", 'guruspace-menu' ); ?>  
     200            <?php _e("Disk space:", 'hostm_plugin' ); ?>  
    170201            <input type="text" name="<?php echo $data_field_name; ?>" value="<?php echo $opt_val; ?>" size="5"> 
    171              
    172202            &nbsp; 
    173              
    174         <?php //###TODO msb 10-24-2011: Add "TB" units, need update $spacecalc ?> 
    175203            <select name="guru_unit"> 
    176             <option value="GB" <?php if ($opt_val2 == "GB") echo 'selected'; ?>>GB</option> 
    177             <option value="MB" <?php if ($opt_val2 == "MB") echo 'selected'; ?>>MB</option>  
     204                <option value="TB" <?php if ( $opt_val2 == "TB" ) echo 'selected'; ?>>TB</option> 
     205                <option value="GB" <?php if ( $opt_val2 == "GB" || empty($opt_val2) ) echo 'selected'; ?>>GB</option> 
     206                <option value="MB" <?php if ( $opt_val2 == "MB" ) echo 'selected'; ?>>MB</option>  
    178207            </select> 
    179              
    180208            &nbsp;&nbsp; 
    181              
    182209            <em>Leave at &ldquo;0&rdquo; if you have unlimited space.</em> 
     210        </p> 
     211        <p> 
     212            <?php _e("Database space:", 'hostm_plugin' ); ?>  
     213            <input type="text" name="<?php echo $data_field_name_db; ?>" value="<?php echo $opt_val_db; ?>" size="5"> 
     214            &nbsp; 
     215            <select name="hm_db_unit"> 
     216                <option value="TB" <?php if ( $opt_val_db2 == "TB" ) echo 'selected'; ?>>TB</option> 
     217                <option value="GB" <?php if ( $opt_val_db2 == "GB" || empty($opt_val_db2) ) echo 'selected'; ?>>GB</option> 
     218                <option value="MB" <?php if ( $opt_val_db2 == "MB" ) echo 'selected'; ?>>MB</option>  
     219            </select> 
    183220        </p> 
    184221        <p class="submit"> 
     
    219256    } 
    220257     
     258     
    221259    /* 
    222260     * Calculate actual DB size 
    223261     * Echoes DB size to screen, positioned using CSS 
    224262     * 
    225      * %%Entire method from Disk Space Pie Chart (DSPC) 
     263     * %%Method from Disk Space Pie Chart (DSPC), updated w/ inputs 
     264     * 
     265     * 
     266     * Default values translate to: 10 MB 
    226267     *  
    227268     */ 
    228     function db_size() { 
    229         $rows = mysql_query("SHOW table STATUS"); $dbsize = 0; 
     269    function db_size( $opt_val_db = 10, $spacecalc_db = 1024 ) { 
     270        $rows = mysql_query("SHOW table STATUS"); 
     271        $dbsize = 0; 
    230272         
    231273        while ( $row = mysql_fetch_array($rows) ) { 
     
    233275        } 
    234276         
    235         if ( $dbsize > ALERT_LEVEL * 1024 * 1024 ) { 
    236             $color = "red"; 
    237         } else { 
    238             $color = "green"; 
    239         } 
     277        if ( $opt_val_db ) 
     278            if ( $dbsize > $opt_val_db * $spacecalc_db ) { 
     279                $color = "red"; 
     280            } else { 
     281                $color = "green"; 
     282            } 
    240283         
    241284        $dbsize = file_size_info($dbsize); 
    242285         
    243         ###TODO msb 10-22-2011: Modify this method to return value 
    244         ### Direct-to-screen from inline method seems risky 
    245         echo "{$dbsize ['size']} {$dbsize['type']}"; 
     286        return "{$dbsize ['size']} {$dbsize['type']}"; 
    246287    } 
    247288     
     
    252293    $usedspace = substr(shell_exec('du -s ' . $output),0,-(strlen($output)+1)); 
    253294     
    254     // Decide which units to display, GB or MB 
    255     // ### TODO msb 10-22-2011: Bad for Windows (use WP built-in folder vars) 
    256     if ( $opt_val2 == 'GB' ) { 
    257         $spacecalc = 1024 * 1024; 
    258     } else { 
    259         $spacecalc = 1024; 
    260     } 
    261      
    262295    // Get storage space set by user 
    263296    $totalspace = ($opt_val * $spacecalc); 
     
    275308            <td> 
    276309                <img src="<?php echo plugins_url('includes/piechart.php?data=', __FILE__); 
    277                 echo round(($usedspace / ($totalspace / 100)), 1) . '*' . (100 - (round(($usedspace / ($totalspace / 100)), 1))); ?>&label=Used Space*Free Space" />  
     310                echo round( ($usedspace / ($totalspace / 100)), 1 ) . '*' . (100 - (round( ($usedspace / ($totalspace / 100)), 1 ))); ?>&label=Used Space*Free Space" />  
    278311            </td> 
    279312            <td> 
     
    291324                // Disk space free 
    292325                // ###TODO msb 10-25-2011: Handle negative values: 1) bigger alert, 2) change formatting on "- 23MB" text 
    293                 echo round(($freespace / $spacecalc), 2) . ' ' . $opt_val2; ?><br /> 
     326                echo round( ($freespace / $spacecalc), 2 ) . ' ' . $opt_val2; ?><br /> 
    294327                <hr> 
    295                 <?php db_size(); ?><br /> 
     328                <?php echo db_size( $opt_val_db, $spacecalc_db ); ?><br /> 
    296329            </td> 
    297330        </tr> 
     
    306339    <!-- Begin old %%DSPC code --> 
    307340    <p> 
    308         This plugin produced and developed by:<br /> 
    309         <a href="http://www.alivemediadev.com">Alive Media Dev</a> and <a href="http://www.etchsoftware.com">Etch Software</a> 
     341        This plugin produced by: <a href="http://www.alivemediadev.com/">Alive Media Web Development</a> and <a href="http://www.etchsoftware.com/">Mike Bijon</a> 
    310342    </p> 
    311343    <p> 
    312344        Credits for included code:<br /> 
    313         <a href="http://wpguru.co.uk/2010/12/disk-space-pie-chart-plugin/" target="_blank">Disk Space by Jay Versluis</a> | 
    314         <a href="http://www.peters1.dk/webtools/php/lagkage.php?sprog=en" target="_blank">Pie Chart Script by Rasmus Peters</a> 
     345            <a href="http://wpguru.co.uk/2010/12/disk-space-pie-chart-plugin/" target="_blank">Disk Space by Jay Versluis</a> | 
     346            <a href="http://www.peters1.dk/webtools/php/lagkage.php?sprog=en" target="_blank">Pie Chart Script by Rasmus Peters</a> 
    315347    </p> 
    316348     
     
    387419        } 
    388420         
     421         
    389422        /* 
    390423         * Calculate actual DB size 
    391424         * Echoes DB size to screen, positioned using CSS 
    392425         * 
    393          * %%Entire method from Disk Space Pie Chart (DSPC) 
    394          * 
     426         * %%Method from Disk Space Pie Chart (DSPC), updated w/ inputs 
     427         * 
     428         * 
     429         * Default values translate to: 10 MB 
     430         * 
     431         *  
    395432         * ###TODO msb 10-24-2011 - De-duplicate!!! Copied from main plugin method hosting_monitor() 
    396433         *  
    397434         */ 
    398         function check_db_size() { 
    399                $rows = mysql_query("SHOW table STATUS"); $dbsize = 0; 
    400                 
    401                while ( $row = mysql_fetch_array($rows) ) { 
    402                    $dbsize += $row['Data_length'] + $row['Index_length']; 
    403                } 
    404                 
    405                if ( $dbsize > ALERT_LEVEL * 1024 * 1024 ) { 
    406                    $color = "red"; 
    407                } else { 
    408                    $color = "green"; 
    409                } 
    410                 
    411                $dbsize = $this->get_file_size_info($dbsize); 
    412                 
    413                ###TODO msb 10-22-2011: Modify this method to return value 
    414                ### Direct-to-screen from single method seems risky 
    415                echo "{$dbsize ['size']} {$dbsize['type']}"; 
    416         } 
     435        function check_db_size( $opt_val_db = 10, $spacecalc_db = 1024 ) { 
     436             $rows = mysql_query("SHOW table STATUS"); 
     437             $dbsize = 0; 
     438              
     439             while ( $row = mysql_fetch_array($rows) ) { 
     440                 $dbsize += $row['Data_length'] + $row['Index_length']; 
     441             } 
     442              
     443             if ( $dbsize > $opt_val_db * $spacecalc_db ) { 
     444                 $color = "red"; 
     445             } else { 
     446                 $color = "green"; 
     447             } 
     448              
     449             $dbsize = $this->get_file_size_info($dbsize); 
     450              
     451             return "{$dbsize ['size']} {$dbsize['type']}"; 
     452        } 
     453         
    417454         
    418455        /* 
     
    432469             
    433470            // Get user settings 
    434             $opt_val = get_option('guru_space', false); // Explicitly need default 
     471            $opt_val = get_option('guru_space', false); // Explicitly set false 
     472            $opt_val_db = get_option('hm_db_space', false); // Explicitly set false 
    435473            $opt_val2 = get_option('guru_unit'); 
    436              
    437             // see what we need to display - GB or MB 
    438             if ($opt_val2 == 'GB') { 
    439                 $spacecalc = 1024 * 1024; 
    440             } else { 
    441                 $spacecalc = 1024; // For MB units 
     474            $opt_val_db2 = get_option('hm_db_unit'); 
     475             
     476            // Decide which units to use for graph 
     477            switch ( $opt_val2 ) { // DISK 
     478                case 'TB': 
     479                    $spacecalc = 1024 * 1024 * 1024; 
     480                    break; 
     481                case 'GB': 
     482                    $spacecalc = 1024 * 1024; 
     483                    break; 
     484                default: 
     485                    $spacecalc = 1024; 
     486            } 
     487            switch ( $opt_val_db2 ) { // DB 
     488                case 'TB': 
     489                    $spacecalc_db = 1024 * 1024 * 1024; 
     490                    break; 
     491                case 'GB': 
     492                    $spacecalc_db = 1024 * 1024; 
     493                    break; 
     494                default: 
     495                    $spacecalc_db = 1024; 
    442496            } 
    443497             
     
    445499            $usedspace_units = ($usedspace / $spacecalc); 
    446500             
    447             if ( $usedspace_units < 1 ) $usedspace_units = round(($usedspace / $spacecalc), 3); 
    448             else $usedspace_units = round(($usedspace / $spacecalc), 2); 
     501            if ( $usedspace_units < 1 ) $usedspace_units = round( ($usedspace / $spacecalc), 3 ); 
     502            else $usedspace_units = round( ($usedspace / $spacecalc), 2 ); 
    449503             
    450504            // Get storage space set by user 
    451             $totalspace = ($opt_val * $spacecalc); 
    452             $freespace = ($opt_val * $spacecalc) - $usedspace; 
    453              
    454             $config_link = '&nbsp;&nbsp;&nbsp;(<a href="tools.php?page=hosting-monitor-admin"><em>Hosting Monitor</em> config</a>)'; 
     505            $totalspace = ( $opt_val * $spacecalc ); 
     506            $freespace = ( $opt_val * $spacecalc ) - $usedspace; 
     507             
     508            if ( current_user_can( 'manage_options' ) ) { 
     509                $hm_user_admin = true; 
     510                $config_link = '&nbsp;&nbsp;&nbsp;(<a href="tools.php?page=hosting-monitor-admin"><em>Hosting Monitor</em> config</a>)'; 
     511            } 
    455512             
    456513            // End %%DSPC 
    457514            if ( $opt_val === false ) { 
    458                 // Means user has not saved a config, prompt them 
    459                 $free_space_message = 'Setup not completed. Please <a href="tools.php?page=hosting-monitor-admin">Configure <em>Hosting Monitor</em></a> now'; 
     515                // Means user has not saved a config, prompt them if admin 
     516                if ( $hm_user_admin === true) { 
     517                    $free_space_message = 'Setup not completed. Please <a href="tools.php?page=hosting-monitor-admin">Configure <em>Hosting Monitor</em></a> now'; 
     518                } 
    460519            } elseif ( $opt_val == 0 ) { 
    461520                // Zero is our save-default, assume unlimited space 
    462521                $free_space_message  = "UNLIMITED"; 
    463                 $free_space_message .= $config_link; 
     522                if ( $hm_user_admin === true) $free_space_message .= $config_link; 
    464523            } else { 
    465524                $free_space_message  = round(($freespace / $spacecalc), 2) . " " . $opt_val2; 
    466                 $free_space_message .= $config_link; 
     525                if ( $hm_user_admin === true) $free_space_message .= $config_link; 
    467526            } 
    468527            // Start old %%DSPC 
     
    516575            endif; 
    517576             
    518             // Display DB space-used text 
    519             ?> 
    520             <ul>     
    521                 <li><strong><?php _e('Database Size'); ?></strong>: <span><?php $this->check_db_size(); ?></span></li> 
    522             </ul> 
    523             <?php 
     577            // Display DB space-used text, if admin 
     578            if ( $hm_user_admin === true) { 
     579                ?> 
     580                <ul>     
     581                    <li><strong><?php _e('Database Size'); ?></strong>: <span><?php 
     582                        echo $this->check_db_size( $opt_val_db, $spacecalc_db ); ?></span></li> 
     583                </ul> 
     584                <?php 
     585            } 
    524586        } 
    525587         
     
    552614 
    553615    } 
     616     
     617    /* 
     618     * Add contextual help menu 
     619     * 
     620     * Using WP v3.3 menus 
     621     *  
     622     */ 
     623    function hostm_add_help_menu() { 
     624        global $hostm_admin_page; 
     625        $screen = get_current_screen(); 
     626         
     627        // Do not add help menu if not on our own admin page 
     628        if ( $screen -> id != $hostm_admin_page ) 
     629            return; 
     630         
     631        $help_content_faq = __(" 
     632            <h2>Frequently Asked Questions</h2> 
     633             
     634            <h4>Does this Plugin run on Windows web servers?</h4> 
     635                <p>Not entirely. It works on Windows Apache, but has errors on Windows IIS.</p> 
     636             
     637            <h4>I've noticed my Dashboard is slow. What gives?</h4> 
     638                <p>The used disk space is calculated when the Dashboard is loaded. It can be slow because the server counts every file, every time. On slow servers this can take some time. We agree that it's annoying and plan to fix it.</p> 
     639                <p>To prevent this, close the dahsboard window using the little arrow in the top-right corner. Alternatively, click on Screen Options and disable the widget.</p> 
     640             
     641            <h4>Are you going to fix {bug X}?</h4> 
     642                <p>Yes, as quickly as we can. The problems in version 0.5 and some we inherited from a previous plugin should be fixable. We can probably make this work correctly on Windows servers. And, we should be able to cache the disk space stats so the dashboard is not so slow.</p> 
     643             
     644            <h4>= Where did this come from, and will you keep updating it?</h4> 
     645                <p>Hosting Monitor is produced by: <a href=\"http://www.alivemediadev.com\">Alive Media Web Development</a>, and developed by: <a href=\"http://www.etchsoftware.com\">Mike Bijon</a>.</p> 
     646                <p>This plugin is installed on many of our customer sites. We plan to keep it updated _and_ to add new features as often as time allows. It is more than just a hobby, since it must be updated for new versions of WordPress.</p> 
     647        ", 'hostm_plugin'); 
     648         
     649        $help_content_setup = __(" 
     650            <h2>Setup Instructions</h2> 
     651                <ol> 
     652                    <li>Go to Tools &gt; Hosting Monitor in WordPress Admin</li> 
     653                    <li>Set the maximum disk space allowed by your hosting company & press &ldquo;Save Changes&rdquo;</li> 
     654                </ol> 
     655                <p><strong>Why?</strong> Every host is different, so Hosting Monitor can&#039;t automatically tell how much space you&#039;re *allowed* to use by your host.</p> 
     656        ", 'hostm_plugin'); 
     657         
     658        if ( method_exists( $screen, 'add_help_tab' ) ) { // Check if this is WP 3.3 
     659            // Do this if we are on own admin page 
     660            $screen->add_help_tab( array( 
     661                'id'      => 'hostm_help_faq', 
     662                'title'   => __('Help & FAQ', 'hostm_plugin'), 
     663                'content' => $help_content_faq, 
     664            )); 
     665            $screen->add_help_tab( array( 
     666                'id'      => 'hostm_help_setup', 
     667                'title'   => __('Setup Help', 'hostm_plugin'), 
     668                'content' => $help_content_setup, 
     669            )); 
     670        } else { // Earlier than 3.3, use old add_contextual_help 
     671            add_contextual_help( $hostm_admin_page, $help_content_faq . $help_content_setup ); 
     672        } 
     673    } 
     674     
    554675 
    555676    /* 
  • hosting-monitor/branches/classify/readme.txt

    r455708 r538821  
    11=== Hosting Monitor === 
    2 Contributors: mbijon, ProjectCMS 
     2Contributors: mbijon, Alive Media 
    33Tags: disk space, shared hosting, web space, server monitor, visual tracking, alerts, overage, resources, storage 
    44Requires at least: 3.0 
    55Tested up to: 3.3 
    6 Stable tag: 0.5.1 
     6Stable tag: 0.6.2 
    77 
    88Track how much disk and database space WordPress is using. 
     
    2121* Windows IIS support 
    2222* Bandwidth tracking 
    23 * Editable database size warning, currently hardcoded to 10MB 
    2423 
    2524 
     
    5554There will be additional features added in future versions too: The 1st one planned is better alerts for when you're using too much disk-space (including an optional email alert). Second is adding bandwidth monitoring. Then we'll move on to adding tools for tracking & alerting if your server is down. 
    5655 
     56= Where did this come from, and will you keep updating it? = 
     57 
     58Hosting Monitor is produced by: www.AliveMediaDev.com, and developed by: www.EtchSoftware.com. It is built with code from Disk Space Pie Chart by Jay Versluis and the Pie Chart Script by Rasmus Peters. 
     59 
     60This plugin is installed on many of our customer sites. We plan to keep it updated _and_ to add new features as often as time allows. It is more than just a hobby, since it must be updated for new versions of WordPress. 
     61 
    5762 
    5863== Screenshots == 
     
    6671== Upgrade Notice == 
    6772 
    68 = 0.5.1 = 
    69 Smooth upgrade from 0.5. Just backup & use WordPress update 
     73= 0.6.1 = 
     74Smooth upgrade from 0.5.x versions. Just backup & use WordPress update 
    7075 
    7176 
    7277== Changelog == 
     78 
     79= 0.6.2 = 
     80* Update Upgrade Notice with correct rev 
     81 
     82= 0.6 = 
     83* Add detailed Help menu (including 3.3 Help Tabs, & fallback for older Contextual Help) 
     84* Typo update in URL 
     85 
     86= 0.5.5 = 
     87* Add editable DB size & units 
     88* Block non-admins from seeing extra settings on Dashboard 
    7389 
    7490= 0.5.1 = 
     
    84100* Alert user on Dashboard if plugin has not been configured with space setting 
    85101* Moved admin-settings page from under Dashboard to under Tools 
    86 * Added nonces to prevent CSRF/security problems 
    87102* Updated readme.txt, tried to shorten it 
Note: See TracChangeset for help on using the changeset viewer.