Commit Graph
73 Commits
Author SHA1 Message Date
cigamit e9ed260732 Prototype of removal of the use of $_REQUEST and $_POST variables
This commit includes the conversion of one Cacti page to the new
validation paradigm.  It includes the use of the following functions:

set_default_action() - set's the default page action if one is not set
isset_request_var() - check if a request var is set
isempty_request_var() - checks to see if a request var is set and empty
get_request_var_post() - get a post variable, but don't sanitize
get_sanitize_request_var() - get the request var and optionally
validate/sanitize it.  Store result into Cacti global array.
validate_store_request_vars() - validate/sanitize a group of request
variables based upon an input array.  Store all the validated/sanitized
variables into a Cacti global array.

The last function collapses quite a bit of Cacti validation code into a
single call which should simplify page creation without having to
implement templates.
2016-01-30 16:08:12 -06:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
cigamit db54ce75ad Typo in session assignment 2015-09-19 16:11:48 -05:00
cigamit 253b34c591 Remove <strong> tags where prudent 2015-09-07 21:30:04 -05:00
cigamit 82e36ab7d8 Fix undefined variables in aggregate_graphs.php 2015-08-13 15:47:56 -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 614ab70ad2 More inline style removal 2015-08-07 19:53:35 -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 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 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
Linegod e539e37ca9 standardize SQL 2015-05-31 22:57:29 -06: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 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 2d1ddcc311 Remove egeg* and Various Fixup
- Remove all references to ereg*
- Add filteredValue class where applicable
- Remove some XSS issues
2015-04-03 20:35:30 -05:00
cigamit ea50211217 Update Deprecated jQuery Calls to 2.x Engine
- Many attributes are set using prop now.
- Initialize checkboxes on Aggregate Templates
2015-04-03 19:51:09 -05:00
cigamit ebb2d5eb30 Normalize Default Rows
Insure all row counters use sess_default_rows session variable for
consistency.
2015-03-30 18:06:47 -05:00
cigamit c19c04e5dc Miscellaneous Cleanup for Aggregate
- Double to Single Quote
- Callbacks for Filtering
- Remove deprecated functions
2015-03-29 15:59:08 -05:00
cigamit 7a0ab210d4 Aggregate Graph Filter Callbacks
Convert Aggregate Filters to Callbacks.
2015-03-29 15:06:02 -05:00
cigamit 2aea8e8134 Various Cleanup
Various cleanup of colors array, last missing aggregate commit.
2015-03-29 13:50:18 -05:00
cigamit 426fe76f82 Missed Aggregate Graphs
Missed merge of aggregate_graphs.php
2015-03-29 10:55:34 -05:00