Commit Graph

2888 Commits

Author SHA1 Message Date
zarzuelo 718aaa5508 2011-06-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_pchart.php
	include/graphs/functions_gd.php
	include/graphs/fgraph.php
	include/graphs/functions_utils.php
	include/functions_reporting.php
	include/functions_visual_map.php
	include/ajax/visual_console_builder.ajax.php
	include/config_process.php
	include/include_graph_dependencies.php
	operation/agentes/stat_win.php
	operation/reporting/reporting_xml.php: Fixed missed parameters
	in sparse graph functions.
	Fixed graph includes and bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-13 11:12:32 +00:00
Ramon Novoa 19fea4a864 2011-06-10 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added support for
	  configuration change events (enterprise).
	
	* operation/events/events_list.php: Improved event grouping.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 12:38:59 +00:00
javilanz e881b7b674 2011-06-10 Javier Lanz <javier.lanz@artica.es>
* include/graphs/functions_fsgraph.php: Updated a deprecated function
	call
	* include/functions_reporting.php: ixed a mistake using the wrong
	variable to print pie graph
	* godmode/agentes/module_manager_editor_prediction.php: Removed a
	html_debug_print call


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 10:55:20 +00:00
juanmanuelr 42bf4f324d 2011-06-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: New field "tags" in 
	"tevento" table for Oracle, Postgresql and migration script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 10:38:16 +00:00
juanmanuelr 41e6b7ffd4 2011-06-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php: Graph's dependencies now are included
	by calling a new file with require_once sentence in order to avoid 
	duplicate function declaration problem.
	* include/include_graph_dependencies.php: All graph's dependencies
	in this file. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-10 10:19:04 +00:00
juanmanuelr c2bf93a079 2011-06-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_tags.php
	operation/agentes/estado_monitores.php: Tooltip with module tag
	information in this view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-09 16:21:29 +00:00
juanmanuelr 9daa27c4c6 2011-06-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php: Changed tag assigment
	interface inside module editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-09 15:35:34 +00:00
juanmanuelr 126b0616bb 2011-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php: Added tag information in this 
	view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 17:25:00 +00:00
juanmanuelr 5af8479b74 2011-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/tag/edit_tag.php: Comma characters are erased 
	during tag creation/update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 15:15:25 +00:00
Ramon Novoa ffd88206e6 2011-06-08 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Added support for event tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 14:14:32 +00:00
juanmanuelr 39828a68c4 2011-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php
	include/functions_tags.php: Support for policy's tag functionality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 14:11:12 +00:00
juanmanuelr 3a73b47476 2011-06-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/massive/massive_edit_modules.php: Tags editor inside massive 
	operations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 08:49:34 +00:00
javilanz 862cc8198d 2011-06-07 Javier Lanz <javier.lanz@artica.es>
* operation/events/events_list.php: Added rawurlencode and io_safe_input
	where they were necessary


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-07 16:37:51 +00:00
jsatoh d6b145170f 2011-06-07 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/datos_agente.php: Improved filter. It allows
	to select 'Specify time range' and search string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-07 02:30:48 +00:00
juanmanuelr f27ddd9e5e 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/ver_agente.php: Added callback function
	for JQuery requests.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4411 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 16:22:30 +00:00
juanmanuelr f0d7ba1a15 2011-06-06 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/menu.php: Changed old name functions to 4.0v.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 14:15:03 +00:00
darode be580cd25e 2011-06-06 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/servers/manage_recontask.php: User with flag AW can manage recon
	task, only for their group.
	* godmode/servers/modificar_server.php: User with AW flag can view server
	status but only Pandora Admin can delete one of them.
	* godmode/servers/manage_recontask_form.php: User with flag AW can manage recon
	task, but only for their group.
	* godmode/menu.php: Allowing user with flag AW see manage server tab and 
	manage recon task subtab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 14:00:48 +00:00
juanmanuelr 8a5132fa8b 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_tags.php: Fixed problem on
	update tag function. 
	* godmode/tag/tag.php
	* godmode/tag/edit_tag.php: Added tab that links to 
	tag list view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 13:58:34 +00:00
juanmanuelr 7e1795ca4a 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php: Some mofications over update_tag
	function.
	* include/functions_alerts.php: Added new function 
	alerts_get_alerts_module_name() to retrieve alerts of a module
	in html select tag format.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 12:04:14 +00:00
juanmanuelr c4a067a340 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_tags.php: Added new parameters to function 
	tags_search_tag().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 11:42:50 +00:00
juanmanuelr c755e03c55 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/alert_list.ajax.php: Added new callback function 
	for jQuery requests. 
	* godmode/menu.php: Added alert events entry. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 11:16:48 +00:00
juanmanuelr e9a68f3b1b 2011-06-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_tags.php: Some modifications in update tag 
function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-03 13:33:01 +00:00
javilanz a51b7517fe 2011-06-03 Javier Lanz <javier.lanz@artica.es>
* godmode/agentes/module_manager_editor_prediction.php: Edited to get
	"custom_integer_2" parameter & Added period combo 
	* godmode/agentes/module_manager_editor.php: Edited to get
	"custom_integer_2" parameter


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-03 13:16:35 +00:00
Ramon Novoa b92617e056 2011-06-01 Ramon Novoa <rnovoa@artica.es>
* include/auth/mysql.php: Do not allow empty passwords when
	  authenticating against an LDAP server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4396 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-01 10:51:53 +00:00
javilanz e096e30c67 2011-06-01 Javier Lanz <javier.lanz@artica.es>
* include/functions_graph.php: Fixed a deprecated function call
	* include/functions_reporting.php: Fixed a deprecated function call and
	removed some connection error messages
	* include/functions.php: Disabled agents/modules report type when
	metaconsole is active
	* operation/agentes/ver_agente.php: Removed some connection error messages
	* godmode/reporting/reporting_builder.list_items.php: Removed some
	connection error messages
	* godmode/reporting/reporting_builder.php: Added getting server name for
	sql reports & custom graph in metaconsole
	* godmode/reporting/reporting_builder.item_editor.php: Added Server
	combo box, custom graph for metaconsole & removed some connection error
	messages


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-01 10:28:10 +00:00
javilanz cf1e4703af 2011-05-30 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Edited "render_report_html" function
	to work with metaconsole printing metaconsole elements
	* include/javascript/pandora.js: Modified autocomplete javascript to use
	with metaconsole
	* include/ajax/reporting.ajax.php: Edited to work with metaconsole
	* include/ajax/agent.php: Edited autocomplete to work with metaconsole
	* operation/agentes/ver_agente.php: Modified to get the agent's modules
	using metacofacensole
	* godmode/reporting/reporting_builder.list_items.php: Edited to display
	agents & modules in metaconsole. Edited top filters to work with
	metaconsole
	* godmode/reporting/reporting_builder.php: Added getting parameter
	server_name & fixed deleting items
	* godmode/reporting/reporting_builder.item_editor.php: Edited to send
	the host when metaconsole is active


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 17:04:34 +00:00
juanmanuelr 80fbad1709 2011-05-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* install.php: Fixed typo mistake in this file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 14:40:17 +00:00
juanmanuelr e855608a3c 2011-05-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* ChangeLog: forgot to update Changelog.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 11:11:18 +00:00
juanmanuelr 86c82310a8 * extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added column "unit"
to "tagente_modulo" table.  

	* include/functions_modules.php
	include/functions_tags.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/tag/tag.php
	godmode/tag/edit_tag.php: Now it's possible to add tags
	to modules.  



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 11:09:14 +00:00
juanmanuelr 3a423acbdd 2011-05-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/module_manager_editor.php: Added prefix "modules_"
	to function get_agentmodule_name().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 08:09:22 +00:00
jsatoh 633985d6cb 2011-05-30 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/datos_agente.php: Replaced format_data with
	modules_format_data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 04:00:23 +00:00
vgilc 463b3fa595 2011-05-26 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/module_manager_editor.php: Removed unit var.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4385 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-26 15:43:21 +00:00
javilanz b392c3207b 2011-05-06 Javier Lanz <javier.lanz@artica.es>
* ChangeLog: forgot to commit this file


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4384 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-26 11:38:04 +00:00
juanmanuelr c87a3dd689 2011-05-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/menu.css: Added new background image on css 
	tag entry.
	* include/functions_tags.php: Added new function code for tag 
	functionality.
	* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added new tables "ttag",
	"ttag_module", "ttag_policy_module" and "ttag_event".
	* godmode/tag: Added new path.
	* godmode/menu.php
	godmode/tag/tag.php
	godmode/tag/edit_tag.php: Tag editor for events correlation engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-26 10:51:17 +00:00
zarzuelo ff3ef7adf9 2011-05-25 Sergio Martin <sergio.martin@artica.es>
* images/policies_error_db.png: Added new image to policies
	pending update only db



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-25 15:34:42 +00:00
vgilc 298fd6d5be 2011-05-25 Vanessa Gil <vanessa.gil@artica.es>
* godmode/setup/setup_auth.php
	include/functions_config.php: Removed user and password from LDAP setup.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-25 10:10:40 +00:00
vgilc eae12b8e9b 2011-05-25 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/module_manager_editor_common.php
	include/graphs/fgraph.php
	include/graphs/functions_fsgraph.php
	include/functions_graph.php
	include/functions_modules.php
	pandoradb.oracle.sql
	pandoradb.postgreSQL.sql
	pandoradb.sql: Added units to modules and graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-25 09:57:05 +00:00
mdtrooper 1e3661884e 2011-05-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: erased lost trace in source code.
	
	* include/functions_db.php: in function "db_pandora_audit" added the check
	the exists the id_user.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4379 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-25 07:51:17 +00:00
