Commit Graph

2657 Commits

Author SHA1 Message Date
zarzuelo de332b7cda 2013-03-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	operation/events/events.build_table.php: Fixed the owner info
	in wrong column of event view for bug 3607097

	Fixed a problem changing the owner when change status too



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-07 09:46:35 +00:00
jsatoh b85f460ce3 2013-03-07 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_view_services.php,
	include/help/ja/help_field_match_snmp.php,
	include/help/ja/help_snmp_alert_field1.php: Updated help.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-07 05:08:33 +00:00
zarzuelo cb21600f09 2013-03-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_servers.php
	operation/agentes/estado_generalagente.php: Order
	code and little fix

	* operation/events/events.build_table.php
	godmode/events/custom_events.php: Add Instructions to
	custom columns in event view to bug 3607062



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-06 17:53:17 +00:00
mdtrooper d36e33d9a5 2013-03-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_io.php, include/db/mysql.php: fixed warnings
	messages from PHP.
	
	Fixes: #3607014




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-06 17:28:55 +00:00
zarzuelo 00038f7ebd 2013-03-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Change the update counts 
	of fired alerts when validate to do it only when the validation
	is of a unvalidated alert. This change is to avoid broke 
	counts



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-06 11:49:18 +00:00
mdtrooper 7a1ff1e9c3 2013-03-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: improved the style.
	
	* include/functions_reporting.php: fixed into the function
	"reporting_get_agentmodule_sla_array" when have one data of a
	module.
	
	Fixes: #3606811




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 18:04:33 +00:00
mdtrooper 4af01ca236 2013-03-05 Miguel de Dios <miguel.dedios@artica.es>
* extensions/snmp_explorer.php: improved the code style.
	
	* include/functions_html.php, include/ajax/module.php: rewrote the
	code for to use the last autocomplete jquery UI.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 16:03:01 +00:00
mariopulido 97e9ac4ce2 2013-03-05 Mario Pulido <mario.pulido@artica.es>
*include/help/en/help_view_services.php,
        include/help/es/help_view_services.php:Modified services help.
        
        *images/help/service3.png,images/help/service4.png
        images/help/service5.png, images/help/service6.png
        images/help/service7.png. images/help/service2.png: Add images to services help.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 15:49:20 +00:00
zarzuelo f351944196 2013-03-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php: Fix little
	bug of agents statistics

	* include/help/en/help_field_match_snmp.php
	include/help/en/help_snmp_alert_field1.php
	include/help/es/help_field_match_snmp.php
	include/help/es/help_snmp_alert_field1.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/alerts/configure_alert_action.php
	godmode/alerts/alert_commands.php
	godmode/snmpconsole/snmp_alert.php: Adapt snmp alert
	editor to new alerts macro system. Now there are 10 fields
	and are dinamically charged from javascript. Bug 3605775



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 14:57:35 +00:00
mdtrooper 18ea35a4ec 2013-03-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php,
	operation/agentes/gis_view.php,
	godmode/gis_maps/configure_gis_map.php,
	godmode/agentes/agent_conf_gis.php, include/functions_gis.php: fixes
	about agents with white spaces.

	MERGED FROM THE BRANCH pandora_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 14:24:44 +00:00
mdtrooper 76350d8463 2013-03-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_netflow.php, include/functions_graph.php,
	include/functions_config.php, include/functions_groups.php: improved
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 11:00:40 +00:00
mdtrooper ae38902834 2013-03-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php,
	godmode/netflow/nf_item_list.php, include/functions_reporting.php,
	include/functions_modules.php, include/functions_snmp_browser.php,
	include/functions_agents.php, operation/tree.php,
	operation/reporting/reporting_xml.php: improved source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 10:34:29 +00:00
zarzuelo e5adb86b98 2013-03-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	pandoradb.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: set the
	counts columns of agent table as "signed" to avoid overflow
	and add check to tactical statistics to avoid show negative
	numbers

	* godmode/agentes/module_manager_editor_plugin.php: Increase
	the size of text inputs in plugin modules for bug 3606401



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 09:23:03 +00:00
jsatoh 6e7c70c7c7 2013-03-05 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_tags_config.php,
        include/help/ja/help_agent_server.php: Added new help files.
	
        * include/help/ja/help_module_definition.php: Updated the description.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-05 04:50:08 +00:00
zarzuelo 87c7345eb4 2013-03-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_servers.php: Fix counts when validate or
	delete alerts and fix some little bugs of previous commits



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-04 18:16:00 +00:00
mdtrooper 985a6375bc 2013-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php: added constant for the module not init
	status.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-04 15:32:43 +00:00
mdtrooper a9c29eb474 2013-03-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/setup_netflow.php,
	include/help/ja/help_snmp_trap_types.php,
	include/functions_extensions.php,
	include/functions_snmp_browser.php, include/functions_events.php,
	include/functions_api.php: improved the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-04 14:41:26 +00:00
mdtrooper 4b678aa371 2013-03-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php,
	include/functions_ui.php, include/functions_reporting.php,
	include/constants.php, include/ajax/reporting.ajax.php,
	include/ajax/agent.php, operation/agentes/ver_agente.php: fixed the
	graphs and the autocomplete.
	
	Fixes: #3606284




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-04 14:31:30 +00:00
zarzuelo 5b575988a3 2013-03-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Update the fired
	counts on validate alerts function

	* include/functions_events.php
	include/functions_reporting.php
	include/javascript/jquery.pandora.js
	include/functions_treeview.php
	operation/tree.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/search_agents.php: Improve and unify code
	of the status counts in agents list, agent detail, 
	tree view and search views

	* ajax.php: Load the user language in the
	ajax entry point. Until now the language was the
	general!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-04 12:51:22 +00:00
zarzuelo fc5955a551 2013-03-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/functions_events.php
	include/constants.php
	operation/agentes/estado_generalagente.php
	operation/agentes/status_events.php
	operation/agentes/tactical.php
	operation/events/event_statistics.php
	operation/events/events_list.php
	operation/events/events.php: Improve layouts, graphic
	of events near tables, colors of events pies, acl tags,
	etc.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7767 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-01 13:22:29 +00:00
mariopulido 985654001e 2013-03-01 Mario Pulido <mario.pulido@artica.es>
* images/help/service1.png: New file for help.

	* godmode/tag/tag.php,
	godmode/agentes/agent_manager.php
	godmode/agentes/module_manager_editor_common.php: New hint help.

	* include/help/en/help_tags_config.php,
        include/help/en/help_agent_server.php,
        include/help/en/help_module_definition.php,
        include/help/en/help_view_services.php,
        include/help/es/help_module_definition.php,
        include/help/es/help_tags_config.php,
        include/help/es/help_agent_server.php: New and improved help files.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-01 11:13:58 +00:00
mdtrooper d533a1076f 2013-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: fixed the delete layers.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-01 10:14:53 +00:00
zarzuelo 85e11a4e99 2013-03-01 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.pandora.js
	include/functions_servers.php
	operation/events/event_statistics.php
	general/logon_ok.php
	godmode/admin_access_logs.php: Fix little bugs and
	the server performance counts



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-01 10:00:42 +00:00
zarzuelo e032a12bf0 2013-02-28 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_events.js
	operation/events/events_list.php: Remodelated the filter 
	save/update feature from the filter form. To new modal
	windows system



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7761 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 18:01:03 +00:00
mdtrooper e444a690b8 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_events.php,
	images/status_sets/default/severity_informational.png,
	images/status_sets/default/severity_maintenance_pixel.png,
	images/status_sets/default/severity_maintenance.png,
	images/status_sets/default/severity_informational_pixel.png: fixed
	the colors for maintenance and informational events.
	
	Fixes: #3606227




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 16:36:34 +00:00
mdtrooper fafb8f2d5f 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/admin_access_logs.php: cleaned source code style.
	
	* include/functions_db.php: fixed the set ip in the function
	"db_pandora_audit".
	
	Fixes: #3606276




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 16:07:54 +00:00
mdtrooper 737ad2c052 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php, include/functions_gis.php,
	operation/gis_maps/render_view.php: fixes for the layers.
	
	MERGED FROM THE BRANCH PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 15:28:21 +00:00
zarzuelo e0fdd27798 2013-02-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	operation/agentes/estado_generalagente.php: Improve the
	forced title in images and the agent operation view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 15:12:49 +00:00
darode ef8efa9938 2013-02-28 Dario Rodriguez <dario@artica.es>
* include/functions_api.php: Added new API function to
        create custom field and to get custom field ID by name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 14:41:26 +00:00
mdtrooper a7a4ebbdc6 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form.php,
	include/functions_html.php, operation/menu.php,
	operation/events/events_list.php: improved source code.
	
	* include/functions_events.php: fixed into the function
	"events_get_agent" the query to get criticities.
	
	Fixes: #3606285




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 11:57:57 +00:00
zarzuelo c441dbb3bb 2013-02-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_io.php
	include/functions_ui.php
	include/functions_reporting.php
	general/logon_ok.php: Improve the main screen putting the 
	last activity in left column, adding icons and improving titles

	* 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_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: Fix typo in
	logger actions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 11:43:10 +00:00
