Commit Graph

2251 Commits

Author SHA1 Message Date
mdtrooper 8c01c26a22 2012-11-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_ui.php: fixed the javascript urls.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 19:08:41 +00:00
mdtrooper 5203f1f878 2012-11-13 Miguel de Dios <miguel.dedios@artica.es>
* include/db/mysql.php, include/functions_reporting.php,
	include/ajax/agent.php: cleaned source code style.
	
	* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added the fields
	'id_agent', 'server_name' and 'show_modulegroup' in the table
	'tnetwork_map'.
	
	* include/functions_ui.php: fixed the function
	"ui_print_agent_autocomplete_input".
	
	* include/functions_networkmap.php: added function
	"networkmap_create_module_group_node".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 16:06:21 +00:00
mdtrooper 2b0bcb6846 2012-11-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style.
	
	* include/functions_api.php: fixed typo error that stoped the
	execution of api.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-12 14:53:33 +00:00
slerena 8230679022 2012-11-08 Sancho Lerena <slerena@artica.es>
* include/functions_config.php: Fixed a XSS in login :-O. Thanks
        to gobejishvili for reporting.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-08 15:09:24 +00:00
mdtrooper 4522dce0be 2012-11-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php, include/functions_tags.php: cleaned
	source code style.
	
	* godmode/events/event_edit_filter.php: fixed the lost vars in
	the javascript code for the none elements in the tag select widgets.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-08 12:24:27 +00:00
zarzuelo e2f08b720b 2012-11-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/pChart/pData.class.php
	include/functions_reporting.php
	include/constants.php: Improve performance to the SLA 
	report items, added unknown periods and fix planned downtimes
	in SLAs. Adapt the default pchart graph engine colors to pandora



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-08 07:42:11 +00:00
mdtrooper 10f8229cee 2012-11-07 Miguel de Dios <miguel.dedios@artica.es>
* index.php: cleaned source code style.
	
	* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: added the field
	"tag_with" and "tag_without", and removed the field "tags" in the
	table "tevent_filter".
	* operation/events/events_list.php,
	godmode/events/event_edit_filter.php: added widgets for to filter
	the events by tags with the events or and tags without the
	events.
	
	* include/functions_tags.php: cleaned source code style, and
	clarifity the function "tags_search_tag".
	
	* include/functions_html.php: into the function
	"html_print_input_hidden" fixed when the value have double quotes or
	single quotes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-07 17:49:31 +00:00
mdtrooper 488c853373 2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: improved the function
	"ui_print_agent_autocomplete_input" to get the default value for
	"hidden_input_idagent_value" from the GET or POST instead to set
	as 0.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 13:03:09 +00:00
vgilc ed188b3075 2012-11-05 Vanessa Gil <vanessa.gil@artica.es>
* operation/reporting/reporting_xml.php: Moved functions
	to functions_xml.php
	* include/functions_xml.php: Added file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 12:41:13 +00:00
zarzuelo a8d51f1806 2012-11-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fixed a bug of the events/alerts/unwknown
	period calculation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 11:18:52 +00:00
zarzuelo fd38e3cae1 2012-11-05 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_alert_macros.php
	include/help/es/help_alert_macros.php: Fixed typo in macro name



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 08:50:37 +00:00
mdtrooper e5e2ce0b17 2012-11-03 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: cleaned source code style.
	
	* include/styles/pandora.css, godmode/users/user_list.php: improved
	the row aspect of disabled users in the list.
	
	Pending task: #3540077




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-03 16:41:26 +00:00
mdtrooper dda46bfeca 2012-11-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, extensions/update_manager.php:
	cleaned source code style.
	
	* include/functions_ui.php: fixed or improved the function
	"ui_print_agent_autocomplete_input" for to get the data when the
	user stop to typing and lost the focus this widget.
	
	Fixes: #3573762




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-02 19:18:20 +00:00
jsatoh e9432c8a00 2012-11-01 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_fields_description.php,
	include/help/ja/help_alert_fields_values.php: Added new help files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7118 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-01 03:13:17 +00:00
