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".
Add a CSS file.
src/action_list_graphs.c: Properly escape HTML.
src/utils_cgi.[ch]: Implement more variants of "html_escape".
src/utils_cgi.[ch]: Implement "html_escape".
Rename: src/utils_params.[ch] → src/utils_cgi.[ch]
src/action_list_graphs.c: Implement a limit of instances returned.
src/graph_config.c: Use the correct config file …
… rather than a hard-coded default.
… rather than a hard-coded default.
Build system: Install the config file.
src/action_list_graphs.c: Add a simple search box.
Merge branch 'search'
Conflicts:
src/graph_def.c
src/graph_ident.h
src/graph_instance.h
Conflicts:
src/graph_def.c
src/graph_ident.h
src/graph_instance.h
src/action_graph.c: Remove debugging output.
src/utils_params.c: Actually, "gmtime_r" is required according to RFC 1123.
src/action_graph.c: Send an "Expires" header.
src/utils_params.c: Use "gmtime_r" rather than "localtime_r" …
… to work around an Apache or FastCGI bug.
… to work around an Apache or FastCGI bug.
src/utils_params.c: Fix some compiler warnings.
src/graph_def.c: Fix an annoying "error" message.
The message was printed for valid fields, too, due to "TypeInstance" being
handled elsewhere.
The message was printed for valid fields, too, due to "TypeInstance" being
handled elsewhere.
src/action_graph.c: Send a "Last-Modified" header.
src/utils_params.[ch]: Implement "time_to_rfc1123".
src/graph_{ident,instance}.[ch]: Implement getting the mtime from instances.
src/utils_params.[ch]: Implement and use "script_name()".
action "graph": Implement handling of arbitrary begin/end times.
Autotoolization.
oconfig.c: Fix compiler warning.
collection.conf: Add "ShowZero" options to some graphs.
First attempt at a search infrastructure.
graph.c: Implement the "ShowZero" config option.
graph_def.c: Make default number format easier to read.
collection.conf: Configure the "memory" graph.
graph_def.c: Implement the "Format" config option.
graph.[ch]: Implement "graph_get_rrdargs".
collection.conf: Add some more graphs.
action "list_graphs": Fix indentation.
graph_instance.[ch]: Implement "inst_describe".
Add example configuration file.
Fix compiler warnings.
graph.[ch]: Remove the "gl_" prefix.
graph_list.c: Removed unused stuff.