mdtrooper 27392b5d64 2011-05-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-23 13:54:24 +00:00
zarzuelo 72b00c526e 2011-05-23 Sergio Martin <sergio.martin@artica.es>
* images/cog_db.png
	images/cross_undo.png
	godmode/agentes/module_manager_editor.php: Added two new images to
	queue and added check when relink a module into policy avoiding it 
	when te policy is applying



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-23 13:17:37 +00:00
zarzuelo 15e449cdc4 2011-05-23 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/module_manager_editor_common.php: Added hidden field
	in module edition form to keep the type when is disabled



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-23 13:01:56 +00:00
juanmanuelr 5bc819eaeb 2011-05-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* general/header.php: Added close tag in the autorefresh html link.

	Fixes: #3305092



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-23 11:14:24 +00:00
javilanz 2d73a374af 2011-05-20 Javier Lanz <javier.lanz@artica.es>
* pandoradb.postgreSQL.sql, pandoradb.oracle.sql, pandoradb.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'server_name' column
	to treport_content, treport_content_sla_combined and treport_content_item


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-20 11:44:35 +00:00
juanmanuelr eeec94d61e 2011-05-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/oracle.php
	include/functions_agents.php
	include/functions_db.php
	include/functions_alerts.php
	pandoradb.oracle.sql
	pandoradb.data.oracle.sql
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/configure_alert_template.php
	godmode/snmpconsole/snmp_alert.php
	godmode/users/configure_user.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.php: Several corrections 
	over Console code for Oracle support. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-20 10:47:42 +00:00
vgilc 385b33b605 2011-05-19 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/alerts_status.php 
	include/functions_agents.php: Fixed filter Status in Alert Detail and pagination.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-19 08:51:49 +00:00
mdtrooper 84ff993022 2011-05-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: changed the source code to fixed the
	enterprise call in function "agents_get_agents".

	* operation/agentes/estado_agente.php: apply the change to the call
	"agents_get_agents".
	
	Fixes: #3303426



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-18 13:02:44 +00:00
juanmanuelr be51309f1c 2011-05-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	operation/events/events.php: Changed the way to include flash
	graph include. 
	* pandoradb.oracle.sql: Changed datatype on max_value field of 
	talert_templates table.
	* pandoradb.data.oracle.sql: Fixes errors in Oracle installation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-18 10:25:03 +00:00
juanmanuelr 228648f5e1 2011-05-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events.php: Added functions_graph.php include in this
	file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-18 10:01:51 +00:00
vgilc 26481b61da 2011-05-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_agents.php: Fixed filter Group in Alert Detail.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-18 09:40:21 +00:00
juanmanuelr 194478e887 2011-05-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/graphs/fgraph.php
	include/config_process.php
	include/functions_agents.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_agente.php: Several corrections 
	over sql queries for Oracle DBMS.
	* godmode/db/db_info.php: Added include to 
	functions_fsgraph.php



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-17 15:59:40 +00:00
juanmanuelr 8116e4b51e 2011-05-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/graphs/fgraph.php	
	include/config_process.php
	operation/events/events.php: Added flash graph dependencies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-17 14:03:00 +00:00
zarzuelo 8959e4e6b6 2011-05-17 Sergio Martin <sergio.martin@artica.es>
* images/policies_error.png
	images/policies_ok.png: Added two new icons to 
	policy list



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-17 09:23:51 +00:00
juanmanuelr 7bf832abb9 2011-05-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
include/functions_graph.php
	include/db/oracle.php
	include/functions_modules.php
	include/functions_network_components.php
	operation/agentes/estado_monitores.php: Several corrections over
	sql queries for Oracle DBMS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-16 16:56:14 +00:00
juanmanuelr 487c2544df 2011-05-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php
	include/graphs/fgraph.php: Included new graph dependencies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-16 16:52:12 +00:00
zarzuelo 83aa193eed 2011-05-16 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Fixed default values into tusuario_perfil
	and tgrupo



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-16 15:56:27 +00:00
juanmanuelr 71dd29ec2d 2011-05-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql: Removed PK from id_agente_modulo field of 
	tagente_datos_string table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-16 12:07:30 +00:00
vgilc dae5b04ec7 2011-05-16 Vanessa Gil <vanessa.gil@artica.es>
* godmode/alerts/alert_list_list.php
	include/ functions_alerts.php: Fixed bug: Display the action threshold when displaying actions in the agent alert views.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-16 11:33:06 +00:00
mdtrooper af68f38a34 2011-05-16 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: changed the source code to extract
	the modules.
	
	Fixes: #3285116



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-16 11:02:31 +00:00
vgilc 10189d842f 2011-05-16 Vanessa Gil <vanessa.gil@artica.es>
* enterprise/include/functions_policies.php: Fixed bug: When I link again the module to policy, the linkation works fine but the message showed is "Error processing request".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-16 08:43:02 +00:00
zarzuelo 033cd59c90 2011-05-13 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: Moved some alter tables 
	from Enterprise side



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-13 11:16:18 +00:00
zarzuelo 3934ea5c3a 2011-05-13 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css: Added new input button styles
	with gear icons



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-13 11:14:25 +00:00
mdtrooper 5de63d0177 2011-05-13 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php: fixed ACL when the user have a
	"Pandora Management" in any group that show agents of all groups.
	
	Fixes: #3300611



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-13 09:01:57 +00:00
juanmanuelr 2b18e2ff02 2011-05-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_servers.php
	include/functions_agents.php
	operation/agentes/estado_agente.php: Fixed bad queries for console over
	Oracle DBMS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-13 07:03:26 +00:00
mdtrooper bbb44a7f33 2011-05-12 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: fixed the old call to function
	"profile_create_user_profile", I sorry that the before overwrite was mine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 15:15:45 +00:00
mdtrooper 1c8c7c8fbe 2011-05-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: added new parameter for the "check_acl" function
	the $id_agent, by default is 0, and this parameter now only is used in the
	enterprise ACL check (as you see in the hook for enterprise into the
	function source). And cleaned source code style.
	
	* include/functions_agents.php, operation/search_modules.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/alerts_status.php, operation/agentes/estado_agente.php,
	operation/agentes/estado_monitores.php, operation/agentes/ver_agente.php,
	godmode/agentes/module_manager.php, godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php, godmode/alerts/alert_list.list.php:
	added checks for the ACL enterprise.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 14:33:07 +00:00
mdtrooper cb7123c901 2011-05-12 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php: fixed the scape of name
	of fields in where.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4346 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 14:22:48 +00:00
mdtrooper 082976a402 2011-05-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed the image parameters for the progress
	bar.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 14:17:03 +00:00
mdtrooper 53c03b7452 2011-05-12 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/fgraph.php: added the function
	"include_graphs_dependencies".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 11:38:14 +00:00
zarzuelo 121c98bc56 2011-05-12 Sergio Martin <sergio.martin@artica.es>
* images/policies_cog.png: Added new image to policies application



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4340 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 09:42:02 +00:00
juanmanuelr bafaf65dc1 2011-05-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* install.php: Correct a mistake that doesn't allow to create a 
	new database when drop database option is checked.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-12 08:13:50 +00:00
mdtrooper 475309f2f0 2011-05-11 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_modules.php, operation/search_agents.php,
	operation/search_alerts.php: added the hook for ACL check for enterprise.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-11 14:46:35 +00:00
vgilc d25a3dc9f9 2011-05-11 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/module_manager_editor.php
	include/javascript/pandora_modules.js: Fixed bug: Is possible to create a module plugin without module associated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-11 13:53:24 +00:00
juanmanuelr 566685548d 2011-05-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_io.php
	include/config_process.php
	include/functions_extensions.php
	index.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/extension_uploader.php
	extensions/pandora_logs.php
	extensions/agents_modules.php
	extensions/update_manager.php
	extensions/ssh_console.php
	extensions/dbmanager.php
	extensions/vnc_view.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/plugin_registration.php
	godmode/extensions.php: functions in 
	functions_extensions.php have "extensions_" prefix.
	* install.php: Drop database action is not allowed when installation
	it's performed over a new database. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-11 12:15:14 +00:00
mdtrooper 4978e1ea68 2011-05-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: added hooks for to enterprise ACL.

	* extensions/module_groups.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4334 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-11 09:08:47 +00:00
juanmanuelr e0b8795251 2011-05-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	include/functions_users.php
	include/functions_html.php
	include/functions_menu.php
	include/functions_messages.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_groups.php
	include/functions_gis.php
	include/auth/ldap.php
	include/auth/mysql.php
	include/functions_networkmap.php
	include/functions_network_components.php
	include/functions_visual_map.php
	include/functions_profile.php
	include/ajax/visual_console_builder.ajax.php
	include/ajax/alert_list.ajax.php
	include/ajax/module.php
	include/functions_config.php
	include/functions_api.php
	include/functions_ui.php
	include/functions_custom_graphs.php
	include/fgraph.php
	include/functions_agents.php
	include/functions_db.php
	include/functions_alerts.php
	include/functions_reports.php
	index.php
	extensions/insert_data.php
	extensions/agents_modules.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/module_groups.php
	operation/incidents/incident_detail.php
	operation/search_modules.php
	operation/agentes/status_monitor.php
	operation/agentes/export_csv.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/datos_agente.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	operation/agentes/group_view.php
	operation/search_agents.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/integria_incidents/incident_detail.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/events/events_rss.php
	operation/events/export_csv.php
	operation/events/events_list.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/search_alerts.php
	operation/messages/message.php
	operation/search_users.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/view_alerts.php
	mobile/operation/agents/group_view.php
	mobile/operation/events/events.php
	ajax.php
	general/ui/agents_list.php
	godmode/groups/configure_group.php
	godmode/groups/group_list.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_purge.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/module_manager_editor_network.php
	godmode/agentes/module_manager_editor_wmi.php
	godmode/agentes/module_manager_editor_plugin.php
	godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/setup/setup_auth.php
	godmode/users/user_list.php
	godmode/users/configure_user.php
	godmode/users/configure_profile.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Functions in 
	functions_profile.php, functions_agents.php, functions_users.php,
  	functions_massive_policies.php, functions_audit.php, functions_backup.php,
	functions_collection.php, functions_skins.php, functions_enterprise.php,
	functions_groups.php, functions_local_components.php, functions_metaconsole.php,
	functions_policies.php, functions_reporting.php, functions_reporting_csv.php,
	functions_reporting_pdf2.php, functions_services.php have their own prefixes.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-10 18:51:09 +00:00
mdtrooper b5e26cc7ef 2011-05-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_profile.php: modified the function "create_user_profile"
	for to return the id of new user profile.
	
	* include/functions_agents.php: added in function "agents_get_agents" the
	code to filter with enterprise ACL.
	
	* operation/agentes/estado_agente.php: cleaned source code style.
	
	* godmode/agentes/modificar_agente.php: added the filter for to
	enterprise ACL.
	
	* godmode/users/configure_user.php: added hooks for to enterprise ACL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-10 15:53:43 +00:00