zarzuelo 14c9b69e3f 2012-10-30 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_alerts.js
	godmode/alerts/configure_alert_action.php: Fix some bugs in
	the action form (jquery headache)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 16:52:56 +00:00
vgilc 8aefac438f 2012-10-30 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_reporting.php: Changed agent 
	configuration report header.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7115 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 14:14:43 +00:00
zarzuelo c9d7920e6b 2012-10-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/ajax/events.php
	include/functions_api.php
	godmode/alerts/alert_commands.php: Fix some
	event viewer bugs and command editor little
	aesthetic issues

	* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql: Delete ttag_event table




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 11:48:28 +00:00
vgilc 183338dcf8 2012-10-30 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_reporting.php: Changed format of agent 
	and group configuration reports.
	*operation/reporting/reporting_xml.php: Added custom field
	to xml report.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 10:31:03 +00:00
hkosaka 0e91645349 2012-10-30 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: added 'description' parameter to
	'create_group' API.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 07:59:55 +00:00
Ramon Novoa ca6a2a1ff0 2012-10-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php: Fixed a path.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 11:31:38 +00:00
zarzuelo 58cbf1a6a0 2012-10-29 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_alert_fields_description.php
	include/help/en/help_alert_fields_values.php
	include/help/es/help_alert_fields_description.php
	include/help/es/help_alert_fields_values.php
	godmode/alerts/configure_alert_command.php: Add help to the command
	new fields system



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7104 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 10:23:55 +00:00
Ramon Novoa 0841750413 2012-10-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  include/javascript/pandora_modules.js,
	  include/functions_network_components.php,
	  include/functions_api.php,
	  include/functions_netflow.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extensions/resource_registration.php,
	  extensions/plugin_registration.php,
	  operation/menu.php,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php,
	  godmode/servers/plugin.php,
	  godmode/menu.php,
	  godmode/modules/manage_network_components_form.php,
	  godmode/modules/manage_network_templates.php,
	  godmode/modules/manage_network_components_form_wmi.php,
	  godmode/modules/manage_network_components.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Added support for
	  custom timeout and retries to remote modules.

	* operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_report_item.php,
	  godmode/netflow/nf_report.php,
	  godmode/netflow/nf_report_form.php,
	  godmode/netflow/nf.php: Deleted from repository. Netflow reports are
	  now integrated into custom reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 10:13:49 +00:00
zarzuelo 7c328d07a9 2012-10-29 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	include/javascript/pandora_alerts.js
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	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_commands.php: Added 7 more fields to 
	alert actions and adapted templates to this feature (recovery
	included). Add the feature of custom the label and the possible
	data (to use textarea or select) from the command



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 08:45:06 +00:00
jsatoh c0edb0aa53 2012-10-29 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_macros.php: Translated new macros.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7101 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 06:13:33 +00:00
mdtrooper 16324125b9 2012-10-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the function
	"api_set_apply_all_policies".
	
	Fixes: #3576289
	
	* include/functions.php, include/functions_filemanager.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-26 17:37:57 +00:00
Ramon Novoa 4c16ac1d13 2012-10-26 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  operation/reporting/reporting_xml.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Integrated
	  XML and PDF netflow reports into custom reports. Fixed some broken
	  links.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-26 09:48:32 +00:00
Ramon Novoa 6a3d7c1c11 2012-10-25 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  include/functions_netflow.php,
	  include/functions.php,
	  include/functions_reports.php,
	  operation/reporting/reporting_xml.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Integrated
	  netflow reports into custom reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 18:34:53 +00:00
mdtrooper 3182c289cc 2012-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_extensions.php, extensions/pandora_logs.php,
	extensions/update_manager.php, extensions/resource_registration.php,
	extensions/resource_exportation.php, extensions/module_groups.php,
	extensions/plugin_registration.php, extensions/snmp_explorer.php,
	extensions/system_info.php, operation/menu.php: cleaned source code
	style.
	
	* include/functions_menu.php: fixed the hidden icons the extensions
	in  menu.
	
	Fixes: #3568966




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 16:46:52 +00:00
vgilc 5bc6eba87a 2012-10-25 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_reporting.php
	  include/functions_report.php
	  operation/reporting/reporting_xml.php
	  operation/reporting/reporting_viewer.php
	  godmode/reporting/reporting_builder.item_editor.php
	  godmode/reporting/reporting_builder.php: Changed XML reports
	and added two new types of report.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 15:03:18 +00:00
