bkruse: branch asterisknow r1286 - in /branches/asterisknow: ./ config/ confi...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Wed Aug 1 15:42:58 CDT 2007


Author: bkruse
Date: Wed Aug  1 15:42:58 2007
New Revision: 1286

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1286
Log:
Merged revisions 1285 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-gui/trunk

........
r1285 | bkruse | 2007-08-01 15:40:06 -0500 (Wed, 01 Aug 2007) | 1 line

[1] Support for a CDR Viewer (bbryant) (cdr.html) [2] Adding CDR Configuration Page (currently commented out inside cfgbasic.html, because of some errors) [3] Updated todo.txt for a revision string inside the gui context idea (pari) [4] Added some tooltips for the CDR viewer page [5] Added a couple php like functions into astman.js (bbryant) which are very useful
........

Added:
    branches/asterisknow/config/cdr.html
      - copied unchanged from r1285, trunk/config/cdr.html
    branches/asterisknow/config/cdr_conf.html
      - copied unchanged from r1285, trunk/config/cdr_conf.html
    branches/asterisknow/scripts/mastercsvexists
      - copied unchanged from r1285, trunk/scripts/mastercsvexists
Modified:
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/cfgbasic.html
    branches/asterisknow/config/scripts/astman.js
    branches/asterisknow/config/scripts/tooltip.js
    branches/asterisknow/todo.txt

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Aug  1 15:42:58 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1267,1279
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-1267,1279,1285

Modified: branches/asterisknow/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/cfgbasic.html?view=diff&rev=1286&r1=1285&r2=1286
==============================================================================
--- branches/asterisknow/config/cfgbasic.html (original)
+++ branches/asterisknow/config/cfgbasic.html Wed Aug  1 15:42:58 2007
@@ -176,6 +176,8 @@
 	newpanel( ["Graphs", "graphs.html", "View Graphs of your System Information."]);
 	newpanel( ["System Info", "sysinfo.html", "System Information."]);
 	newpanel( ["Asterisk Logs", "syslog.html", "Asterisk Log messages."]);
+	// newpanel( ["CDR Configuration", "cdr_conf.html", "CDR Engine Configuration."]); // Uncomment when cdr_conf.html is finished, there are still some errors. 
+	newpanel( ["CDR Reader", "cdr.html", "Read all your call records from Asterisk."]);
 	newpanel( ["File Editor", "feditor.html", "Edit Asterisk Config Files"]);
 	newpanel( ["Asterisk CLI", "cli.html", "Asterisk Command Line Interface"]);
 	newpanel( ["GUI Access", "http_options.html", "GUI Access settings."]);

Modified: branches/asterisknow/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/scripts/astman.js?view=diff&rev=1286&r1=1285&r2=1286
==============================================================================
--- branches/asterisknow/config/scripts/astman.js (original)
+++ branches/asterisknow/config/scripts/astman.js Wed Aug  1 15:42:58 2007
@@ -42,6 +42,38 @@
 var TIMERULES_CATEGORY = 'timebasedrules';
 var isIE = false;
 if(document.attachEvent){ isIE= true; }
+
+/* Some useful functions */
+function isset(obj) {
+	if (typeof obj != "object")
+		return (typeof obj != "undefined");
+	for (var i in obj)
+		return true;
+	return false;
+}
+
+function trim(str) {
+	return str.replace(/^[\s]+/, "").replace(/[\s]+$/, "");
+}
+
+Array.prototype.contains = function(str) {
+	for (var i in this)
+		if(str == this[i])
+			return true;
+	return false;
+}
+
+function ast_true(str) {
+	return [
+		"yes", "true", "y", "t", "1", "on"
+	].contains(trim(str.toLowerCase()));
+}
+
+function ast_false(str) {
+	return [
+		"no", "false", "n", "f", "0", "off"
+	].contains(trim(str.toLowerCase()));
+}
 
 var ASTGUI = { // the idea is to eventually move all the global variables and functions into this one object so that the global name space is not as cluttered as it is now.
 	dialog : {

Modified: branches/asterisknow/config/scripts/tooltip.js
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/scripts/tooltip.js?view=diff&rev=1286&r1=1285&r2=1286
==============================================================================
--- branches/asterisknow/config/scripts/tooltip.js (original)
+++ branches/asterisknow/config/scripts/tooltip.js Wed Aug  1 15:42:58 2007
@@ -318,3 +318,9 @@
 	tooltips['http_options'].en[0] = "" ;
 	tooltips['http_options'].en[1] = "<B>Bind IP:</B> GUI will be available only on this IP address, if not sure please enter the LAN IP address. If you want the GUI to be available on all interfaces - enter 0.0.0.0" ;
 	tooltips['http_options'].en[2] = "<B>Port:</B> Please enter the port number on which you want to access the GUI." ;
+
+
+// 	Tooltips for the CDR reader page.
+	tooltips['cdr'] = new Object;
+	tooltips['cdr'].en = new Array;
+	tooltips['cdr'].en[0] = "<B>View:</B> Select how many call detail records to read at once.." ;

Modified: branches/asterisknow/todo.txt
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/todo.txt?view=diff&rev=1286&r1=1285&r2=1286
==============================================================================
--- branches/asterisknow/todo.txt (original)
+++ branches/asterisknow/todo.txt Wed Aug  1 15:42:58 2007
@@ -15,7 +15,7 @@
 
 * Call Forwarding
 
-* CDR support
+* CDR Configuration page from patch http://bugs.digium.com/view.php?id=10306 (bbryant)
 
 * Label/Tag/Name Analog Channels for presentation in GUI
 
@@ -46,6 +46,8 @@
 
 * Ability to download config backup files and restore them via file uploads
 
+* Add the GUI version string inside extensions.conf, so the setup wizard can decide if it needs to update the guitools context.
+
 Completed
 ----------
 * Operator Extension
@@ -65,3 +67,5 @@
 * Agent logout Extension
 
 * To fix call parking, give it an option to allow if the user wants people to be able to access the parking lot per numberplan
+
+* CDR support (Reader) (Thanks bbryant)




More information about the asterisk-gui-commits mailing list