juanmanuelr 4b91a832db 2011-05-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/agentes/configurar_agente.php: Fixed mistake of my last 
	commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-10 11:09:18 +00:00
Ramon Novoa 6f69b11d14 2011-05-10 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Do not count the empty start of an
	  interval as 0 (affects AVG and SLA).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4329 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-10 10:57:28 +00:00
juanmanuelr 4d1ee91c4e 2011-05-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_visual_map.php
	include/ajax/visual_console_builder.ajax.php
	include/functions_ui.php
	include/functions_themes.php
	include/functions_ui_renders.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	general/ui/agents_list.php
	godmode/setup/setup_visuals.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/visual_console_builder.preview.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/map_builder.php: Functions in functions_themes.php,
	functions_ui_renders.php and functions_visual_map.php have "themes_",
	"ui_renders_" and "visual_map_" prefixes respectively. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4328 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-10 08:31:33 +00:00
jsatoh cc6931bc90 2011-05-10 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/estado_agente.php: Replaced get_agents() with
	agents_get_agents().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-10 04:10:19 +00:00
juanmanuelr b1133a50a9 2011-05-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	include/functions_html.php
	include/functions_menu.php
	include/graphs/fgraph.php
	include/functions_messages.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_filemanager.php
	include/functions_networkmap.php
	include/functions_servers.php
	include/functions_network_profiles.php
	include/functions_network_components.php
	include/functions_visual_map.php
	include/ajax/visual_console_builder.ajax.php
	include/ajax/agent.php
	include/ajax/alert_list.ajax.php
	include/ajax/module.php
	include/functions_io.php
	include/functions_api.php
	include/functions_ui.php
	include/fgraph.php
	include/functions_incidents.php
	include/functions.php
	include/functions_agents.php
	include/functions_db.php
	include/functions_alerts.php
	include/functions_reports.php
	include/functions_ui_renders.php
	extensions/insert_data.php
	extensions/agents_modules.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/module_groups.php
	extensions/plugin_registration.php
	operation/incidents/incident.incident.php
	operation/incidents/incident.php
	operation/incidents/incident_detail.php
	operation/incidents/incident.download_file.php
	operation/incidents/incident.list.php
	operation/search_modules.php
	operation/agentes/status_monitor.php
	operation/agentes/export_csv.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_agente.php
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/agentes/stat_win.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/menu.php
	operation/search_agents.php
	operation/integria_incidents/incident.incident.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident.download_file.php
	operation/integria_incidents/incident.list.php
	operation/events/events_rss.php
	operation/events/events_list.php
	operation/search_alerts.php
	operation/messages/message.php
	operation/reporting/reporting_xml.php
	operation/reporting/reporting_viewer.php
	operation/reporting/custom_reporting.php
	operation/search_reports.php
	operation/search_results.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/tactical.php
	mobile/operation/agents/view_alerts.php
	mobile/operation/agents/group_view.php
	mobile/operation/servers/view_servers.php
	general/logon_ok.php
	general/header.php
	godmode/admin_access_logs.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_purge.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/module_manager.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/menu.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/configure_alert_action.php
	godmode/setup/os.list.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/users/user_list.php
	godmode/users/configure_user.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_templates.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Functions in 
	functions_incidents.php, functions_io.php, functions_menu.php, functions_messages.php,
	functions_modules.php, functions_network_components.php, functions_network_profiles.php,
	functions_networkmap.php, functions_reporting.php, functions_reports.php, 
	functions_servers.php have "incidents_", "io_", "menu_", "messages_", "modules_",
	"network_profiles_", "network_components_", "networkmap_", "reporting_", "reports_",
	"servers_" prefixes respectively.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 17:30:55 +00:00
Ramon Novoa 2233a4d427 2011-05-09 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/estado_agente.php: Replaced a call to the old
	  get_db_all_rows_sql with db_get_all_rows_sql.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 16:22:45 +00:00
vgilc 081ee66a63 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2011-05-09 16:17:00 +00:00
vgilc 2969d727cb 2011-05-09 Vanessa Gil <vanessa.gil@artica.es>
*  operation/agentes/estado_agente.php: Fixed a mistake of my last 
	commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4323 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 15:38:22 +00:00
javilanz b46f148553 2011-05-09 Javier Lanz <javier.lanz@artica.es>
* include/graphs/fgraph.php: Added 'period' parameter to slicesbar_graph
	function
	* include/graphs/functions_pchart.php: Added 'period' variable and fixed
	pch_slicebar_graph function
	* include/functions_graph.php: Added 'date' to function graph_sla_slicebar
	* include/functions_reporting.php: Fixed get_agentmodule_sla_array
	function, and get_agentmodule_sla, updated some deprecated
	printTrucateText calls, and the decimal data for displaying the SLA number


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 15:20:58 +00:00
mdtrooper cd3a886940 2011-05-09 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql: fixed the default value for
	timestamp, there was a own mistake in the order of date, sorry.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 15:10:31 +00:00
mdtrooper fc35eb06a7 2011-05-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: changed in the function
	"grafico_modulo_sparse2" the order to include the javascripts for flash.
	
	* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.js: some fixes in the show
	new graphs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 14:08:17 +00:00
mdtrooper 9e426ae9cd 2011-05-09 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_fsgraph.php: fixed the call to
	"clean_flash_string", renamed to "clean_flash_string2".
	
	* include/functions_reporting.php: disabled the include old fsgraph.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 10:34:34 +00:00
mdtrooper 72cb8e0290 2011-05-09 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql: fixed the type of cell "id_agente_modulo" in the
	table "tagente_datos_string".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-09 10:13:35 +00:00
mdtrooper 2df58cf15b 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_agents.php: changed the SQL query for PostgreSQL.
	
	* godmode/agentes/configurar_agente.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 09:17:40 +00:00
darode 1bc30972fd 2011-05-06 Dario Rodriguez <dario.rodriguez@artica.es>
* include/graphs/functions_gd.php: Added new parameter to function
	gd_progress_bar.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 09:13:57 +00:00
jsatoh 9037aaae4e 2011-05-06 Junichi Satoh <junichi@rworks.jp>
* godmode/alerts/alert_list.list.php: Fixed filter parameters are not
	taken over with offset selection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 07:19:59 +00:00
mdtrooper 7fff28cea6 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php: fixed the include the new
	graph engine in the ajax calls.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 07:12:58 +00:00
zarzuelo f8c3db8f17 2011-05-05 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php: Added the feature of
	edit the modules from the agent config or create a module from
	a local component or manually



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4307 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-05 16:07:32 +00:00
mdtrooper 36d4a89535 2011-05-05 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-05-05 15:20:49 +00:00
vgilc 22c8363ba4 2011-05-04 Vanessa Gil <vanessa.gil@artica.es>
*  operation/agentes/estado_agente.php: Fixed error on list of agents


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-04 11:44:31 +00:00
jsatoh e854b6df51 2011-05-03 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_reporting_advanced_tab.php: Added a missing
	help file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-03 14:23:57 +00:00
zarzuelo f729194770 2011-05-03 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Clean code
	merged from integria library



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-03 11:23:24 +00:00
slerena de544db9ac 2011-05-02 Sancho Lerena <slerena@artica.es>
*  include/help/en/help_reporting_advanced_tab.php,
        include/help/es/help_reporting_advanced_tab.php: Missing help
        files.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-02 11:18:49 +00:00
jsatoh 6d9e269a91 2011-05-02 Junichi Satoh <junichi@rworks.jp>
* include/styles/pandora_width.css: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-02 08:31:03 +00:00
mdtrooper 6f8c488ffe 2011-04-29 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-29 09:13:26 +00:00
jsatoh a275c62c1a 2011-04-28 Junichi Satoh <junichi@rworks.jp>
* godmode/admin_access_logs.php: Fixed filter parameters are not
	taken over with offset selection. (Fixed degraded.)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-28 02:51:59 +00:00
slerena 4618d9f406 2011-04-27 Sancho Lerena <slerena@artica.es>
* include/graphs/functions_gd.php: Fontsize was not being passed
    as parameter in drawRating(), now is passed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-27 17:50:42 +00:00
juanmanuelr 47a2c54aa6 2011-04-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/setup/setup_visuals.php
	godmode/users/configure_user.php: Fixed some mistakes of my last 
	commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4282 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-27 14:58:51 +00:00