zarzuelo c5335c525d 2012-10-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	operation/visual_console/render_view.php
	operation/gis_maps/render_view.php
	operation/search_maps.php: Fixed some ACL Enterprise bugs
	merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 12:38:08 +00:00
mdtrooper fb67781f9e 2012-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: updated the links and tooltips
	for the nodes in the networkmap on metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 11:02:22 +00:00
mdtrooper 58c2bb89b0 2012-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"networkmap_create_group_node" and "networkmap_create_networkmap"
	for to extract data in the metaconsole enviroments. And in the
	function "networkmap_create_module_node" fixes the default value of
	flag for metaconsole and the links and url tooltips for the
	metaconsole networkmap.
	
	* operation/agentes/ver_agente.php: in the request for the
	"get_agentmodule_status_tooltip" added code for get data in the
	metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 08:53:44 +00:00
mdtrooper 7d2d861527 2012-10-24 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added the fields
	"show_groups", "show_modules" into the table "tnetwork_map".
	
	* include/functions_modules.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"modules_get_agentmodule_is_init", "modules_get_agentmodule_type"
	and "modules_get_agentmodule_status" for to extract data in the
	metaconsole enviroments.
	
	* include/functions_networkmap.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"networkmap_create_agent_node" and "networkmap_create_module_node".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-24 14:01:54 +00:00
Ramon Novoa a49d4b47aa 2012-10-23 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_alert_macros.php,
	  include/help/es/help_alert_macros.php,
	  include/help/ja/help_alert_macros.php: Update macro help files. The
	  Japanese help file needs to be translated.

	* pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/groups/configure_group.php,
	  godmode/groups/group_list.php: Added more information to agent
	  groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-24 08:57:36 +00:00
Ramon Novoa 343b5821f8 2012-10-23 Ramon Novoa <rnovoa@artica.es>
* include/functions_cron.php: Added to repository. Cron related
	  functions.

	* include/functions_html.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php: Added support for remote
	  cron modules.

	* godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php,
	  operation/netflow/nf_view.php,
	  include/functions_netflow.php: Added a description to report items.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-23 10:45:25 +00:00
vgilc 581b7723c8 2012-10-16 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_events.php
	  operation/reporting/reporting_xml.php: XML reports: graphs, events
	and modules.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-16 13:38:09 +00:00
Ramon Novoa 9839ef76de 2012-10-16 Ramon Novoa <rnovoa@artica.es>
* include/db/postgresql.php, include/db/mysql.php,
	  include/db/oracle.php, include/functions_db.php,
	  operation/agentes/datos_agente.php: Merged from 4.0 branch. Fixed
	  history database connection when the main database and the history
	  database are on the same host. Allow switching between the main
	  database and the history database to retrieve module data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-16 11:49:13 +00:00
darode e5c161eaa3 2012-10-15 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/extensions.php,
	godmode/extensions.php,
	include/functions_extensions.php,
	extensions/insert_data.php,
	extensions/snmp_explorer.php,
	extensions/system_info.php,
	extensions/net_tools.php,
	extensions/extension_uploader.php,
	extensions/pandora_logs.php,
	extensions/agents_modules.php,
	extensions/update_manager.php,
	extensions/ssh_gateway.php,
	extensions/dbmanager.php,
	extensions/vnc_view.php,
	extensions/resource_registration.php,
	extensions/users_connected.php,
	extensions/resource_exportation.php,
	extensions/module_groups.php,
	extensions/plugin_registration.php: Modified extension to 
	show versions.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-15 10:23:31 +00:00
vgilc 9cb42fd9f4 2012-10-15 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added function validate_event_
	by_id.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-15 08:44:40 +00:00
zarzuelo e4378fc78d 2012-10-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/javascript/pandora_events.js
	include/ajax/events.php
	include/constants.php
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php: Change the validation events 
	system to validate passing the ids searialized avoiding a lot
	of operations. Improve counts and fix several bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 17:49:17 +00:00