mdtrooper 49a0e32bca 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: into the function
	"reporting_get_agents_detailed_event" readded the code lost from the
	merge from the branch pandora_4.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7742 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 11:24:45 +00:00
mdtrooper da2db93c9d 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, include/functions_io.php: fixed the
	update the config without enterprise version.
	
	Fixes: #3606331




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 10:17:39 +00:00
mdtrooper 41fa838bae 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed php warning message when
	calculate the server healty without servers.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 10:04:58 +00:00
mdtrooper 696700f0ef 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: added code to set the config options
	for the history actions.
	
	Fixes: #3606285
	
	* include/functions_api.php: improved the source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 09:46:39 +00:00
zarzuelo 1d27ca8df2 2013-02-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Include a library in
	functions config to avoid error in GD graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 18:16:49 +00:00
zarzuelo 62efe0f580 2013-02-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora.css
	include/functions_graph.php
	include/graphs/functions_pchart.php
	include/functions_reporting.php
	include/functions_servers.php
	include/constants.php
	operation/agentes/tactical.php
	general/logon_ok.php: A lot of improvements in
	tactical views



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7736 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 17:11:42 +00:00
darode f6f7bbcaeb 2013-02-27 Dario Rodriguez <dario@artica.es>
* include/functions_events.php: Added new fields to events_create_event 
	function: critical warning and unknown instructions, source and tags.
	* include/functions_api.php: Reimplemented api_create_event API function, 
	the behaviour was completly wrong from documented and events_create_event
	function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 16:03:22 +00:00
mdtrooper 5413b96d55 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/setup_general.php, godmode/setup/setup_netflow.php,
	godmode/setup/setup.php, godmode/setup/performance.php,
	godmode/setup/setup_visuals.php, include/functions_config.php: added
	check of update the options in the setup and show the message to
	success or not the operation for the user.
	
	Fixes: #3605972
	
	* include/functions_api.php,
	operation/agentes/estado_generalagente.php: fixed the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 14:25:24 +00:00
mdtrooper 5b6c2a43fb 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js, include/functions_api.php:
	improved the source code style.
	
	* operation/agentes/estado_generalagente.php: fixed the set name
	style for the agent.
	
	Fixes: #3606134




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 10:22:51 +00:00
mdtrooper de78e7da9d 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/agent_manager.php: updated the code to module
	constants.
	
	* include/javascript/pandora_modules.js: fixed the set the
	module_data from to the json.
	
	* include/functions_api.php: cleaned source code style.
	
	* include/constants.php: addded lost constant for the module
	prediction.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 09:51:48 +00:00
slerena 0dd04ce0ea 2013-02-26 Sancho Lerena <slerena@artica.es>
* include/functions_filemanager.php: Fixed tooltips to use new
        format.  Added space between action icons.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 20:08:39 +00:00
Ramon Novoa b5e9a1a4f9 2013-02-26 Ramon Novoa <rnovoa@artica.es>
* images/hand_point.png: Added to repository. Hand icon.

	* include/functions_snmp_browser.php: Style fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 17:04:48 +00:00
mdtrooper 083fdbccf5 2013-02-26 Miguel de Dios <miguel.dedios@artica.es>
* general/login_page.php, include/javascript/jquery.pandora.js,
	include/constants.php, index.php: fixed the dialog for the password
	policies. And added constants.
	
	Fixes: #3605970




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 16:31:40 +00:00
Ramon Novoa 6c1c197d22 2013-02-26 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php: Always enable de
	  SNMP walk button.

	* include/javascript/pandora_snmp_browser.js: Added to repository.
	  Javascript code for the SNMP browser.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 16:16:27 +00:00
zarzuelo bef2a36c3d 2013-02-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora.css
	include/functions_graph.php
	include/javascript/jquery.pandora.js
	index.php: Change the HTML native title for
	the images by a jquery engined title more
	visible and customizable

	* general/logon_ok.php
	include/functions_reporting.php: Improve the
	main page graphs and layout



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 16:10:02 +00:00
mdtrooper 79b5241c32 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: fixed in function
	"modules_update_agent_module" the check disabled value.
	
	Fixes: #3606060
	
	* general/login_page.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7720 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 15:36:37 +00:00
zarzuelo 1624c390f4 2013-02-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/constants.php
	images/bell_error.png
	general/logon_ok.php: Restructurated the tactical view
	overview table. TODO: Change icons



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 16:44:26 +00:00
mdtrooper 4ae8270398 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php, operation/events/events.build_table.php,
	general/shortcut_bar.php: improved the code style.
	
	* images/add.disabled.png: added lost icon file for alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 16:21:11 +00:00
mdtrooper eb145f1d29 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, operation/agentes/alerts_status.php:
	improved the style code.
	
	* include/functions_alerts.php: in function "get_group_alerts" fixed
	the get all alerts, sometimes set empty the return array.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 13:21:24 +00:00
zarzuelo 83fb4e3e14 2013-02-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_reports.php
	godmode/reporting/reporting_builder.php: Fixed some interface errors on
	reports views and other ACLs fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 11:57:34 +00:00
mdtrooper 24e1fe692e 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form_common.php,
	godmode/massive/massive_edit_modules.php,
	include/functions_api.php: improved the form of modules the part
	of critical and warning widgets.
	
	Fixes: #3605482




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 10:29:52 +00:00
zarzuelo 637521475a 2013-02-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora.css
	include/functions_graph.php
	include/functions_events.php
	include/javascript/pandora.js
	operation/agentes/estado_generalagente.php: Improve agent view
	interface, work in hidden menus to improve more the graphs 
	layout.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 13:48:10 +00:00
slerena 3e46f8fa34 2013-02-22 Sancho Lerena <slerena@artica.es>
* include/api.php: Added a single protection on DoS attacks.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7704 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 13:31:29 +00:00
Ramon Novoa 5d180d6bc5 2013-02-22 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php,
	  include/functions_snmp_browser.php,
	  include/javascript/pandora_modules.js,
	  operation/snmpconsole/snmp_browser.php: Integrated the SNMP browser into
	  the SNMP module editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 13:11:47 +00:00
zarzuelo e952a497aa 2013-02-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Supress a safe_input
	in html_print_image function due performance problem



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 17:30:44 +00:00
zarzuelo 51654d991e 2013-02-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	operation/events/events_list.php: Little fixes
	of new layout of events

	* include/graphs/pChart/pPie.class.php: Fixed a 
	bug of the pChart library of ugly borders in the
	3d pie graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 15:59:13 +00:00
zarzuelo 70a1554a35 2013-02-21 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.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: Change a
	useless macro of internal event commands

	* include/functions_graph.php
	include/functions_events.php
	operation/agentes/estado_generalagente.php: Improve the layout
	of the agent detail view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7696 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 14:26:00 +00:00
zarzuelo 92aa11678b 2013-02-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	operation/agentes/estado_generalagente.php: Fixed
	events slicebar legend and added modules statistics under
	modules status pie



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7693 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 10:10:49 +00:00
Ramon Novoa 8bbe5e1e24 2013-02-20 Ramon Novoa <rnovoa@artica.es>
* include/functions_snmp_browser.php: Treat :: as a separator inside
	  translated OIDs. Removed calls to html_print_image (very slow!) in
	  snmp_browser_print_tree.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7691 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 19:15:37 +00:00
slerena a6937eac51 2013-02-20 Sancho Lerena <slerena@artica.es>
* include/functions_snmp_browser.php: Change icon and way to
        split into branches (using :: and .).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7690 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 19:11:13 +00:00
zarzuelo 3319070f55 2013-02-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_pchart.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	include/graphs/functions_utils.php
	operation/agentes/estado_generalagente.php: Add
	a new agent status pie graph and partial remodelation
	of the agent detail view hidding the graphs in a lateral
	tab and adding graphs

	* operation/agentes/estado_agente.php: Optimize
	useless queries to get the agents status



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 17:15:38 +00:00
zarzuelo 4414a09eb2 2013-02-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora_minimal.css
	include/styles/menu.css
	include/styles/pandora.css
	operation/agentes/stat_win.php
	operation/events/events.build_table.php
	operation/events/events_list.php
	general/main_menu.php
	godmode/events/event_edit_filter.php: Remodelate the 
	events form view. Pushing the graph in a hidden lateral
	tab and reordering all the form



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 13:48:46 +00:00
mdtrooper 6537c96db3 2013-02-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/recon_script.php, godmode/servers/plugin.php,
	godmode/snmpconsole/snmp_filters.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_edit_agents.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_delete_action_alerts.php: improved the code
	style.
	
	* include/ajax/events.php, include/functions_events.php,
	operation/agentes/custom_fields.php: fixed the show admin custom
	fields for user without permisitions.
	
	Fixes: #3605278




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7683 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 12:07:00 +00:00
Ramon Novoa e6080d949e 2013-02-19 Ramon Novoa <rnovoa@artica.es>
* include/auth/ldap.php: Do not bind anonymously to check whether the
	  user exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 17:16:46 +00:00
