Commit Graph
2550 Commits
Author SHA1 Message Date
cigamit 0204a2b0bd issue: FILTER_VALIDATE_MAC not defined on PHP less than 5.5
Causes cmd.php to throw errors.  Additionally, changing braketing style
for else, and elseif.
2017-05-05 06:19:01 -05:00
cigamit 7e966b98cb Create new function to gather color hex values 2017-05-04 19:10:04 -05:00
cigamit 753efac0f6 Correcting small SQL error in lib/auth.php 2017-05-04 19:02:45 -05:00
cigamit ea6c78ccfa Add prototype responsive filter class
This is not functional or tested yet.
2017-05-03 21:14:27 -05:00
cigamit 9b572d48bd Add the submit form object to form api 2017-05-03 21:14:27 -05:00
cigamit 58e0fb19a2 Add ability to prune the order string based upon a column 2017-05-03 21:14:27 -05:00
Tony Roman 27045ea52d Fixup install process to streamline releases
- Added and moved code to CACTI_VERSION constant
 - Merged cacti versions and hash codes array to have one place to add versions
 - Moved cacti version to file to facitate automation needs
 - Cleaned up cli database upgrade script
2017-05-01 08:58:29 -04:00
cigamit a31cc9d8b5 Fix SQL errors in gexport due to auth API errors 2017-05-01 07:14:47 -05:00
cigamit a00c967b2c wc3 Validation fixes
This is ajust about everything.  Deprecated removed.  There are still
some warnings that are unresolved due to the movement to div based
forms, but they are soft warnings.
2017-04-30 21:01:10 -05:00
cigamit 2a2cdfd799 remove use of font tag from aggregates 2017-04-30 19:55:58 -05:00
cigamit 49a31b8105 Small wc3 validation error in checkbox function 2017-04-30 19:55:36 -05:00
cigamit a6eb1c735e wc3 Validation on select files 2017-04-30 19:28:09 -05:00
cigamit 6fff84f201 Remove manual aria controls from pages 2017-04-30 18:04:29 -05:00
cigamit 37eee62618 Deprecate padding for div based start boxes 2017-04-30 14:16:18 -05:00
cigamit ff125d01cb Update all pages to include div based forms
This requires a CSS change which is going to be committed next and
separately to call out the changes required there.
2017-04-30 13:15:58 -05:00
cigamit d9c99bdf69 Rework the html_start_box() and html_end_box() to optionally be 100% div based
This is a requirement for a responsive UI.
2017-04-30 13:12:07 -05:00
cigamit 494eb5bf60 More responsive work
1) Make forms responsive.  Work on mobile
2) Add a new header option to not hide specific columns
3) Resize textareas and text during resize to match window size
4) Change the responsive viewport media size for going responve
5) Make classic more responvie
6) Hide tabs fully in responive mode: todo: Generalized Elipsis
2017-04-29 16:06:10 -05:00
cigamit 6742c52b37 Modifying html.php function in preparation for responsive forms 2017-04-29 12:17:02 -05:00
cigamit 235f080dbf Resolving Issue #637
When displaying tree graphs, use the same layout as preview mode
2017-04-28 20:53:44 -05:00
Jimmy Conner 99b63acbc7 Merge pull request #633 from reboot1983/AuthOptimisations
Good work.
2017-04-28 20:16:53 -05:00
patrick f98e6541b5 Reverting changes because $user is required. 2017-04-29 00:31:28 +02:00
patrick 1ca2ec43bf Removed unnecessary lines en applied some small optimisation and layout changes 2017-04-28 22:43:02 +02:00
Patrick b154c3e89e Optimisations for tree view
lib/auth.php:
- is_device_allowed()
  - removed unused parameter $user
- get_allowed_tree_level()
  - removed unused parameter $user
- get_allowed_tree_content()
  - removed unused paramters $sql_where, $order_by, $limit, $total_rows and $user
  - refactored the code to apply for these unused parameters
- get_allowed_tree_header_graphs()
  - removed unused parameters $order_by, $limit, $total_rows and $user
  - refactored the code to apply for these unused parameters
- get_allowed_trees()
  - removed unused parameters $edit, $sql_where, $limit, $total_rows and $user
  - refactored the code to apply for these unused parameters

lib/functions.php:
- removed get_graph_tree_array() because it's unused after refactor

lib/html_tree.php
- draw_dhtml_tree_level():
  - removed unused parameter $graphing
  - removed unused global $config
- create_dhtml_tree()
  - removed unused global $config
  - refactored get_graph_tree_array() to alias: get_allowed_trees()

auth_profile.php:
  - refactored get_graph_tree_array(true) to alias: get_allowed_trees(true)