mdtrooper 5b32ecf17f 2012-10-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: fixed the order of vars in the
	asignation into the code of function "agents_get_modules".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 17:24:41 +00:00
Ramon Novoa 7007a261e3 2012-10-11 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_view.php: Small fixes to netflow reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 15:52:26 +00:00
mdtrooper 55fe5262bc 2012-10-11 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/networkmap.ajax.php: added the code for the
	metaconsole in the call "get_networkmap_summary" and added the
	call "get_networkmap_summary_pandora_server" for the tooltips in
	the metaconsole networkmap in the pandoras children nodes.
	
	* include/functions_agents.php: improve the execution time and
	cleaned the code for the function "agents_get_modules".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 10:20:37 +00:00
jsatoh 73bb12d30a 2012-10-11 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_response_parameters.php,
	include/help/ja/help_response_macros.php: Added new help files,
	parameters and macros in event responses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 01:50:09 +00:00
juanmanuelr 5f73897a4f 2012-10-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora.js
	 operation/agentes/ver_agente.php: Fixed multiselect in wizards 
	 of Pandora Console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-10 18:04:57 +00:00
mdtrooper 09213623fc 2012-10-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: fixes and changes for the new
	form to set the urls and url images.
	
	* include/functions_html.php: fixed the "html_print_image" for the
	relative urls images (uses in the networkmap).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-10 14:49:03 +00:00
zarzuelo a8db587f07 2012-10-10 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Add the default 
	responses to data scripts.

	* pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: 
	Added the new table of event responses to oracle 
	and postgresql schemmas. 

	* godmode/events/event_responses.editor.php 
	include/help/en/help_response_parameters.php
	include/help/en/help_response_macros.php
	include/help/es/help_response_parameters.php
	include/help/es/help_response_macros.php: Add help to
	parameters and macros in event responses



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-10 10:46:19 +00:00
zarzuelo 659ffc0baa 2012-10-09 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/styles/jquery-ui-1.8.23.custom.css
	include/javascript/pandora_events.js
	include/ajax/events.php
	operation/events/events_list.php
	operation/events/events.php
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	godmode/menu.php
	godmode/events/event_responses.list.php
	godmode/events/custom_events.php
	godmode/events/event_responses.php
	godmode/events/events.php
	godmode/events/event_responses.editor.php: Added several changes on
	events system as responses editor and performer, and several
	fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-09 16:05:32 +00:00
mdtrooper bd6fe40383 2012-10-09 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added flag field
	"pandoras_children" into the table "tnetwork_map".
	
	* extras/check_other_languages.sh, include/functions_agents.php,
	operation/agentes/networkmap_list.php: cleaned source code style.
	
	* include/functions_networkmap.php: a lot of fixes for the
	metaconsole, and other changes now generate a graphviz code more
	clean and human readble (good for maintenaince).
	
	* include/ajax/networkmap.ajax.php: into the ajax call
	"get_networkmap_summary" started to adapt to call from the
	metaconsole (WIP).
	
	* include/functions_ui.php: fixes for metaconsole links to images in
	the functions "ui_print_message", "ui_print_group_icon" and
	"ui_toggle". And added the parameter $return in the function
	"ui_toggle" for to return the html code as string.
	
	* operation/agentes/ver_agente.php: into the ajax call
	"get_agent_status_tooltip" adapt to call from the metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-09 15:51:33 +00:00
Ramon Novoa 19b1b1aac5 2012-10-08 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_html.php,
	  include/graphs/fgraph.php,
	  include/functions_ui.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php: Small improvements and fixes.
	  Added support for PDF netflow reports (enterprise only).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-08 19:19:58 +00:00
juanmanuelr b9f668e6ee 2012-10-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Fixed print_image when source image 
	doesn't exists on metaconsole then try to search it in normal 
	console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 16:21:27 +00:00
Ramon Novoa 3e884c74b8 2012-10-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php:  Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 10:53:22 +00:00
Ramon Novoa 8578d87032 2012-10-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_html.php,
	  include/functions_netflow.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/netflow/nf_edit_form.php,
	  godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php,
	  godmode/netflow/nf_report_form.php,
	  godmode/netflow/nf_edit.php: Added metaconsole integration to netflow
	  reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 10:49:11 +00:00