juanmanuelr d628635f02 2011-04-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	include/functions_users.php
	include/functions_events.php
	include/functions_html.php
	include/functions_menu.php
	include/styles/pandora.css
	include/graphs/functions_pchart.php
	include/functions_messages.php
	include/functions_exportserver.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_filemanager.php
	include/functions_groups.php
	include/functions_gis.php
	include/functions_networkmap.php
	include/functions_servers.php
	include/functions_network_components.php
	include/functions_visual_map.php
	include/ajax/skins.ajax.php
	include/ajax/visual_console_builder.ajax.php
	include/help/en/help_gis_map_builder.php
	include/help/en/help_agent_status.php
	include/help/en/help_eventview.php
	include/help/en/help_configure_gis_map.php
	include/help/en/help_cascade_protection.php
	include/help/en/help_setup_gis_index.php
	include/help/es/help_gis_map_builder.php
	include/help/es/help_agent_status.php
	include/help/es/help_eventview.php
	include/help/es/help_configure_gis_map.php
	include/help/es/help_cascade_protection.php
	include/help/ja/help_gis_map_builder.php
	include/help/ja/help_agent_status.php
	include/help/ja/help_eventview.php
	include/help/ja/help_configure_gis_map.php
	include/help/ja/help_cascade_protection.php
	include/help/ja/help_setup_gis_index.php
	include/functions_ui.php
	include/functions_incidents.php
	include/functions.php
	include/functions_agents.php
	include/functions_db.php
	include/functions_fsgraph.php
	include/functions_extensions.php
	include/functions_ui_renders.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/extension_uploader.php
	extensions/agents_modules.php
	extensions/dbmanager.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/settings.php
	extensions/update_manager/main.php
	operation/incidents/incident.incident.php
	operation/incidents/incident.php
	operation/incidents/incident.files.php
	operation/incidents/incident.tracking.php
	operation/incidents/incident_detail.php
	operation/incidents/incident.workunits.php
	operation/incidents/incident.list.php
	operation/search_modules.php
	operation/extensions.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/datos_agente.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_agente.php
	operation/agentes/networkmap.topology.php
	operation/agentes/alerts_status.functions.php
	operation/agentes/networkmap.groups.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/agentes/stat_win.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/search_agents.php
	operation/search_graphs.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/integria_incidents/incident.incident.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident.files.php
	operation/integria_incidents/incident.tracking.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident.workunits.php
	operation/integria_incidents/incident.list.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/gis_maps/index.php
	operation/events/export_csv.php
	operation/events/sound_events.php
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php
	operation/search_alerts.php
	operation/messages/message.php
	operation/reporting/reporting_xml.php
	operation/reporting/reporting_viewer.php
	operation/reporting/graph_viewer.php
	operation/reporting/custom_reporting.php
	operation/search_reports.php
	operation/search_maps.php
	operation/search_results.php
	operation/search_users.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/tactical.php
	mobile/operation/agents/view_alerts.php
	mobile/operation/agents/group_view.php
	mobile/operation/events/events.php
	mobile/operation/servers/view_servers.php
	mobile/include/user.class.php
	general/pandora_help.php
	general/noaccess.php
	general/login_page.php
	general/logon_ok.php
	general/logoff.php
	general/ui/agents_list.php
	general/header.php
	godmode/groups/modu_group_list.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/extensions.php
	godmode/db/db_sanity.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_event.php
	godmode/db/db_purge.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/module_manager_editor_network.php
	godmode/agentes/fields_manager.php
	godmode/agentes/module_manager_editor_wmi.php
	godmode/agentes/module_manager_editor_plugin.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/setup/file_manager.php
	godmode/setup/os.list.php
	godmode/setup/news.php
	godmode/setup/gis_step_2.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/setup/os.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/gis.php
	godmode/setup/os.builder.php
	godmode/setup/setup_visuals.php
	godmode/users/user_list.php
	godmode/users/configure_user.php
	godmode/users/configure_profile.php
	godmode/gis_maps/configure_gis_map.php
	godmode/gis_maps/index.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_templates.php
	godmode/modules/module_list.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/modules/manage_network_components_form_plugin.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/reporting/graph_builder.preview.php: Now functions on 
	functions_html.php, functions_gis.php, functions_filemanager.php, 
	functions_exportserver.php have "html_", "gis_", "filemanager_" and
	"exportserver_" prefix respectively.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-27 13:43:31 +00:00
zarzuelo b0447ea423 2011-04-26 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_gd.php
	include/graphs/fgraph.php: Merged sancho works from 
	integria passing fonts and sizes in integria. Little 
	fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-26 17:52:25 +00:00
javilanz 4f5933213a 2011-04-25 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed a small font problem displaying
	SLA reports status


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-25 16:24:43 +00:00
mdtrooper 0c74d8ca3e 2011-04-25 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-25 11:48:27 +00:00
javilanz 6d82f81f7e 2011-04-25 Javier Lanz <javier.lanz@artica.es>
* operation/agentes/tactical.php: Fixed a style problem on Internet
	Explorer

	Fix: #3279238


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-25 10:04:20 +00:00
mdtrooper f3bb4b72e4 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql, pandoradb.data.postgreSQL.sql,
	pandoradb.data.oracle.sql: added the default value for flash_chart for
	admin user. The value is "use the global conf".
	
	* include/db/mysql.php: cleaned source code style.
	
	* godmode/users/configure_user.php: fixed when update or create the user
	in Pandora Console without Enterprise version installed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-25 09:41:35 +00:00
jsatoh 112e4d78bb 2011-04-23 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_macros.php: Added the new _policy_ alert
	  macro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4274 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-23 07:08:15 +00:00
mdtrooper dbf8baa429 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-20 16:57:06 +00:00
Ramon Novoa f064e08219 2011-04-20 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_alert_macros.php,
	  include/help/es/help_alert_macros.php: Added the new _policy_ alert
	  macro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 16:20:16 +00:00
mdtrooper cd966f8425 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-20 15:54:31 +00:00
mdtrooper 02b4d22ad9 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-20 14:22:40 +00:00
javilanz c145bb8ae6 2011-04-20 Javier Lanz <javier.lanz@artica.es>
* godmode/alerts/configure_alert_action.php: Fixed a small bug about
	entities on "Command preview"

	Fix: #3276373


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 14:08:12 +00:00
juanmanuelr eb3cf0e423 2011-04-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Fixed some mistakes of my last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 11:51:07 +00:00
juanmanuelr aa46a12de4 2011-04-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions_reporting.php: Fixed some mistakes of my last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 11:31:25 +00:00
mdtrooper da0eab5b58 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed duplicated function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 11:11:57 +00:00
mdtrooper d943cee966 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed duplicated function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 11:03:50 +00:00
mdtrooper 99e3c78c19 2011-04-20 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-20 09:23:54 +00:00
juanmanuelr ea7f7dadda 2011-04-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions_reporting.php
	include/functions_alerts.php
	operation/incidents/incident_detail.php
	operation/agentes/status_events.php
	operation/agentes/tactical.php
	operation/integria_incidents/incident_detail.php
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php
	operation/reporting/reporting_xml.php: Functions in functions_events.php have "events_"
	prefix.  
	* index.php: Added some "db_" prefixes that I forgot in my last commit. Functions in 
	functions_events.php have "events_" prefix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-20 09:09:40 +00:00
juanmanuelr c965c3972f 2011-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* Changelog: Forget to update the Changelog in my last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 18:47:46 +00:00
juanmanuelr ae8410e36e * include/functions_graph.php
include/functions_html.php
	include/functions_messages.php
	include/db/postgresql.php
	include/db/mysql.php
	include/db/oracle.php
	include/functions_reporting.php
	include/functions_filemanager.php
	include/functions_gis.php
	include/auth/ldap.php
	include/auth/mysql.php
	include/functions_networkmap.php
	include/functions_network_components.php
	include/ajax/skins.ajax.php
	include/ajax/reporting.ajax.php
	include/ajax/visual_console_builder.ajax.php
	include/ajax/alert_list.ajax.php
	include/ajax/module.php
	include/functions_config.php
	include/functions_api.php
	include/help/en/help_timesource.php
	include/help/es/help_timesource.php
	include/help/ja/help_timesource.php
	include/config_process.php
	include/functions_ui.php
	include/functions_custom_graphs.php
	include/fgraph.php
	include/functions_incidents.php
	include/api.php
	include/functions_reports.php
	include/functions_ui_renders.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/extension_uploader.php
	extensions/pandora_logs.php
	extensions/agents_modules.php
	extensions/update_manager.php
	extensions/ssh_console.php
	extensions/dbmanager.php
	extensions/vnc_view.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/load_updatemanager.php
	extensions/update_manager/lib/libupdate_manager_client.php
	extensions/update_manager/lib/libupdate_manager.php
	extensions/update_manager/lib/libupdate_manager_components.php
	extensions/update_manager/lib/libupdate_manager_updates.php
	extensions/update_manager/settings.php
	extensions/update_manager/main.php
	extensions/plugin_registration.php
	operation/incidents/incident.php
	operation/incidents/incident_detail.php
	operation/incidents/incident_statistics.php
	operation/search_modules.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	operation/extensions.php
	operation/agentes/status_monitor.php
	operation/agentes/export_csv.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/datos_agente.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_agente.php
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	operation/agentes/agent_fields.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/agentes/stat_win.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/menu.php
	operation/search_agents.php
	operation/search_graphs.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident_statistics.php
	operation/events/event_statistics.php
	operation/events/events_rss.php
	operation/events/export_csv.php
	operation/events/sound_events.php
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/search_alerts.php
	operation/messages/message.php
	operation/reporting/reporting_xml.php
	operation/reporting/reporting_viewer.php
	operation/reporting/graph_viewer.php
	operation/search_reports.php
	operation/search_maps.php
	operation/search_users.php
	extras/pandora_diag.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/view_alerts.php
	mobile/operation/agents/group_view.php
	mobile/operation/events/events.php
	mobile/index.php
	general/error_authconfig.php
	general/links_menu.php
	general/logon_ok.php
	general/error_dbconfig.php
	general/ui/agents_list.php
	general/header.php
	godmode/groups/modu_group_list.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/db/db_main.php
	godmode/db/db_audit.php
	godmode/db/db_sanity.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_event.php
	godmode/db/db_purge.php
	godmode/extensions.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/fields_manager.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/setup/file_manager.php
	godmode/setup/os.list.php
	godmode/setup/news.php
	godmode/setup/gis_step_2.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/setup/os.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/gis.php
	godmode/setup/os.builder.php
	godmode/setup/setup_visuals.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/users/user_list.php
	godmode/users/configure_profile.php
	godmode/gis_maps/configure_gis_map.php
	godmode/gis_maps/index.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_templates.php
	godmode/modules/module_list.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.php
	godmode/reporting/visual_console_builder.preview.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/reporting/graph_builder.preview.php
	include/functions_db.php: Added some includes and functions of this code have "db_" prefix.
	* include/functions.php: Moved function check_login(), check_acl(), 
	dame_nombre_pluginid(), get_os_name() from functions_db.php to functions.php. 
	* include/functions_groups.php: Moved functions get_childrens(), safe_acl_group()
	 and get_parents(), give_disabled_group(), isAllGroups(), get_group_icon(), get_all_groups(), 	 
	get_id_groups_recursive(), get_user_groups_tree_recursive(), get_group_status(), 
	get_group_name(), get_group_users() from functions_db.php to this code. 
	* include/functions_profile.php: New library with profile functions. Moved functions 
	get_profile_name(), get_profiles(), create_user_profile(), delete_user_profile(), 
	delete_profile() from functions_db.php to this code. Added new parameter in function 
	get_profile() to retrieve profiles with filter conditions applied.
	* include/functions_users.php: New library with users functions. Moved functions 
	get_users_info(), get_all_model_groups(), get_user_groups(), get_user_groups_tree(), 
	get_user_first_group(), user_access_to_agent() from funtions_db.php to this code.
	* godmode/users/configure_user.php: Changed get_profile_filter() function to get_profile(). 
	* include/functions_agents.php: Moved functions get_group_agents(), get_agent_modules(), 
	get_agent_module_id(), get_agent_id(), get_agent_name(), get_agent_modules_data_count(), 
	check_alert_fired(), get_agent_interval(), get_agent_os(), give_agentmodule_flag(), 
	agent_add_address(), agent_delete_address(), get_agent_address(), get_agent_with_ip(), 
	get_agent_addresses(), get_agent_status(), delete_agent(), get_agentmodule_group(), 
	get_agent_group() from functions_db.php to this code.
	* include/functions_modules.php: Moved functions get_agentmodule(), get_agentmodule_id(), 
	get_agentmodule_is_init(), get_agent_modules_count(), get_module_type_name(), 
	get_module_type_icon(), get_agentmodule_agent(), get_agentmodule_agent_name(), 
	get_agentmodule_name(), get_agentmodule_type(), get_monitor_downs_in_period(), 		
	get_monitor_last_down_timestamp_in_period(), get_monitors_in_group(), 
	get_monitors_in_agent(), get_monitors_down(), get_moduletype_name(), 
	get_moduletype_description(), get_moduletypes(), get_module_interval(), show_icon_type(), 		
	give_modulecategory_name(),
 	give_agent_id_from_module_id(), get_module_status(), get_agent_module_last_value(), 
	get_previous_data(), get_agentmodule_modulegroup(), get_modulegroups(), 
	get_modulegroup_name() from functions_db.php to this code.
	* include/functions_alerts.php: Moved functions get_alert_type(), get_agent_alert_fired(),
	 get_module_alert_fired(), get_alert_fires_in_period(), get_group_alerts(), get_alerts_fired(), 
	get_alert_last_fire_timestamp_in_period(), get_agentmodule_status(), 
	get_agentmodule_last_status() from functions_db.php to this code.
	* include/functions_exportserver.php: Moved function dame_nombre_servidorexportacion() 
	from functions_db.php to this code.
	* include/functions_events.php: Moved functions get_group_events(), get_agent_events(), 
	get_module_events() from functions_db.php to this code.
	* include/functions_servers.php: Moved functions get_server_name(), show_server_type(), 
	check_server_status(), server_status() from functions_db.php to this code.
	* include/functions_network_profiles.php: Moved function get_networkprofile_name() 
	from functions_db.php to this code.
	* include/functions_visual_map.php: Moved functions get_layoutdata_x(), get_layoutdata_y() 
	from fucntions_db.php to this code.
	* include/functions_io.php: Moved function __() from functions_db.php to this code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 18:42:49 +00:00
