Commit Graph
2532 Commits
Author SHA1 Message Date
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
cigamit e2243f62d2 feature: Make Cacti more tolerant of empty PHP_SELF on some web servers 2017-04-22 08:22:01 -05:00
Patrick 97b666f724 Update database.php
Restoring db_add_index()
2017-04-22 15:16:36 +02:00
patrick a7623d12a2 Restoring db_add_index() 2017-04-22 15:13:40 +02:00
cigamit 1cfe51dd80 Eliminate un-needed function 2017-04-22 07:17:06 -05:00
patrick ec8ce1fce0 Merge remote-tracking branch 'origin/Optimisations' into Optimisations 2017-04-22 13:09:25 +02:00
Patrick 2424f6ddb8 Merge remote-tracking branch 'upstream/develop' into Optimisations
# Conflicts:
#	host.php
2017-04-22 12:26:55 +02:00
Patrick 7386d2296b Small optimisations for poller 2017-04-22 11:18:00 +02:00
cigamit 6b8b210173 Resolving Issue #524
Reporting not working when Tree branch is device
2017-04-21 21:34:24 -05:00
patrick bad78eb1e0 Optimisations for lib/variables.php
- Multiple str_replace() calls combined to one
2017-04-22 00:12:12 +02:00
patrick 7672f93e0f Optimisations for lib/utility.php
- Fixed some alignment
- Query refactor in push_out_data_input_method()
2017-04-22 00:11:19 +02:00
patrick 02f145af22 Optimisations for lib/data_query.php 2017-04-22 00:10:02 +02:00
patrick c15edf2336 Merge remote-tracking branch 'upstream/develop' into Optimisations 2017-04-21 23:06:49 +02:00
patrick d2185c98b1 PHP7.2 changes:
- Replaced deprecated each() for foreach()
2017-04-21 22:12:55 +02:00
cigamit 70b6c25f41 Resolving Issue #590
Unable to create plugin based menu
2017-04-21 05:37:05 -05:00
cigamit 6ab73688b6 Resolving Issue #581
session_start() warnings when manually sending report.
2017-04-20 21:22:44 -05:00
cigamit 9da3867457 Resolving Issue #588
Devices with a blank sysDescr are added to the first Device Template in
error
2017-04-20 21:07:51 -05:00
cigamit a9c8d8bc07 Resolving SQL 1064 error from hmib plugin 2017-04-20 20:50:35 -05:00
cigamit 8234f3a158 Resolving Issue #584
Issues reporting memory recommendation on utilities page.
2017-04-20 18:57:31 -05:00