Commit Graph
45 Commits
Author SHA1 Message Date
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
cigamit 0d4cb2885a Fix some automation GUI issues
Fixing a few automation display issues and resulting SQL errors.
2015-08-02 20:41:25 -05:00
cigamit 5f9d3f44ab Cover autom8 match syntax changes
Cover the SQL syntax changes in automation upgrade to prevent SQL
errors.
2015-08-02 20:03:17 -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 1cc122f9c8 Fix 2 SQL errors in automation scanning 2015-07-06 10:37:04 -05:00
Linegod e539e37ca9 standardize SQL 2015-05-31 22:57:29 -06: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 8e6c200dc5 More automation fixes/enhancements
Add logging option to snmp queries
Make netbios and optional field
Allow ongoing scans to be canceled
Report progress better
Allow --force to work
Finish enable/disable support
2015-05-29 13:39:26 -05:00
cigamit f276e3c2f2 Automation fixes / features
Fix various PHP errors
Add options for 20 and 50 threads
(Bumping it to 100 threads finishes a /24 in 8 seconds, but can cause
MySQL connection issues, it does work without error though)
2015-05-27 19:53:01 -05:00
cigamit 420ad375aa More automation fixes
Thanks to the threading, these were a bit harder to track down
2015-05-27 17:50:04 -05:00
cigamit c72608dcb8 Some fixes to automation scanning 2015-05-27 16:04:42 -05:00
cigamit 4f199b47ff allow discovery to query netbios names
Add a scanning function to scan for windows hosts
2015-05-26 18:43:36 -05:00
cigamit 97dd0375a6 rather large automation commit
large automation commit.  table changes and upgrade process will be
committed separately
2015-05-17 20:17:09 -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 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