Commit Graph
67 Commits
Author SHA1 Message Date
Jimmy Conner c97f2b133d Merge pull request #578 from reboot1983/PHP7.2_compatibility_fixes
Great work!
2017-04-18 07:51:18 -05:00
Patrick 623611cd16 PHP7.2 changes:
- Replaced deprecated each() for foreach()
- Removed unnecessary reset() calls used for resetting pointers of an array before iterating by a foreach() loop
2017-04-18 14:40:29 +02:00
cigamit 55a74571a6 Resolving some minor issues
issue: ping email does not use from email address
issue: automation does not used default site or poller
feature: reorganize device defaults
2017-04-17 17:09:10 -05:00
patrick cc1cc7eab2 PHP7.2 changes:
- Replaced deprecated each() for foreach()
- Removed reset() calls used for each() loops
2017-04-15 18:00:13 +02:00
cigamit 9e0829f194 Resolving Issue #534
Automation issues with 'AS' clause using keyword
2017-04-07 17:16:53 -05:00
patrick b4332685de Small changes for unnecessary lines
- unnecessary sizeof($field_names)
- double query execution
2017-04-06 18:04:17 +02:00
cigamit 6095c252b8 Resolving Issue #520
SQL Error in Graph/Tree Automation
2017-04-05 21:16:20 -05:00
cigamit 570466c2b6 Resolving Issue #499
SQL Error in Graph Automation resulting in no Graphs on Tree
2017-03-31 07:54:15 -05:00
cigamit 0dd6054f3d Resolving Issue #424
Automation does not discover devices w/o resolvable hostnames
2017-03-18 17:18:46 -05:00
cigamit c72e2c2a1f Resolving Issue #401
Graphs -> Apply Automation Rules not working
2017-03-11 11:03:06 -06:00
cigamit 2144a68433 Resolving issue #368 2017-03-04 12:08:04 -06:00
cigamit d97cf60db6 Correct error in Discovery not adding devices 2017-02-24 23:33:29 -06:00
cigamit a8db22cde1 PHP NOTICE: Undefined variable: data 2017-01-14 22:30:01 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit 48616f976f Resolving https://github.com/Cacti/cacti/issues/85
Also, change logging from Host[] to Device[] per the standard.
2016-12-19 18:20:21 -06:00
cigamit 8f304f744c Add selection of Poller to Automation Device add
Also fix defaults for api_device_save since we start at id = 1 instead
of 0
2016-10-04 01:17:16 -05:00
cigamit 4c51f1b28d Better fix for html validation for columns
Still fails
2016-10-03 23:15:10 -05:00
cigamit 46b7ebbd08 Fix numbering issue with graph matching rules 2016-10-03 22:49:54 -05:00
cigamit a4d4f21d03 More html validation fixes for automate graph rules 2016-10-03 22:03:04 -05:00
cigamit 0fa48b39d9 Better error checking for dns queries 2016-10-03 10:41:06 -05:00
cigamit e603a96995 Automation functions expect host/graph id instead of array 2016-10-03 03:06:46 -05:00
cigamit 845275ac71 correct issues with automation on non data query graphs 2016-09-10 11:51:50 -05:00
cigamit 491d585cd3 resolve automation devices errors 2016-08-30 18:19:40 -05:00
cigamit 68307de5f3 fixing spurious warning 2016-08-28 23:13:03 -05:00
cigamit b523f1dea5 remove addslashes, prepared statements, wc3 validation, double to single quote
this is required for preparation of magic_quotes_gpc.
2016-08-28 15:27:48 -05:00
cigamit ce4f00acc9 rolling out new filter_value() function to all pages
additionally fixed several minor filtering bugs in many pages
2016-08-22 13:31:06 -05:00
cigamit 85f67930a8 resolving bug#2716 2016-08-20 12:17:07 -05:00
cigamit 1429ee85eb resolving bug#2296 2016-08-18 20:12:41 -05:00
cigamit e08d2e2f53 automation now using snmp sessions and supporting engine id 2016-08-17 21:10:12 -05:00
cigamit 763590f9eb make drag and drop and option 2016-07-16 21:26:39 -05:00
cigamit eb0a1601c1 i18n on lib directory, double to single quotes 2016-05-30 19:49:54 -05:00
Micke2k 3041980a0e Automation Tree rules not working
This fixes the SQL errors.
2016-05-14 13:15:11 +04:00
cigamit c399664082 rows selector consistency 2016-04-27 12:41:02 -05:00
Micke2k 3afa87a484 Attempt at fixing duplication for automation trees regexp objects.
when duplicating a tree rule, the regexp [search pattern, replace_pattern}] strings throws:

 PHP Warning:  mysql_real_escape_string(): Access denied for user 'apache'@'localhost' (u                  sing password: NO) in /var/www/html/commitcommit4868/lib/api_automation.php on line 1465, referer: http://192.168.206.136/cacti/automation_tree_rules.php

Changed to use the same validation as we use when we save them in the first place.
2016-04-20 00:44:50 +04:00
Micke2k 22dbba9c6d fix for automatic device add
automation_networks= Added add_to_cacti so you can save it in the database

api_automation = fixed some names being wrong
2016-04-06 19:47:47 +04:00
cigamit d0343f6a11 resolving issues with automation graph rule navigation 2016-03-23 09:32:31 -05:00
cigamit fbfc426318 double to single quotes and prepared statements 2016-03-20 10:48:49 -05:00
cigamit 370c870fca remove rra_id from tree item save function 2016-03-19 09:24:52 -05:00
cigamit c60f540686 allow devices to be added to Cacti from Discovered Devices page
pretty big changes to make the discovered devices code layout to conform
to cacti standard.  there are new columns that have to be added to
automation_devices table.
2016-02-21 13:09:18 -06:00
cigamit 63b6d4d6b4 improve logging
improve logging and remove unneeded includes
2016-02-19 19:38:26 -06:00
cigamit 9e4ba06acd minor wording change 2016-02-19 00:40:57 -06:00
cigamit 4814b2c2b6 very minor issue with tree automation 2016-02-17 18:21:34 -06:00
cigamit 1f88ce5ac5 minor rule editing debug 2016-02-16 21:16:13 -06:00
cigamit 6639cef5cb significant improvement in automation
devices should be created and graph automation rules executed with this
change.  still need to validate tree rule creation.  the scope include
initial device creation, and any network scanning.
2016-02-16 20:44:28 -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 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
cigamit 2122d0ae0d correct error from undefined variable 2016-01-29 22:17:05 -06:00
cigamit ea697cdc63 correct issue with undefined variable 2016-01-29 22:07:46 -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