Added "Agent Screen Logout Link Credentials" System Setting to change the agent screen logout page login link to not include user credentials.
git-svn-id: svn://192.168.202.10@3016 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -334,6 +334,9 @@ OTHER CHANGES:
|
||||
|
||||
91. Added the new Callmenu Survey Report(linked as "Callmenu Agent" in Reports).
|
||||
|
||||
92. Added "Agent Screen Logout Link Credentials" System Setting to change the
|
||||
agent screen logout page login link to not include user credentials.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1789,7 +1789,8 @@ did_system_filter ENUM('0','1') default '0',
|
||||
anyone_callback_inactive_lists ENUM('default','NO_ADD_TO_HOPPER','KEEP_IN_HOPPER') default 'default',
|
||||
enable_gdpr_download_deletion ENUM('0','1','2') default '0',
|
||||
source_id_display ENUM('0','1') default '0',
|
||||
help_modification_date VARCHAR(20) default '0'
|
||||
help_modification_date VARCHAR(20) default '0',
|
||||
agent_logout_link ENUM('0','1','2','3','4') default '1'
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
CREATE TABLE vicidial_campaigns_list_mix (
|
||||
@@ -4265,4 +4266,4 @@ INSERT INTO vicidial_settings_containers(container_id,container_notes,container_
|
||||
|
||||
UPDATE system_settings set vdc_agent_api_active='1';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1550',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
UPDATE system_settings SET db_schema_version='1551',db_schema_update_date=NOW(),reload_timestamp=NOW();
|
||||
|
||||
@@ -695,3 +695,7 @@ ALTER TABLE vicidial_inbound_groups ADD cid_cb_reenter_filename TEXT;
|
||||
ALTER TABLE vicidial_inbound_groups ADD cid_cb_error_filename TEXT;
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1550',db_schema_update_date=NOW() where db_schema_version < 1550;
|
||||
|
||||
ALTER TABLE system_settings ADD agent_logout_link ENUM('0','1','2','3','4') default '1';
|
||||
|
||||
UPDATE system_settings SET db_schema_version='1551',db_schema_update_date=NOW() where db_schema_version < 1551;
|
||||
|
||||
+25
-4
@@ -599,10 +599,11 @@
|
||||
# 180606-0024 - Fixed email transfers bugs, modified transfer-conf panel for same
|
||||
# 180610-2305 - Added dead_trigger_ features
|
||||
# 180727-2044 - Small fix for pause code issue
|
||||
# 180807-1703 - Added agent_logout_link credentials system setting
|
||||
#
|
||||
|
||||
$version = '2.14-568c';
|
||||
$build = '180727-2044';
|
||||
$version = '2.14-569c';
|
||||
$build = '180807-1703';
|
||||
$mel=1; # Mysql Error Log enabled = 1
|
||||
$mysql_log_count=87;
|
||||
$one_mysql_log=0;
|
||||
@@ -716,7 +717,7 @@ if ($sl_ct > 0)
|
||||
|
||||
#############################################
|
||||
##### START SYSTEM_SETTINGS LOOKUP #####
|
||||
$stmt = "SELECT use_non_latin,vdc_header_date_format,vdc_customer_date_format,vdc_header_phone_format,webroot_writable,timeclock_end_of_day,vtiger_url,enable_vtiger_integration,outbound_autodial_active,enable_second_webform,user_territories_active,static_agent_url,custom_fields_enabled,pllb_grouping_limit,qc_features_active,allow_emails,callback_time_24hour,enable_languages,language_method,meetme_enter_login_filename,meetme_enter_leave3way_filename,enable_third_webform,default_language,active_modules,allow_chats,chat_url,default_phone_code,agent_screen_colors,manual_auto_next,agent_xfer_park_3way,admin_web_directory,agent_script,agent_push_events,agent_push_url FROM system_settings;";
|
||||
$stmt = "SELECT use_non_latin,vdc_header_date_format,vdc_customer_date_format,vdc_header_phone_format,webroot_writable,timeclock_end_of_day,vtiger_url,enable_vtiger_integration,outbound_autodial_active,enable_second_webform,user_territories_active,static_agent_url,custom_fields_enabled,pllb_grouping_limit,qc_features_active,allow_emails,callback_time_24hour,enable_languages,language_method,meetme_enter_login_filename,meetme_enter_leave3way_filename,enable_third_webform,default_language,active_modules,allow_chats,chat_url,default_phone_code,agent_screen_colors,manual_auto_next,agent_xfer_park_3way,admin_web_directory,agent_script,agent_push_events,agent_push_url,agent_logout_link FROM system_settings;";
|
||||
$rslt=mysql_to_mysqli($stmt, $link);
|
||||
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'01001',$VD_login,$server_ip,$session_name,$one_mysql_log);}
|
||||
if ($DB) {echo "$stmt\n";}
|
||||
@@ -758,6 +759,7 @@ if ($qm_conf_ct > 0)
|
||||
$SSagent_script = $row[31];
|
||||
$agent_push_events = $row[32];
|
||||
$agent_push_url = $row[33];
|
||||
$agent_logout_link = $row[34];
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -4731,6 +4733,7 @@ if ($enable_fast_refresh < 1) {echo "\tvar refresh_interval = 1000;\n";}
|
||||
var dead_trigger_action='<?php echo $dead_trigger_action ?>';
|
||||
var dead_trigger_repeat='<?php echo $dead_trigger_repeat ?>';
|
||||
var dead_trigger_filename='<?php echo $dead_trigger_filename ?>';
|
||||
var agent_logout_link='<?php echo $agent_logout_link ?>';
|
||||
var DiaLControl_auto_HTML = "<a href=\"#\" onclick=\"AutoDial_ReSume_PauSe('VDADready','','','','','','','YES');\"><img src=\"./images/<?php echo _QXZ("vdc_LB_paused.gif") ?>\" border=\"0\" alt=\"You are paused\" /></a>";
|
||||
var DiaLControl_auto_HTML_ready = "<a href=\"#\" onclick=\"AutoDial_ReSume_PauSe('VDADpause','','','','','','','YES');\"><img src=\"./images/<?php echo _QXZ("vdc_LB_active.gif") ?>\" border=\"0\" alt=\"You are active\" /></a>";
|
||||
var DiaLControl_auto_HTML_OFF = "<img src=\"./images/<?php echo _QXZ("vdc_LB_blank_OFF.gif") ?>\" border=\"0\" alt=\"pause button disabled\" />";
|
||||
@@ -14961,7 +14964,25 @@ function set_length(SLnumber,SLlength_goal,SLdirection)
|
||||
if (tempreason=='READY_TIMEOUT')
|
||||
{logout_content="<?php echo _QXZ("You have been ready for too long, you have been logged out of your session"); ?><br /><br />";}
|
||||
|
||||
document.getElementById("LogouTBoxLink").innerHTML = logout_content + "<font class=\"loading_text\"><a href=\"" + agcPAGE + "?relogin=YES&session_epoch=" + epoch_sec + "&session_id=" + session_id + "&session_name=" + session_name + "&VD_login=" + user + "&VD_campaign=" + campaign + "&phone_login=" + original_phone_login + "&phone_pass=" + phone_pass + "&VD_pass=" + orig_pass + "&LOGINvarONE=" + LOGINvarONE + "&LOGINvarTWO=" + LOGINvarTWO + "&LOGINvarTHREE=" + LOGINvarTHREE + "&LOGINvarFOUR=" + LOGINvarFOUR + "&LOGINvarFIVE=" + LOGINvarFIVE + "\" onclick=\"needToConfirmExit = false;\"><?php echo _QXZ("CLICK HERE TO LOG IN AGAIN"); ?></a></font>\n";
|
||||
if (agent_logout_link > 0)
|
||||
{
|
||||
if (agent_logout_link == '1')
|
||||
{
|
||||
document.getElementById("LogouTBoxLink").innerHTML = logout_content + "<font class=\"loading_text\"><a href=\"" + agcPAGE + "?relogin=YES&session_epoch=" + epoch_sec + "&session_id=" + session_id + "&session_name=" + session_name + "&VD_login=" + user + "&VD_campaign=" + campaign + "&phone_login=" + original_phone_login + "&phone_pass=" + phone_pass + "&VD_pass=" + orig_pass + "&LOGINvarONE=" + LOGINvarONE + "&LOGINvarTWO=" + LOGINvarTWO + "&LOGINvarTHREE=" + LOGINvarTHREE + "&LOGINvarFOUR=" + LOGINvarFOUR + "&LOGINvarFIVE=" + LOGINvarFIVE + "\" onclick=\"needToConfirmExit = false;\"><?php echo _QXZ("CLICK HERE TO LOG IN AGAIN"); ?></a></font>\n";
|
||||
}
|
||||
else if (agent_logout_link == '2')
|
||||
{
|
||||
document.getElementById("LogouTBoxLink").innerHTML = logout_content + "<font class=\"loading_text\"><a href=\"" + agcPAGE + "?relogin=YES&session_epoch=" + epoch_sec + "&session_id=" + session_id + "&session_name=" + session_name + "&VD_login=" + user + "&VD_campaign=" + campaign + "&phone_login=" + original_phone_login + "&LOGINvarONE=" + LOGINvarONE + "&LOGINvarTWO=" + LOGINvarTWO + "&LOGINvarTHREE=" + LOGINvarTHREE + "&LOGINvarFOUR=" + LOGINvarFOUR + "&LOGINvarFIVE=" + LOGINvarFIVE + "\" onclick=\"needToConfirmExit = false;\"><?php echo _QXZ("CLICK HERE TO LOG IN AGAIN"); ?></a></font>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById("LogouTBoxLink").innerHTML = logout_content + "<font class=\"loading_text\"><a href=\"" + agcPAGE + "?relogin=YES&LOGINvarONE=" + LOGINvarONE + "&LOGINvarTWO=" + LOGINvarTWO + "&LOGINvarTHREE=" + LOGINvarTHREE + "&LOGINvarFOUR=" + LOGINvarFOUR + "&LOGINvarFIVE=" + LOGINvarFIVE + "\" onclick=\"needToConfirmExit = false;\"><?php echo _QXZ("CLICK HERE TO LOG IN AGAIN"); ?></a></font>\n";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
document.getElementById("LogouTBoxLink").innerHTML = logout_content + "<font class=\"loading_text\"><a href=\"" + agcPAGE + "\"><?php echo _QXZ("CLICK HERE TO LOG IN AGAIN"); ?></a></font>\n";
|
||||
}
|
||||
|
||||
logout_stop_timeouts = 1;
|
||||
|
||||
|
||||
+11
-4
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
# version: 201807130928
|
||||
# version: 201808071700
|
||||
users-user User ID <QXZ>This field is where you put the users ID number, can be up to 8 digits in length, Must be at least 2 characters in length.</QXZ>
|
||||
users-pass Password <QXZ>This field is where you put the users password. Must be at least 2 characters in length. A medium strength user password will be at least 10 characters in length, and a strong user password will be at least 20 characters in length and have letters as well as at least one number. It is recommended that you use a longer password if possible, stringing together several unrelated words with no spaces, and a number somewhere in the string. The maximum size of a password is 100 characters.</QXZ>
|
||||
users-force_change_password Force Change Password <QXZ>If this option is set to Y then the user will be prompted to change their password the next time they log in to the administration webpage. Default is N.</QXZ>
|
||||
@@ -957,6 +957,7 @@ settings-vdc_header_date_format Agent Screen Header Date Format <QXZ>This menu a
|
||||
settings-vdc_customer_date_format Agent Screen Customer Date Format <QXZ>This menu allows you to choose the format of the customer date and time that shows up at the top of the Customer Information section of the agent screen. The options for this setting are: default is AL_TEXT_AMPM</QXZ><BR>MS_DASH_24HR 2008-06-24 23:59:59 - <QXZ>Default date format with year month day followed by 24 hour time</QXZ><BR>US_SLASH_24HR 06/24/2008 23:59:59 - <QXZ>USA date format with month day year followed by 24 hour time</QXZ><BR>EU_SLASH_24HR 24/06/2008 23:59:59 - <QXZ>European date format with day month year followed by 24 hour time</QXZ><BR>AL_TEXT_24HR JUN 24 23:59:59 - <QXZ>Text date format with abbreviated month day followed by 24 hour time</QXZ><BR>MS_DASH_AMPM 2008-06-24 11:59:59 PM - <QXZ>Default date format with year month day followed by 12 hour time</QXZ><BR>US_SLASH_AMPM 06/24/2008 11:59:59 PM - <QXZ>USA date format with month day year followed by 12 hour time</QXZ><BR>EU_SLASH_AMPM 24/06/2008 11:59:59 PM - <QXZ>European date format with day month year followed by 12 hour time</QXZ><BR>AL_TEXT_AMPM JUN 24 11:59:59 PM - <QXZ>Text date format with abbreviated month day followed by 12 hour time</QXZ>
|
||||
settings-vdc_header_phone_format Agent Screen Customer Phone Format <QXZ>This menu allows you to choose the format of the customer phone number that shows up in the status section of the agent screen. The options for this setting are: default is US_PARN</QXZ><BR>US_DASH 000-000-0000 - <QXZ>USA dash separated phone number</QXZ><BR>US_PARN (000)000-0000 - <QXZ>USA dash separated number with area code in parenthesis</QXZ><BR>MS_NODS 0000000000 - <QXZ>No formatting</QXZ><BR>UK_DASH 00 0000-0000 - <QXZ>UK dash separated phone number with space after city code</QXZ><BR>AU_SPAC 000 000 000 - <QXZ>Australia space separated phone number</QXZ><BR>IT_DASH 0000-000-000 - <QXZ>Italy dash separated phone number</QXZ><BR>FR_SPAC 00 00 00 00 00 - <QXZ>France space separated phone number</QXZ>
|
||||
settings-agent_xfer_park_3way Agent Screen Park Xfer Button <QXZ>This option defines whether the agent screen can have a button in the Transfer Conference frame that will allow the agent to park a 3way call. Default is 0 for disabled.</QXZ>
|
||||
settings-agent_logout_link Agent Screen Logout Link Credentials <QXZ>This option controls whether the agent screen logout link will contain the agent credentials as a part of the link, or if the link will go to a blank login page. -0- will go to a blank form and -1- will go to a form that has the user credentials filled in.</QXZ>
|
||||
settings-agent_soundboards Agent Soundboards <QXZ>This option allows you to create agent soundboards that allow an agent in the user screen to click on audio files to have them play in their session. Default is 0 for disabled.</QXZ>
|
||||
settings-enable_pause_code_limits Enable Pause Code Time Limits <QXZ>This option allows you to be able to set the Time Limit field in campaign pause codes, which will change the color of the agent on the Real-Time Report if they are in that pause code for more than the defined amount of seconds. Default is 0 for disabled.</QXZ>
|
||||
settings-agentonly_callback_campaign_lock Agent Only Callback Campaign Lock <QXZ>This option defines whether AGENTONLY callbacks are locked to the campaign that the agent originally created them under. Setting this to 1 means that the agent can only dial them from the campaign they were set under, 0 means that the agent can access them no matter what campaign they are logged into. Default is 1.</QXZ>
|
||||
|
||||
Reference in New Issue
Block a user