Commit Graph
239 Commits
Author SHA1 Message Date
cigamit f9eb5f26ac Use less session variables
The jstree state plugin will reload the state.  This is one of two
commits to allow deep linking of URL again in Cacti.  Right now deep
linking on the tree is not functioning.  Change root tree icon to tree
icon.
2016-11-22 18:46:21 -06:00
cigamit 998adafc6c correcting issues with invalid offsets 2016-09-21 12:20:13 -05:00
cigamit 860f3825ce resolving https://github.com/Cacti/cacti/issues/61 2016-09-02 13:21:18 -05:00
cigamit d4746fa218 resolving bug#2749 2016-08-28 19:41:26 -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 d739e90793 resolving bug#2135 2016-08-26 08:27:01 -05:00
cigamit 36126aae54 adjust focus on multiselect automatically 2016-08-26 07:26:54 -05:00
cigamit 3b3a4663f0 use promise object and other techniques to hide multiselect display issues 2016-08-25 17:02:20 -05:00
cigamit 4b7bb48af4 add graph template multi-select to graph viewing 2016-08-25 14:20:41 -05:00
cigamit 85bc20f9c3 minor change affecting expand devices 2016-07-12 23:06:25 -05:00
cigamit 54d97035a2 large commit, separate table pager from tables
this change impacts all plugins and css.  css changes are included in
this commit.  plugin changes will be forthcoming.
2016-07-09 12:44:37 -05:00
cigamit 3b67af6c65 resolving Bug#0002486: API hook into the html_tree.php for JQuery/Javascript support in Plugins 2016-06-12 14:53:28 -05:00
cigamit eb0a1601c1 i18n on lib directory, double to single quotes 2016-05-30 19:49:54 -05:00
cigamit 4a4b2b8640 finish spikekill merge 2016-05-14 12:21:38 -05:00
cigamit 1cf29d1760 developer debug warning 2016-05-13 13:13:59 -05:00
cigamit c7ceb6b56f handle tooltips a bit differently 2016-04-22 21:52:51 -05:00
cigamit 12d5de1068 when changing a tree insure page re-renders correctly 2016-04-08 16:46:15 -05:00
Micke2k c836b5032d minor fix for notice error message in log
PHP Warning:  Illegal string offset 'id' in lib/html_tree.php on line 397, referer: http:///cacti/graph_view.php
2016-04-06 20:32:13 +04:00
cigamit b0607bbd92 fix thumbnail saving for graph viewing 2016-04-02 00:42:07 -05:00
cigamit ea80654919 more developer debug warnings 2016-03-19 20:10:07 -05:00
cigamit e8aec54319 remove developer debug warnings 2016-03-19 17:03:06 -05:00
cigamit b4bc2c2fdc fixin some graph issues
no more tree_content history
dont double render graphs
2016-03-19 15:08:41 -05:00
cigamit 2153b6402b make the timespan selector mandatory 2016-03-19 14:07:44 -05:00
cigamit 406aafb9f9 fixin issues with many realtime graphs active 2016-03-19 12:16:13 -05:00
cigamit 2bed2e979d one missed commit from tree search feature 2016-03-09 20:37:32 -06:00
cigamit 691ac27c18 implement realtime height through css
also fix the directory location to match settings.  was in the plugin
folder.
2016-02-20 13:19:07 -06:00
Micke2k ba15ec57a2 Fix page jumping when using Realtime
When activating Realtime on a graph, the page jumps up due only having one <tr> as opposed to the graph filters which has two.

Increased the height to be the same as two <tr>.

Now when pressing Realtime nothing on the page moves, creates a smoother user experience.
2016-02-20 18:59:38 +04:00
cigamit 506dbae9c7 correct tree ordering
improve sort ordering of trees, support inheritance between tree levels,
don't refresh the entire tree when making small changes.
2016-02-19 00:44:55 -06:00
cigamit f1577c544e correct behavior of drop_tree() function call
parent to indent was not working as expected.
2016-02-17 07:21:48 -06:00
cigamit 9f79d702f3 rename settings_graphs to settings_user, rename settings_graphs_group to settings_user_group
If you are running in development, you have to issue these two commands
rename table settings_graphs to settings_user;
rename table settings_graphs_group to settings_user_group
2016-02-14 14:26:48 -06:00
cigamit 2e2e51d408 restore saving of tree state 2016-02-13 16:55:16 -06:00
cigamit d1297800fe large cleanup of graph_view.php page
before this change, the graph_view.php page was very difficult to
follow.  the page flow is now much more readable.
2016-02-13 09:19:07 -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
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
Tony Roman 8124234480 Merge pull request #6 from micke2k/features/phpwarning
db_fetch_cell() returns a single integer, hence $tree is not an array…
2016-01-28 20:50:41 -05:00
Micke2k 85ec5fa67d db_fetch_cell() returns a single integer, hence $tree is not an array. This generates warnings.
Fix for:
PHP Warning:  Illegal string offset 'id' in /var/www/html/cacti/lib/html_tree.php on line 314, referer: http://cacti/graph_view.php
2016-01-29 03:59:08 +04:00
Sjon Hortensius 6b59311307 Use microtime(true) instead of manual explode. Also fixes a few uses of deprecated split-method 2016-01-26 09:55:19 +01:00
cigamit 1d53cabfa5 show the correct number of columns in tree mode
When columns are > 5 issues present themselves
2015-11-21 15:43:31 -06:00
cigamit efe5fa9422 add more columns
now that autoscale is functional, add more columns.
2015-11-21 14:50:40 -06:00
cigamit 38c1346ad4 remove buttons from date pickers 2015-11-21 13:51:17 -06:00
cigamit b0fca34083 Minor changes with Timespan and Timeshift rendering
Allow both the opening and closing of the calendars with a click, add
mouseovers, fix one issue with forward vs backward, and reverting
callback behavior for device filter.
2015-11-10 08:06:58 -06:00
cigamit 10b424e7d4 Remove legacy calendaring
Removing legacy calendaring and using jQueryUI calendaring instead.
2015-11-09 15:56:12 -06:00
cigamit 07e302dab1 Convert graph preview into a library
Convert the graph preview page and all the general graph rendering
related Javascript into a global set of functions for use in various
plugins.
2015-07-19 09:55:21 -05:00
cigamit 75e5bd11d8 Improve Tree Overflow
Improve Tree overflow behavior.
2015-07-17 18:07:14 -05:00
cigamit 42af0ab6bd Fixing Bug #0002592
Fixing Bug #0002592
2015-07-12 17:42:51 -05:00
cigamit af45688c06 Properly scroll to the top of the graphs page
Before this change, activating a tree node would not take you to the top
of the page.
2015-07-12 14:20:22 -05:00
cigamit 10a3980b1b Use fixed layout for header and navigation
Make the cacti Head, Breadcrumbs and Content into <div> instead of
<table>.  Fix in position for a more natural navigation.
2015-07-12 12:47:35 -05:00
cigamit 47afc562c1 better timeshift image alignment
center the timeshift image on the page better
2015-06-17 05:46:50 -05:00
cigamit 8497e08904 allow users to save their graph settings
allow users to save their graph settings without leaving the page.
2015-06-16 20:34:54 -05:00