zarzuelo 48769df95a 2013-02-19 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js: Fixed str_warning and 
	str_critical assignation when apply a network_component
	Merged from 4.0.3



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7679 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 10:57:37 +00:00
mdtrooper ea2cc62e47 2013-02-19 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.pandora.js: fixed the popup window for
	the messages of Pandora.
	
	Fixes: #3605185




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7678 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 10:56:11 +00:00
mdtrooper 43d7cac813 2013-02-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, include/functions_agents.php,
	include/functions_config.php, include/ajax/reporting.ajax.php,
	include/functions_snmp_browser.php,
	operation/agentes/status_monitor.php: improved code style.
	
	* include/functions_graph.php, include/graphs/fgraph.php,
	include/graphs/flot/jquery.flot.pie.js,
	include/graphs/flot/jquery.flot.pie.min.js,
	include/graphs/flot/pandora.flot.js,
	include/graphs/functions_flot.php: fixed the pie graphs, added the
	expanded version of flot pie js file with some changes for the
	last version of jQuery.
	
	Fixes: #3604555




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7675 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 10:35:04 +00:00
zarzuelo eadb829879 2013-02-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora_minimal.css
	include/javascript/x_event.js
	include/javascript/x_slide.js
	include/javascript/x_core.js
	operation/agentes/stat_win.php: Encapsulated the hidded side menu
	(stat_win menu) to used from other parts of Pandora. Change the
	technology of this menu to jquery, eliminating dependences: x_event
	x_slide and x_core



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7673 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-18 18:10:53 +00:00
mdtrooper 87358525d4 2013-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/datos_agente.php, operation/search_modules.php:
	fixed to show strings from for example Selenium Plugin that have
	html tags.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-18 16:15:31 +00:00
mdtrooper 57065e9944 2013-02-18 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_modules.php, operation/agentes/ver_agente.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/datos_agente.php, include/functions_io.php: fixed
	to show string web data from Goliat modules.
	
	Fixes: #3600804




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7670 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-18 13:46:28 +00:00
mdtrooper 5d33af864d 2013-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: added a parameter for to set the
	round corner in the function "graph_sla_slicebar".
	
	* include/functions_reporting.php: added in SLA the graph set
	without round corners.
	
	Fixes: #3584066




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7667 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-18 10:59:12 +00:00
mdtrooper 3f5bb97d4d 2013-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/modificar_server.php: fixed the column of server
	now it is not link and show the version.
	
	* include/functions_servers.php: fixed the sec parameter for the
	link to edit recon server.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-15 13:22:38 +00:00
zarzuelo 52de2e48bc 2013-02-15 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_utils.php: Added a function to calculate
	the complementary color of a RGB hex code to assign automatically 
	the overlapped graphs colors for bug 3604462



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-15 12:37:07 +00:00
mdtrooper a208e250ad 2013-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_treeview.php: fixed the cleaned source code.
	
	* operation/agentes/networkmap.php: fixed double messages when
	delete a networkmap.
	
	Fixes: #3553703




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7662 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-15 12:28:03 +00:00
mdtrooper 9bcd52d6ee 2013-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/massive/massive_delete_alerts.php: improved the source
	style.
	
	* include/functions_ui.php: fixed the sort of included of jquery
	base files.
	
	Fixes: #3604768




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7661 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-15 12:04:27 +00:00
mdtrooper 751959a969 2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/flot/pandora.flot.js,
	include/graphs/functions_flot.php, include/graphs/fgraph.php:
	cleaned source code style.
	
	* operation/agentes/stat_win.php: added javascript code to resize
	the window when show the overview graph.
	
	Fixes: #3574134




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 18:09:02 +00:00
Ramon Novoa 79806e27cb 2013-02-14 Ramon Novoa <rnovoa@artica.es>
* godmode/setup/setup_netflow.php,
	  include/functions_config.php: Added the deletion of old netflow and
	  log data.

	* include/functions_snmp_browser.php: Added to repository. SNMP browser
	  specific functions.
	
	* operation/menu.php,
	  operation/snmpconsole/snmp_browser.php: Added search capabilities to
	  the SNMP browser and other small improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 16:44:45 +00:00
mdtrooper 7872a82a35 2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora_legacy.css: cleaned source code.
	
	* include/styles/pandora_green.css: add rules for the group view.
	
	Fixes: #3576296




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7655 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 15:29:05 +00:00
mdtrooper 4806587a80 2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php: added constant dir for the mibs of snmp.
	
	* include/functions_filemanager.php: cleaned source code style.
	
	* operation/snmpconsole/snmp_mib_uploader.php: fixed to avoid go
	upper directory to the mibs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7654 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 15:03:07 +00:00
mdtrooper 68fc7e09b5 2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_netflow.php, operation/netflow/nf_live_view.php:
	fixed the show pie graph with table.
	
	Fixes: #3604468




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 13:37:33 +00:00
zarzuelo 9becfa4231 2013-02-14 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql: Fixed the macros of the
	default plugin MySQL

	* include/functions_groups.php
	include/functions_api.php
	include/functions_ui.php
	include/functions_agents.php
	include/functions_modules.php
	include/constants.php
	operation/agentes/estado_ultimopaquete.php
	godmode/db/db_sanity.php
	godmode/agentes/agent_template.php
	godmode/agentes/configurar_agente.php
	godmode/servers/plugin.php: Create a function to disable
	modules fixing the status counts and replace the old way of
	do it in all the console. Fixin a lot of old way of create 
	and delete modules too to use the centralized function and 
	dont break counts. BUG 3604463



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 12:55:53 +00:00
mdtrooper 9fe685192d 2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php: added constant for module type of
	"MODULE_SNMP" and sorted the list of types of modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 11:27:57 +00:00
mdtrooper f22306fea3 2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php,
	include/functions_profile.php, operation/events/events_list.php:
	changed in jQuery the deprecated function evalJSON for parseJSON.
	
	Fixes: #3604536




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 10:37:37 +00:00
mdtrooper eb61caadac 2013-02-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_operations.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/tag/edit_tag.php, include/functions_graph.php,
	include/functions_io.php, include/functions_ui.php: cleaned source
	code style.
	
	* include/functions_modules.php: erased deprecated function
	"modules_give_modulecategory_name".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 10:05:16 +00:00
mdtrooper 9af80162bf 2013-02-13 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: fixed the lost initial value for
	the "homeurl_static" in $config when the pandora is for upgrade from
	version 4.
	
	Fixes: #3604288




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-13 12:26:19 +00:00
zarzuelo 69aef3596b 2013-02-13 Sergio Martin <sergio.martin@artica.es>
* include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	operation/agentes/stat_win.php: Improve the legend of the
	interactive graphs for bug 3573814



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-13 09:41:59 +00:00
zarzuelo d34059d6cd 2013-02-13 Sergio Martin <sergio.martin@artica.es>
* include/styles/dialog.css
	general/login_help_dialog.php: Fix an ugly bar of the
	modal windows and enlarge 20px the height of the
	Welcome modal window to avoid scroll bar in most 
	browsers



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-13 08:53:18 +00:00
zarzuelo ff11353b5b 2013-02-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Fixed the update of the
	inventory changes black list on setup for bug 3604298



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 16:50:08 +00:00
zarzuelo 6766d44321 2013-02-12 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_warning_status.php
	include/help/en/help_critical_status.php
	include/help/es/help_warning_status.php
	include/help/es/help_critical_status.php: Improved the
	really poor help of warning and critical status for
	bug 3600787

	* godmode/agentes/module_manager_editor_common.php: Added
	checks to hide de useless status threshold. Now
	the min and max thresholds are shown only in numeric modules
	and the string field only in string ones



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 16:33:01 +00:00
zarzuelo b2614ea891 2013-02-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_monitores.php: Protect the data
	of the string modules from the numeric format
	in the visualization for bug 3600790
	Added snapshot feature to the data view of the modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 14:57:01 +00:00
zarzuelo 96e7eaee45 2013-02-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_network_components.php
	godmode/modules/manage_network_components_form.php: Fix the default
	interval when create network component. Fix the clone network components
	fields to update all of them for bug 3595231



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 14:24:28 +00:00
zarzuelo 6bca51ad6a 2013-02-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	general/header.php: Move some javascript and css inclusions
	from header file to ui_process_page_head function to still 
	having this files when in full screen mode 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 12:40:43 +00:00
