Plugin Directory

Changeset 2149050


Ignore:
Timestamp:
08/31/2019 10:50:41 PM (7 years ago)
Author:
Will Brownsberger
Message:

4.5.1.2

Location:
wp-issues-crm
Files:
5 edited
43 copied

Legend:

Unmodified
Added
Removed
  • wp-issues-crm/tags/4.5.1.2/css/email.css

    r2145245 r2149050  
    540540}
    541541
    542 #wic-inbox-form-tabbed  .ui-state-default.ui-corner-top.empty-category-tab {
     542#wic-inbox-form-tabbed  .ui-state-default.ui-corner-top.empty-category-tab a,
     543#wic-inbox-form-tabbed  .ui-state-default.ui-corner-top.assignment-category-tab a {
     544    color: #777;
    543545    font-weight: 400;
    544546}
  • wp-issues-crm/tags/4.5.1.2/js/email-inbox.js

    r2149004 r2149050  
    233233                        $( "#" + category + " .wic-inbox-tab-count").show()
    234234                        $( "#" + category ).removeClass("empty-category-tab" )
     235                    }
     236                    if(( 'CATEGORY_ASSIGNED' == category || 'CATEGORY_READY' == category  ) && wpIssuesCRMSettings.canViewAllEmail ) {
     237                        $( "#" + category ).addClass("assignment-category-tab" );                       
    235238                    }
    236239                }
  • wp-issues-crm/tags/4.5.1.2/php/entity/class-wic-entity-email-process.php

    r2149019 r2149050  
    347347    // sanitize and save options
    348348    public static function save_processing_options( $dummy, $options ) {
     349   
     350   
    349351        /*
    350352        * sanitize options
    351353        */
    352354        foreach ( $options as $key => $value ) {
    353             // will hard sanitize this option before using it -- comes in charcater limited and is used only character limited --  WP sanitization routines strip wild cards
     355            // will also hard sanitize this option before using it -- comes in charcater limited and is verified characger limited
    354356            if ( 'team_list' == $key) {
    355                 continue;
    356             }
    357             if (  'non_constituent_response_message' == $key ) {
     357                $options->$key == preg_replace ( '/[^%@.+_A-Za-z0-9-]/', '', $value );
     358            } elseif (  'non_constituent_response_message' == $key ) {
    358359                $options->key = wp_kses_post ( $value );
    359360            } else {
     
    371372            $result = update_option ( 'wp-issues-crm-email-processing-options', $options ) ;
    372373        }
     374       
    373375        $response =  $result ? __( 'Options saved OK.', 'wp-issues-crm' ) : __( 'Error saving options', 'wp-issues-crm' );
    374376        return array ( 'response_code' => $result, 'output' => $response );
  • wp-issues-crm/tags/4.5.1.2/readme.txt

    r2149021 r2149050  
    55Requires at least: 5
    66Tested up to: 5.2.1
    7 Stable tag: 4.5.1.1
     7Stable tag: 4.5.1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    108108
    109109== Changelog ==
     110= 4.5.1.2 =
     111* Additional sanitization and css changes
    110112= 4.5.1.1 =
    111113* Fixes related to wild card handling and empty team list
  • wp-issues-crm/tags/4.5.1.2/wp-issues-crm.php

    r2149019 r2149050  
    44 * Plugin URI: http://wp-issues-crm.com
    55 * Description: Constituent Relationship Management for organizations that respond to constituents.  Organizes constituent contacts ( calls, etc. ) around Wordpress posts and categories.
    6  * Version: 4.5.1.1
     6 * Version: 4.5.1.2
    77 * Author: Will Brownsberger
    88 * Author URI: http://willbrownsberger.com
     
    3939// set database version global;
    4040global $wp_issues_crm_db_version;
    41 $wp_issues_crm_db_version = '4.5.1.0';
     41$wp_issues_crm_db_version = '4.5.1.2';
    4242/*
    4343* set js_css version global -- three possibilities:
     
    4848*/
    4949global $wp_issues_crm_js_css_version;
    50 $wp_issues_crm_js_css_version = '4.5.1.1'; // may or not be set at release time
     50$wp_issues_crm_js_css_version = '4.5.1.2'; // may or not be set at release time
    5151if ( '' == $wp_issues_crm_js_css_version ) {
    5252    if ( strpos ( site_url(), 'localhost' ) > 0 ) {
  • wp-issues-crm/trunk/css/email.css

    r2145245 r2149050  
    540540}
    541541
    542 #wic-inbox-form-tabbed  .ui-state-default.ui-corner-top.empty-category-tab {
     542#wic-inbox-form-tabbed  .ui-state-default.ui-corner-top.empty-category-tab a,
     543#wic-inbox-form-tabbed  .ui-state-default.ui-corner-top.assignment-category-tab a {
     544    color: #777;
    543545    font-weight: 400;
    544546}
  • wp-issues-crm/trunk/js/email-inbox.js

    r2149004 r2149050  
    233233                        $( "#" + category + " .wic-inbox-tab-count").show()
    234234                        $( "#" + category ).removeClass("empty-category-tab" )
     235                    }
     236                    if(( 'CATEGORY_ASSIGNED' == category || 'CATEGORY_READY' == category  ) && wpIssuesCRMSettings.canViewAllEmail ) {
     237                        $( "#" + category ).addClass("assignment-category-tab" );                       
    235238                    }
    236239                }
  • wp-issues-crm/trunk/php/entity/class-wic-entity-email-process.php

    r2149019 r2149050  
    347347    // sanitize and save options
    348348    public static function save_processing_options( $dummy, $options ) {
     349   
     350   
    349351        /*
    350352        * sanitize options
    351353        */
    352354        foreach ( $options as $key => $value ) {
    353             // will hard sanitize this option before using it -- comes in charcater limited and is used only character limited --  WP sanitization routines strip wild cards
     355            // will also hard sanitize this option before using it -- comes in charcater limited and is verified characger limited
    354356            if ( 'team_list' == $key) {
    355                 continue;
    356             }
    357             if (  'non_constituent_response_message' == $key ) {
     357                $options->$key == preg_replace ( '/[^%@.+_A-Za-z0-9-]/', '', $value );
     358            } elseif (  'non_constituent_response_message' == $key ) {
    358359                $options->key = wp_kses_post ( $value );
    359360            } else {
     
    371372            $result = update_option ( 'wp-issues-crm-email-processing-options', $options ) ;
    372373        }
     374       
    373375        $response =  $result ? __( 'Options saved OK.', 'wp-issues-crm' ) : __( 'Error saving options', 'wp-issues-crm' );
    374376        return array ( 'response_code' => $result, 'output' => $response );
  • wp-issues-crm/trunk/readme.txt

    r2149021 r2149050  
    55Requires at least: 5
    66Tested up to: 5.2.1
    7 Stable tag: 4.5.1.1
     7Stable tag: 4.5.1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    108108
    109109== Changelog ==
     110= 4.5.1.2 =
     111* Additional sanitization and css changes
    110112= 4.5.1.1 =
    111113* Fixes related to wild card handling and empty team list
  • wp-issues-crm/trunk/wp-issues-crm.php

    r2149019 r2149050  
    44 * Plugin URI: http://wp-issues-crm.com
    55 * Description: Constituent Relationship Management for organizations that respond to constituents.  Organizes constituent contacts ( calls, etc. ) around Wordpress posts and categories.
    6  * Version: 4.5.1.1
     6 * Version: 4.5.1.2
    77 * Author: Will Brownsberger
    88 * Author URI: http://willbrownsberger.com
     
    3939// set database version global;
    4040global $wp_issues_crm_db_version;
    41 $wp_issues_crm_db_version = '4.5.1.0';
     41$wp_issues_crm_db_version = '4.5.1.2';
    4242/*
    4343* set js_css version global -- three possibilities:
     
    4848*/
    4949global $wp_issues_crm_js_css_version;
    50 $wp_issues_crm_js_css_version = '4.5.1.1'; // may or not be set at release time
     50$wp_issues_crm_js_css_version = '4.5.1.2'; // may or not be set at release time
    5151if ( '' == $wp_issues_crm_js_css_version ) {
    5252    if ( strpos ( site_url(), 'localhost' ) > 0 ) {
Note: See TracChangeset for help on using the changeset viewer.