Commit Graph
60 Commits
Author SHA1 Message Date
cigamit 27e6955060 use get_request_var when values previously filtered, limited i18n 2016-05-21 12:14:06 -05:00
cigamit 6591554201 show color and legend for HRULE/VRULE items 2016-04-19 18:24:08 -05:00
cigamit 2e236dcbdf big commit back porting features
back port the following features from main:

1) vdef support
2) new graph items
3) new graph options

this covers all the high points available in rrdtool today.

also change the following:

1) allow forms to include spacers
2) reorganize graph template form with spacers
3) many help wording back ports from main

for those testing, if you are going to start using this version, you
will have to implement the changes in the upgrade script or reinstall.
also note that this change may break new aggregates.
2016-03-09 20:43:52 -06:00
cigamit 8edbca8616 re-sequence all items during a single item move
This helps after importing modified templates and having issues with
sequencing.
2016-02-14 13:06:13 -06:00
cigamit 26053b7527 replace deprecated get_request_var_post() with get_nfilter_request_var()
replace the deprecated calls and also start developer mode injection
checking
2016-02-11 16:46:14 -06:00
cigamit 2387bd4a08 removing many $_GET, $_REQUEST, and $_POST variable usage
There are still three steps to go in this overall.  The first is to
replace all the page filtering session storing and validation functions
and the second is to propagate those changes into various areas of the
lib directory that include the use of the various variables, lastly,
developer mode will have to be enable to see if there are any variables
used in the code that have not been sanitized.  Note, at this point the
develop branch should be thought of as slightly unstable
2016-02-07 12:51:49 -06:00
cigamit 732d423659 correcting some syntax issues prior to next phase
There were just a few issue after the last set of changes.
2016-02-06 12:32:14 -06:00
Linegod 8dadf2d9a9 first pass of _POST to get_request_var_post 2016-02-06 10:44:05 -06:00
Linegod dabfabf219 replace ['action'] with set_default_action 2016-02-06 09:57:05 -06:00
cigamit da34108e21 remove use of deprecated function get_request_var_request(). replace it with get_request_var()
this is part three of project to remove the use of $_GET, $_REQUEST, and
$_POST in the code.  Parts one and two have already been completed.
Part one was to remove the use of $_GET throughout the code, part two
was the incorporation of wrapper functions to handle specific
validation, verification and sanitization cases.  This third part will
remove the use of the get_request_var_request() from the code.  Part
four, and beyond will include the removal of both $_REQUEST and $_POST
super globals from the code.
2016-01-30 15:53:08 -06:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
cigamit de95cf5226 fix some button and select behavior
When an item in native html is enabled, the jqueryui items sometimes
don't themselves become enabled.
2016-01-08 15:12:14 -06:00
cigamit 0ddea56cb0 saving graph template items broken
unable to save graph templates item due to sequence being an array.
also ajax form updating not working as expected.
2015-11-07 08:07:53 -06:00
cigamit 4fc14f929d Remove deprecated tags and remove inline styles
Removing <strong> in many areas
Moving inline styles to classes
2015-08-09 19:55:44 -05:00
cigamit e91b163e56 syncing with 0.8.8e SVN repository
syncing changes with upcoming 0.8.8e release.
2015-07-05 21:56:38 -05:00
cigamit e33f692d2c new form functions for ajax
add two new form functions to support ajax
move some double to single quotes
2015-06-15 00:14:43 -05:00
cigamit cff962f0ff Fix creation of Graph Template Items
Missing javascript function
From element in the wrong location
DataSource name was being displayed as $ds_name because of single quotes
2015-05-28 10:56:12 -05:00
cigamit c4e50ce99f correct gprint visibility
gprints should not be visible under certain circumstances
2015-05-15 22:33:28 -05:00
cigamit 6d6d2445af Fix GPRINT editing in graph templates (fields were hidden) 2015-04-23 12:58:12 -05:00
cigamit 1f6ba2f2c9 This fixes some issues with Zoom and Realtime, and removes some spurious 2015-03-01 00:11:43 -06:00
Jimmy Conner 455d855894 1) Convert double quotes to single quotes
2) Remove references to $_GET replace with $_REQUEST
3) Remove some inline styles

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7706 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-17 16:53:24 +00:00
Jimmy Conner 5bde3da972 1) Update Copyright Years Correct a few minor CY Issues
2) Allow Locking/UnLocking of Graphs
3) ToolTips
4) Correct Minor Issues with Login/Out/Permission associated with Theme JS
5) Upgrade jQuery which has Fixes for Major issue in Safari 7/8.1

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7662 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-04 01:52:50 +00:00
Jimmy Conner c2bc81f01e 1) Remove RRDtool 1.0 support
2) Consolidate Graph and XPort functions
3) Reorganize Graph function to make more modular
4) Leave XPort wrapper function for backward compatibility
5) Turn fetch cache into a static

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7639 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-30 19:56:09 +00:00
Jimmy Conner 128a59f1c7 A little bit of cleanup
Change double quotes to single quotes where possible
Move to prepared statements were possible

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7617 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-27 07:33:18 +00:00
Jeff Pasnak 30248ca232 #0002492 - Standardize mysql syntax
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7611 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-25 20:31:37 +00:00
Tony Roman c24d83694e More CSS changes and consolidation of number of display rows to one variable
- One session for table rows
- Row Dropdowns
- Form control for Graph Template / Graph Items
- CSS compatibility with existing plugins





