Commit Graph
43 Commits
Author SHA1 Message Date
Larry Adams cff56e9111 additional MySQL 5.x compatibility changes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3267 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-10-31 01:07:13 +00:00
Larry Adams 2bbb6120f7 changes for mysql 5.x support
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3215 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-10-09 21:20:19 +00:00
Larry Adams 8c76565505 changes for mysql 5.x support
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3211 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-10-08 22:25:24 +00:00
Tony Roman 81f671d8d0 SECURITY: Hardened PHP Project Advisory #022005 - Cacti Multiple SQL Injection Vulnerabilities
SECURITY: Hardened PHP Project Advisory #032005 - Cacti Remote Command Execution Vulnerability


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3001 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-06-26 00:17:16 +00:00
Tony Roman 3ad741f4fe Bug#0000450: Fix a minimal bug for view all data queries index during a new graph
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2852 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-05-27 01:08:56 +00:00
Ian Berry dcaf10186c add GET variable input validation for unquoted SQL values (IDEF#1001)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2833 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-05-25 02:55:11 +00:00
Larry Adams beb07e15a6 Graph Template FIX
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2520 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-12-22 15:17:14 +00:00
Larry Adams a51d72a44b Solution for Bug#0000356
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2287 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-11-21 08:15:32 +00:00
Ian Berry 6f18fb5e09 use ob_end_clean() and ob_end_flush() to support php 4.1
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@2103 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-09-24 01:06:50 +00:00
Ian Berry 5950edacf7 possible 'graph already exists' detection bug
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1895 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-08-07 02:59:22 +00:00
Ian Berry 302cb50b07 small bug fix in the 'Graph Templates' box (thanks to ricardo@memosis.pt)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1856 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-07-28 04:41:45 +00:00
Ian Berry 82120a5319 impliment 'index_order_type' to specify a default sort type data query results (bug#0000125)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1661 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-07-09 23:25:34 +00:00
Ian Berry 74894f9135 move lib/form.php to lib/html*
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1602 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-22 04:12:08 +00:00
Ian Berry 3067a7756f adding auto-detect code for data query index types
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1568 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-08 18:35:33 +00:00
Ian Berry 13e9f55caf snmp -> data query name cleanup
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1562 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-07 01:08:10 +00:00
Ian Berry 943cf8c200 correct 'check all' to not be 'invert all' across the board (bug#0000124)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1560 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-07 00:24:58 +00:00
Ian Berry 156dadf679 change new graph from graph template wording
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1556 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-05-25 05:48:03 +00:00
Ian Berry 2ef57f9387 fix problem with the 'maximum javascript rows' setting
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1550 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-04-23 03:05:17 +00:00
Ian Berry 94541e6b28 store data query indexes as hashes internally as to prevent html/http transport issues
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1500 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-02-01 05:45:27 +00:00
Ian Berry c5d2ed75cc pass value by ref is deprecated
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1475 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-20 03:06:06 +00:00
Ian Berry 9014054837 updated the copyright to 2004
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1469 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-19 06:05:14 +00:00
Ian Berry bd42816b35 fixed undefined variable errors when dealing with broken data queries
renamed the 'host template' box to 'graph templates'
display the host template name in the upper-right hand corner of the screen


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1463 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-19 05:49:52 +00:00
Ian Berry 172fb6e928 make sure to declare gt_created_graphs so host template javascript stuff works
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1461 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-13 07:05:59 +00:00
Ian Berry 061f2c3289 fixed a problem with data source fields in the suggested values array
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1456 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-11 05:12:55 +00:00
Ian Berry dcb0e58cb6 add draw_nontemplated_fields_* functions and impliment them
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1449 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-11 01:50:42 +00:00
Ian Berry 133006b04e when displaying a data source item, display which data source item we are talking about (bug#94)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1438 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-05 03:42:59 +00:00
Ian Berry 3ba36b028e support 'Maximum JavaScript Rows' for host templates
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1422 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-12-17 21:17:00 +00:00
Ian Berry b6bd75f615 updating to point to new includes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1419 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-12-17 06:07:16 +00:00
Ian Berry 046f88a997 fixed problem with data template suggested values; users can now update a host's associated graph templates just like data queries
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1412 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-12-16 03:03:14 +00:00
Ian Berry 8baf0388c5 fix problems overwriting the host_id variable before 'sess_graphs_new_host_id' has been set
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1399 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-26 05:03:40 +00:00
Ian Berry 4df7afca34 when selecting a host template checkbox, make sure to highlight the row in yellow (bug#103)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1394 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-21 00:00:09 +00:00
Ian Berry 8e92d9b572 add 'Data Queries - Maximum JavaScript Rows' option for devices with lots of ports/data query rows
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1380 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-17 00:41:16 +00:00
Ian Berry 884e0cff4a fix problem with overlapping data query input field names
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1359 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-09 20:01:06 +00:00
Ian Berry 6ec1154a5a make sure 'check all' box always appears on the right; add better information for data queries that return 0 rows
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1355 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-08 22:33:05 +00:00
Ian Berry abbe6d1521 make the asterisks a differenct color
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1345 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-07 00:32:35 +00:00
Ian Berry 1bdd2cf8be only display the host templates box if the host is associated with a host template
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1316 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-02 06:41:38 +00:00
Ian Berry 2ab9719726 cache the current host_id in a session variable
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1304 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-28 05:20:10 +00:00
Ian Berry b74138fcea re-add suggested values support
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1291 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-26 02:22:28 +00:00
Ian Berry 035378e560 fix field display for graph item inputs
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1289 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-24 04:25:24 +00:00
Ian Berry 7ee8006f5f cleaned up the xml parser to stop creating new keys where not necessary
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1285 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-24 02:20:42 +00:00
Ian Berry b15d4670b9 modularize data template -> graph save code into create_complete_graph_from_template()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1266 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-14 04:37:02 +00:00
Ian Berry 99b09f8dcb moved new graph save code from host.php; cleaned up UI
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1256 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-10 03:51:09 +00:00
Ian Berry d78dc224e9 replace the management_ip field with hostname; move all graph generic code to the new 'create graphs' page
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1249 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-09 07:06:28 +00:00