* pandoradb.sql, pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed the default value for
zero/null date "0000-00-00 00:00:00" to "01-01-1970 00:00:00".
* include/functions_graph.php,include/db/postgresql.php,
include/functions_modules.php, include/functions_agents.php,
operation/agentes/alerts_status.php,
operation/agentes/estado_generalagente.php,
operation/agentes/estado_agente.php, operation/agentes/exportdata.php,
operation/agentes/ver_agente.php, operation/servers/view_server.php,
operation/gis_maps/ajax.php, godmode/db/db_sanity.php,
godmode/agentes/agent_template.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/configurar_agente.php, godmode/servers/plugin.php,
godmode/snmpconsole/snmp_alert.php: small fixeds for the support the
PostgreSQL engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php: back to previous version of Juan Manuel, because
he update old version of trunk.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php: added parameter to choose if show all xaxis
marks or not.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php,
include/graphs/functions_pchart.php: some fixes, and set font size equal
for all text in graphs. And starte the change to vertical bar the graph
for string module.
* include/functions_reporting.php: added to take the font and size.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fonts/unicode.ttf: renamed form code.ttf.
* include/fonts/smallfont.ttf: added new smaller font.
* include/functions_config.php, godmode/setup/setup_visuals.php: now you
can set the size of font for the graphs.
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php: changed source code to set the size of font
in the graphs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/fgraph.php, operation/agentes/stat_win.php: fixed duplicate
functions, and start to support custom font in Pandora connector.
* index.php: fixed when include again the extension file.
* include/functions_html.php: fixed when include this file in other
location to index.
* godmode/reporting/graph_builder.preview.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/logo_vertical_water.png: added water mark for the graphs.
* godmode/db/db_info.php: cleaned source code style.
* include/graphs/pChart/pDraw.class.php: re-added lost line for the
rotation label value.
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/functions_fsgraph.php, include/graphs/fgraph.php: added the
source code to show warter mark.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/fgraph.php,
operation/agentes/graphs.php, operation/agentes/stat_win.php: added the
new engine.
* include/graphs/functions_pchart.php: fixed the default value for some
graph data confs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, godmode/reporting/graph_builder.preview.php:
fixes for the new graph engine.
* operation/agentes/estado_monitores.php: added a toggle button to show the
the entire value or sub string for value (by default).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php, operation/agentes/estado_generalagente.php: some
fixes and changes in the new graph engine.
* operation/agentes/stat_win.php: fixed the tittle of popup window.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added the parameter $homeurl in some
functions and in others rename from $homedir.
* include/graphs/functions_pchart.php: setted the default values in some
vars. And replaced the calls to new engine graph.
* include/graphs/fgraph.php: added the parameter $homeurl.
* include/functions_reporting.php: fixed in 'simple_graph' the
$content['id_agent_module'].
* include/functions_custom_graphs.php,
operation/reporting/reporting_xml.php,
godmode/admin_access_logs.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added function "graph_custom_sql_graph2".
* include/graphs/fgraph.php: added as $homedir parameter in some functions.
* include/functions_reporting.php: changed to new engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, godmode/db/db_info.php,
godmode/db/db_purge.php: added functions "grafico_db_agentes_purge2",
"grafico_db_agentes_paquetes2", "graph_db_agentes_modulos2", and changed
in the code for this functions.
* include/graphs/functions_pchart.php: in function "pch_bar_graph" fixed
when pass a empty array as color.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4211 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_pchart.php
include/graphs/fgraph.php
include/functions_reporting.php
include/pchart_graph.php
include/fgraph.php: Change the slicebar graph
made by Javi to make it more generic and to
use the new pChart library. This graph has been
included into the graphs abstraction too
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added constants for some graphs. Added
function "graphic_agentaccess2" and function "graph_event_module2".
* include/graphs/functions_pchart.php: added checked previous $color and
$legend to avoid PHP warnings, added some code to calculate the bottom
margin.
* include/graphs/fgraph.php: at the moment in this file call
"fs_3d_pie_chart2" instead "fs_3d_pie_chart". Erased the color and legend in
the piegraph.
* operation/agentes/estado_generalagente.php: use new graphics functions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added call to paint the other graphs.
* include/graphs/functions_pchart.php: added stack area graph, and fixed
typo in the call to line graph.
* include/graphs/functions_fsgraph.php: added line graph and area graph.
* include/graphs/fgraph.php: added function "stacked_area_graph" and
"line_graph".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/fgraph.php: changed the img tag to autoclose.
* include/graphs/functions_fsgraph.php: changed the border to default 1, and
fixed the show legend.
* include/functions_graph.php: cleaned source code style. And the function
"graphic_combined_module2" added the show timestamp as human, add the
min, max, avg values.
* include/graphs/functions_pchart.php: changed the show leyend in the top
of graph, and added some comments lines for debug.
* include/functions_reporting.php, include/functions_custom_graphs.php,
godmode/reporting/graph_builder.preview.php: changed the graph to show with
new engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: wip in the function
"graphic_combined_module2".
* include/graphs/functions_fsgraph.php: fixed when "fs_area_graph" when
send a graph without the colours or and legend.
* include/graphs/fgraph.php: erased lost session instructions in the
function "area_graph".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_fsgraph.php, include/functions_graph.php,
include/graphs/functions_utils.php, include/fgraph.php: cleaned source code
style.
* include/functions_graph.php: added first version of function
"graphic_combined_module2".
* include/graphs/functions_pchart.php: fixed when pass a empty array as
colour for graphs.
* include/graphs/pChart/pDraw.class.php: fixed to set a color border when
the graphs haven't a external defined colour.
* include/graphs/fgraph.php: changed for pass the data to static image graph
generator.
* operation/agentes/graphs.php: changed to use the new graph engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, operation/agentes/stat_win.php: changes for
to show with new engine.
* include/graphs/functions_pchart.php,
include/graphs/pChart/pData.class.php,
include/graphs/pChart/pDraw.class.php,
include/graphs/functions_fsgraph.php,
include/graphs/fgraph.php: part of job is Sergio Martin in my laptop, the
changes to show borders in the static image graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_fsgraph.php: add
to support and wip with new graph engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/*, include/graphs/fgraph.php:
added first version of common graph libraries with Integria and Babel.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f