Added Dialer Inventory Report options for excluding lists and ranking shifts display order

Added User Group multi-selection option to the real-time report
Added HTML bar chart display options to most of the reports
Removed password logging from admin scripts failed login attempts
Made webroot-writable system setting function the same on all admin scripts
Fixed list lastcalldate for manual dial calls

git-svn-id: svn://192.168.202.10@1789 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2012-02-24 21:43:54 +00:00
parent 7f498daeac
commit 19014858db
71 changed files with 6933 additions and 1357 deletions
@@ -1,7 +1,7 @@
<?php
# closer-fronter_popup2.php
#
# Copyright (C) 2009 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
# Copyright (C) 2012 Matt Florell <vicidial@gmail.com> LICENSE: AGPLv2
#
# this is the closer popup of a specific call that starts recording the call and allows you to go and fetch info on that caller in the local CRM system.
# CHANGES
@@ -9,6 +9,7 @@
# 60620-1025 - Added variable filtering to eliminate SQL injection attack threat
# 61201-1114 - Added lead_id and user to recording_log entry
# 90508-0644 - Changed to PHP long tags
# 120223-2124 - Removed logging of good login passwords if webroot writable is enabled
#
require("dbconnect.php");
@@ -148,13 +149,13 @@ $browser = getenv("HTTP_USER_AGENT");
{
$office_no=strtoupper($user);
$password=strtoupper($pass);
$stmt="SELECT full_name from vicidial_users where user='$user' and pass='$pass'";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$LOGfullname=$row[0];
$fullname = $row[0];
fwrite ($fp, "VD_CLOSER|GOOD|$date|$user|$pass|$ip|$browser|$LOGfullname|\n");
$stmt="SELECT full_name from vicidial_users where user='$user' and pass='$pass'";
if ($DB) {echo "$stmt\n";}
$rslt=mysql_query($stmt, $link);
$row=mysql_fetch_row($rslt);
$LOGfullname=$row[0];
$fullname = $row[0];
fwrite ($fp, "VD_CLOSER|GOOD|$date|$user|XXXX|$ip|$browser|$LOGfullname|\n");
fclose($fp);
if ( (strlen($customer_zap_channel)>2) and ( (eregi('zap',$customer_zap_channel)) or (eregi('iax',$customer_zap_channel)) ) )
@@ -175,7 +176,7 @@ $browser = getenv("HTTP_USER_AGENT");
}
else
{
fwrite ($fp, "VD_CLOSER|FAIL|$date|$user|$pass|$ip|$browser|\n");
fwrite ($fp, "VD_CLOSER|FAIL|$date|$user|XXXX|$ip|$browser|\n");
fclose($fp);
}
}