juanmanuelr f52ab3b4d0 2012-10-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Fixed path to images in metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 09:12:01 +00:00
slerena bb4a6a9752 2012-10-04 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Fixed AGAIN the prooblem
        with tactical view, users with several groups or ALL group
        doesnt work fine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-03 23:34:48 +00:00
vgilc a0fd16a060 2012-10-03 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Changed function create
	event.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-03 13:04:56 +00:00
darode 735c6950b7 2012-10-03 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_graph.php,
        operation/agentes/stat_win.php: Replaced baseline
        graph by compare graph feature.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-03 11:07:21 +00:00
darode 5c4b2ab31b 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_graph.php,
        operation/agentes/stat_win.php: Fixed a problem with
        max and min in boolean graph. This graphs don't have
        max and min series.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 15:54:22 +00:00
darode 58adc35d07 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/styles/pandora.css: Fixed a wrong change
        in style of table background.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 15:30:24 +00:00
darode e64b018327 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_graph.php: Fixed all bugs
        related to graph stats improvements



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7029 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 15:15:27 +00:00
zarzuelo 3658b5d02c 2012-10-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php: Fix another screen
	in eACL
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 11:32:34 +00:00
Ramon Novoa f545851b20 2012-10-02 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php: Added XML netflow reports and many
	  changes to enable metaconsole integration.

	* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Updated
	  migration scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 11:11:58 +00:00
darode f264bc1dfb 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/setup/setup_visuals.php
	include/functions_config.php
	include/functions_graph.php
	operation/agentes/stat_win.php: Fixed some problesm
	with graphs (visual and statistics)

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 09:07:20 +00:00
mdtrooper 39c055b755 2012-10-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/recon_script.php, godmode/setup/setup.php,
	godmode/users/configure_user.php, include/functions.php,
	include/functions_config.php, extensions/dbmanager.php: now the
	"check_referer" can be disabled in the setup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-01 13:28:34 +00:00
zarzuelo ca511ff2e8 2012-10-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	general/header.php 
	include/functions_modules.php
	include/javascript/pandora_events.js
	include/ajax/events.php
	include/functions.php
	operation/events/events_list.php
	operation/events/events.php: Change the event details view
	to modal window

	* include/styles/pandora_legacy.css
	include/styles/pandora.css
	images/status_sets/default/severity_major_pixel.png
	images/status_sets/default/severity_minor_pixel.png
	images/status_sets/default/severity_major.png
	images/status_sets/default/severity_minor.png: Change the 
	major/minor icons and colors



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-01 11:15:31 +00:00
mdtrooper ad021cfb66 2012-09-28 Miguel de Dios <miguel.dedios@artica.es>
* install.php, operation/agentes/stat_win.php, general/footer.php,
	include/config_process.php, include/functions_ui.php,
	include/functions_graph.php, include/graphs/functions_flot.php,
	include/functions_visual_map.php: change the $config['home_url'],
	now it is generated dinamicly.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-28 14:06:20 +00:00
mdtrooper 5cf3dcdc6e 2012-09-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php, operation/agentes/tactical.php: cleaned
	source code style.
	
	* include/functions_reporting.php: fixed the ACL into the function
	"reporting_get_group_stats".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-27 15:17:50 +00:00