mdtrooper 182e5a32a2 2013-02-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_servers.php, extensions/plugin_registration.php:
	cleaned source code.
	
	* godmode/reporting/reporting_builder.item_editor.php: fixed the
	usability for the SQL items in the reports.
	
	Fixes: #3573455




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 11:43:32 +00:00
mdtrooper ebfd1535fe 2013-02-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/menu.php, godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_actions.php,
	godmode/agentes/agent_template.php,
	godmode/massive/massive_delete_agents.php: cleaned source code.
	
	* include/functions_html.php: added the weeks in the input for
	times.
	
	* operation/agentes/stat_win.php: fixed the malformated table when
	show extended options in the time widget.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-11 10:26:16 +00:00
mdtrooper 0d28050410 2013-02-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php, include/ajax/agent.php: improved the
	widget of autocomplete agent, now show first the agents with same
	name to the search, second block with the agents with the address
	same to the search and the last block is the agents with the
	description with the same to the search.
	
	Fixes: #3603692
	
	* godmode/modules/manage_nc_groups.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/manage_network_templates_form.php: improved the code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 15:53:04 +00:00
mdtrooper fc7c2f8430 2013-02-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/db/db_refine.php, godmode/servers/plugin.php: improved
	the code style.
	
	* include/functions_reporting.php: fixed the SLA when it is the
	equal to limit.
	
	Fixes: #3602722




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 13:43:23 +00:00
mdtrooper d1170bab4f 2013-02-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/user_list.php, godmode/users/profile_list.php,
	godmode/users/configure_user.php,
	godmode/users/configure_profile.php, godmode/db/db_audit.php,
	include/functions_reporting.php: cleaned source code style.
	
	* include/functions_graph.php: fixed the default parameter
	$adapt_Key in the function "grafico_modulo_string".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7601 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-07 10:57:52 +00:00
zarzuelo baa12cb90d 2013-02-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_users.php
	include/functions_html.php: Added a new parameter
	on groups select functions to use any field as key
	of the select. Until now, the field used was only ID

	* include/functions_graph.php: Added a full url
	to the agent access graphs to show the menu of the
	interactive graphs in the metaconsole too: BUG 3592080



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 16:46:01 +00:00
mdtrooper db0aab59c0 2013-02-06 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/flot/pandora.flot.js: cleaned source code style.
	
	* include/graphs/functions_utils.php: fixed the unasigned var.
	
	Fixes: #3603439




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 15:18:08 +00:00
mdtrooper 5767594f30 2013-02-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_ui.php,
	operation/reporting/reporting_viewer.php,
	operation/agentes/snapshot_view.php: improved the code style.
	
	* include/functions_html.php: added other parameter in print
	checkbox for to avoid to put a hidden input.
	
	Fixes: #3602766




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 14:03:32 +00:00
mdtrooper 4006fbe500 2013-02-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: uploaded the lost character key.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 11:00:51 +00:00
zarzuelo 2206967c68 2013-02-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_treeview.php: Fixed repeated messages on
	treeview in metaconsole mode and fix some performance and
	aesthetic issues



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-06 10:45:06 +00:00
mdtrooper 04a857da4e 2013-02-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_monitores.php,
	operation/agentes/datos_agente.php, godmode/setup/setup.php,
	include/functions_config.php: added the can disabled the command
	snapshot.
	
	Fixes: #3602773
	
	MERGED FROM PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7593 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 17:44:21 +00:00
mdtrooper 63a9aa54a7 2013-02-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: added function
	"modules_check_agentmodule_exists".
	
	Fixes: #3602773
	
	* include/functions_agents.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 16:39:11 +00:00
mdtrooper b3a8f7da1b 2013-02-05 Miguel de Dios <miguel.dedios@artica.es>
* ajax.php: added the autologin hash for some ajax call of user
	without login (but with hash autologin).
	
	* godmode/reporting/reporting_builder.list_items.php,
	include/db/mysql.php: cleaned source code style.
	
	* include/functions_reporting.php, include/functions_events.php,
	operation/reporting/reporting_xml.php: optimized the get by steps
	the group events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 14:46:16 +00:00
mdtrooper 576e4b9f75 2013-02-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php,
	include/javascript/openlayers.pandora.js, operation/menu.php,
	operation/gis_maps/render_view.php, godmode/menu.php: fixed the
	height of maps when the menu is short.
	
	Fixes: #3602800
	
	MERGED FROM PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7586 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-05 11:30:04 +00:00
mdtrooper f31fdc5546 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: fixed the javascript of function
	"ui_toggle".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 17:21:04 +00:00
Ramon Novoa 639e0edcb0 2013-02-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_config.php: Added the config variable
	  netflow_disable_custom_lvfilters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 16:57:39 +00:00
mdtrooper 6332c80690 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php: re-enabled the baseline for the
	reports.
	
	Fixes: #3599961




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 14:47:08 +00:00
mdtrooper 20d5276ff0 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_xml.php, include/functions_reporting.php,
	operation/reporting/reporting_xml.php: fixed the SLA agent name
	with entities differents to hexadecimal entities. And fixed the
	serialized data when has not separators.
	
	Fixes: #3602204




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 14:07:28 +00:00
mdtrooper 70a09b3625 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_modules.php: fixed the image to edit.
	
	* include/functions_html.php: fixed check string values in function
	"html_print_input_hidden".
	
	Fixes: #3603084




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 12:43:05 +00:00
mdtrooper c2a39c1ee8 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* install.php: cleaned source code style.
	
	* godmode/netflow/nf_edit.php, include/functions_netflow.php: fixed
	the empty data.
	
	Fixes: #3603092




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 12:19:17 +00:00
mdtrooper 0d9606c92f 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_alerts.js: cleaned source code style.
	
	* include/functions_graph.php: added lost function
	"graph_events_validated".
	
	Fixes: #3603110




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 10:22:56 +00:00
mdtrooper 3750c7fc46 2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.list.php,
	godmode/reporting/graph_builder.php, godmode/setup/news.php,
	godmode/setup/setup_general.php, godmode/netflow/nf_edit_form.php,
	godmode/db/db_purge.php, godmode/db/db_main.php,
	godmode/extensions.php, include/functions_reporting.php,
	operation/reporting/reporting_viewer.php: improved the source code
	style.
	
	* operation/reporting/reporting_xml.php, include/functions_xml.php:
	fixed the output of xml when have some html entities that is not
	as hexadecimal entities.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 09:21:27 +00:00
jsatoh b98b045203 2013-02-04 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_events_replication.php: Added more info as
	the same as english one.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-04 06:40:11 +00:00
mdtrooper cc2cf11837 2013-02-01 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_utils.php: fixed check color and legends
	for stacked graphs when haven't set colors all graphs.
	
	Fixes: #3602725




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-01 13:28:49 +00:00
zarzuelo 70502d2ce9 2013-02-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	include/functions_treeview.php: Delete server from
	detail of modules in treeview and other little fixes

	* include/functions_config.php: Added autocreation
	of some conf tokens when dont exist

	* include/help/en/help_events_replication.php
	include/help/es/help_events_replication.php: Added
	more info in the events replication help text



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-01 12:53:33 +00:00
Ramon Novoa b8ce800b7a 2013-01-31 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  pandoradb.sql: Removed some indexes that caused deadlocks on high
	  load scenarios.

	* godmode/setup/setup_general.php,
	  include/functions_config.php: Added support for event storm
	  protection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7557 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-31 18:05:22 +00:00
mdtrooper 79a5c23816 2013-01-31 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/jquery-ui-1.10.0.custom.css,
	include/styles/images/ui-*,
	include/javascript/jquery.jquery-ui-1.10.0.custom.js,
	include/javascript/jquery-1.9.0.js: added the last version of
	jquery and jqueryUI.

	* godmode/reporting/visual_console_builder.editor.js,
	include/ajax/events.php, include/functions_events.php,
	include/functions_reporting.php,
	include/javascript/pandora_events.js,
	include/javascript/jquery.scrollTo.js,
	include/javascript/jquery.tablesorter.pager.js,
	include/javascript/jquery.tablesorter.js, include/functions_ui.php,
	extensions/update_manager/lib/functions.php,
	extensions/update_manager/main.php, extensions/agents_alerts.php,
	operation/events/events.php, general/login_page.php,
	general/logoff.php, general/header.php,
	general/login_help_dialog.php: fixes about the new jquery and
	jqueryUI version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-31 16:49:08 +00:00
mdtrooper b06436b3d0 2013-01-30 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php,
	include/functions_graph.php, include/graphs/functions_flot.php,
	include/graphs/fgraph.php, include/graphs/flot/pandora.flot.js:
	fixed the graph of events, now the pie graphs in "flot mode" has
	a parammeter to force the position of legend.
	
	Fixes: #3602206




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 16:29:49 +00:00
mdtrooper 4b174a29b0 2013-01-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/planned_downtime.list.php, include/db/oracle.php,
	include/Image/image_functions.php,
	operation/events/events.build_table.php,
	operation/messages/message_edit.php, operation/users/user_edit.php,
	operation/tree.php: improved the source style.
	
	* include/constants.php: added constants for the subtype of modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 13:53:02 +00:00