2017-04-28 18:16:46 +02:00
Patrick bda405dc35 Optimisations for lib/utility.php 2017-04-28 17:00:56 +02:00
Patrick 336888ebf2 Optimisations for lib/data_query.php 2017-04-28 16:47:04 +02:00
patrick 3ad253dfdf Merge remote-tracking branch 'upstream/develop' into Optimisations 2017-04-28 15:22:26 +02:00
cigamit ab746b0e38 Add new field for graph templates to form actions
Increase the minimum import level for new templates, insure that new
templates imported with this column are saved properly, include
duplicate graph functionality, change field to a char(2)
2017-04-28 04:45:13 -05:00
patrick ff520ea4f4 Merge remote-tracking branch 'origin/Optimisations' into Optimisations 2017-04-26 23:24:55 +02:00
Patrick 048436387b Small optimisations for threeview
html_tree.php
- get_formatted_data_query_indexes() only needs to be called if $data_query['id'] > 0
2017-04-26 21:37:43 +02:00
Patrick 48f41a5e6c Small optimisations for threeview
auth.php:
- defined tablenames for fields
2017-04-26 21:23:01 +02:00
Patrick e27a1b65da Small optimisations for threeview
- fixed several alignment issues

api_tree.php
- api_tree_rename_node() Removed 3 unused methodcalls
- api_tree_item_save() removed unused query
- api_tree_get_branch_ordering() defined fields in query

auth.php:
- defined tablenames for fields

html_tree.php
- draw_dhtml_tree_level_graphing()
  - removed unused parameter
  - moved get_allowed_graphs() call out of the foreach()

graph_view.php
- simplified the $matched queries
- typo in "update_timepsan" => "update_timespan"
2017-04-26 21:19:26 +02:00
cigamit e1f010f241 Resolving Issue #622
Can not connec to MySQL over a socket
2017-04-26 06:03:07 -05:00
cigamit a2a2c92273 Resolving Issue #620
The table poller_data_template_field_mappings can get out of syn when
manipulating data templates.
2017-04-26 05:54:14 -05:00
cigamit 12886d2ae3 Resolving Issue #607
Allow duplicate menu pages supporting either action or id.  Remember to
reload your javascript Ctrl+F5 or F5 depending on your browser.
2017-04-25 07:08:05 -05:00
Patrick 11d801cbfa HTML Fix:
-issue#592: Incorrectly formatted HTML
2017-04-25 09:51:22 +02:00
cigamit 3aed07c624 Resolving Issue #607
Allow draw_menu to speiciy multiple actions for same url
2017-04-24 21:25:38 -05:00
cigamit dbcf514fb2 Resolving Issue #612
Uncaught Error: Call to a member function row() on a string.
2017-04-24 20:56:56 -05:00
cigamit 49e83d7fa1 Resolving Issued #580, #606, #608, #609
- Data collection warnings when using cmd.php
- Replace <path_php_binary> in data input methods
- Spaces adjacent to double quotes are eliminated durate data input
method import
- Horor the column setting in graph tree view mode
2017-04-24 20:40:05 -05:00
cigamit 7a805af8d7 Fix SQL statement for automation device detection 2017-04-23 13:27:40 -05:00
cigamit c67608f7f4 Fixing two Aggregate issues
1) Sequencing was broken on non-templated Aggregates causing totals not
to function
2) Skip/Total Selectors for Aggregates not functional when creating
Non-Templated Aggregates
2017-04-23 13:09:03 -05:00
cigamit 53c91d7173 Resolving Issue #604
Don't show the regex errors when validating.
2017-04-23 08:18:16 -05:00
cigamit ff4922ca1b Resolving additional Aggregate corner cases
Also removing arrays enclosed in curly braces.
2017-04-23 07:59:20 -05:00
cigamit d19ec074df Resolve issue with device automation.
Moving the code block from host.php into lib/api_automation.php and then
calling the same function for the device automation during network
scanning.
2017-04-23 07:58:03 -05:00
cigamit b28f44a9d9 Add escaping to filter values prior to request.
Handles the sepecial case of a pound sign causing issues.
2017-04-23 07:35:01 -05:00
cigamit 7ecafd34e8 Resolving Issue #601
Correcting some translation issues.
2017-04-23 06:21:46 -05:00
cigamit b48954fd05 Resolving Issue #601
Correcting some translation issues.
2017-04-23 06:20:15 -05:00
cigamit a1d16695e7 Resolving Issue #602
Discovery broken after last update.
2017-04-23 05:50:38 -05:00
cigamit b2d949f6f9 Resolving issue with Aggregate graphs
Additionally reformatting some array enclosures
2017-04-22 14:25:31 -05:00
cigamit a76b93691e Fix JavaScript errors when managing Aggreage Graphs 2017-04-22 13:06:10 -05:00
Jimmy Conner 6c689b5f95 Merge pull request #597 from reboot1983/Optimisations
Optimisations
2017-04-22 08:58:16 -05:00