zarzuelo 892dc813fb 2012-09-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php
	index.php
	operation/menu.php
	godmode/agentes/modificar_agente.php
	godmode/menu.php: Fixed some pages to ACL Enterprise
	and the full screen pages loading menu structure when is not
	shown
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-27 13:02:16 +00:00
zarzuelo ebe020bf61 2012-09-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php
	operation/agentes/estado_agente.php: Add a manually list of the
	pages (sec2) not accessibles from menu to link it to the
	section where appear (sec). Fix a bad section
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-26 16:54:25 +00:00
mdtrooper 5e0e718744 2012-09-25 Miguel de Dios <miguel.dedios@artica.es>
* general/login_page.php, general/logoff.php, general/header.php,
	general/login_help_dialog.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/agentes/planned_downtime.editor.php,
	godmode/alerts/alert_list.list.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	include/styles/jquery-ui-1.8.23.custom.css,
	include/javascript/jquery.jquery-ui-1.8.17.custom.min.js,
	include/javascript/jquery.timeentry.js,
	include/javascript/jquery.ui.droppable.js,
	include/javascript/jquery.ui.draggable.js,
	include/javascript/jquery.ui-timepicker-addon.js,
	include/javascript/jquery.ui.resizable.js,
	include/javascript/jquery.autocomplete.js,
	include/javascript/jquery.ui.core.js,
	include/javascript/jquery-1.8.2.js,
	include/javascript/jquery.ui.dialog.js,
	include/javascript/jquery.jquery-ui-1.8.23.custom.min.js,
	include/functions_ui.php, index.php,
	extensions/update_manager/update_pandora.php,
	extensions/insert_data.php, operation/agentes/datos_agente.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/reporting_viewer.php: updated the jquery and
	jquery.ui, and removed old useless files. And added the jquery
	library to timepicker and implemented the calls into the code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-25 15:34:36 +00:00
mdtrooper 15a631c000 2012-09-24 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: added the fields
	"text_filter" and "dont_show_subgroups" for to new filters to
	generate the networkmap. 
	
	* operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php,
	include/functions_networkmap.php, include/functions_servers.php:
	added the new filters for free text for agents and hidden the
	subgroups of any group in the group networkmap.
	
	* extensions/resource_registration.php,
	operation/agentes/networkmap.php, general/header.php,
	godmode/netflow/nf_report_form.php,
	godmode/agentes/module_manager.php, include/functions_groups.php,
	include/auth/ldap.php, operation/agentes/estado_ultimopaquete.php,
	include/functions.php, include/functions_db.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-24 11:59:05 +00:00
Ramon Novoa b8bd4b5d7c 2012-09-21 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_item_list.php: Added netflow traffic summary
	  reports. Small performance improvements. Fixed a bug in the
	  scale of area charts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-21 13:42:13 +00:00
mdtrooper 829134da29 2012-09-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_monitores.php: added the small form to
	filter the modules/monitors in the agent general view and of course
	pagination.
	
	* include/functions_html.php, operation/events/events.php,
	operation/events/export_csv.php, operation/events/sound_events.php,
	operation/events/events_list.php,
	operation/netflow/nf_live_view.php, operation/tree.php,
	operation/agentes/ver_agente.php, operation/agentes/stat_win.php:
	cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-21 11:24:16 +00:00
jsatoh 3320cbda4f 2012-09-21 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_macros.php: Added a new help file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6992 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-21 00:32:59 +00:00
mdtrooper f24f80c3b4 2012-09-20 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, include/functions_api.php: cleaned
	source code style. And erased deprecated functions.
	
	* include/functions_ui.php: I hope that is finished the changes for
	the function "ui_print_agent_autocomplete_input" (at the moment) and
	added a huge header doc on the function.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-20 13:45:23 +00:00
vgilc 8772c67f13 2012-09-19 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added function: tactical
	view.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 15:28:15 +00:00
zarzuelo f848544e6f 2012-09-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	operation/agentes/stat_win.php: Fix several bugs of the 
	event graph and event special features on flot graphs when
	compare periods



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 14:59:31 +00:00
mdtrooper 31b78d9121 2012-09-19 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php, extensions/system_info.php,
	extensions/update_manager/lib/libupdate_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_list.list.php,
	godmode/massive/massive_add_profiles.php,
	godmode/massive/massive_edit_modules.php,
	godmode/servers/manage_recontask.php,
	godmode/setup/setup_visuals.php, include/functions_api.php,
	include/functions_graph.php, include/functions_messages.php,
	include/graphs/functions_flot.php,
	include/graphs/flot/pandora.flot.js, operation/tree.php,
	operation/agentes/status_events.php,
	operation/agentes/ver_agente.php, operation/events/events_list.php,
	operation/events/events_marquee.php,
	operation/events/events_rss.php: cleaned source code style.
	
	* godmode/reporting/reporting_builder.item_editor.php,
	include/functions_ui.php, include/ajax/agent.php: continue to change
	to the new function "ui_print_agent_autocomplete_input" to make more
	easy (and standar) the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 14:45:59 +00:00