zarzuelo 7503c5ca37 2013-01-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Fixed help popups to 
	be used from metaconsole too

	* godmode/events/event_responses.editor.php: Added
	a little help tip in the windows type of event
	responses editor



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7548 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-30 08:18:40 +00:00
mdtrooper 3b22a943a8 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php, include/ajax/events.php,
	include/functions_api.php: improved the style code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 18:03:08 +00:00
mdtrooper 9aaa5bf615 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the lost columns in the
	item general and added what "agent-module(op)" is the max and min
	and added in the resume the units.
	
	Fixes: #3602208




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 17:08:41 +00:00
mdtrooper b3184d23af 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/menu.php, include/db/oracle.php, include/db/mysql.php,
	include/functions_categories.php, include/functions_db.php,
	include/functions_menu.php: improved the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 15:50:45 +00:00
mdtrooper 6af7ae4956 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/reporting_builder.php,
	godmode/agentes/configurar_agente.php, godmode/menu.php,
	include/functions_ui.php, include/functions_agents.php,
	include/functions_alerts.php, include/functions_menu.php,
	include/functions_networkmap.php,
	include/help/en/help_alert_type.php,
	include/help/es/help_alert_type.php,
	include/functions_reporting.php,
	operation/agentes/alerts_status.functions.php,
	operation/agentes/alerts_status.php: erased the ocurrences about
	the deprecated alert compounds.
	
	Fixes: #3602487




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 14:42:55 +00:00
mdtrooper feb9ac8c85 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* include/help/en/help_alert_compound.php: delete old files for
	deprecated alert compounds.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 13:40:05 +00:00
mdtrooper feb89b87f0 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* general/shortcut_bar.php, godmode/alerts/alert_actions.php,
	godmode/category/edit_category.php, include/functions_reports.php,
	include/db/postgresql.php, include/functions_gis.php,
	include/functions_treeview.php,
	include/functions_network_components.php: improved the code style.
	
	* include/javascript/pandora.js: in function
	"agent_changed_by_multiple_agents" added hook for to call any
	function when loaded the module list. (now used in the wizzard
	of reports in enterprise).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 12:31:32 +00:00
zarzuelo 1ccd792f23 2013-01-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_treeview.php
	operation/tree.php: Added module info table to the
	tree view and fix the hash of instances when is in
	metaconsole mode



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 10:22:59 +00:00
mdtrooper 8c5ac783bd 2013-01-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed the calculate the min,
	max and avg of exception item and show the operation column.
	
	Fixes: #3602229
	
	* godmode/reporting/reporting_builder.item_editor.php: fixed lost
	vars from the metaconsole that makes PHP notices.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7537 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-28 17:09:04 +00:00
zarzuelo 091fb69629 2013-01-28 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Modified the alerts default data  to
	have basic wizard access by default

	* godmode/alerts/configure_alert_template.php: Modify the 
	alert templates form to define wizard access only in metaconsole
	and nowizard or respect the current value from the normal console

	* include/javascript/jquery.pandora.js: Add a hack to
	the license modal window to use it from metaconsole too

	* operation/events/events.build_table.php
	operation/events/events_list.php
	operation/events/events.php: Encapsulate the table build
	of the events list to reuse it from other views like tactical
	view in metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-28 13:14:27 +00:00
mdtrooper 804b132fb7 2013-01-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php: fixed the lost parameter
	in the generation of networkmap with a text filter.
	
	Fixes: #3602233




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-28 11:50:30 +00:00
jsatoh 32a70eea6b 2013-01-28 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_events_replication.php,
	include/help/ja/help_events_history.php: Added new help files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-28 06:37:41 +00:00
jsatoh ea5e6cfaf5 2013-01-25 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_macros.php: Changed description for
	_event_id_ macro to make easier to read.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-25 02:23:23 +00:00
mdtrooper 2ef59e5087 2013-01-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map_editor.php: fixed the default value
	for the period in the data item.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-24 15:15:48 +00:00
mdtrooper 0aa96717e2 2013-01-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_netflow.php,
	operation/reporting/reporting_xml.php: fixed to show netflow data
	in the XML report.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-24 15:00:31 +00:00
