"show graph json" action: Print "Expires" header.
src/graph_ident.c: ident_to_json: Escape strings before adding them to the buffer.
src/utils_cgi.[ch]: Implement escape functions for JSON.
"show graph json" action: Implement action for exporting graph information as JSON.
"show graph" action: If the "q" parameter is given, only show matching instances.
"list graphs" action: Pass the search term to the "show graph" action.
src/utils_cgi.c: Change shortcut name to "C₄" (from "c⁴").
"show instance" action: Use <h2 /> rather than <h3 /> for consistency.
"show graph" action: Print a menu on the left side.
Currently only containing of "All graphs".
Currently only containing of "All graphs".
"list graph" action: Don't show any instances if no search term is given.
"show instance" action: Don't show a list of instances on the left side.
Rather show a link to the "show graph" action, titled "all instances".
Rather show a link to the "show graph" action, titled "all instances".
"list graphs" action: Link to the "show graph" action …
… if not all instances are shown.
… if not all instances are shown.
"show graph" action: Implement a page showing all instances of a graph.
share/collection.conf: Improve the "df_inodes" graph.
share/collection.conf: Improve configuration of the "swap" graph.
"show instance" action: Parse the time parameters and pass them along to the "graph" action.
src/common.[ch]: Implement "get_time_args".
src/common.c: Add missing folding markers.
"graph" action: Print the "X-Generator" header on generated graphs, too.
src/utils_cgi.c: Display the package name and version on generated pages.
share/collection.conf: Add format option to disk_octets graph.
src/graph_list.c: Make "gl_add_graph_internal" static.
All files: Add LGPL 2.1 license header.
COPYING: Add LGPL 2.1 license.
share/collection.conf: Adapt the "df_complex" config for the new drawing code.
src/graph_def.c: Manually handle stacking.
Also faded (semi-transparent) areas have been implemented.
Also faded (semi-transparent) areas have been implemented.
src/rrd_args.[ch]: Split up the "draw" part (into "areas" and "lines").
src/graph.c: graph_add_def: Add graphs in reverse order.
src/utils_array.c: Fix a segfault in "array_prepend".
src/common.[ch]: Implement "fade_color".
src/utils_array.[ch]: Implement "array_prepend{,_format}".
Various modules: Use the new "rrd_args_t" structure.
14 years agosrc/rrd_args.[ch]: Implement data structure for more powerful RRD argument construction.
src/rrd_args.[ch]: Implement data structure for more powerful RRD argument construction.
share/collection.js: Add folding markers.
share/collection.js: Implement "zoom_reference", too.
share/collection.js: Imported most of the JavaScript navigation code from collection3.
share/style.css: Fix the ":hover" pseudo-classes.
At least FireFox doesn't honor the ":hover" pseudo-class if the selector
doesn't contain a tag name.
At least FireFox doesn't honor the ":hover" pseudo-class if the selector
doesn't contain a tag name.
src/utils_cgi.c: Print a "X-Generator" message in the HTTP header.
share/collection.js: Add the navigation buttons to the graphs.
They don't work yet, though.
They don't work yet, though.
share/style.css: Make the page a bit nicer to look at.
"show instance" action: Limit displayed graphs to 10 and re-activate the "breadcrump".
share/collection.conf: Add format strings to the df_inode graph.
share/collection.js: Rename the "show_graph" action here, too.
Rename action: "show_graph" -> "show_instance".
Rename: src/action_show_graph.[ch] -> src/action_show_instance.[ch]
"show graph" action: Use the new "inst_get_all_selected" function.
src/utils_cgi.[ch]: Implement "html_print_logo".
14 years agosrc/graph_instance.[ch]: Implement "inst_ident_matches" in addition to "inst_matches_...
src/graph_instance.[ch]: Implement "inst_ident_matches" in addition to "inst_matches_ident".
src/graph_instance.[ch]: Implement "inst_get_all_selected".
src/graph.[ch]: Implement "graph_inst_find_all_matching".
src/graph_instance.c: Move "inst_get_selector_from_params" into an own function.
src/action_show_graph.c: Add missing folding marker.
src/graph.c: uri_escape -> uri_escape_copy
"show graph" action: Implement a time selector.
src/utils_cgi.[ch]: Basically a rewrite of the parameter handling functions.
"list graphs" action: Re-implement "print_host_list".
src/graph_list.[ch]: Implement "gl_foreach_host".
src/graph_ident.[ch]: Mark the inst argument to the "ident_get_*" functions as "const".
"list graphs" action: Support searching for plugin- and type-instances.
share/collection.conf: Add graphs for "fork_rate", "if_errors" and "users".
share/collection.conf: Add graph for "swap_io".
Fix missing #includes.
Merge branch 'master' of verplant.org:/var/lib/git/collection4
src/graph.c: graph_inst_search_field: Only call "inst_matches_field" if really necessary.
"show graph" action: Create exact field searches in the breadcrump.
"list graphs" action: Create exact host-search in "print_host_list".
"list graphs" action: Support searching for exact host, plugin and type names.
src/graph_instance.h: Document the behavior of "inst_matches_field".
src/graph_list.[ch]: Implement "gl_search_field".
src/graph.[ch]: Implement "graph_inst_search_field" and "graph_matches_field".
src/graph_instance.[ch]: Implement "inst_matches_field".
src/graph_ident.[ch]: Implement "ident_get_field".
share/collection.conf: Add sensors/temperature graphs.
src/graph{,_instance}.[ch]: Implement graph instances as an array in graph_config_t.
The linked-list in graph_instance_t has been removed.
The linked-list in graph_instance_t has been removed.
README: Explain "graphs" and "instances" a little.
src/action_list_graphs.c: Add heading to list of hosts.
share/collection.conf: Add interface graphs.
share/collection.js: Add a timeout to the hide() call.
Otherwise the user won't be able to click the links.
Otherwise the user won't be able to click the links.
share/collection.js: Improve the search suggestion behavior.
src/graph_list.c: Use the "graph_inst_foreach" function.
Rename the "search" parameter to "q".
src/common.c: Fix a very stupid bug in "strtolower_copy".
"list graphs" action: Limit the number of graphs and instances separately.
"show graph" action: Implement displaying _graphs_ (rather than instances).
A "breadcrump" field has been added, too.
A "breadcrump" field has been added, too.
src/graph.[ch]: Implement "graph_get_params".
src/graph.[ch]: Implement "graph_inst_foreach".
"show graph" action: Add page showing one instance of a graph.
"search json" action: Move the JSON callback method into an own action.
src/utils_cgi.[ch]: Move "html_print_search_box" to here.
share/style.css: Add some basic styles for the table layout.
"list graphs" action: Move the overall HTML structure into src/utils_cgi.c.
src/utils_cgi.c: Fix minor problems with the HTML escape functions.
src/utils_array.[ch]: Implement "array_sort".
"list graph" action: Search case-independent.
src/common.[ch]: Implement "strtolower" and "strtolower_copy".
.gitignore: Add a couple more automatically generated files.
share/collection.conf: Add "Load" graph.
share/collection.js: Add links to dynamically created instances.
Add JavaScript code for AJAX-based "real time" searching.
share/jquery-1.4.2.min.js: Downloaded "jQuery JavaScript Library v1.4.2".