vgilc 9508511faf 2012-09-19 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added functions: event_info
	and create_event.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 11:28:57 +00:00
vgilc 915870bbeb 2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_config.php: Fixed bug in netflow
	setup.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 16:05:53 +00:00
vgilc 70fdf849e7 2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added new
	functions to API.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 13:32:54 +00:00
mdtrooper 3d1860b2b8 2012-09-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,
	godmode/alerts/alert_list.builder.php,
	godmode/alerts/alert_list.list.php,
	godmode/gis_maps/configure_gis_map.php,
	include/functions_visual_map_editor.php, include/functions_ui.php,
	operation/tree.php, operation/agentes/exportdata.excel.php,
	operation/agentes/exportdata.php, operation/agentes/ver_agente.php,
	operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
	operation/gis_maps/ajax.php, operation/events/events_validate.php,
	operation/messages/message_edit.php,
	operation/messages/message_list.php,
	operation/reporting/reporting_viewer.php,
	operation/netflow/nf_live_view.php,
	operation/incidents/incident.php, operation/search_modules.php:
	started to use the new function "ui_print_agent_autocomplete_input"
	to make more easy (and standar) the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 11:28:09 +00:00
vgilc a4e76728ac 2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Fixed bug creating
	new agent.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 09:08:21 +00:00
zarzuelo c9237bec28 2012-09-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	operation/agentes/stat_win.php  
	include/functions_modules.php: Added unknown status
	to graphs and improve some little aesthetic things of
	flot graphs

	* include/functions.php
	include/functions_html.php: Fixed html checkbox issue
	with get_parameter_checkbox function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 09:02:49 +00:00
vgilc 12fc75dab4 2012-09-17 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php
	  extensions/plugin_registration.php
	  operation/agentes/status_monitor.php
	  godmode/agentes/agent_template.php
	  godmode/massive/massive_edit_modules.php
	  godmode/modules/manage_network_templates.php
	  include/javascript/pandora_modules.js
	  include/functions_network_components.php: Added instructions to modules,
	events, policies, massive operations...


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-17 16:03:38 +00:00
Ramon Novoa 67d6c4b894 2012-09-17 Ramon Novoa <rnovoa@artica.es>
* include/javascript/pandora_modules.js,
	  include/functions_network_components.php,
	  pandoradb.sql,
	  extensions/plugin_registration.php,
	  operation/agentes/status_monitor.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/massive/massive_edit_modules.php,
	  godmode/modules/manage_network_components_form.php,
	  godmode/modules/manage_network_components_form_common.php,
	  godmode/modules/manage_network_components.php: Added inverse intervals for
	  warning and critical limits.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-17 14:29:45 +00:00
mdtrooper 38411e1f7c 2012-09-14 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: cleaned source code
	style.
	
	* godmode/agentes/module_manager_editor_prediction.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_ui.php: started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-14 17:54:33 +00:00
mdtrooper 8afc508476 2012-09-13 Miguel de Dios <miguel.dedios@artica.es>
* operation/incidents/incident_detail.php,
	operation/agentes/exportdata.php, operation/events/events_list.php,
	operation/events/events.php, godmode/events/event_edit_filter.php,
	godmode/massive/massive_edit_agents.php, include/functions_api.php,
	include/constants.php, include/javascript/pandora.js,
	include/functions_ui.php: started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 17:47:21 +00:00