git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7483 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-11-10 02:08:21 +00:00
Tony Roman b09354888e Addition theme fixes and javascript updates
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7482 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-11-09 23:49:23 +00:00
Tony Roman d82550439a Now with Themes!
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7480 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-11-08 19:14:29 +00:00
Andreas Braun 0a67496c07 deprecation of $colors array
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7479 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-11-05 06:03:18 +00:00
Tony Roman 65be30ffe0 Update copyright to 2014
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7437 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-03-30 19:54:50 +00:00
Tony Roman ce40281901 Update copyright to 2013 for 0.8.8
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7386 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-07-21 23:00:42 +00:00
Tony Roman a257958a0b Update copyright to 2012
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7016 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 07:04:37 +00:00
Tony Roman 9acba795fe Update copyright to 2011
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6233 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-27 03:44:05 +00:00
Reinhard Scheck 9d2a164909 -bug#0001568: Cacti currently gives a lot of warnings of deprecated functions on PHP 5.3
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6200 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-06 21:03:25 +00:00
Tony Roman 1469eb9c48 XSS fixed for attempt to insert scripting through template import
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6037 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-07-06 03:01:35 +00:00
Larry Adams db7b1e7614 QA: No more warnings due to htmlspecialchars for hrefs.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5859 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-04 14:54:49 +00:00
Larry Adams c5403f3844 QA: Update copyrights
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5806 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-28 03:48:09 +00:00
Tony Roman 26d1957d62 Update copyright to 2009
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4931 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-11 22:53:50 +00:00
Larry Adams 22f9e12ddb Update Copyright Notice for 2008.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4434 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-01-29 00:40:43 +00:00
Reinhard Scheck a0786bcd29 fixed error with alpha channel under rrdtool-1.0.x
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4328 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-11-11 14:49:32 +00:00
Reinhard Scheck 464e6800a0 bug#0001069: Add opacity/alpha channel to graph items (not available for rrdtool-1.0.x). Requires a database upgrade script
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4318 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-11-10 15:36:14 +00:00
Larry Adams d1544398a2 1) Correct page issue in graph_new
2) Add Types and Classes for specific calls to graph_image.php
3) Correct Pagination Issue for the UI

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4041 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-07-30 21:04:02 +00:00
Tony Roman e625781ec6 Typos suck and I'm glad I have a script to update copyrights
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3898 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 20:17:57 +00:00
Tony Roman 8ff975973a Proper date range needed in copyright
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3896 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 20:11:14 +00:00
Tony Roman e116f23ff7 Copyright update for php files
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3894 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 19:30:21 +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
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
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
Ian Berry 594e41be1f applied graph template item save bugfix patch (stephen@balukoff.com)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1660 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-07-09 17:33:59 +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