javilanz 11e2b4d391 2011-04-19 Javier Lanz <javier.lanz@artica.es>
* include/functions_modules.php: Fixed an error about the agent status
	* godmode/agentes/agent_template.php: Fixed an error about the agent
	status

	Fix: #3251822


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 16:44:59 +00:00
Ramon Novoa 09d3c22541 2011-04-19 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Fixed an error in last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 16:32:29 +00:00
Ramon Novoa 8c7a7431ea 2011-04-19 Ramon Novoa <rnovoa@artica.es>
* include/functions_db.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  general/logon_ok.php, godmode/admin_access_logs.php: Several fixes to
	  make things work in MySQL, PostgreSQL and Oracle.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 16:30:53 +00:00
javilanz 34fbb5c40a 2011-04-19 Javier Lanz <javier.lanz@artica.es>
* godmode/modules/manage_network_components_form.php: Enabled port field
	on Network Components - Remote SNMP network agent
	* godmode/modules/manage_network_components_form_plugin.php: Added port
	field on Network Components - Plugin Components


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 14:44:06 +00:00
mdtrooper e61f068139 2011-04-19 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/setup_visuals.php: change the text field fonts to
	select box.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 14:36:33 +00:00
mdtrooper 75f83d8128 2011-04-19 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-19 12:11:00 +00:00
juanmanuelr 74db760ea8 2011-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/oracle.php: Changed oracle session parameter for 
	decimal separator. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 10:44:36 +00:00
juanmanuelr 3014512979 2011-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* install.php: Now it's possible to drop oracle db before installation. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4247 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-19 08:09:54 +00:00
zarzuelo c382a2b994 2011-04-18 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php: Fixed flash
	area colors and lef margin in horizontal bar
	graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 17:07:26 +00:00
mdtrooper 3fbbe41b4c 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: fixed the legend for to show with human
	numeric format.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 16:45:20 +00:00
mdtrooper 8dcd5ab2bf 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/pChart/pDraw.class.php: changed for show the some dark
	border with same color of area when the data config of graph haven't this
	values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 16:29:01 +00:00
javilanz ccdcc7b6e8 2011-04-18 Javier Lanz <javier.lanz@artica.es>
* include/functions_filemanager.php: Added a 'base64_encode' to deal with
	html entities in collection's files

	Fix: #3286063


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 16:11:17 +00:00
mdtrooper 2b6c15d0b1 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-18 16:07:20 +00:00
mdtrooper 635e24fe11 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_fsgraph.php,
	include/graphs/fgraph.php, operation/agentes/stat_win.php: fixed the
	relative urls for absolute urls.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 15:12:48 +00:00
javilanz 107e8c3906 2011-04-18 Javier Lanz <javier.lanz@artica.es>
* include/functions_filemanager.php: Fixed a problem with html entities
	* include/get_file.php: Added base64_decode for getting a get parameter

	Fixes: #3286063


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 15:00:43 +00:00
mdtrooper da3cf30d16 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-18 14:05:54 +00:00
mdtrooper c4a543ceaa 2011-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: changed to use new engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 12:17:03 +00:00
zarzuelo 4a0f467d0e 2011-04-18 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php: Fixed bar graphs margins
	Fixed horizontal flash bar



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 10:30:45 +00:00
zarzuelo 2f16fc02ca 2011-04-18 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/fgraph.php: Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-18 08:18:37 +00:00
jsatoh 762402cf63 2011-04-16 Junichi Satoh <junichi@rworks.jp>
* godmode/admin_access_logs.php: Fixed filter parameters are not
	taken over with offset selection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-16 08:38:28 +00:00
mdtrooper 90645034ef 2011-04-15 Miguel de Dios <miguel.dedios@artica.es>
* Changelog: readded lost lines.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4231 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-15 12:21:56 +00:00
mdtrooper a5da2b0d7d 2011-04-15 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-15 12:19:12 +00:00
juanmanuelr f2c5c741c6 2011-04-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/auth/ldap.php
	include/functions_config.php
	include/config_process.php
	include/functions_custom_graphs.php
	operation/search_graphs.php
	operation/reporting/graph_viewer.php
	godmode/setup/setup.php
	godmode/setup/performance.php
	godmode/setup/setup_visuals.php
	godmode/reporting/graphs.php
	godmode/reporting/graph_builder.preview.php: Functions of functions_config.php
	and function_custom_graphs.php have the "config_" and "custom_graphs_" prefix 
	respectively.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-15 12:03:19 +00:00
juanmanuelr db6d2c9d6e 2011-04-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/oracle.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_networkmap.php
	include/ajax/agent.php
	include/ajax/alert_list.ajax.php
	include/functions_ui.php
	include/functions_agents.php
	include/functions_db.php
	include/functions_alerts.php
	extensions/agents_modules.php
	extensions/resource_registration.php
	extensions/module_groups.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/alerts_status.functions.php
	operation/agentes/exportdata.php
	operation/events/events.php
	operation/search_alerts.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/view_alerts.php
	general/ui/agents_list.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/agent_manager.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/snmpconsole/snmp_alert.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.preview.php: Functions of functions_agents.php
	and function_alerts.php have the "agent_" and "alert_" prefix respectively.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-15 10:57:43 +00:00
zarzuelo f009394310 2011-04-14 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php: Increased the weight of the lines
	in line graphs.
	Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4227 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 17:17:12 +00:00
mdtrooper 32a3fc977a 2011-04-14 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-14 16:52:50 +00:00
zarzuelo 9f4c5eeb76 2011-04-14 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/pChart/pDraw.class.php
	include/graphs/fgraph.php: Added rotation in bar graphs 
	top axis. 
	Fixed pie legend position



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 16:22:22 +00:00
javilanz 7a0e80c1e3 2011-04-14 Javier Lanz <javier.lanz@artica.es>
* godmode/massive/massive_edit_modules.php: Added functionality to edit
	SNMP version on massive operations


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 14:51:46 +00:00
mdtrooper 146caad9aa 2011-04-14 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: added method to force height or not,
	changed to show all columns name in the hgraph and vgraph, fixed the colors
	when passed the parameter "fine" to color. And in the function
	"pch_bar_graph" change to calculate left margin instead to fixed value.
	
	* include/graphs/fgraph.php: added new parameter in the function
	"hbar_graph" to force or unforce the graph height.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 13:53:46 +00:00
mdtrooper 1110c2d103 2011-04-14 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: setted the xmargin to 0.
	
	* include/graphs/fgraph.php: in function "pie_graph" reduce to 8 the
	portions for the pie.
	
	* include/functions_db.php: changed the call "debug" to "ui_debug".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 12:02:45 +00:00
zarzuelo 79af995118 2011-04-14 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_gd.php
	include/graphs/fgraph.php: Added x and y
	axis name possibility to line, stacked line and
	stacked area graphs. 
	Added dual posibility of calling to functions_gd 
	(thorugh url and with function call).  
	Clean code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 08:25:41 +00:00
jsatoh 62566f5d3e 2011-04-14 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	pandoradb.sql,
	pandoradb.postgreSQL.sql,
	pandoradb.oracle.sql: Changed tperfil.name type to fix field length
	shortage.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-14 04:50:54 +00:00
mdtrooper 3a27d72321 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: deleted a repeat function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 17:37:51 +00:00
mdtrooper 855d9a6970 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_reporting.php,
	operation/incidents/incident_statistics.php,
	operation/agentes/custom_fields.php, operation/agentes/agent_fields.php,
	operation/servers/view_server_detail.php,
	operation/integria_incidents/incident_statistics.php,
	operation/events/event_statistics.php, operation/events/events_list.php,
	operation/events/events.php, operation/reporting/reporting_xml.php,
	godmode/admin_access_logs.php, godmode/db/db_main.php,
	godmode/db/db_info.php, godmode/db/db_purge.php,
	godmode/reporting/graph_builder.main.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/graph_builder.php,
	godmode/reporting/graph_builder.graph_editor.php,
	godmode/reporting/graph_builder.preview.php: changed for to use new engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 17:31:06 +00:00
