Plugin Directory

Changeset 2029406


Ignore:
Timestamp:
02/12/2019 04:15:04 PM (7 years ago)
Author:
MalteseSolutions
Message:

tagging version 2.2.1

Location:
fireems-stats
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • fireems-stats/tags/2.2.1/admin/class-fireems-stats-admin.php

    r1540678 r2029406  
    116116        add_action('check_year', $this->year_exists());
    117117
     118        $maltese = $this->get_software_notes();
     119
    118120        include_once('partials/fireems-stats-display.php');
    119121
     
    536538    }
    537539
     540
     541    /**
     542     * Get updates from Maltese Solutions
     543     *
     544     * @since    2.1.0
     545     */
     546    public function get_software_notes() {
     547
     548        $api_check = array(
     549
     550            'maltese-api' => 'maltese-',
     551
     552        );
     553
     554        $response = wp_remote_get( add_query_arg( $api_check,'https://maltesesolutions.com' ), array( 'timeout' => 20, 'sslverify' => false ) );
     555
     556        return $software_info = json_decode( wp_remote_retrieve_body( $response ) );
     557
     558    }
     559
     560
     561
     562    /**
     563     * Decode the data
     564     *
     565     * @since    2.0.0
     566     */
    538567    public function decode_data(){
    539568
  • fireems-stats/tags/2.2.1/admin/partials/fireems-stats-display.php

    r1477223 r2029406  
    9999    </div>
    100100
     101
     102    <?php
     103
     104    if (isset( $maltese )) {
     105        if ( $maltese->success == true ) {
     106
     107            echo '<div class="col-md">';
     108            echo '<div class="alert '.$maltese->alert.'" role="alert">'.$maltese->message.'</div>';
     109            echo '</div>';
     110        }
     111    }
     112
     113     ?>
     114
    101115    <div class="row fire-admin-footer">
    102116
  • fireems-stats/tags/2.2.1/fireems-stats.php

    r1540681 r2029406  
    1717 * Plugin URI:        http://www.maltesesolutions.com
    1818 * Description:       Plugin that allows your Fire or EMS Organizaiton to list its monthly activity.
    19  * Version:           2.1.0
     19 * Version:           2.2.1
    2020 * Author:            MalteseSolutions
    2121 * Author URI:        http://www.maltesesolutions.com
  • fireems-stats/tags/2.2.1/includes/class-fireems-stats.php

    r1477223 r2029406  
    8080        $this->plugin_name = 'fireems';
    8181
    82         $this->version = '2.0.0';
     82        $this->version = '2.2.1';
    8383
    8484        $this->author = 'Maltese Solutions';
  • fireems-stats/tags/2.2.1/readme.txt

    r2011601 r2029406  
    1 === FireEMS Stats (Lite) ===
     1=== FireEMS Stats ===
    22Contributors: MalteseSolutions
    33Tags: fire department, EMS, monthly calls, fire stats, ems stats, fire
    44Requires at least: 4.0
    55Tested up to: 5.0
    6 Stable tag: 2.1.1
     6Stable tag: 2.2.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212== Description ==
    1313
    14 FireEMS Stats (Lite) allows your Fire or EMS Organization to list montly activity on the front page.
     14FireEMS Stats allows your Fire or EMS Organization to list montly activity on the front page.
    1515
    1616Edit your stats manually to keep your visitors and community up to date.
     
    5151
    5252== Changelog ==
     53
     54= 2.2.1 (2019-01-29) =
     55* Added JSON to recieve important updates from Maltese Solutions
    5356
    5457= 2.1.1 (2019-01-13) =
  • fireems-stats/trunk/admin/class-fireems-stats-admin.php

    r1540678 r2029406  
    116116        add_action('check_year', $this->year_exists());
    117117
     118        $maltese = $this->get_software_notes();
     119
    118120        include_once('partials/fireems-stats-display.php');
    119121
     
    536538    }
    537539
     540
     541    /**
     542     * Get updates from Maltese Solutions
     543     *
     544     * @since    2.1.0
     545     */
     546    public function get_software_notes() {
     547
     548        $api_check = array(
     549
     550            'maltese-api' => 'maltese-',
     551
     552        );
     553
     554        $response = wp_remote_get( add_query_arg( $api_check,'https://maltesesolutions.com' ), array( 'timeout' => 20, 'sslverify' => false ) );
     555
     556        return $software_info = json_decode( wp_remote_retrieve_body( $response ) );
     557
     558    }
     559
     560
     561
     562    /**
     563     * Decode the data
     564     *
     565     * @since    2.0.0
     566     */
    538567    public function decode_data(){
    539568
  • fireems-stats/trunk/admin/partials/fireems-stats-display.php

    r1477223 r2029406  
    9999    </div>
    100100
     101
     102    <?php
     103
     104    if (isset( $maltese )) {
     105        if ( $maltese->success == true ) {
     106
     107            echo '<div class="col-md">';
     108            echo '<div class="alert '.$maltese->alert.'" role="alert">'.$maltese->message.'</div>';
     109            echo '</div>';
     110        }
     111    }
     112
     113     ?>
     114
    101115    <div class="row fire-admin-footer">
    102116
  • fireems-stats/trunk/fireems-stats.php

    r1540681 r2029406  
    1717 * Plugin URI:        http://www.maltesesolutions.com
    1818 * Description:       Plugin that allows your Fire or EMS Organizaiton to list its monthly activity.
    19  * Version:           2.1.0
     19 * Version:           2.2.1
    2020 * Author:            MalteseSolutions
    2121 * Author URI:        http://www.maltesesolutions.com
  • fireems-stats/trunk/includes/class-fireems-stats.php

    r1477223 r2029406  
    8080        $this->plugin_name = 'fireems';
    8181
    82         $this->version = '2.0.0';
     82        $this->version = '2.2.1';
    8383
    8484        $this->author = 'Maltese Solutions';
  • fireems-stats/trunk/readme.txt

    r2011601 r2029406  
    1 === FireEMS Stats (Lite) ===
     1=== FireEMS Stats ===
    22Contributors: MalteseSolutions
    33Tags: fire department, EMS, monthly calls, fire stats, ems stats, fire
    44Requires at least: 4.0
    55Tested up to: 5.0
    6 Stable tag: 2.1.1
     6Stable tag: 2.2.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212== Description ==
    1313
    14 FireEMS Stats (Lite) allows your Fire or EMS Organization to list montly activity on the front page.
     14FireEMS Stats allows your Fire or EMS Organization to list montly activity on the front page.
    1515
    1616Edit your stats manually to keep your visitors and community up to date.
     
    5151
    5252== Changelog ==
     53
     54= 2.2.1 (2019-01-29) =
     55* Added JSON to recieve important updates from Maltese Solutions
    5356
    5457= 2.1.1 (2019-01-13) =
Note: See TracChangeset for help on using the changeset viewer.