Commit Graph
356 Commits
Author SHA1 Message Date
cigamit 4d591e523d fixin looping on console with page refresh 2016-04-02 20:02:23 -05:00
cigamit 4ca0deb5c3 correct breadcrumb issue for auth profile 2016-03-20 07:14:27 -05:00
cigamit ea80654919 more developer debug warnings 2016-03-19 20:10:07 -05:00
cigamit e8aec54319 remove developer debug warnings 2016-03-19 17:03:06 -05:00
cigamit 8f11b3c112 more removal of rra_id 2016-03-19 09:52:26 -05:00
cigamit da00540959 resolve rra_id issues in graph.php 2016-03-19 09:11:11 -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 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 39d751e2d8 remove graph settings page
this page is made obsolete due to profile management.
2016-02-21 13:30:24 -06:00
cigamit e5ae5971a1 adding more debug logging 2016-02-20 17:10:17 -06:00
cigamit bb46f9aed8 better boundary condition checking 2016-02-19 19:37:15 -06:00
cigamit 9f79d702f3 rename settings_graphs to settings_user, rename settings_graphs_group to settings_user_group
If you are running in development, you have to issue these two commands
rename table settings_graphs to settings_user;
rename table settings_graphs_group to settings_user_group
2016-02-14 14:26:48 -06:00
cigamit f2edfcbe53 update theme to a user setting 2016-02-14 10:48:34 -06:00
cigamit bf33b51819 more request variable debug
no need for developer log messages under some circumstances
2016-02-13 09:14:46 -06:00
cigamit e4ec3804fa removing $_GET, $_REQUEST, $_POST from lib
everything is done now with the exception of the timespan selector which
requires more work
2016-02-11 21:16:59 -06:00
cigamit b97862aa30 move phpmailer and correct one issue in calculating the rrdfile path for graphing
graphing was not working when not using the proxy.
move the phpmailer to align with other external libraries
2016-02-03 18:09:30 -06:00
Andreas Braun da8470ff97 Add support of Cacti's new RRDproxy Server to main 2016-02-03 00:01:28 +01:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
Sjon Hortensius 6b59311307 Use microtime(true) instead of manual explode. Also fixes a few uses of deprecated split-method 2016-01-26 09:55:19 +01:00
cigamit 6accb336c8 add some caching and performance tweaks 2016-01-11 20:10:50 -06:00
cigamit d052470e3c insure that when the page is ajax, that db sessions are updated 2015-11-23 10:46:58 -06:00
cigamit 39d1f0b2b0 if header is specifically requested, show it 2015-11-22 10:57:14 -06:00
cigamit fac3038bee Improve debug backtrace
Some debug backtraces don't include either line or file.
2015-11-14 14:36:52 -06:00
cigamit b0f42b6fdc Remove remaining deprecated align and border attributes 2015-11-09 11:54:24 -06:00
cigamit f21c822f3b correct form rendering logic
if a sub-form has the same variable name as a form, the previous value
is taken from the sub-form's session variable and not the intended input
value when returning to the main form.  This is reproducable by going to
data_input.php, editing a method, going to the sub-form, which includes
the form variable 'name'.  Upon saving and returning to the main edit
form the value of the sub-form 'name' variable is injected and not the
intended value..
2015-11-08 07:12:11 -06:00
cigamit c93a3e10e3 Fix save messages not being properly displayed
Insure quoting is consistent between Javascript and PHP.
2015-11-02 19:50:42 -06:00
cigamit ea40e9da92 fixin some issues with agent receivers
fixin some form issues with snmp agent receivers.
2015-10-13 22:01:02 -05:00
cigamit 6324b36757 fixing some sort issues
fixin some sort issues and breadcrumb issues.
2015-10-12 21:10:07 -05:00
cigamit 4547bdafc0 Resolving issues with password management
Create a 'Change Password' user option in user_auth table
Don't show 'Change Password' unless user is in Local realm and has
permission
Move $auth_realms function to a library call
Add message when a user attempts to access auth_changepassword.php
incorrectly
2015-08-08 22:28:37 -05:00
cigamit be69ef2975 Debugging some Windows issues
There appears to be some issues in latest php related to preg_match and
pattern syntax.  Writing a bit differently to see if this corrects the
problem.
2015-08-08 07:49:39 -05:00
cigamit b8812df96a Correct undefined variables issue
Missed one global in lib/functions.php
2015-08-02 20:02:31 -05:00
cigamit 0ed731cd8a Improve debug_backtrack() logic and consolidate use
Remove debug_backtrace() from a few areas and consolidate into a single
call.  Improve backtrace logging to include HTML output as an option.
2015-08-02 14:15:52 -05:00
cigamit 4b11861226 Beef up validation logging
Make html validation logging similar to SQL logging.
2015-08-02 14:02:32 -05:00
cigamit b6d2f150d0 Minor tweak to navigation handling 2015-07-28 07:06:27 -05:00
cigamit 4351256e1a Missing strip alpha merge from 0.8.8f
Strip alpha function was not updated per the 0.8.8f release.
2015-07-27 17:29:35 -05:00
cigamit 598ad205a0 Fix graph action validation to allow spaces like "Tree View" 2015-07-20 09:53:29 -05:00
cigamit 6a452e7959 Bug #0002594
Correcting Bug #0002594
2015-07-12 15:46:50 -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 764a1c4301 after saving graph settings drop session and global variables
after you save a variable, drop the session files so that when you clear
filter settings, the saved settings are reloaded.
2015-06-17 05:51:28 -05:00
cigamit 8497e08904 allow users to save their graph settings
allow users to save their graph settings without leaving the page.
2015-06-16 20:34:54 -05:00
Tony Roman de61c854f6 bug#0002571: SQL Injection and Location header injection from cdef id CVE-2015-4342 2015-06-08 11:53:03 -04:00
cigamit d26bc03225 update Verbose Query output
adding additional timing and visibility settings for Verbose Queries at
the host level. moving some javascript around in order to group script
data.
2015-05-18 21:11:03 -05:00
cigamit f49357c71b HTML5 Support
changes to support html5
2015-05-15 22:29:42 -05:00
cigamit 58e47af645 Another fix in strip_quotes function 2015-04-06 23:42:40 -05:00
cigamit c0722a27ba Automation Merge 2 of Now 3
- Merge Discovery sans scanning and schedules
- Correct issue with html_header 'display' tag
- Allow move up/down to work without a group_by
- Minor changes to Autom8 merge

Next merge to include:
- Network Definitions
- Backend Poller
- Additional automation_devices.php logic
2015-04-04 19:38:27 -05:00
cigamit 43548da562 Remove BGColor
Removing all but a few bgcolor instances
2015-04-03 20:12:38 -05:00
cigamit 68967112d7 Misc Change
Wrong direction on a sign in the log function.
2015-04-03 18:49:43 -05:00
cigamit 1340f5c31d Automation Merge 1 of 2
- Merging automation Phase I which only includes the Autom8 plugin.
Phase II will included an enhanced discovery plugin.
- Also reworked the cacti_log function to specify a level in order to
streamline code
- Converted poller functions to still include Poller[xx], but all others
will not
- More conversion of double to single quotes
2015-04-03 18:27:54 -05:00
cigamit b06b678bd0 Bug#0002513
- Remove cacti log for validation
- Add password confirm feature to show matching passwords
2015-03-29 19:01:32 -05:00
cigamit af781328ab Merging Aggregate Plugin
This commit will merge the Aggregate plugin into mainline.  ToDo, remove
old Aggregate plugin registration for those who have installed it
previously, and testing of upgrade process.
2015-03-28 17:02:36 -05:00