juanmanuelr 50cc94d201 2011-04-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	include/functions.php: Removed function popup_help from functions.php
	and added in function_ui.php under ui_popup_help name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 17:11:10 +00:00
Ramon Novoa d0092aa6f2 2011-04-13 Ramon Novoa <rnovoa@artica.es>
* pandoradb.postgreSQL.sql: Created the UNIX_TIMESTAMP function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 16:32:30 +00:00
juanmanuelr 78870b8ae3 2011-04-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions_html.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_filemanager.php
	include/functions_gis.php
	include/functions_networkmap.php
	include/functions_visual_map.php
	include/ajax/reporting.ajax.php
	include/help/en/help_timesource.php
	include/help/es/help_timesource.php
	include/help/ja/help_timesource.php
	include/functions_ui.php
	include/functions.php
	include/functions_db.php
	include/functions_ui_renders.php
	index.php
	extensions/insert_data.php
	extensions/system_info.php
	extensions/extension_uploader.php
	extensions/pandora_logs.php
	extensions/agents_modules.php
	extensions/dbmanager.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/settings.php
	extensions/update_manager/main.php
	extensions/plugin_registration.php
	operation/incidents/incident.php
	operation/incidents/incident.files.php
	operation/incidents/incident_detail.php
	operation/incidents/incident.workunits.php
	operation/incidents/incident.list.php
	operation/incidents/incident_statistics.php
	operation/search_modules.php
	operation/visual_console/render_view.php
	operation/visual_console/index.php
	operation/extensions.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/custom_fields.php
	operation/agentes/estado_generalagente.php
	operation/agentes/networkmap.topology.php
	operation/agentes/estado_agente.php
	operation/agentes/alerts_status.functions.php
	operation/agentes/networkmap.groups.php
	operation/agentes/bulbs.php
	operation/agentes/sla_view.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	operation/agentes/agent_fields.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/agentes/stat_win.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/search_agents.php
	operation/search_graphs.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/gis_maps/index.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident.files.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident.workunits.php
	operation/integria_incidents/incident.list.php
	operation/integria_incidents/incident_statistics.php
	operation/events/event_statistics.php
	operation/events/events_list.php
	operation/events/events.php
	operation/search_alerts.php
	operation/messages/message.php
	operation/reporting/reporting_viewer.php
	operation/reporting/graph_viewer.php
	operation/reporting/custom_reporting.php
	operation/search_reports.php
	operation/search_maps.php
	operation/search_results.php
	operation/search_users.php
	extras/pandora_diag.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/agents/view_alerts.php
	mobile/operation/events/events.php
	mobile/operation/servers/view_servers.php
	mobile/include/functions_web.php
	general/footer.php
	general/noaccess.php
	general/logon_ok.php
	general/main_menu.php
	general/ui/agents_list.php
	general/header.php
	godmode/groups/modu_group_list.php
	godmode/groups/configure_group.php
	godmode/groups/configure_modu_group.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/db/db_main.php
	godmode/db/db_audit.php
	godmode/db/db_sanity.php
	godmode/db/db_refine.php
	godmode/db/db_info.php
	godmode/db/db_event.php
	godmode/db/db_purge.php
	godmode/extensions.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/module_manager_editor_network.php
	godmode/agentes/fields_manager.php
	godmode/agentes/module_manager_editor_wmi.php
	godmode/agentes/module_manager_editor_plugin.php
	godmode/agentes/module_manager_editor_prediction.php
	godmode/agentes/agent_conf_gis.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/agentes/manage_config_remote.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/configure_alert_compound.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_templates.php
	godmode/alerts/configure_alert_action.php
	godmode/alerts/configure_alert_command.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_list.builder.php
	godmode/alerts/alert_commands.php
	godmode/setup/file_manager.php
	godmode/setup/os.list.php
	godmode/setup/news.php
	godmode/setup/gis_step_2.php
	godmode/setup/links.php
	godmode/setup/setup.php
	godmode/setup/os.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/gis.php
	godmode/setup/os.builder.php
	godmode/setup/setup_visuals.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/users/user_list.php
	godmode/users/configure_user.php
	godmode/users/configure_profile.php
	godmode/gis_maps/configure_gis_map.php
	godmode/gis_maps/index.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php
	godmode/modules/manage_network_templates.php
	godmode/modules/module_list.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_templates_form.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/modules/manage_network_components_form_plugin.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/visual_console_builder.elements.php
	godmode/reporting/graph_builder.php
	godmode/reporting/visual_console_builder.preview.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/map_builder.php
	godmode/reporting/graphs.php
	godmode/reporting/graph_builder.preview.php: Now all functions of 
	include/functions_ui have ui_ prefix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 16:11:02 +00:00
mdtrooper 2d67b87b69 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-13 15:58:59 +00:00
slerena 56deb99c7d 2011-04-13 Sancho Lerena <slerena@artica.es>
* operation/servers/view_server_detail.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php: Fixes bug #3286027. Also implement
	the new "manual" mode for recon tasks.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 15:12:40 +00:00
mdtrooper d74a0a7f87 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php,
	include/graphs/functions_pchart.php,
	include/graphs/fgraph.php,
	include/functions_reporting.php,
	include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php, include/functions_api.php,
	operation/reporting/reporting_xml.php,
	mobile/operation/agents/view_agents.php,
	godmode/reporting/visual_console_builder.editor.js: changed the old sparse
	for the new engine graph sparse paint method.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 15:11:51 +00:00
zarzuelo a5108dc3b2 2011-04-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Forgotted 
	restoring miguel modifications in the last commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 14:45:40 +00:00
zarzuelo 2d6b8e5b5f 2011-04-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/functions_custom_graphs.php: Improved the 
	vertical graph legend to use in horizontal when
	is possible. 
	Fixing a Miguel modification erased by me in the last
	commit.
	Fix a combined graph bug in the size



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 14:41:45 +00:00
zarzuelo e091a9201d 2011-04-13 Sergio Martin <sergio.martin@artica.es>
* 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
2011-04-13 13:01:37 +00:00
mdtrooper b849275abf 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: added lost lines of source code to
	set bottom margin.
	
	* godmode/reporting/visual_console_builder.editor.js: changed to use new
	progress bar.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 10:50:30 +00:00
mdtrooper 1c85e626ca 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/graphs/functions_gd.php,
	include/graphs/fgraph.php, include/functions_visual_map.php,
	include/fgraph.php, operation/agentes/estado_generalagente.php,
	operation/agentes/tactical.php. operation/agentes/stat_win.php,
	operation/servers/view_server.php, operation/servers/view_server_detail.php,
	mobile/operation/agents/tactical.php, general/logon_ok.php,
	godmode/reporting/graph_builder.preview.php: added function "progress_bar2"
	and changed in source code of Pandora.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 09:29:10 +00:00
zarzuelo 285eb8e2c8 2011-04-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/functions_gd.php
	include/graphs/fgraph.php: Fixed long index bug into
	stacked and line graphs.
	Add entry for radar and polar charts (kiviat)
	Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 08:49:18 +00:00
mdtrooper c503550c17 2011-04-12 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_fsgraph.php: fixed the "fs_area_graph" when
	haven't $long_index.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 17:24:16 +00:00
javilanz 474e518eab 2011-04-12 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed the functionality for the sla
	horitontal bar graph. Truncated some agent and module names. Cleaned the
	 code style
	* include/ajax/reporting.ajax.php: Added functionality to add & delete
	elements from the global reports
	* include/functions_ui.php: Added function printSmallFont
	* godmode/reporting/reporting_builder.item_editor.php: Fixed a wee
	problem with the module combo size


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 17:20:16 +00:00
juanmanuelr 6a3debd2cb 2011-04-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* extensions/users_connected.php
	operation/incidents/incident.list.php
	godmode/agentes/module_manager.php: Fixed some mistakes of my last 
	commit. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 16:58:11 +00:00
mdtrooper c2e5e148be 2011-04-12 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-12 16:30:24 +00:00
zarzuelo f31e80b50d 2011-04-12 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php
	include/graphs/functions_utils.php: Created a function to 
	include flash charts javascript file into abstraction.
	Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 16:03:07 +00:00
zarzuelo 7b9c8fa705 2011-04-12 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_fsgraph.php
	include/graphs/functions_gd.php
	include/graphs/images_graphs
	include/graphs/images_graphs/outlimits.png
	include/graphs/fgraph.php: Added new file with sd functions
	of two graphs, histogram and progress bar. Added folder with
	graph abstraction default images. Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 10:04:41 +00:00
jsatoh 15afb6d637 2011-04-12 Junichi Satoh <junichi@rworks.jp>
* godmode/uses/configure_profile.php: Fixed $name twice encoding.
	It is already encoded.

	* godmode/admin_access_logs.php: Fixed encoding characters are shown.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-12 06:46:14 +00:00
slerena 9a15a0f8c7 2011-04-11 SAncho Lerena <slerena@artica.es>
* images/console/backgrounds: Removed old images (not
        useful) and added a few new.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 21:31:50 +00:00
