Changeset 2149019
- Timestamp:
- 08/31/2019 07:08:12 PM (7 years ago)
- Location:
- wp-issues-crm
- Files:
-
- 4 edited
- 43 copied
-
tags/4.5.1.0/trunk (copied) (copied from wp-issues-crm/trunk)
-
tags/4.5.1.0/trunk/css/dashboard.css (copied) (copied from wp-issues-crm/trunk/css/dashboard.css)
-
tags/4.5.1.0/trunk/css/email.css (copied) (copied from wp-issues-crm/trunk/css/email.css)
-
tags/4.5.1.0/trunk/css/main.css (copied) (copied from wp-issues-crm/trunk/css/main.css)
-
tags/4.5.1.0/trunk/css/settings.css (copied) (copied from wp-issues-crm/trunk/css/settings.css)
-
tags/4.5.1.0/trunk/js/constituent.js (copied) (copied from wp-issues-crm/trunk/js/constituent.js)
-
tags/4.5.1.0/trunk/js/dashboard.js (copied) (copied from wp-issues-crm/trunk/js/dashboard.js)
-
tags/4.5.1.0/trunk/js/email-deliver.js (copied) (copied from wp-issues-crm/trunk/js/email-deliver.js)
-
tags/4.5.1.0/trunk/js/email-inbox.js (copied) (copied from wp-issues-crm/trunk/js/email-inbox.js)
-
tags/4.5.1.0/trunk/js/email-message.js (copied) (copied from wp-issues-crm/trunk/js/email-message.js)
-
tags/4.5.1.0/trunk/js/email-process.js (copied) (copied from wp-issues-crm/trunk/js/email-process.js)
-
tags/4.5.1.0/trunk/js/email-send.js (copied) (copied from wp-issues-crm/trunk/js/email-send.js)
-
tags/4.5.1.0/trunk/js/email-settings.js (copied) (copied from wp-issues-crm/trunk/js/email-settings.js)
-
tags/4.5.1.0/trunk/js/issue.js (copied) (copied from wp-issues-crm/trunk/js/issue.js)
-
tags/4.5.1.0/trunk/js/manage-storage.js (copied) (copied from wp-issues-crm/trunk/js/manage-storage.js)
-
tags/4.5.1.0/trunk/php/admin/class-wic-admin-access.php (copied) (copied from wp-issues-crm/trunk/php/admin/class-wic-admin-access.php)
-
tags/4.5.1.0/trunk/php/admin/class-wic-admin-navigation.php (copied) (copied from wp-issues-crm/trunk/php/admin/class-wic-admin-navigation.php)
-
tags/4.5.1.0/trunk/php/admin/class-wic-admin-settings.php (copied) (copied from wp-issues-crm/trunk/php/admin/class-wic-admin-settings.php)
-
tags/4.5.1.0/trunk/php/admin/class-wic-admin-setup.php (copied) (copied from wp-issues-crm/trunk/php/admin/class-wic-admin-setup.php)
-
tags/4.5.1.0/trunk/php/db/class-wic-db-email-message-object.php (copied) (copied from wp-issues-crm/trunk/php/db/class-wic-db-email-message-object.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-activity.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-activity.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-dashboard.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-dashboard.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-account.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-account.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-activesync-synch.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-activesync-synch.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-block.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-block.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-cron.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-cron.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-deliver-activesync.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-deliver-activesync.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-deliver.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-deliver.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-inbox-parse.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-inbox-parse.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-inbox.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-inbox.php) (3 diffs)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-message.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-message.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-oauth-synch.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-oauth-synch.php)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-process.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-process.php) (1 diff)
-
tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-send.php (copied) (copied from wp-issues-crm/trunk/php/entity/class-wic-entity-email-send.php)
-
tags/4.5.1.0/trunk/php/form/class-wic-form-email-inbox.php (copied) (copied from wp-issues-crm/trunk/php/form/class-wic-form-email-inbox.php)
-
tags/4.5.1.0/trunk/php/function/class-wic-function-utilities.php (copied) (copied from wp-issues-crm/trunk/php/function/class-wic-function-utilities.php)
-
tags/4.5.1.0/trunk/php/list/class-wic-list-activity.php (copied) (copied from wp-issues-crm/trunk/php/list/class-wic-list-activity.php)
-
tags/4.5.1.0/trunk/php/list/class-wic-list-constituent.php (copied) (copied from wp-issues-crm/trunk/php/list/class-wic-list-constituent.php)
-
tags/4.5.1.0/trunk/php/list/class-wic-list-parent.php (copied) (copied from wp-issues-crm/trunk/php/list/class-wic-list-parent.php)
-
tags/4.5.1.0/trunk/readme.txt (copied) (copied from wp-issues-crm/trunk/readme.txt) (1 diff)
-
tags/4.5.1.0/trunk/sql/wic_data_dictionary_and_field_groups.sql (copied) (copied from wp-issues-crm/trunk/sql/wic_data_dictionary_and_field_groups.sql)
-
tags/4.5.1.0/trunk/sql/wic_structures.sql (copied) (copied from wp-issues-crm/trunk/sql/wic_structures.sql)
-
tags/4.5.1.0/trunk/wp-issues-crm.php (copied) (copied from wp-issues-crm/trunk/wp-issues-crm.php) (2 diffs)
-
trunk/php/entity/class-wic-entity-email-inbox.php (modified) (3 diffs)
-
trunk/php/entity/class-wic-entity-email-process.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-issues-crm.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-issues-crm/tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-inbox.php
r2149004 r2149019 80 80 // get pipe seperated list of team from emails 81 81 $team_list = isset ( $form_variables_object->team_list ) ? $form_variables_object->team_list : ''; 82 $team_list_array = $team_list ? explode ( '|', $team_list ): array( );82 $team_list_array = $team_list ? explode ( '|', $team_list ): array( 'zzz@zzz.zzz'); // put in a never found dummy email to avoid empty criterion 83 83 // get current folder 84 84 $folder = WIC_Entity_Email_Account::get_folder(); … … 151 151 /* 152 152 * 153 * this is a hook to allow substitution of category definitions without reparsing the inbox 153 * this is a hook to allow substitution of category definitions without reparsing the inbox. Do not user wild card like phrases; will conflict with prepare 154 154 * 155 155 * the following is an example that could be placed in a local plugin -- always include leading and trailing white spaces around the defined term … … 199 199 ( 200 200 'CATEGORY_TEAM' == $data->tab ? " $team_list_criterion AND assigned_subject is null AND " : 201 $wpdb->prepare ( 202 " IF( 203 assigned_subject is NULL, 204 IF( mapped_issue > 0, 'CATEGORY_ADVOCACY', $category_phrase ), 205 IF( subject_is_final, 'CATEGORY_READY', 'CATEGORY_ASSIGNED' ) 206 ) = %s AND ( NOT $team_list_criterion OR assigned_subject IS NOT NULL ) AND ", 207 array ( $data->tab ) 208 ) 201 ( 202 $wpdb->prepare ( 203 " IF( 204 assigned_subject is NULL, 205 IF( mapped_issue > 0, 'CATEGORY_ADVOCACY', $category_phrase ), 206 IF( subject_is_final, 'CATEGORY_READY', 'CATEGORY_ASSIGNED' ) 207 ) = %s" , 208 array ( $data->tab ) 209 ) 210 . 211 " AND ( NOT $team_list_criterion OR assigned_subject IS NOT NULL ) AND " 212 ) 209 213 ) 210 214 : -
wp-issues-crm/tags/4.5.1.0/trunk/php/entity/class-wic-entity-email-process.php
r2145245 r2149019 351 351 */ 352 352 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 354 if ( 'team_list' == $key) { 355 continue; 356 } 353 357 if ( 'non_constituent_response_message' == $key ) { 354 358 $options->key = wp_kses_post ( $value ); -
wp-issues-crm/tags/4.5.1.0/trunk/readme.txt
r2149005 r2149019 108 108 109 109 == Changelog == 110 = 4.5.1.1 = 111 * Fixes related to wild card handling and empty team list 110 112 = 4.5.1.0 = 111 113 * Revise handling of CATEGORY_TEAM -- based it on new email control Tab, rather than over inclusive user table approach -
wp-issues-crm/tags/4.5.1.0/trunk/wp-issues-crm.php
r2149005 r2149019 4 4 * Plugin URI: http://wp-issues-crm.com 5 5 * 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. 06 * Version: 4.5.1.1 7 7 * Author: Will Brownsberger 8 8 * Author URI: http://willbrownsberger.com … … 48 48 */ 49 49 global $wp_issues_crm_js_css_version; 50 $wp_issues_crm_js_css_version = '4.5.1. 0'; // may or not be set at release time50 $wp_issues_crm_js_css_version = '4.5.1.1'; // may or not be set at release time 51 51 if ( '' == $wp_issues_crm_js_css_version ) { 52 52 if ( strpos ( site_url(), 'localhost' ) > 0 ) { -
wp-issues-crm/trunk/php/entity/class-wic-entity-email-inbox.php
r2149004 r2149019 80 80 // get pipe seperated list of team from emails 81 81 $team_list = isset ( $form_variables_object->team_list ) ? $form_variables_object->team_list : ''; 82 $team_list_array = $team_list ? explode ( '|', $team_list ): array( );82 $team_list_array = $team_list ? explode ( '|', $team_list ): array( 'zzz@zzz.zzz'); // put in a never found dummy email to avoid empty criterion 83 83 // get current folder 84 84 $folder = WIC_Entity_Email_Account::get_folder(); … … 151 151 /* 152 152 * 153 * this is a hook to allow substitution of category definitions without reparsing the inbox 153 * this is a hook to allow substitution of category definitions without reparsing the inbox. Do not user wild card like phrases; will conflict with prepare 154 154 * 155 155 * the following is an example that could be placed in a local plugin -- always include leading and trailing white spaces around the defined term … … 199 199 ( 200 200 'CATEGORY_TEAM' == $data->tab ? " $team_list_criterion AND assigned_subject is null AND " : 201 $wpdb->prepare ( 202 " IF( 203 assigned_subject is NULL, 204 IF( mapped_issue > 0, 'CATEGORY_ADVOCACY', $category_phrase ), 205 IF( subject_is_final, 'CATEGORY_READY', 'CATEGORY_ASSIGNED' ) 206 ) = %s AND ( NOT $team_list_criterion OR assigned_subject IS NOT NULL ) AND ", 207 array ( $data->tab ) 208 ) 201 ( 202 $wpdb->prepare ( 203 " IF( 204 assigned_subject is NULL, 205 IF( mapped_issue > 0, 'CATEGORY_ADVOCACY', $category_phrase ), 206 IF( subject_is_final, 'CATEGORY_READY', 'CATEGORY_ASSIGNED' ) 207 ) = %s" , 208 array ( $data->tab ) 209 ) 210 . 211 " AND ( NOT $team_list_criterion OR assigned_subject IS NOT NULL ) AND " 212 ) 209 213 ) 210 214 : -
wp-issues-crm/trunk/php/entity/class-wic-entity-email-process.php
r2145245 r2149019 351 351 */ 352 352 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 354 if ( 'team_list' == $key) { 355 continue; 356 } 353 357 if ( 'non_constituent_response_message' == $key ) { 354 358 $options->key = wp_kses_post ( $value ); -
wp-issues-crm/trunk/readme.txt
r2149005 r2149019 108 108 109 109 == Changelog == 110 = 4.5.1.1 = 111 * Fixes related to wild card handling and empty team list 110 112 = 4.5.1.0 = 111 113 * Revise handling of CATEGORY_TEAM -- based it on new email control Tab, rather than over inclusive user table approach -
wp-issues-crm/trunk/wp-issues-crm.php
r2149005 r2149019 4 4 * Plugin URI: http://wp-issues-crm.com 5 5 * 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. 06 * Version: 4.5.1.1 7 7 * Author: Will Brownsberger 8 8 * Author URI: http://willbrownsberger.com … … 48 48 */ 49 49 global $wp_issues_crm_js_css_version; 50 $wp_issues_crm_js_css_version = '4.5.1. 0'; // may or not be set at release time50 $wp_issues_crm_js_css_version = '4.5.1.1'; // may or not be set at release time 51 51 if ( '' == $wp_issues_crm_js_css_version ) { 52 52 if ( strpos ( site_url(), 'localhost' ) > 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.