Commit Graph
224 Commits
Author SHA1 Message Date
cigamit cff1d7fdc4 backport several rrd utility functions from svn main and provide data source debug info 2016-03-28 19:47:47 -05:00
cigamit 1b5c532705 remove developer debug message in data sources 2016-03-19 17:05:58 -05:00
cigamit c976b18142 host 'None' was not functional 2016-03-19 16:29:23 -05:00
cigamit 39bbb23ac5 implement data source profiles
this commit will cause your 1.0 environment to break.  to fix, please
run the script 'profile_migrate.php'.  this commit includes a major new
feature to allow your Cacti system to have multiple polling intervals
and for you to create identical graphs using multiple polling intervals
in a sane way.  this is an initial commit, one that has been tested.
however, there will be subsequent commits.  however, after migration,
this should be considered stable.
2016-03-14 06:59:54 -05:00
cigamit bb4be3c4f6 two minor filtering changes 2016-02-16 07:02:50 -06:00
cigamit c8b700abea fixin multiple issues
change includes moving constant definition to global, changing
pagination presentation, correcting  function name in graphs_new.php
2016-02-15 08:04:32 -06:00
cigamit 544a4ecc15 use more filter functions 2016-02-14 14:49:22 -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 a3875aea8a completion of removal of $_REQUEST, $_GET, $_POST in base directory
the lib directory still must be updated.
2016-02-07 18:20:55 -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
Linegod aeb6ae7174 correct isset_request_var 2016-02-06 11:24:45 -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 6648e433be Multiple Fixups
1) Move more image tags to font-awesome
2) Fix Classic graph tree page
3) Add class for form item name and descriptions
4) Fix some table rendering to be consistent
5) Fix some form save actions
6) Add new Cacti SVG logo
7) Correct Classic login page
8) Hide form descriptions on when using dark theme
9) Only show up and down move arrows when appropriate
2015-09-19 16:20:11 -05:00
cigamit 253b34c591 Remove <strong> tags where prudent 2015-09-07 21:30:04 -05:00
cigamit 3d3e715ac3 Resolve issues with drop_callback in two pages
Resolve issue with drop_callback for Graphs and Data Sources
Allow multiple drop_callback calls on a page.
2015-08-10 21:05:20 -05: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 68727a02e7 More inline style cleanup
Removing additional inline styles
2015-08-02 21:12:55 -05:00
cigamit d84b5d2975 More inline style removal
Remove inline styles around most embedded image tags.
2015-08-02 14:52:10 -05:00
cigamit c6b7666f8b Remove several inline styles and non html5 compatible attributes
Remove several inlines styles and replace with css
Remove several non-HTML5 attributes
Correct title/alt on image objects
2015-08-02 08:18:15 -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 4e4dd6784a improve the processing of selected_items
improve the processing of selected_items to guard against sql injections
2015-06-17 07:05:53 -05:00
cigamit c62d5d0094 fixin syntax error in data sources
syntax error caused a javascript error
2015-06-16 09:16:10 -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 1cdb8dab9a Major confirmation form standardization and QA phase III
HTML5 requires sane forms.  Let's make all forms sane then.
2015-05-30 21:49:03 -05:00
cigamit d4b5c8d300 Major confirmation form standardization and QA phase II
Add table form action ajax
Fix alignment in reporting
Add jQuery form manipulation in reporting
2015-05-30 15:32:23 -05:00
cigamit 017ca55c4e Major confirmation form standardization and QA phase 1
Major confirmation form standardization and QA Phase 1
New loadPageNoHeader function
Convert subTabs to use Ajax Load
Remove more inline styles
2015-05-30 12:03:05 -05:00
cigamit 71a1c6675d normalize the use of checkboxes and fix device autocomplete behavior
remove the use of the get_checkbox_style and move to CSS.  also, fix the
behavior of the device automcomplete when using ajax page navigation
using the modern theme.
2015-05-17 20:06:50 -05:00
cigamit f49357c71b HTML5 Support
changes to support html5
2015-05-15 22:29:42 -05:00
cigamit 78bc7f9545 session and filter control changes
- rename clear_x to clear
- add check_changed() function to pages missing it
- rename some session variables
2015-04-24 22:30:26 -05:00
cigamit cfe5301af6 Remove XSS Injection Points
Removing some better known injection points in the code.
2015-04-03 21:17:51 -05:00
cigamit abdc1e3d55 Merging 0.8.8d Updates with GitHub
Changes include:
- Convert some <br> to </li>
- Update ChangeLog per 0.8.8d release
- Fix Max Values on UCD/SNMP Memory Template
- Change Cacti Group Format to Modern Theme
- Fix Locking on Graphs
- Force Image format to PNG for Legacy Graph Image
- Correct form Logic on Settings to Fix Reverse Proxy's
- Shorten Uptime Display on Device Edit
- Force a Locale Setting for i18n on Graphs
- Fix Resizable Columns to resize only the current column
- Add DropIcon selectmenu Widget to modern theme
- Fix Issue where delete data source multi leaves orphan records
- Correct performance bug in Boost engine
- Optimize array_to_sql_or performance
- Correct and issue where pushing out data query objects to host cache
could leave orphan elements
- Add OID_REWRITE_PATTERN Feature on input
- Add VALUE/REGEXP Feature on output
- Optimize strip_quotes function to be more intellegent
- Escape shell arguments on Script Data Input types
- Allow Special Characters for LDAP passwords
- Correct LDAP class defect for anonymous binding
- Bypass php-snmp for now
- Correct rrdcleaner bytes units
- Fix loadavg_multi.pl to respect i18n
- Remove legacy row counters from snmpagent pages
2015-03-23 17:02:45 -05: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 aead1c8f3f 1) CLog again
2) Correct some plugin issues related to snmpagent
3) Update modern jQueryUI CSS and images (again)
4) Add autocomplete for device in a few areas add new form object for generic callback
5) Give filter and form objects the jQueryUI styling in modern
6) Convert the Tree edit code to an API
7) Minor CSS changes

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7651 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-03 04:20:32 +00:00
Andreas Braun e17be171cc merge SNMPAgent to main. notification receivers not complete so far
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7650 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-02 16:21:54 +00:00
Jimmy Conner 4d353f3ac1 1) More removal of colons
2) Add Filter Icon to Filters
3) It's not a Host, it's a Device

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7645 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-01 01:23:29 +00:00
Jimmy Conner cc50b39a7f 1) Remove 'Default' everywhere
2) Remove colons at the end of filter names

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7644 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-01 00:27:19 +00:00
Jimmy Conner bc9ed344e9 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@7623 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-28 22:12:57 +00:00
Jeff Pasnak 8f0ef46460 #0002493: Single quotes where possible - base
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7622 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-28 21:50:20 +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
Jimmy Conner fdf134da74 1) Enhance the Right pane to present 'Logout | Change Password' as a drop-down.
2) Minor changes to filter HTML to remove width attributes where they were not required
3) Don't focus on the filter in mobile browsers, it's evil
4) Previous and Next << and >> are now in CSS (TO-DO: Need to update classic CSS though to make more visible)


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7592 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 01:30:08 +00:00
Andreas Braun c420519083 feature: All sorting done using Ajax
feature: Support column alignment
feature: Provide visual indicator of sort status
feature: Prevent deletion of Cacti objects in use
feature: Provide 'in use' for Templates
bugfix: avoid software loop in CDEF definition

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7566 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-15 17:08:35 +00:00
Jimmy Conner 7d46790ca8 Feature: Make Suggest Naming more consistent
Feature: Add State Filter for Pugins Page
Feature: All Filters Handled in Ajax

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7544 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-07 00:34:16 +00:00
Andreas Braun d21fe43748 - use ajax for filtering and page operations.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7541 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-04 06:20:10 +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