Commit Graph
6601 Commits
Author SHA1 Message Date
Tony Roman ce8564d16c Remove unneeded varible from rrdcleaner code 2017-04-29 08:39:04 -04: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
cigamit c7e128d8ee Resolving Issue #636
Erro when saving change to data template
2017-04-28 20:27:26 -05:00
Jimmy Conner 99b63acbc7 Merge pull request #633 from reboot1983/AuthOptimisations
Good work.
2017-04-28 20:16:53 -05:00
Jimmy Conner a64d480ff6 Merge pull request #632 from reboot1983/Optimisations
Should be a few speedups and less turns with this one.  Thanks for getting to know this code.
2017-04-28 20:07:50 -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
cigamit 7c7704cdd1 Make upgrade repeatable 2017-04-28 04:35:36 -05:00
Jimmy Conner 21d22a02ad Merge pull request #626 from reboot1983/develop
Fixed the create "graph type" list by removing graph templates already active at the host
2017-04-28 03:49:34 -05:00
patrick 80833d257f - Added new column multiple to graph_templates
- Changed the query for list for creating a Graph type
- Prepped the 1.1.6 upgrade
2017-04-27 11:16:31 +02:00
patrick ebd45d2065 Merge remote-tracking branch 'upstream/develop' into develop 2017-04-27 10:03:14 +02:00
Jimmy Conner f01a569c85 Merge pull request #627 from reboot1983/Optimisations
Looks real good.  We need to remove all the complexity when it comes to the tree though.  We should simply pass the branch id into the callback and then do the rest.  I wrote this a while ago, before I really understood exactly how jstree worked.  Now it seems overly complicated.  Permission system makes good sense, but the "tbranch_xxx" is just insane.
2017-04-26 19:52:01 -05:00
cigamit eed584a424 Missed update for 1.1.5 2017-04-26 19:31:19 -05:00
cigamit aedfbf4dba Update the update-pot.sh to not include plugins. 2017-04-26 19:04:54 -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
Patrick e9aba07f3e -issue: List for creating a Graph type shows already added Graph Templates 2017-04-26 19:53:19 +02:00
patrick e006189e07 Merge remote-tracking branch 'upstream/develop' into develop 2017-04-26 19:22:12 +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
Tony Roman 221ce0e0a4 Preping for 1.1.5 release 2017-04-25 20:24:22 -04:00
patrick 05741794dc -issue: List for creating a Graph type shows already added Graph Templates 2017-04-25 21:29:01 +02:00
cigamit 0425c56105 Resolving Issue #615 and prep for version 1.1.5 2017-04-25 07:35:57 -05:00
cigamit e38def6193 Updating the cacti.pot for i18n 2017-04-25 07:25:45 -05:00
cigamit b278d9f451 Resolving Issue #619
Export logging options in settings no longer used
2017-04-25 07:11:22 -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
Jimmy Conner 29f8d84dcc Merge pull request #618 from reboot1983/HTML_Fix
issue#592: Incorrectly formatted HTML
2017-04-25 07:02:57 -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 fbcd533300 Resolving Issue #611
Cacti Installation Wizard - Spine page incorrect on Windows
2017-04-24 21:00:31 -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 5fe1d38bc8 Resolving Issue #613
Network automation now requires a site id
2017-04-24 20:53:03 -05:00
cigamit a031853804 Resolving Issue #610
Change Graph Template action not available
2017-04-24 20:45:49 -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
Tony Roman 80215a27d0 Fix up changelog for 1.1.4 release 2017-04-23 22:17:53 -04:00
cigamit 743fb76aba Final resolution to Issue #602 2017-04-23 14:47:21 -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 d7ae73eab9 Table changes for issue #121 and #122 2017-04-23 11:42:05 -05:00
cigamit 45233a1f38 Change remove spike order to allow gap fill and range fill to work as expected. 2017-04-23 09:39:27 -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