mdtrooper 62e587d29f 2013-01-24 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql, pandoradb.oracle.sql, pandoradb.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: changed in the
	table "tlayout_data" the field "label" to text without limits.
	
	* godmode/extensions.php, include/functions_tags.php,
	include/functions_ui.php, include/functions_agents.php,
	include/functions_config.php: cleaned source code style.
	
	* godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php,
	include/styles/pandora.css, include/styles/pandora_legacy.css,
	include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	include/functions_visual_map_editor.php: added the formatted label
	into the item label with the help of tiny_mce.
	
	* include/javascript/tiny_mce/*: update the last version of
	tiny_mce.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-24 11:30:37 +00:00
zarzuelo c8bba62545 2013-01-23 Sergio Martin <sergio.martin@artica.es>
* include/auth/mysql.php: Fixed update of the last password 
	change when edit a user in the classic way

	* godmode/users/configure_user.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Fix wizard 
	level and metaconsole access default values when charge to 
	keep data of items created with metaconsole from the standard
	console



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-23 18:44:07 +00:00
Ramon Novoa 50489ed0e6 2013-01-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: Added the new _event_id_ macro
	  to help files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-23 17:11:43 +00:00
zarzuelo 5d998a6f32 2013-01-23 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	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: Updated
	the user, module and components tables to have nowizard value 
	by default (to normal console) and basic in default elements
	creation (to metaconsole)

	* godmode/users/configure_user.php: Updated the metaconsole
	access control in user form to be showed only in metaconsole
	and with only basic/advanced options for the new meta concept

	* include/config_process.php: Store the metaconsole access 
	of the current user in $config
	
	* operation/tree.php: Fixed pandora instances links from
	tree in metaconsole mode



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-23 14:20:54 +00:00
Ramon Novoa 0fcb8557c0 2013-01-22 Ramon Novoa <rnovoa@artica.es>
* godmode/setup/setup_netflow.php,
	  operation/netflow/nf_live_view.php,
	  include/functions_config.php: Added support for disabling custom
	  filters in the netflow live viewer.

	* include/functions_graph.php: Added min, max and avg values to
	  unaggregated netflow charts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-22 11:38:56 +00:00
zarzuelo d0e63b7758 2013-01-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_tags.php: Fix a empty value return
	to array() to avoid foreach problems

	* index.php: Redirect to metaconsole when activate it 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-22 09:22:56 +00:00
zarzuelo 75b2509e52 2013-01-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_users.php
	godmode/groups/configure_group.php: fixed a problem retrieving
	the groups to the combo of set group parent



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7515 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-21 14:02:06 +00:00
juanmanuelr 268da0caaa 2013-01-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_menu.php
	include/functions_config.php
	godmode/menu.php
	godmode/setup/setup_general.php
	godmode/setup/setup_netflow.php
	godmode/setup/setup.php
	godmode/setup/performance.php
	godmode/setup/setup_auth.php
	godmode/setup/setup_visuals.php: Changed style views to tabs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-18 17:41:00 +00:00
zarzuelo b1cccdb653 2013-01-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php
	include/help/en/help_events_replication.php
	include/help/en/help_module_interval.php
	include/help/en/help_events_history.php
	include/help/es/help_events_replication.php
	include/help/es/help_events_history.php
	operation/events/events.php: Fixed bug #3599448 of
	setup javascript error. 
	Added help documents to events history and events 
	replication. Typo fix in other help document



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7506 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-18 12:06:26 +00:00
juanmanuelr 835cb31b6b 2013-01-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	 include/functions_reporting.php: Merged fixes for string graphs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7503 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-17 19:17:12 +00:00
slerena 704d65cf12 2013-01-17 Sancho Lerena <slerena@artica.es>
* include/functions_ui.php: Fixed cache control for
        avoid send each time static contents. 0 is "always"
        instead "never" :-S




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-17 14:09:33 +00:00
vgilc bf84c30269 2013-01-16 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added 'agent_name' and
	'module_name' in option 'create_event'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-16 15:55:50 +00:00
zarzuelo 7e6afb0696 2013-01-16 Sergio Martin <sergio.martin@artica.es>
* include/ajax/events.php
	include/functions_graph.php
	include/functions_events.php
	include/javascript/pandora_events.js
	include/functions_config.php
	operation/events/events_list.php
	operation/events/events.php: Create a new
	event visor to metaconsole history events

	* include/functions_api.php: Added a new API function
	to create netflow filters



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-16 12:57:11 +00:00
vgilc 95b2d22285 2013-01-16 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Change 'add comments' and
	'owner user' in create events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-16 12:33:45 +00:00
juanmanuelr 2b3daa01a6 2013-01-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php: Fixed language translation in 
	metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-15 18:13:04 +00:00
zarzuelo 2329b16cd4 2013-01-15 Sergio Martin <sergio.martin@artica.es>
* include/functions.php
	include/constants.php
	operation/events/events_list.php: Added two new
	criticity modes in the event filter. Critical or warning 
	and not normal

	* operation/menu.php: Delete the metaconsole menu enterprise call
	from operation menu



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7473 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-15 11:12:35 +00:00
darode 08d2dac7b3 2013-01-15 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_visual_map.php: Now modules with warning
        status and alert fired are in yellow with orange border, before
        they were red with orange border.
        * include/constants.php: Mew constant for visual map to
        identify modules with warning status and alerts fired.

        MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-15 10:09:37 +00:00
juanmanuelr c92b473301 2013-01-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/postgresql.php
	include/db/mysql.php
	include/db/oracle.php: Fixed function get_system_time when 
	timesource is system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-15 09:35:16 +00:00
darode e4db3a4d30 2013-01-14 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_treeview.php: Now agents appear
        ordered by name.

        PORTER FROM 4.0.3



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 16:23:54 +00:00
zarzuelo cfe2b286e6 2013-01-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	include/functions.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_agente.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/menu.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.php: Added checks to new flag AD
	in godmode views for agents, modules and alerts. Clean 
	some old extra_sql (policy acls) code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 15:11:07 +00:00
juanmanuelr f9e067bfbf 2013-01-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_component_groups.php
	 godmode/modules/manage_network_components.php: Don't remove 
	 parent component groups with childs assigned to components.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 14:16:06 +00:00
mdtrooper c131bf5034 2013-01-14 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/dialog.css: fixed the typo for disabled the styles.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 10:46:10 +00:00
juanmanuelr d8d89e62f9 2013-01-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php
	godmode/extensions.php
	godmode/agentes/configurar_agente.php
	godmode/servers/manage_recontask.php: Merged fixes from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-14 09:51:44 +00:00
Ramon Novoa d7f2723bc3 2013-01-11 Ramon Novoa <rnovoa@artica.es>
* godmode/setup/setup_netflow.php: Fixed a string.

	* include/functions_config.php,
	  operation/menu.php,
	  godmode/menu.php: Added support for the log viewer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-11 16:02:10 +00:00
juanmanuelr 7677661126 2013-01-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_component_groups.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php: Added tree format for
	component groups and make more restrictive filters in local/network
	components.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-11 14:32:28 +00:00
zarzuelo e623e950d8 2013-01-11 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	include/functions_ui.php
	include/functions.php
	include/functions_agents.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	operation/agentes/alerts_status.php
	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/agentes/module_manager_editor.php
	godmode/users/profile_list.php
	godmode/users/configure_profile.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Clean deprecated compound
	alerts code, added new Agent disable flag into profiles, clean wizard mode
	combo from components in normal console (not metaconsole)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-11 13:18:27 +00:00
zarzuelo 40af736176 2013-01-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	include/functions_agents.php
	include/functions_tags.php
	operation/tree.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_agente.php
	operation/agentes/status_events.php
	operation/agentes/estado_monitores.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/events/events_list.php
	general/logon_ok.php
	godmode/agentes/module_manager.php
	godmode/alerts/alert_list.list.php: Add tags acl checks to modules
	and alerts view. Add warn messages to zones with status counts when the
	user has acl tags assigned



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-10 16:00:30 +00:00
juanmanuelr ab7b55af2e 2013-01-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb_data.sql
	include/functions_config.php
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	godmode/setup/performance.php: Max recommended number of files in
	attachment directory parametrized.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-10 15:23:06 +00:00
juanmanuelr c576382e5a 2013-01-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_networkmap.php: Fixed entity problem in 
	networkmap and hided agents without alerts if "only module with 
	alerts" option enabled.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-10 14:07:52 +00:00
juanmanuelr ab784df478 2013-01-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 include/functions_treeview.php
	 extensions/net_tools.php
	 extensions/module_groups.php
	 operation/agentes/status_monitor.php
	 operation/agentes/sla_view.php
	 operation/messages/message_list.php
	 godmode/agentes/fields_manager.php
	 godmode/alerts/alert_list.builder.php
	 godmode/massive/massive_delete_agents.php
	 godmode/massive/massive_edit_agents.php
	 godmode/massive/massive_delete_modules.php
	 godmode/massive/massive_delete_alerts.php
	 godmode/massive/massive_edit_modules.php: Merged fixes from 
	 branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-10 12:18:13 +00:00
mdtrooper 5ba8450b97 2013-01-09 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/agentes/agent_manager.php, include/functions_events.php,
	include/functions_reporting.php: added the option "no validaded" in
	the items for events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-09 16:19:20 +00:00
mdtrooper bcabe90da1 2013-01-09 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php: added the default weight for unknown status
	for agent, module or service in the services.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-09 13:23:51 +00:00
juanmanuelr 7d756bf1a8 2013-01-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Changed constraint in agent creation
	about the interval (now only greater than zero).
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-09 12:38:49 +00:00
zarzuelo 949650deb2 2013-01-09 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	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:
	Add profile tags to the database structure

	* include/ajax/events.php
	include/functions.php
	include/functions_events.php
	include/functions_reporting.php
	include/functions_treeview.php
	include/functions_profile.php
	include/constants.php
	include/functions_tags.php
	operation/tree.php
	operation/users/user_edit.php
	operation/events/events_list.php
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	godmode/users/configure_user.php: Add new acl control with
	tags in events and tree views. Fix a lot of little bugs like ACLs
	in tree view (tags mode), add the tags mode on tree view of the normal 
	console, pass the ACL flag to some forgotten functions, etc.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-09 09:25:07 +00:00
jsatoh b5e0442b9a 2013-01-09 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_reporting_advanced_tab.php: Translated
	description for _REPORT_NAME_ into Japanese.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-09 07:18:38 +00:00
hkosaka 395dddf359 2013-01-09 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions.php: Fixed that the console sometimes shows
	negative timestamp (e.g. '-2 sec') when using 'comparison in
	roll-over' format.  Merged from 4.0.x.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-09 01:48:47 +00:00
darode d206125313 2013-01-08 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/reporting/reporting_builder.php: Added a default cover
	for PDF reports.
	include/help/ja/help_reporting_advanced_tab.php,
	include/help/en/help_reporting_advanced_tab.php,
	include/help/es/help_reporting_advanced_tab.php: Documented new macro
	called REPORT_NAME

	MERGED FROM 4.0.3



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-08 11:05:14 +00:00
jsatoh 204bca886e 2013-01-07 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_alert_macros.php: Added macro _email_tag_.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-07 08:53:53 +00:00
slerena 285d741b2c 2013-01-05 Sancho Lerena <slerena@artica.es>
* include/styles/pandora.css: Fixed footer problem
        in Chrome. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-05 12:37:16 +00:00
juanmanuelr c39bdebce9 2013-01-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/config_process.php: Removed php notice in this view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-04 11:30:55 +00:00
juanmanuelr 032958b443 2013-01-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_alert_macros.php
	 include/help/es/help_alert_macros.php: Added macro _email_tag_
	 to these help screens.
	* include/functions_reports.php: Added exception to templates when
	report types are displayed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-04 09:58:13 +00:00
mdtrooper d99abb39bb 2013-01-03 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php,
	extensions/resource_exportation.php,
	operation/events/event_statistics.php,
	operation/events/events_list.php,
	operation/reporting/reporting_viewer.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_alerts.php, include/functions_reports.php,
	include/functions_events.php, include/graphs/fgraph.php,
	include/functions_graph.php, include/styles/pandora.css,
	include/functions_reporting.php, include/functions_agents.php: a lot
	of changes and fixes from the branch for the reports.
	
	MERGED FROM PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-03 18:52:21 +00:00
juanmanuelr 478de7caf3 2012-12-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Added new column email to ttag table.


	* include/styles/pandora.css: Fixed loading class.

	* include/functions_api.php: Fixed get_all_agents api function. 
	 
	* include/functions_ui.php
	include/javascript/pandora.js: Improvement in agent_autocomplete
	function.
	
	* operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Fixes in report
	viewer for metaconsole.
	
	* godmode/tag/tag.php
	godmode/tag/edit_tag.php: Added email fields in editors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-31 08:01:28 +00:00
zarzuelo c731e11a2b 2012-12-28 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	include/functions_users.php
	include/functions_visual_map.php
	include/ajax/skins.ajax.php
	include/ajax/events.php
	include/functions_custom_graphs.php
	include/functions.php
	include/functions_agents.php
	include/functions_graph.php
	include/functions_events.php
	include/functions_reporting.php
	include/functions_config.php
	include/functions_reports.php
	operation/visual_console/render_view.php
	operation/agentes/exportdata.php
	operation/menu.php
	operation/events/event_statistics.php
	operation/events/events_rss.php
	operation/events/export_csv.php
	operation/events/sound_events.php
	operation/events/events_list.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/reporting/reporting_viewer.php
	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
	general/main_menu.php
	godmode/menu.php
	godmode/events/event_edit_filter.php
	godmode/events/events.php
	godmode/events/event_filter.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.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/graphs.php: Change all the event and reporting
	acl control to new flags ER,EW,EM,RR,RW,RM



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-28 17:06:17 +00:00
juanmanuelr 7c8dfbd28b 2012-12-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reports.php: Hide inventory changes report in
	temaplate functionality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-27 10:16:21 +00:00
juanmanuelr f2855e507b 2012-12-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Fixed typos.
	* operation/reporting/reporting_viewer.php: Fixed range selector
	in report viewer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-26 16:43:05 +00:00
mdtrooper 16a0b832ac 2012-12-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: erased double check for admin user
	in action to update config.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-26 14:56:32 +00:00
Ramon Novoa 0165f07bf0 2012-12-21 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/agent_template.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager.php,
	  include/functions_modules.php: Implemented a real not-init status.
	  Small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-21 14:53:11 +00:00
zarzuelo f0ee97536a 2012-12-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	include/functions_events.php: Adapt details view of events
	to metaconsole links



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-21 11:11:22 +00:00
jsatoh 60290d0db4 2012-12-21 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_module_interval.php: Translated into Japanese.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-21 00:35:04 +00:00
zarzuelo e8f3153d11 2012-12-20 Sergio Martin <sergio.martin@artica.es>
* include/ajax/events.php
	include/functions_events.php
	include/javascript/pandora_events.js: Adapt responses
	to metaconsole connection (retrieving of event address macro)
	and set format to tags in event view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-20 15:33:23 +00:00
zarzuelo 54dd8cbc00 2012-12-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_groups.php: Added missed translation of 
	All group name

	* operation/events/events_list.php: Added compatibility on groups
	filter in events for metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-20 12:24:21 +00:00
Ramon Novoa 07a2889d7a 2012-12-19 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_common.php,
	  include/help/en/help_module_interval.php,
	  include/help/es/help_module_interval.php,
	  include/help/ja/help_module_interval.php: Added help files for
	  module interval.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7315 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-20 10:25:09 +00:00
zarzuelo 4e4a8b9e95 2012-12-20 Sergio Martin <sergio.martin@artica.es>
* include/ajax/agent.php
	include/functions_ui.php
	include/constants.php
	operation/events/events_list.php: Modify the event list
	filter to adapt the agent search to metaconsole.
	Fix little bug of autocomplete control too



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-20 10:09:52 +00:00
juanmanuelr afc86a7bca 2012-12-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_users.php: Fixed warning when chat log file
	doesn't exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-19 17:33:40 +00:00
hkosaka 9a6378f694 2012-12-19 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Added function
	'api_get_pandora_servers'.

        * include/functions_servers.php: Fixed a type.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-19 08:48:12 +00:00
juanmanuelr 2497dce981 2012-12-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	include/functions_reports.php
	extensions/resource_registration.php
	extensions/resource_exportation.php
	operation/reporting/reporting_xml.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Fixed report
	templates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 15:47:11 +00:00
mdtrooper 276dddde48 2012-12-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed check if it set the id_user
	in the session.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 14:43:33 +00:00
juanmanuelr 8b36e399cf 2012-12-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Resize URL item report to make it
	taller.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 12:01:54 +00:00
zarzuelo 57ab72b1a7 2012-12-18 Sergio Martin <sergio.martin@artica.es>
* include/ajax/events.php
	include/functions_graph.php
	include/functions_events.php
	include/javascript/pandora_events.js
	operation/events/events_list.php
	operation/events/events.php
	godmode/events/custom_events.php
	godmode/events/events.php: Add compatibility 
	with metaconsole in the event viewer



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 11:54:22 +00:00
hkosaka 534074b9b6 2012-12-18 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_events.php: Fixed a typo (have a small
          meaning for localization). Merged from branch 4.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-18 07:58:15 +00:00
mdtrooper 276dc53b02 2012-12-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/alert_list.builder.php,
	operation/messages/message_edit.php, include/functions_api.php,
	operation/reporting/reporting_xml.php,
	godmode/reporting/graph_builder.graph_editor.php: cleaned source
	code style.
	
	* include/functions_io.php: improved the function "__" for to hook
	the translations from metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 16:50:38 +00:00
mdtrooper fd549b9324 2012-12-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/file_manager.php, include/functions_filemanager.php:
	some fixes and added support for the metaconsole.
	
	* include/get_file.php: fixed lost check "is_user".
	
	* operation/netflow/nf_live_view.php: cleaned source code style.
	
	* include/functions_config.php: added check the flag of "is_admin"
	when try to change some config from setup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 13:44:28 +00:00
mdtrooper 4775f4268c 2012-12-13 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: fixed lost var id_server.
	
	* operation/agentes/ver_agente.php: fixed call of get modules for
	to get modules.
	
	* godmode/reporting/visual_console_builder.php: fixed lost var.
	
	* godmode/reporting/visual_console_builder.editor.js: fixed check
	the var metaconsole in firefox.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 18:40:30 +00:00
Ramon Novoa a8ce3c6b17 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Style improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 18:12:17 +00:00
zarzuelo 77d8ea31eb 2012-12-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Changed parameter names of
	some replication event options of the setup



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 17:18:49 +00:00
mdtrooper c82191167c 2012-12-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php,
	godmode/setup/setup.php, include/functions_config.php: cleaned
	source code style.
	
	* include/functions_visual_map.php, include/functions_graph.php:
	re-added lost code for the visualmap in metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 17:04:19 +00:00
Ramon Novoa 6e9274b270 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  operation/netflow/nf_live_view.php: Fixes to the metaconsole part of
	  the viewer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 14:49:05 +00:00
Ramon Novoa 57ed0d5362 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Further improved netflow
	  performance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 11:04:12 +00:00
juanmanuelr 54ec4d03b6 2012-12-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	include/javascript/jquery.pandora.controls.js
	godmode/groups/configure_group.php
	godmode/groups/group_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_commands.php
	godmode/users/configure_user.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.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: New
	editors for metaconsole: alerts, components, users and groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 19:37:35 +00:00
mdtrooper 4b5b7c0db8 2012-12-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map_editor.php: increased the size of
	agent autocomplete widget.
	
	* include/functions_visual_map.php: in the function
	"visual_map_print_visual_map" changed for to print corretly the
	urls in public view in metaconsole.
	
	* include/ajax/agent.php: restore the search for any string in
	the autocomplete agent.
	
	* operation/reporting/reporting_xml.php,
	operation/search_results.php,
	operation/visual_console/public_console.php,
	godmode/setup/setup_auth.php, godmode/servers/modificar_server.php:
	cleaned source code style.
	
	* godmode/reporting/visual_console_builder.editor.js: fixed when
	finish a resize action or put the grid, before these actions
	was make a corrupt data of items.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 13:51:45 +00:00
Ramon Novoa 8776218209 2012-12-12 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql,
	  include/functions_config.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  pandoradb.data.postgreSQL.sql,
	  pandoradb.data.oracle.sql,
	  godmode/setup/setup_netflow.php: Added the maximum netflow chart
	  resolution to the setup. Added byte and byteperseconds units.
	  Small improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 12:10:16 +00:00
zarzuelo 484e7787e9 2012-12-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Added configuration
	parameters for the events replication



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 09:35:40 +00:00
juanmanuelr 8f88287bdf 2012-12-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/agent.php
	include/functions_ui.php
	include/javascript/pandora.js
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.php
	godmode/alerts/alert_list.builder.php
	godmode/users/user_list.php
	godmode/users/profile_list.php
	godmode/users/configure_user.php
	godmode/users/configure_profile.php: Added user and alert editor
	in metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 17:39:48 +00:00
Ramon Novoa aa6dfd35e0 2012-12-11 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php: Added a new way of retrieving netflow
	  data using multiple calls to nfdump that vastly improves the
	  performance of netfow data charts.

	* operation/netflow/nf_live_view.php: Check that the nfdump binary
	  exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 16:43:29 +00:00
zarzuelo 2cd441a06c 012-12-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/functions.php
	include/functions_config.php
	godmode/setup/setup_visuals.php: Add interval values
	configuration into visual setup and limit the 
	advanced control of interval combos only for
	administrators



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 16:20:10 +00:00
mdtrooper 57be759cea 2012-12-11 Miguel de Dios <miguel.dedios@artica.es>
* 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, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: in the table
	"tlayout_data" added the column "id_metaconsole" for to show
	visualmaps in the metaconsole.
	
	* operation/visual_console/render_view.php,
	include/functions_visual_map.php, operation/agentes/ver_agente.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.data.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/map_builder.php,
	include/ajax/visual_console_builder.ajax.php,
	include/ajax/agent.php, include/functions_visual_map_editor.php,
	
	
	* operation/agentes/datos_agente.php,
	include/functions_netflow.php: cleaned source code style.
	
	* include/functions_ui.php: in function 
	"ui_require_javascript_file_enterprise" fixed when need a
	enterprise javascript instead metaconsole enterprise path.
	
	* include/javascript/pandora.js: fixed the function
	"agent_changed_by_multiple_agents" that needs in the metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 15:01:45 +00:00
juanmanuelr 602928a927 2012-12-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_groups.php: Fixed propagate parameter in 
	function groups_get_parent.
	* extensions/update_manager.php: Check UM is installed. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 12:32:42 +00:00
zarzuelo 4d4df77228 2012-12-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_network_components.php: Improve 
	network component retrieving to get the category name too



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 11:35:08 +00:00
slerena 2937edaff3 2012-12-10 Sancho Lerena <slerena@artica.es>
* include/config_process.php,
        install.php,
        index.php: Version build update.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 19:14:42 +00:00
zarzuelo c94f05b2e4 2012-12-10 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	godmode/agentes/module_manager_editor_common.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Added tags support
	to the network components



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 18:04:27 +00:00
mdtrooper 7df32abae4 i2012-12-10 Miguel de Dios <miguel.dedios@artica.es>
* db/mysql.php: finish to fixed the insert in the metaconsoles.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 14:58:05 +00:00
slerena 001ee125ac 2012-12-09 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Replaced ^---.. comments with "-- -.." to avoid problems
	with MySQL 5.0.x
	
	* include/config_process.php: Fixed some problems with default timezone, because
	config function was called before timezone was setup.
	
	* include/styles/pandora.css: Added new style for netflow report render (HTML).
	
	* include/functions_netflow.php: Replaced some code for use new CSS styles.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 00:05:09 +00:00
slerena 74634b8676 2012-12-09 Sancho Lerena <slerena@artica.es>
Ported new feature (Command Snapshot) from 4.0.3 code.

        *  include/javascript/pandora.js: Added new javascript function
        to open a generic URL with custom width / height.

        * operation/agentes/snapshot_view.php: New feature for command
        snapshot rendering.

        * operation/agentes/datos_agente.php,
        operation/agentes/estado_monitores.php: Changes for new feature
        command snapshot monitoring.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-09 22:31:29 +00:00
Ramon Novoa ad677e2cc5 2012-12-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_categories.php: Add categories
	  library of functions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 14:43:53 +00:00
zarzuelo eb8f66da1e 2012-12-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_categories.php: Add categories
	library of functions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 14:30:16 +00:00
zarzuelo 1bb1011868 2012-12-07 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Added id_category
	to network components and module editors



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 14:25:40 +00:00
Ramon Novoa 6e8de73ca5 2012-12-07 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_reporting.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Aesthetic fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 14:03:00 +00:00
mdtrooper a495c5e7b1 2012-12-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, include/functions_html.php,
	include/functions_netflow.php: cleaned source code style.
	
	* include/db/mysql.php: fixed into the function
	"mysql_db_process_sql" a big bug that runs fine the select querys in
	a metaconsole enviorement with several DBs but the insert querys
	make in the previous connection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-06 18:12:28 +00:00
mdtrooper 1f4a1a3db6 2012-12-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php,
	operation/integria_incidents/incident.php,
	godmode/massive/massive_delete_modules.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_plugin.php,
	godmode/agentes/fields_manager.php,
	godmode/agentes/module_manager.php, godmode/users/profile_list.php,
	godmode/events/event_filter.php: cleaned source code style.
	
	* operation/tree.php: fixed the url to childrem consoles from the
	metaconsole tree.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-06 12:52:01 +00:00
Ramon Novoa 278f4ee169 2012-12-05 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql,
	  include/functions_config.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  pandoradb.data.postgreSQL.sql,
	  pandoradb.data.oracle.sql,
	  godmode/setup/setup_netflow.php,
	  godmode/netflow/nf_edit_form.php: Performance improvements. Use csv
	  output to avoid using regular expressions. Removed byte, flow and
	  packet unit and added kilobyte, megabyte, kilobytes per second and
	  megabytes per second.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 17:29:06 +00:00
mdtrooper fbdc052f00 2012-12-05 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/update_manager/lib/libupdate_manager.php,
	operation/agentes/ver_agente.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_agente.php,
	operation/integria_incidents/incident.php,
	operation/reporting/reporting_xml.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.elements.php,
	include/functions_visual_map.php,
	include/functions_visual_map_editor.php: uploaded the changes of
	source code style previous to my next commit for to make the next
	commit more easy.
	
	* godmode/reporting/visual_console_builder.php: set empty string
	for the new visualmap.
	
	* include/ajax/visual_console_builder.ajax.php: fixed the regular
	expresion to extract the url for the graph.
	
	* include/functions_html.php: fixed into the function
	"html_print_select_groups" lost code for to show the selectbox.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 14:20:47 +00:00
zarzuelo 8a7c2b9a76 2012-12-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php: Fix a statistics bug on
	compared graphs merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 11:41:52 +00:00
mdtrooper 03b0fc8a95 2012-12-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.data.php,
	include/functions_visual_map_editor.php,
	operation/reporting/reporting_xml.php,
	operation/agentes/exportdata.excel.php,
	operation/agentes/ver_agente.php,
	operation/agentes/status_monitor.php,
	operation/agentes/alerts_status.php,
	operation/agentes/exportdata.csv.php: uploaded the changes of source
	code style previous to my next commit for to make the next commit
	more easy.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-04 12:21:39 +00:00
Ramon Novoa 88c6d89c5a 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php: Fixed id decoding under the
	  metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 17:58:15 +00:00
juanmanuelr eb90c6b7e6 2012-12-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Added agent statistics for 
	batch statistic branch in function reporting_get_group_stats. 
	 operation/agentes/status_monitor.php: Cleaned code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 13:23:30 +00:00
Ramon Novoa 7d959f061f 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:28:53 +00:00
Ramon Novoa 305db4a282 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_agents.php: Removed debugging code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:09:13 +00:00
Ramon Novoa 3117e6f205 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_agents.php,
	  include/functions_treeview.php: Improved error detection and small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 10:05:20 +00:00
hkosaka bc61c0c412 2012-12-03 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_html.php: Use "autocomplete=off" in all
	password fields (this is re-apply of rev5823, that was
	dropped at rev6607).  Merged from branch 4.x.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 03:29:29 +00:00
Ramon Novoa dc1259f765 2012-11-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php: Detect errors when retrieving stats.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 18:16:40 +00:00
Ramon Novoa b38af6f8d5 2012-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	 operation/agentes/status_monitor.php: New metaconsole monitor view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 18:01:56 +00:00
juanmanuelr 5219304693 2012-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	 operation/agentes/status_monitor.php: New metaconsole monitor view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7206 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 17:34:51 +00:00
mdtrooper 999fe1f1e6 2012-11-29 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/agent.php: optimiced the ajax hook "search_agents_2"
	for the metaconsoles.
	
	*include/functions_ui.php, include/functions_agents.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 16:14:45 +00:00
Ramon Novoa ecf446a753 2012-11-29 Ramon Novoa <rnovoa@artica.es>
* include/config_process.php: Reverted an accidental commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 15:19:06 +00:00
Ramon Novoa 5d58a05c43 2012-11-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php,
	  include/config_process.php,
	  operation/tree.php,
	  godmode/setup/setup.php: Manually defined DateTimeZone constants
	  since they don't seem to be available in certain PHP versions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 15:14:08 +00:00
zarzuelo 66e01a50a0 2012-11-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	include/functions_graph.php
	include/functions_reporting.php
	include/functions_networkmap.php
	operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php: Fix a lot of bugs of reports and
	networkmap like foreach problems and filter issues




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 18:29:24 +00:00
juanmanuelr 5bcc3d459e 2012-11-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_groups.php
	 include/functions_reporting.php: Added functionality for tactical
	 view of metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 17:29:25 +00:00
Ramon Novoa 550704843d 2012-11-28 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  include/functions_tags.php,
	  operation/tree.php: Small fixes to the treeview.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 13:04:11 +00:00
zarzuelo 895fb864b2 2012-11-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_treeview.php
	operation/tree.php: Fix some bugs of treeview



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 09:58:42 +00:00
Ramon Novoa 6144af26a3 2012-11-27 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php,
	  operation/tree.php: Added support for agent and module navigation
	  from the metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 19:11:55 +00:00
zarzuelo 843b46496e 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/reporting/reporting_viewer.php: Fix some bugs of
	reports on metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 18:20:38 +00:00
juanmanuelr 0dfb29a688 2012-11-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Fixed progress_bar in metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 11:53:31 +00:00