juanmanuelr f27b28d4a3 2011-04-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_events.php
	include/functions_messages.php
	include/db/oracle.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_groups.php
	include/functions_gis.php
	include/auth/mysql.php
	include/functions_networkmap.php
	include/functions_servers.php
	include/functions_network_components.php
	include/ajax/reporting.ajax.php
	include/ajax/agent.php
	include/functions_config.php
	include/functions_api.php
	include/help/en/help_timesource.php
	include/help/es/help_timesource.php
	include/help/ja/help_timesource.php
	include/fgraph.php
	include/functions.php
	include/functions_agents.php
	include/functions_db.php
	include/functions_fsgraph.php
	include/functions_alerts.php
	include/functions_reports.php
	pandoradb.oracle.sql
	install.php
	extensions/system_info.php
	extensions/update_manager.php
	extensions/dbmanager.php
	extensions/users_connected.php
	extensions/module_groups.php
	extensions/update_manager/sql/update_manager.oracle.sql
	extensions/update_manager/load_updatemanager.php
	extensions/update_manager/lib/libupdate_manager_client.php
	extensions/update_manager/lib/libupdate_manager.php
	extensions/update_manager/lib/libupdate_manager_components.php
	extensions/update_manager/lib/libupdate_manager_updates.php
	operation/search_modules.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/exportdata.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	operation/gis_maps/render_view.php
	operation/gis_maps/ajax.php
	operation/events/events_rss.php
	operation/events/events_list.php
	operation/events/events_marquee.php
	operation/search_alerts.php
	operation/reporting/reporting_xml.php
	operation/reporting/reporting_viewer.php
	pandoradb.data.oracle.sql
	extras/pandora_diag.php
	mobile/operation/agents/monitor_status.php
	mobile/operation/agents/view_agents.php
	mobile/operation/events/events.php
	general/logon_ok.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/db/db_main.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/agentes/planned_downtime.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_compounds.php
	godmode/alerts/alert_list.php
	godmode/setup/setup.php
	godmode/modules/manage_network_templates.php
	godmode/modules/manage_network_templates_form.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.preview.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Support for Oracle DBMS
	over Console code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4187 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 17:05:20 +00:00
mdtrooper fbe9ae0090 2011-04-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/graph_builder.main.php: changed to use constants.
	
	* include/graphs/fgraph.php: dded the show image when none data
	and added the function "stacked_line_graph".
	
	* include/graphs/functions_pchart.php: fixed when haven't the $xaxisname and
	$yaxisname. Fixed typo mistake.

	* include/graphs/functions_utils.php: added function "stack_data".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 16:45:03 +00:00
javilanz 79f39a336f 2011-04-11 Javier Lanz <javier.lanz@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: The SLA elements
	are listed again with labels instead with input texts.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 16:31:43 +00:00
javilanz 1d24bb865e 2011-04-11 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed a typo error
	* operation/agentes/exportdata.php: Added a couple of safe_outputs
	* operation/reporting/custom_reporting.php: Added CSV column and its
	icon, changed table width


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 15:43:45 +00:00
zarzuelo 65338bb1c5 2011-04-11 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php: Merged changes from integria like increasement
	of margins in area static graphs, clean code and minor fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 12:29:09 +00:00
marostegui 9416e1dc99 2011-04-09 Manuel Arostegui <manuel@todo-linux.com>
* pandoradb.sql: Added index to tagente_modulo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-09 18:09:52 +00:00
zarzuelo 2d31e211ac 2011-04-08 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/functions_fsgraph.php
	include/graphs/functions_utils.php: Improved the entry point
	of the graphics abstraction and merged bar and pie configurations
	from integria



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-08 08:56:43 +00:00
mdtrooper 943ab29571 2011-04-07 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-07 17:36:08 +00:00
mdtrooper 0daa808bb8 2011-04-07 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-07 14:34:03 +00:00
javilanz d0346fc2f5 2011-04-06 Javier Lanz <javier.lanz@artica.es>
* pandoradb.sql: Added 'id_group' & 'id_module_group' fields to 
	treport_content table
	* pandoradb.postgreSQL.sql: Added 'id_group' & 'id_module_group' fields 
	to treport_content table
	* pandoradb.oracle.sql: Added 'id_group' & 'id_module_group' fields to 
	treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'id_group' &
	'id_module_group' fields to treport_content table


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-06 15:42:05 +00:00
mdtrooper ee963b0ae0 2011-04-06 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-06 14:42:31 +00:00
javilanz a5ed5b3571 2011-04-06 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Added case to display 'agent_module'
	reports
	* include/functions.php: Added the option 'agent_module' for the
	reporting type in combo selecion
	* godmode/reporting/reporting_builder.php: Added options to store
	'agent_module' report info
	* godmode/reporting/reporting_builder.item_editor.php: Added html fields
	 for the 'agent_module' report


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4174 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-06 11:53:54 +00:00
zarzuelo 236086cb9e 2011-04-06 Sergio Martin <sergio.martin@artica.es>
* include/graphs/pChart/pData.class.php
	include/graphs/pChart/pDraw.class.php: Fixed avoid zero values 
	into area graphs and clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-06 08:43:06 +00:00
mdtrooper e921281e59 2011-04-05 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-04-05 16:11:53 +00:00
mdtrooper 049cdfe2fc 2011-04-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_list.php, operation/events/events.php: fixed
	nested forms incompatible with some browsers that fail when validate
	several events and some errors in javascript when validate individual error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-05 12:36:38 +00:00
mdtrooper 5e7339a898 2011-04-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_fsgraph.php: added check if loaded the class.

	* include/graphs/functions_fsgraph.php: added check if loaded the class.
	Rename some functions and erased the function "fs_module_chart".

	* include/graphs/functions_pchart.php: erased some debug traces.

	* include/graphs/fgraph.php: cleaned the function "area_graph".

	* operation/agentes/stat_win.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-05 09:27:38 +00:00
mdtrooper 1a67c75304 2011-04-3 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/modules/manage_network_templates.php: fixed the
	output of description and name, and fixed the buttons to delete and export.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-04 10:43:25 +00:00
zarzuelo d005a26768 2011-04-01 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php
	include/graphs/pChart/pDraw.class.php
	include/graphs/fgraph.php
	include/graphs/functions_utils.php: Changed the send data method 
	from sessions to files with serialize functions. Creation of a
	utils functions file. Improvement of the pChart library adding 
	attributes to avoid ticks and grids when the data under the 
	xaxis is empty.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-01 12:28:50 +00:00
juanmanuelr ae9f77190c 2011-04-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/gis_maps/render_view.php: Fixed bad sql query sintax.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4159 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-01 08:34:34 +00:00
mdtrooper c56f7439fa 2011-03-31 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-03-31 17:07:00 +00:00
juanmanuelr 8ac591eddb 2011-03-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php: Fixed wrong condition when global 
	configuration for "flash_charts" option is override by user value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 15:29:18 +00:00
juanmanuelr c217eadef4 2011-03-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/oracle.php: Added new functions for Oracle support.
	include/functions_db.php: Added conditional code for Oracle engine.
	* pandoradb.oracle.sql: Added new db procedure "insert_id" to 
	retrieve PK when insert is performed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 13:46:34 +00:00
zarzuelo 7a117ebaf9 2011-03-31 Sergio Martin <sergio.martin@artica.es>
* include/graphs/pChart/pDraw.class.php: Added to 
	library an option to avoid draw zeros in area 
	charts



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 12:13:23 +00:00
zarzuelo 328decccb4 2011-03-31 Sergio Martin <sergio.martin@artica.es>
* include/graphs/pChart/pDraw.class.php: Fixed 
	pchart library bug with default value for
	forcetransparency attribute. Changed from NULL
	to -1



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 10:06:49 +00:00
mdtrooper 89ffa67740 2011-03-31 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-03-31 08:46:04 +00:00
zarzuelo 2e2090d322 2011-03-31 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Improved 
	legend control and added limitation in showing
	xaxis data to one each 10 pixels



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4152 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-31 08:26:48 +00:00
zarzuelo 926c4a1a3b 2011-03-30 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Fixed bad 
	legend show condition



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 15:49:57 +00:00
javilanz d33b2f10d1 2011-03-30 Javier Lanz <javier.lanz@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: Removed the option
	to select 'show graph' in general reports


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 15:37:37 +00:00
zarzuelo f3b34b7f49 2011-03-30 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_pchart.php: Added features to 
	the vertical graphs function like colors, alpha values, legend...



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 15:34:49 +00:00
javilanz 589b530d54 2011-03-30 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed a small problem passing 'width'
	parameter in 'top_n' reports


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 15:22:02 +00:00
javilanz 56b8e94993 2011-03-30 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed a small problem when displaying
	only the graph and not the table for the exception report.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 15:02:56 +00:00
mdtrooper e4305f487a 2011-03-30 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-03-30 12:34:25 +00:00
javilanz b008e2fba1 2011-03-30 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Fixed get_agentmodule_sla_array and
	added functionality to show the table, table+graph or only graph
	* include/pchart_graph.php: Fixed function graph_sla_horizontal
	* include/pandora_graph.php: Changed function graph_sla_horizontal
	prototype
	* include/fgraph.php: Deleted function graph_sla_pie, fixed function
	graph_sla_horizontal and added two more cases for printing graphs
	* godmode/reporting/reporting_builder.php: Changed getting parameter
	of two checkboxes for two comboboxes
	* godmode/reporting/reporting_builder.item_editor.php: Added the options
	for the combo to select display table, table+graph or only graph


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-30 12:04:45 +00:00
mdtrooper 8da9e5ddf9 2011-03-29 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/stat_win.php, godmode/servers/plugin.php: cleaned source
	code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-29 15:22:02 +00:00
raulmateos abbc445df7 2011-03-29 Raul Mateos <raulofpandora@gmail.com>
* pandora_console_upgrade: Use PI_VERSION variable.
	* pandora_console_install: Changed small text.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-29 08:45:21 +00:00
mdtrooper f82d9d1c99 2011-03-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: added suppor for styles
	in the report content, now support in columns and landscape in some cases.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 17:44:33 +00:00
mdtrooper 51f1290c9b 2011-03-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: added suppor for styles
	in the report content, now support in columns and landscape in some cases.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4141 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 17:35:31 +00:00
zarzuelo 82d2336504 2011-03-28 Sergio Martin <sergio.martin@artica.es>
* include/fonts/FreeSans.ttf
	include/FreeSans.ttf
	include/functions_config.php Moved the freesans 
	font to the new fonts folder and set the unicode 
	font as default font into setup



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 15:30:08 +00:00
zarzuelo 64f3bdb77c 2011-03-28 Sergio Martin <sergio.martin@artica.es>
* include/fonts
	include/fonts/DejaVuSerif-Bold.ttf
	include/fonts/DejaVuSerif.ttf
	include/fonts/DejaVuSerifCondensed-Bold.ttf
	include/fonts/DejaVuSerifCondensed.ttf
	include/fonts/DejaVuSerif-Italic.ttf
	include/fonts/code.ttf
	include/fonts/DejaVuSerif-BoldItalic.ttf
	include/fonts/DejaVuSerifCondensed-Italic.ttf
	include/fonts/DejaVuSerifCondensed-BoldItalic.ttf: move the
	pdf library fonts from enterprise to open



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 15:05:47 +00:00
mdtrooper 1ad4276daf 2011-03-28 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql: added column "style" for to
	add style (as json encode) the many styles for the contents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 14:35:08 +00:00