zarzuelo f8c2c3bf29 2012-09-13 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora_legacy.css
	include/styles/pandora.css
	include/functions.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	operation/events/events_list.php
	images/skin/skin_default/include/styles/pandora.css
	images/status_sets/default/severity_major_pixel.png
	images/status_sets/default/severity_minor_pixel.png
	images/status_sets/default/severity_major.png
	images/status_sets/default/severity_minor.png
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added images and styles
	for minor and major criticities



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 14:06:08 +00:00
mdtrooper 22aee5956d 2012-09-12 Miguel de Dios <miguel.dedios@artica.es>
* extensions/insert_data.php,
	operation/incidents/incident_detail.php: started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.
	
	* godmode/agentes/agent_manager.php: erased unused source code for
	old ajax call, and started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.
	
	* operation/agentes/exportdata.php: erased duplicated source code
	for call ajax, and rewrote some javascript to use same page to
	ajax.
	
	* godmode/alerts/alert_list.builder.php,
	godmode/events/event_edit_filter.php,
	godmode/reporting/visual_console_builder.editor.js: rewrote some
	javascript to use same page to ajax.
	
	* include/ajax/agent.php: cleaned source code style.
	
	* include/functions_ui.php: removed the old unused code as
	the functions "ui_print_ui_agents_list" and "ui_popup_help". And
	added the first version of "ui_print_agent_autocomplete_input", and
	this function maybe will be changing for a some time.
	
	* include/functions_html.php: into the function
	"html_print_input_text_extended" added code to use the $alt
	parameter (never it have been used before) and added the function
	"html_print_input_hidden_extended" with more parameters than the
	simple "html_print_input_hidden" function.
	
	* include/javascript/pandora.js: marked as Deprecated the function
	"agent_module_autocomplete".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-12 15:53:58 +00:00
hkosaka e63212ce5a 2012-09-12 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_users.php
	godmode/groups/configure_group.php
	godmode/groups/group_list.php
	pandoradb.sql
	pandoradb_data.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Added
	'description' column to Group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-12 08:13:57 +00:00
juanmanuelr 5dc689693e 2012-09-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	 include/javascript/pandora.js
	 include/functions_ui.php
	 operation/reporting/reporting_viewer.php
	 godmode/reporting/reporting_builder.php
	 godmode/reporting/reporting_builder.item_editor.php: Urls 
	 compatible with reverse proxy functionality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-11 19:16:11 +00:00
zarzuelo 5d0be72998 2012-09-11 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js: Fixed the reset of the
	form of local modules after select a module component and
	unselect it



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-11 10:51:23 +00:00
mdtrooper d2729d64b7 2012-09-10 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php: fixed the link to logout when the Pandora
	run across inverse proxy.
	
	* include/functions.php: update the function "check_refererer" for
	situations when the Pandora runs across the inverse proxy.
	
	* include/functions_html.php: function "html_print_image" fixed when
	use the metaconsole across the inverse proxy.
	
	* include/functions_reporting.php,
	operation/reporting/reporting_viewer.php: fixed some links for the
	Pandora runs across inverse proxy.
	
	* include/functions_ui.php: fixed the function "ui_get_full_url"
	when pass a empty url in a Pandora into a inverse proxy.
	
	* extensions/dbmanager.php, operation/agentes/ver_agente.php:
	cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 16:30:42 +00:00
vgilc c915c3c644 2012-09-10 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	  godmode/agentes/configurar_agente.php
	  godmode/agentes/module_manager_editor.php
	  godmode/agentes/module_manager_editor_common.php
	  godmode/modules/manage_network_components.php
	  godmode/modules/manage_network_components_form.php
	  godmode/modules/manage_network_components_form_common.php
	  include/functions_alerts.php
	  include/functions_events.php
	  operation/events/events_list.php: Added several fields to modules
	and events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 16:00:14 +00:00
mdtrooper 575b4a39ab 2012-09-07 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, include/functions_ui.php,
	include/functions_html.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 15:51:47 +00:00
juanmanuelr 77c493f2f8 2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	 include/functions_reporting.php: Fixed custom sql metaconsole
	 reports. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 15:12:52 +00:00
juanmanuelr b391b9f1de 2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	 include/javascript/pandora.js
	 include/functions_ui.php: Fixes in global, exception and sla
	 metaconsole reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 13:38:05 +00:00
zarzuelo a2328c9974 2012-09-10 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_macros.php
	include/help/es/help_macros.php: Add help to 
	new macros



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 13:01:56 +00:00
juanmanuelr d265738e99 2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora.js: Fix over agent_module_autocomplete
	function due to problems with Chrome.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 12:54:02 +00:00