javilanz 6b2a00a87d 2011-03-28 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Added get_agentmodule_sla_array
	function and fixed some SLA graph details
	* include/pchart_graph.php: Deleted some "debugPrint" calls found
	* include/pandora_graph.php: Changed function 'graph_sla_horizontal'
	prototype



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-28 09:26:49 +00:00
juanmanuelr 402e4e7a8f 2011-03-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/modules/module_list.php: Fixed wrong variable call.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-25 09:16:14 +00:00
juanmanuelr f779d09258 2011-03-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php
	* operation/users/user_edit.php 
	* godmode/users/configure_user.php:Now global configuration for 
	"flash_charts" and "block_size" options are not override for 
	default user values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 18:35:10 +00:00
juanmanuelr 147bb79988 2011-03-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.data.postgreSQL.sql: Forgotten file from my last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4133 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 16:56:27 +00:00
juanmanuelr d15b4c0c78 2011-03-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql: Added modifications in queries needed for 
	Pandora installer.
	* pandoradb.data.postgreSQL.sql
	  pandoradb.data.oracle.sql: Added data for tconfig table like in 
	the mysql script version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 16:51:49 +00:00
mdtrooper 91bde2c8bb 2011-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/pChart/pChart.class: some fixes to prevent notices and warning
	PHP messages that corrupt image file.
	 
	* include/fgraph.php: some fixes to prevent noticies and warning PHP
	messages that corrupt image file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 16:33:23 +00:00
mdtrooper bf5099c272 2011-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed in the content "general" when the
	report haven't agents.
	
	* include/fgraph.php: fixed when extract the "sql" column in the table
	"treport_custom_sql".
	
	* godmode/reporting/reporting_builder.item_editor.php: fixed the show the
	SQL query in the contents that have it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 13:09:26 +00:00
javilanz c4ef291f3c 2011-03-24 Javier Lanz <javier.lanz@artica.es>
* include/ajax/reporting.ajax.php: Added truncating for the agent and
	module name into report SLA list.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-24 10:48:59 +00:00
raulmateos 6a3f2eca91 2011-03-23 Raul Mateos <raulofpandora@gmail.com>
* operation/search_agents.php: Updated forgotten file

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 18:48:26 +00:00
mdtrooper d844eb89d6 2011-03-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php: fixed the output of ajax request.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 17:44:44 +00:00
raulmateos d4864a672b 2011-03-23 Raul Mateos <raulofpandora@gmail.com>
* extensions/ssh_console.php, extensions/vnc_view.php,
	extensions/update_manager.php, extensions/users_connected.php,
	extensions/extension_uploader.php, extensions/insert_data.php,
	extensions/module_groups.php, extensions/plugin_registration.php,
	extensions/agent_modules.php, extensions/resource_registration.php,
	extensions/resource_exportation.php, extensions/dbmanager.php,
	extensions/pandora_logs.php, general/*.php, ajax.php, 
	operation/search_*.php, operation/menu.php, operation/extensions.php,
	godmode/menu.php, godmode/extensions.php, godmode/admin_access_logs.php:
	CReverted unwanted license changes.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 16:13:28 +00:00
javilanz 216e651c2f 2011-03-23 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Changed SLA report table layout


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4125 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 13:26:13 +00:00
javilanz 11d0a0f0b2 2011-03-23 Javier Lanz <javier.lanz@artica.es>
* pandoradb.sql: Added creation of treport_content_item and updated
	treport_content table
	* pandoradb.postgreSQL.sql: Added creation of treport_content_item and
	updated treport_content table
	* pandoradb.oracle.sql: Added creation of treport_content_item and
	updated treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added creation of
	treport_content_item and updated treport_content table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 12:57:26 +00:00
mdtrooper e46cfc566d 2011-03-23 Miguel de Dios <miguel.dedios@artica.es>
* extensions/insert_data.php, extensions/system_info.php,
	extensions/agents_modules.php, extensions/ssh_console.php,
	extensions/resource_registration.php, extensions/resource_exportation.php,
	extensions/plugin_registration.php: re-ordered and re-cleaned some parts or
	lines of source code. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 12:15:53 +00:00
mdtrooper b06ee0fdc5 2011-03-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the include "fgraph", did'nt show
	warning message in the generation of PDF.

2011-03-23 Miguel de Dios  <miguel.dedios@artica.es>

	* include/functions_reporting.php: erased the svn diff messages lost in
	old times.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 11:34:16 +00:00
javilanz cd318cc924 2011-03-23 Javier Lanz <javier.lanz@artica.es>
* images/global.png: Added image 'global.png' for the global report tab


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-23 10:31:18 +00:00
raulmateos ad0c50de88 2011-03-22 Raul Mateos <raulofpandora@gmail.com>
* extensions/ssh_console.php, extensions/vnc_view.php,
	extensions/update_manager.php, extensions/users_connected.php,
	extensions/extension_uploader.php, extensions/insert_data.php,
	extensions/module_groups.php, extensions/plugin_registration.php:
	Cleaned code and updated page disclaimers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 22:11:57 +00:00
raulmateos cece9d121c 2011-03-22 Raul Mateos <raulofpandora@gmail.com>
* extensions/resource_registration.php,
	extensions/resource_exporation.php, extensions/agent_modules.php:
	Cleaned code and updated page disclaimers.

	* include/functions_reporting.php: Removed SVN errors in code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 21:41:52 +00:00
mdtrooper c46f12da72 2011-03-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed the update "collection_max_size"
	value.
	
	Fixes: #3220485



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 16:31:56 +00:00
mdtrooper a8f8a1ca6c 2011-03-22 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php: fixed the require once enterprise
	file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 15:48:01 +00:00
mdtrooper 54704e6f8c 2011-03-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: fixed the function "safe_url_extraclean" to pass
	the url with character -.
	
	Fixes: #3234360



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4114 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 12:20:43 +00:00
mdtrooper 63b61c9013 2011-03-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style.
	
	* extensions/resource_registration.php,
	extensions/resource_exportation.php: added first version of extension to
	import and export reports and visual console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 09:23:04 +00:00
jsatoh c4aa91189d 2011-03-22 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added missing ';'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-22 01:26:26 +00:00
javilanz 67dc758841 2011-03-21 Javier Lanz <javier.lanz@artica.es>
* include/functions_events.php: Truncated agent and module name
	* include/functions_reporting.php: Added functionality to store info of
	General, Top n and Exception reports
	* include/pchart_graph.php: Added function graph_sla_horizontal to print
	sla horizontal graph bar. (Not working properly yet)
	* include/pandora_graph.php: Added prototipe for
	function graph_sla_horizontal
	* include/fgraph.php: Added function graph_sla_pie to print sla pie graph
	* include/functions.php: Added options top n, exception and general for
	the combo box to select report type.
	* pandoradb.sql: added fome fields to treport_content table
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: added some fields to 
	treport_content table
	* godmode/reporting/reporting_builder.list_items.php: Truncated agent
	and module name
	* godmode/reporting/reporting_builder.preview.php: Added a bottom scroll
	bar to the report table
	* godmode/reporting/reporting_builder.php: Added variables for the new
	kinds of reports, top n, exception and general
	* godmode/reporting/reporting_builder.item_editor.php: Added html
	elements for the new kind of reports


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-21 17:20:18 +00:00
juanmanuelr d1c18b13e2 2011-03-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql
	pandoradb.data.oracle.sql: Changed the autoincrement of tconfig_os's pk 
	in order to respect sequence on this field.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-21 09:59:45 +00:00
juanmanuelr 7a3afcbd81 2011-03-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.oracle.sql
        pandoradb.data.oracle.sql: First version of pandora's DB schema and data for 
	Oracle DBMS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-18 13:23:12 +00:00
raulmateos b2e96fa8f2 2011-03-17 Raul Mateos <raulofpandora@gmail.com>
* extensions/dbmanager.php, extensions/pandora_logs.php, general/*.php,
	index.php, ajax.php, operation/search_*.php, operation/menu.php,
	operation/extensions.php, godmode/menu.php, godmode/extensions.php,
	admin_access_logs.php: Cleaned code and updated page disclaimers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 22:01:01 +00:00
raulmateos 35e74dca8f 2011-03-17 Raul Mateos <raulofpandora@gmail.com>
* operation/menu.php, godmode/menu.php, godmode/setup/setup.php,
	extensions/pandora_logs.php, extensions/dbmanager.php:
	Cleaned code and updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 20:51:46 +00:00
zarzuelo d5197dcb40 2011-03-17 Sergio Martin <sergio.martin@artica.es>
* operation/integria_incidents
	operation/integria_incidents/incident.incident.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident.files.php
	operation/integria_incidents/incident.tracking.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident.workunits.php
	operation/integria_incidents/incident.download_file.php
	operation/integria_incidents/incident.list.php
	operation/integria_incidents/incident_statistics.php: Added 
	missed files from the last commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 18:12:03 +00:00
zarzuelo 195b381149 2011-03-17 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	include/functions_config.php
	include/functions_incidents.php
	operation/menu.php
	operation/integria_incidents
	operation/integria_incidents/incident.incident.php
	operation/integria_incidents/incident.php
	operation/integria_incidents/incident.files.php
	operation/integria_incidents/incident.tracking.php
	operation/integria_incidents/incident_detail.php
	operation/integria_incidents/incident.workunits.php
	operation/integria_incidents/incident.download_file.php
	operation/integria_incidents/incident_statistics.php
	operation/integria_incidents/incident.list.php
	godmode/setup/setup.php: Added the integria incidents interface
	with switch in the setup



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-17 18:02:44 +00:00
slerena 80ab60dac1 2011-03-16 Sancho Lerena <slerena@artica.es>
* operation/agentes/estado_monitores.php: Fixed an ugly error when cannot
        get the policy name. Show unknown in that case, avoiding the SQL error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-16 15:26:57 +00:00
mdtrooper ac44399404 2011-03-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: fixed a typing error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-14 14:57:46 +00:00