Commit Graph

1195 Commits

Author SHA1 Message Date
slerena 56deb99c7d 2011-04-13 Sancho Lerena <slerena@artica.es>
* operation/servers/view_server_detail.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php: Fixes bug #3286027. Also implement
	the new "manual" mode for recon tasks.




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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-13 15:11:51 +00:00
mdtrooper b849275abf 2011-04-13 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/functions_pchart.php: added lost lines of source code to
	set bottom margin.
	
	* godmode/reporting/visual_console_builder.editor.js: changed to use new
	progress bar.



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



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


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




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

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



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




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

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



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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-11 16:31:43 +00:00
mdtrooper 0daa808bb8 2011-04-07 Miguel de Dios <miguel.dedios@artica.es>
* include/graphs/fgraph.php: changed the img tag to autoclose.
	
	* include/graphs/functions_fsgraph.php: changed the border to default 1, and
	fixed the show legend.

	* include/functions_graph.php: cleaned source code style. And the function
	"graphic_combined_module2" added the show timestamp as human, add the
	min, max, avg values. 
	
	* include/graphs/functions_pchart.php: changed the show leyend in the top
	of graph, and added some comments lines for debug.


	* include/functions_reporting.php, include/functions_custom_graphs.php,
	godmode/reporting/graph_builder.preview.php: changed the graph to show with
	new engine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-04-07 14:34:03 +00:00
javilanz a5ed5b3571 2011-04-06 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Added case to display 'agent_module'
	reports
	* include/functions.php: Added the option 'agent_module' for the
	reporting type in combo selecion
	* godmode/reporting/reporting_builder.php: Added options to store
	'agent_module' report info
	* godmode/reporting/reporting_builder.item_editor.php: Added html fields
	 for the 'agent_module' report


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



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


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


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



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



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



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



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



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

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


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

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

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



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-14 14:57:46 +00:00
mdtrooper ef7c6fd406 2011-03-09 Miguel de Dios <miguel.dedios@artica.es>
* install.php, operation/incidents/incident.php,
	operation/agentes/status_monitor.php, operation/agentes/datos_agente.php,
	operation/servers/view_server.php, operation/snmpconsole/snmp_view.php,
	operation/events/events_rss.php, operation/events/events_list.php,
	operation/events/events_marquee.php, operation/search_users.php,
	mobile/operation/agents/monitor_status.php,
	mobile/operation/agents/view_agents.php,
	mobile/operation/agents/view_alerts.php, mobile/operation/events/events.php,
	mobile/include/functions_web.php, godmode/admin_access_logs.php,
	godmode/agentes/modificar_agente.php, godmode/alerts/alert_actions.php,
	godmode/reporting/reporting_builder.list_items.php: changed and addded in
	the source, the SQL queries for the "LIMIT x, x" to "LIMIT x OFFSET x", that
	it is standard for PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 17:55:37 +00:00
mdtrooper b088c166cc 2011-03-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, include/functions.php,
	operation/agentes/datos_agente.php, operation/agentes/gis_view.php,
	operation/servers/view_server_detail.php,
	operation/reporting/reporting_xml.php, operation/reporting/graph_viewer.php,
	godmode/db/db_main.php, godmode/db/db_purge.php,
	godmode/snmpconsole/snmp_alert.php, godmode/users/configure_user.php:
	cleaned source code, and erased the deprecated function
	"human_time_description".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 15:54:05 +00:00
mdtrooper 9185505bcf 2011-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions_messages.php,
	include/functions_exportserver.php, include/functions_reporting.php,
	include/functions_gis.php, include/functions_networkmap.php,
	include/functions_servers.php, include/functions_api.php,
	include/fgraph.php, include/functions_agents.php, include/functions_db.php,
	include/functions_alerts.php, extensions/module_groups.php,
	operation/incidents/incident.php, operation/incidents/incident_detail.php,
	operation/search_modules.php, operation/agentes/status_monitor.php,
	operation/agentes/export_csv.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/alerts_status.php, operation/agentes/estado_agente.php,
	operation/agentes/sla_view.php, operation/agentes/ver_agente.php,
	operation/servers/view_server_detail.php, operation/menu.php,
	operation/search_graphs.php, operation/snmpconsole/snmp_view.php,
	operation/gis_maps/ajax.php, operation/events/events_rss.php,
	operation/events/events_list.php, operation/search_alerts.php,
	operation/search_reports.php, operation/reporting/reporting_xml.php,
	operation/reporting/graph_viewer.php, operation/search_maps.php,
	operation/search_users.php, mobile/operation/agents/view_agents.php,
	mobile/operation/events/events.php, godmode/groups/modu_group_list.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/db/db_main.php, godmode/db/db_purge.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/alert_list.list.php, godmode/users/configure_user.php,
	godmode/massive/massive_edit_modules.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: changed or added in
	some cases the SQL queries for to be PostgreSQL standard, and cleaned source
	style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-09 14:26:36 +00:00
mdtrooper 7a09b93afc 2011-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, include/functions_db.php,
	operation/incidents/incident_detail.php, godmode/agentes/agent_template.php,
	godmode/servers/manage_recontask.php, godmode/snmpconsole/snmp_alert.php,
	godmode/users/configure_profile.php: change the source code
	for to use process_sql_insert instead of the SQL (SQL write in multiple lines). 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-08 18:11:56 +00:00
mdtrooper 16a31d8727 2011-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_events.php, include/functions_messages.php,
	include/auth/mysql.php, include/functions_api.php,
	include/functions_incidents.php, include/functions_db.php,
	operation/incidents/incident_detail.php,
	operation/snmpconsole/snmp_view.php, operation/reporting/graph_viewer.php,
	godmode/groups/group_list.php, godmode/agentes/module_manager.php,
	godmode/agentes/configurar_agente.php, godmode/agentes/planned_downtime.php,
	godmode/servers/recon_script.php, godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php, godmode/snmpconsole/snmp_alert.php,
	godmode/snmpconsole/snmp_filters.php,
	godmode/modules/manage_network_templates_form.php: change the source code
	for to use process_sql_delete instead of the SQL. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-08 16:12:58 +00:00
mdtrooper 2608334f05 2011-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, include/functions_db.php,
	extensions/update_manager.php, extensions/plugin_registration.php,
	operation/incidents/incident.php, operation/incidents/incident_detail.php,
	godmode/agentes/planned_downtime.php, godmode/servers/recon_script.php,
	godmode/snmpconsole/snmp_filters.php, godmode/setup/news.php,
	godmode/modules/manage_network_templates_form.php: change the source code
	for to use process_sql_insert instead of the SQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-08 14:43:45 +00:00
mdtrooper 5153e70aa4 2011-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_events.php, include/functions_messages.php,
	include/functions_incidents.php, include/functions_db.php,
	operation/incidents/incident.php, operation/agentes/ver_agente.php,
	operation/agentes/tactical.php, operation/servers/view_server_detail.php,
	operation/snmpconsole/snmp_view.php, godmode/groups/modu_group_list.php,
	godmode/agentes/configurar_agente.php, godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php, godmode/snmpconsole/snmp_filters.php,
	godmode/setup/news.php, godmode/modules/manage_network_templates_form.php:
	change the source code for to use process_sql_update instead of the SQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-08 11:14:03 +00:00
mdtrooper f8cf58d769 2011-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, godmode/admin_access_logs.php: changes for the
	interval operator in PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-07 17:43:32 +00:00
mdtrooper f619a76404 2011-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php, include/functions_reporting.php,
	include/functions_gis.php, include/functions_servers.php,
	include/ajax/reporting.ajax.php, include/fgraph.php,
	include/functions_db.php, include/functions_alerts.php,
	include/functions_reports.php, extensions/system_info.php,
	extensions/agents_modules.php, operation/agentes/group_view.php,
	operation/events/events_rss.php, operation/reporting/reporting_xml.php,
	operation/reporting/reporting_viewer.php, extras/pandora_diag.php,
	general/logon_ok.php, godmode/db/db_audit.php, godmode/db/db_event.php,
	godmode/db/db_purge.php, godmode/agentes/planned_downtime.php,
	godmode/setup/setup.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/reporting_builder.preview.php,
	godmode/reporting/reporting_builder.php: changes for to use character " in
	the SQL queries for PostgreSQL, in some cases. In other case there are more
	changes for to create SQL query PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-07 16:59:14 +00:00
mdtrooper 9fe29f1310 2011-03-03 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	fixed the function "get_db_all_rows_filter" for PostgreSQL engine, added
	new function "get_db_last_error" and derivate functions in DB engines. And
	added new parameter $status in function "process_sql".
	
	* extensions/dbmanager.php, general/error_authconfig.php,
	general/error_dbconfig.php, godmode/groups/modu_group_list.php,
	godmode/groups/group_list.php, godmode/db/db_sanity.php,
	godmode/agentes/fields_manager.php,
	godmode/agentes/manage_config_remote.php, godmode/servers/recon_script.php,
	godmode/servers/plugin.php, godmode/modules/module_list.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/reporting/graphs.php: changed the calls to mysql functions to own
	functions, and rewrote some parts of source code for this action.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-03 18:35:37 +00:00
mdtrooper 9413808249 2011-03-03 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/news.php, godmode/setup/links.php, include/fgraph.php,
	operation/agentes/status_monitor.php, operation/reporting/graph_viewer.php:
	changed the calls to mysql functions to own functions.
	
	* godmode/agentes/module_manager.php: marked with a comment the source code
	the SQL postgreSQL and mySQL standar querys.

	* include/functions_html.php, include/db/postgresql.php,
	include/functions_reporting.php, include/pchart_graph.php,
	include/functions_db.php: cleaned source code style.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-03 11:32:05 +00:00
juanmanuelr 830742c25d 2011-03-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/skins.ajax.php: Replaced "give_acl" function call to 
	"check_acl". 
	* include/config_process.php: "block_size" and "flash_charts" user options
	override global options.
	* include/functions_ui.php: If user has assigned a skin then use skins's 
	css files if it's possible.
	* include/functions_db.php: Added missing function get_profile_filter.
	* include/functions_themes.php: New parameter "path" in order to list all
	css files of an specific path.
	* index.php: Added functions_themes.php include statement.
	* operation/users/user_edit.php
	godmode/users/configure_user.php: Added new user options: "skin", "block_size" 
	and "flash_charts". 
	* godmode/setup/setup_visuals.php: Removed "custom_logo" options in setup for
	pandora enterprise version. 




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 15:47:48 +00:00
juanmanuelr 1acf367015 2011-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: new parameter in function print_image in 	
	order to return only src field of image.	 
	* include/ajax/visual_console_builder.ajax.php
	include/functions_gis.php
	godmode/groups/configure_group.php
	godmode/alerts/configure_alert_compound.php
	godmode/setup/os.builder.php
	godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.editor.php
	godmode/reporting/reporting_builder.item_editor.php: Changed the way of create 
	images from "<img=.." html tag to print_image function. 
	* include/ajax/skins.ajax.php: Added to repository. New php callback for 
	skins support inside javascript code.
	* ajax.php: Load of relative_path variable in ajax user session.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 16:53:09 +00:00
mdtrooper cd334b3244 2011-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleaned source code, and erased the deprecated
	function "dame_id_grupo".
	
	*extensions/update_manager.php, operation/agentes/export_csv.php,
	godmode/agentes/module_manager.php, godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php: replaced obsolete "dame_id_grupo" to
	"get_agent_group".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 16:49:44 +00:00
mdtrooper 1cfce3b525 2011-02-27 Miguel de Dios <miguel.dedios@artica.es>
* extensions/users_connected.php: fixed the double negation in the
	check_acl.

	* include/functions_events.php, include/functions_modules.php,
	include/functions_reporting.php, include/functions_filemanager.php,
	include/functions_config.php, include/ajax/reporting.ajax.php,
	include/ajax/visual_console_builder.ajax.php,
	include/ajax/alert_list.ajax.php, include/help/es/modu_group_list.php,
	include/fgraph.php, include/functions.php, include/functions_db.php,
	include/functions_alerts.php, include/functions_reports.php,
	extensions/insert_data.php, extensions/system_info.php,
	extensions/pandora_logs.php, extensions/agents_modules.php,
	extensions/dbmanager.php, extensions/resource_registration.php,
	extensions/update_manager/settings.php, extensions/update_manager/main.php,
	extensions/plugin_registration.php, operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_statistics.php, operation/extensions.php,
	operation/visual_console/render_view.php,
	operation/visual_console/index.php, operation/agentes/status_monitor.php,
	operation/agentes/export_csv.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/datos_agente.php, operation/agentes/alerts_status.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/custom_fields.php, operation/agentes/estado_agente.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php, operation/agentes/sla_view.php,
	operation/agentes/exportdata.php, operation/agentes/gis_view.php,
	operation/agentes/estado_monitores.php, operation/agentes/ver_agente.php,
	operation/agentes/graphs.php, operation/agentes/agent_fields.php,
	operation/agentes/group_view.php, operation/agentes/networkmap.php,
	operation/servers/view_server.php, operation/servers/view_server_detail.php,
	operation/menu.php, operation/snmpconsole/snmp_view.php,
	operation/users/user_edit.php, operation/events/event_statistics.php,
	operation/events/export_csv.php, operation/events/sound_events.php,
	operation/events/events_validate.php, operation/events/events_list.php,
	operation/events/events_marquee.php, operation/events/events.php,
	operation/search_reports.php, operation/reporting/reporting_xml.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php, operation/search_maps.php,
	mobile/operation/agents/monitor_status.php,
	mobile/operation/agents/view_agents.php, mobile/index.php, 
	general/ui/agents_list.php, godmode/groups/modu_group_list.php,
	godmode/groups/configure_group.php, godmode/groups/configure_modu_group.php,
	godmode/groups/group_list.php, godmode/admin_access_logs.php,
	godmode/extensions.php, godmode/db/db_main.php, godmode/db/db_audit.php,
	godmode/db/db_sanity.php, godmode/db/db_refine.php, godmode/db/db_info.php,
	godmode/db/db_event.php, godmode/db/db_purge.php,
	godmode/agentes/fields_manager.php, godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php, godmode/agentes/configurar_agente.php,
	godmode/agentes/configure_field.php, godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php, godmode/servers/recon_script.php,
	godmode/servers/plugin.php, godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php, godmode/menu.php,
	godmode/alerts/alert_list.list.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php, godmode/alerts/alert_list.builder.php,
	godmode/alerts/alert_commands.php, godmode/snmpconsole/snmp_alert.php,
	godmode/snmpconsole/snmp_filters.php, godmode/setup/file_manager.php,
	godmode/setup/os.list.php, godmode/setup/news.php,
	godmode/setup/gis_step_2.php, godmode/setup/links.php,
	godmode/setup/setup.php, godmode/setup/os.php, 
	godmode/setup/performance.php, godmode/setup/setup_auth.php,
	godmode/setup/gis.php, godmode/setup/os.builder.php,
	godmode/setup/setup_visuals.php, godmode/users/user_list.php,
	godmode/users/configure_user.php, godmode/users/configure_profile.php,
	godmode/gis_maps/configure_gis_map.php, godmode/gis_maps/index.php,
	godmode/massive/massive_add_alerts.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_operations.php,
	godmode/massive/massive_edit_agents.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/massive/massive_edit_modules.php,
	godmode/massive/massive_add_action_alerts.php,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_components_form_common.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/graph_builder.main.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/reporting_builder.preview.php,
	godmode/reporting/reporting_builder.main.php,
	godmode/reporting/visual_console_builder.data.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/visual_console_builder.preview.php,
	godmode/reporting/graph_builder.graph_editor.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/reporting/map_builder.php, godmode/reporting/graphs.php,
	godmode/reporting/graph_builder.preview.php: replaced obsolete "give_acl" to
	"check_acl" and erased the "give_acl".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 12:02:08 +00:00
juanmanuelr ab628dce69 2011-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/visual_console_builder.ajax.php
	 godmode/reporting/visual_console_builder.editor.js: Status information is
	saved when static graph are created in visual console.
	* godmode/reporting/visual_console_builder.elements.php: Fixed wrong call to
	__() function from functions_db.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 11:23:12 +00:00
juanmanuelr 641e37953b 2011-02-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/visual_console_builder.php: Small icons created
	in visual console wizard are resized after changed it into a smaller one.

	Fixed bug 3175809.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 13:42:01 +00:00
slerena c2a1447bec 2011-02-22 Sancho Lerena <slerena@artica.es>
* include/functions_extensions.php: Extension menu entries text not
	being stripped.

	* operation/menu.php: Extension menu entries for visualconsole a bit
	wider.

	* godmode/reporting/visual_console_builder.data.php: Show a hint on
	first letter of Visualconsole map to put the name in the menu.
	Shortened input box, to avoid people enter long names and later be
	cutted off.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 11:31:39 +00:00
mdtrooper 2db8321cf4 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css, godmode/servers/modificar_server.php: added
	lost icons in the legend of servers.
	
	Fixes: #3174880



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 18:01:14 +00:00
mdtrooper 3ebd0d66ee 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: fixed the return of ajax call to
	search parents, now the agent names is without html entities.
	
	Fixes: #3174872



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 17:21:44 +00:00
mdtrooper fd5018734f 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.elements.php: fixed the show
	icons for "label" and "icon", show tooltip on the type icons, hidde some
	fields as type of row. And now the image field show to icon type item and
	of course update too.
	
	Fixes: #3188080



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3953 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 15:44:07 +00:00
mdtrooper d91e1d03d1 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed the update the
	items, now don't change the position if the data haven't the position.
	
	Fixes: #3188069



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 14:24:24 +00:00
mdtrooper a5a558d0f0 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: added in function "get_group_agents" the
	parameter "$childGroups" for get the child groups. And in the function
	"get_user_groups" added the parameter "$id_groups" for to get groups. Add
	the function "get_id_groups_recursive" for to get groups in the tree groups.
	 
	* godmode/reporting/visual_console_builder.wizard.php: fixed the select box
	of agents when user have agents in subgroup in any subgroup in the tree
	group.
	
	Fixes: #3180902



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 13:41:54 +00:00
javilanz bdf1f1c5a0 2011-02-21 Javier Lanz <javier.lanz@artica.es>
* godmode/alerts/alert_templates.php: Truncated Group name
	* godmode/alerts/alert_actions.php: Truncated Group name


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 13:23:46 +00:00
Ramon Novoa 02f4027ff0 2011-02-21 Ramon Novoa <rnovoa@artica.es>
* godmode/massive/massive_edit_agents.php: Check for false instead of
	  the number of updated agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 13:10:31 +00:00
mdtrooper 795f264cd0 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.builder.php: added the conditional to hide the
	create template or action when the user haven't privileges for this action.
	
	Fixes: #3182535



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 11:42:14 +00:00
jsatoh 6a55c96223 2011-02-19 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/configurar_agente.php: Fixed bad layout when
	length of agent name is more than 25.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-19 05:58:21 +00:00
mdtrooper 1446e03579 2011-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.js: fixed bug that erase the
	label of items when moving in other position.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 11:31:09 +00:00
javilanz edb520afa4 2011-02-18 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/configure_gis_map.php: Adding layer, group combo only
	displays user's groups.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 10:35:07 +00:00
javilanz f3dd1100c5 2011-02-18 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/configure_gis_map.php: Group combo now only displays
	user's groups.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 09:50:09 +00:00
juanmanuelr 1ef03ea5b1 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reports.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/reporting_builder.php:Only administrator users can select and see 
	group All in this views. 

	Fix: #3183412, 3183413 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 18:44:48 +00:00
javilanz b73bd20296 2011-02-07 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/index.php: Only display Default column to an admin
	user


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 18:24:06 +00:00
juanmanuelr 76c2095868 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_custom_graphs.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/graphs.php: Only administrator users can select and see 
	group All in this views.
	
	Fix: #3183419, 3183421



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3908 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 18:11:56 +00:00
juanmanuelr 047b70c43c 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_agente.php
        godmode/alerts/configure_alert_template.php
        godmode/alerts/alert_list.builder.php: Now users can see alerts and templates
        of their groups and group "All".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3905 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 17:20:31 +00:00
javilanz e768b60f80 2011-02-17 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/index.php: Show only user's GIS maps
	
	Fix: #3183432


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 17:17:29 +00:00
juanmanuelr fe7738e007 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/alerts/configure_alert_template.php
	  godmode/alerts/alert_templates.php
	  godmode/alerts/configure_alert_action.php
	  godmode/alerts/alert_actions.php
          godmode/alerts/alert_list.builder.php: If user is not admin then can't
	edit/delete/copy alerts/templates of other groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3895 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 15:00:19 +00:00
mdtrooper f4e2888590 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed the type of icon
	when create and after edit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 11:02:28 +00:00
mdtrooper a1723b6acd 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php: fixed the panel
	propierties for icon in the edition and creation, now it haven't label color
	and have preview icon and map link.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 10:34:29 +00:00
juanmanuelr 7e67360fda 2011-02-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_alerts.php: New function get_alert_actions_filter.
	* operation/agentes/estado_agente.php: If user is not admin or doesn't have
	'PM' privileges then don't display alerts of others groups.
	* godmode/alerts/configure_alert_template.php: If user is not admin or doesn't have
	'PM' privileges then don't display templates of others groups.
	* godmode/alerts/configure_alert_action.php: Don't show "create command" option
	in this view if current user is not administrator or or doesn't have
	'PM' privileges.
	* godmode/alerts/alert_list.builder.php: If user is not admin or doesn't have
	'PM' privileges then don't display alerts of others groups.

	Fixes: #3182557, 3182566 	

	* include/functions_visual_map.php: Added a parameter in function get_user_layouts for 
	return All group or not.
	* godmode/reporting/visual_console_builder.data.php: In map creation only display "All"
	group if user has 'PM' privileges or is administrator.
	* godmode/reporting/map_builder.php: If user is not admin or doesn't have
	'PM' privileges then don't display maps of others groups.
	* operation/visual_console/index.php: If user is not admin or doesn't have
	'PM' privileges then don't display maps of others groups.

	Fixes: #3175721, 3175730	

      	* godmode/users/configure_user.php: Only are shown "pandora management" and 
	"database management" profiles if current user is not administrator or or doesn't have
	'PM' privileges.	
	* godmode/alerts/alert_list.list.php: Fixed query for alert search.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 18:39:28 +00:00
mdtrooper 088c778277 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: added function "createInternalNameItem"
	and "get_items_parents".
	
	*include/ajax/visual_console_builder.ajax.php, 
	godmode/reporting/visual_console_builder.editor.php: changed the method to
	show items without name in visualmap as parents in the selectbox.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 15:37:55 +00:00
mdtrooper 8fb53fee71 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed check "<>" in other case as the ajax
	calls in the visual map.
	
	* godmode/reporting/visual_console_builder.editor.js: cleaned source code
	and added some comments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3871 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 12:43:24 +00:00
juanmanuelr 41ba768c36 2011-02-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/users/user_list.php: If user is not admin then don't 
	display users of others groups.

	Fixes: #3175670	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 11:11:05 +00:00
mdtrooper bf8e33789b 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, operation/agentes/ver_agente.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php: fixed when the agent haven't
	any module and fixed when to try to create items without modules selected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 19:07:23 +00:00
juanmanuelr 0c0ab29ec8 2011-02-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/users/user_list.php: Only display administrator users if
	current user is administrator too. 
	* godmode/users/configure_user.php: Only administrator can create
	administrator users. Only administrator users can assign group "All" to
	a profile.  

	Fixes: #3180761



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 17:49:13 +00:00
mdtrooper 314628b8ff 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: fixed the lost var in the audit.
	
	Fixes: #3182470



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:46:34 +00:00
Ramon Novoa 716c90b318 2011-02-15 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql, include/functions_alerts.php,
	  pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  godmode/alerts/alert_list.list.php, godmode/alerts/alert_list.php,
	  godmode/alerts/configure_alert_action.php, godmode/alerts/alert_actions.php,
	  godmode/alerts/alert_list.builder.php: Added support for action thresholds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:40:23 +00:00
javilanz 68488f4235 2011-02-15 Javier Lanz <javier.lanz@argica.es>
* godmode/groups/group_list.php: Fixed ACL checkings

	Fix #3175824


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 15:18:23 +00:00
mdtrooper 826b7e5835 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: added in function "get_agent_modules" the
	default value null for get modules of agents in user's group.
	
	* godmode/massive/massive_delete_modules.php: fixed the select of modules
	now get only the modules of agents in user's group and now you can delete
	and view correcly the modules with acent or other not ascii characters.

	Fixes: #3182143 and #3175722



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 14:20:45 +00:00
mdtrooper afec149d50 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php: refixed the position of check login for
	check in normal access and ajax access.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 13:47:39 +00:00
juanmanuelr 233470f6e4 2011-02-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/menu.php: "godmode > manage alert > commands" tab only 
	displayed when user privileges are "PM".
	* pandoradb_data.sql 
	 pandoradb.data.postgreSQL.sql: Changed "Alert management" field to 1 in 
	"Chief Operator" row of tperfil table.
	* godmode/alerts/alert_templates.php: If user tries to delete a 
	template with group=ALL then must have "PM" access privileges.
	* godmode/alerts/configure_alert_template.php: If user tries to duplicate
	/edit a template with group=ALL then must have "PM" access privileges.
	* godmode/alerts/alert_actions.php: If user tries to duplicate/delete an 
	action with group=ALL then must have "PM" access privileges.
	* godmode/alerts/configure_alert_action.php: If user tries to edit an 
	action with group=ALL then must have "PM" access privileges.

	Fixes: #3180735	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 13:17:26 +00:00
javilanz d438d7e0e4 2011-02-15 Javier Lanz <javier.lanz@artica.es>
* godmode/users/configure_user.php: Truncated group name on user detail
	editor


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 13:06:08 +00:00
mdtrooper b85070694e 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: erased the "prediction module" for
	policy view.
	
	Fixes: #3175826



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 11:41:28 +00:00
mdtrooper 5668e77202 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php: moved check ACL bottom the ajax call and
	added other check ACL in the ajax call.
	
	Fixes: #3180588



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 11:12:32 +00:00
juanmanuelr ccec340eaf 2011-02-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: print_input_image function now uses skins.
	* godmode/users/configure_profile.php: Added some variable initialization after
	selectinf a defined profile.

	Fixes: #3182041



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 11:07:25 +00:00
javilanz 1a322fc21d 2011-02-14 Javier Lanz <javier.lanz@artica.es>
* godmode/reporting/reporting_builder.main.php: Table size changed to 90%
	* godmode/reporting/reporting_builder.item_editor.php: Fixed a small
	problem with an old field


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 17:02:24 +00:00
mdtrooper c414923f18 2011-02-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, include/api.php, godmode/setup/setup.php:
	added the check by password the actions on API.
	
	Pending tasks: #3180793



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 16:56:17 +00:00
juanmanuelr ba00d69e54 2011-02-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_config.php: Loads relative_path variable in user 
	session.
	* include/functions_db.php: Added include call to 
	functions_extensions.php.
	* godmode/groups/configure_group.php 
	godmode/groups/group_list.php: Added functionality to assign a skin to 
	a group.   
	* godmode/menu.php: Added an entry to skins submenu.
	* godmode/users/configure_user.php: Added functionality to assign a skin to 
	a user.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-14 09:08:41 +00:00
javilanz e4217ce9d8 2011-02-09 Javier Lanz <javier.lanz@artica.es>
* include/functions_reportings.php: Added functionality to show only
	wrong modules
	* pandoradb.sql: Added column 'only_display_wrong" to treports_content
	* operation/agentes/estado_agente.php: Truncated agent name to 25 chars
	* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added column
	'only_display_wrong" to treports_content
	* godmode/reporting/reporting_builder.php: Added functionality to show
	only wrong modules
	* godmode/reporting/reporting_builder.item_editor.php: Added functionality
	to show only wrong modules


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-09 12:57:00 +00:00
juanmanuelr 5c59fa4ae0 2011-02-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
*     include/functions_menu.php
	      include/functions_html.php
	      include/functions_modules.php
	      include/functions_reporting.php
	      include/functions_filemanager.php
	      include/functions_gis.php
	      include/functions_networkmap.php
	      include/functions_visual_map.php
	      include/help/en/help_gis_map_builder.php
	      include/help/en/help_agent_status.php
	      include/help/en/help_eventview.php
	      include/help/en/help_configure_gis_map.php
	      include/help/en/help_cascade_protection.php
	      include/help/en/help_setup_gis_index.php
	      include/help/es/help_gis_map_builder.php
	      include/help/es/help_agent_status.php
	      include/help/es/help_eventview.php
	      include/help/es/help_configure_gis_map.php
	      include/help/es/help_cascade_protection.php
	      include/help/es/modu_group_list.php
	      include/help/ja/help_gis_map_builder.php
	      include/help/ja/help_agent_status.php
	      include/help/ja/help_eventview.php
	      include/help/ja/help_configure_gis_map.php
	      include/help/ja/help_cascade_protection.php
	      include/help/ja/help_setup_gis_index.php
	      include/functions.php
	      include/functions_db.php
	      include/functions_fsgraph.php
	      operation/incidents/incident_detail.php
	      operation/agentes/status_monitor.php
	      operation/agentes/estado_ultimopaquete.php
	      operation/agentes/alerts_status.php
	      operation/agentes/estado_generalagente.php
	      operation/agentes/estado_agente.php
	      operation/agentes/estado_monitores.php
	      operation/agentes/ver_agente.php
	      operation/agentes/group_view.php
	      operation/servers/view_server_detail.php
	      operation/snmpconsole/snmp_view.php
	      operation/users/user_edit.php
	      operation/gis_maps/render_view.php
	      operation/events/sound_events.php
	      operation/search_alerts.php
	      operation/reporting/reporting_viewer.php
	      operation/reporting/custom_reporting.php
	      operation/search_reports.php
	      operation/search_users.php
	      general/pandora_help.php
	      general/noaccess.php
	      general/ui/agents_list.php
	      general/header.php
	      godmode/groups/modu_group_list.php
	      godmode/groups/configure_group.php
	      godmode/groups/group_list.php
	      godmode/extensions.php
	      godmode/db/db_sanity.php
	      godmode/db/db_info.php
	      godmode/agentes/agent_template.php
	      godmode/agentes/module_manager_editor_common.php
	      godmode/agentes/module_manager_editor_network.php
	      godmode/agentes/fields_manager.php
	      godmode/agentes/module_manager.php
	      godmode/agentes/modificar_agente.php
	      godmode/agentes/planned_downtime.php
	      godmode/agentes/agent_manager.php
	      godmode/servers/recon_script.php
	      godmode/servers/plugin.php
	      godmode/servers/manage_recontask.php
	      godmode/alerts/alert_list.list.php
	      godmode/alerts/configure_alert_compound.php
	      godmode/alerts/alert_compounds.php
	      godmode/alerts/alert_actions.php
	      godmode/alerts/alert_list.builder.php
	      godmode/alerts/alert_commands.php
	      godmode/snmpconsole/snmp_alert.php
	      godmode/snmpconsole/snmp_filters.php
	      godmode/setup/os.list.php
	      godmode/setup/news.php
	      godmode/setup/links.php
	      godmode/setup/setup.php
	      godmode/users/user_list.php
	      godmode/gis_maps/configure_gis_map.php
	      godmode/massive/massive_add_alerts.php
	      godmode/massive/massive_delete_agents.php
	      godmode/massive/massive_enable_disable_alerts.php
	      godmode/massive/massive_delete_profiles.php
	      godmode/massive/massive_edit_agents.php
	      godmode/massive/massive_delete_action_alerts.php
	      godmode/massive/massive_delete_modules.php
	      godmode/massive/massive_add_profiles.php
	      godmode/massive/massive_delete_alerts.php
	      godmode/massive/massive_edit_modules.php
	      godmode/massive/massive_standby_alerts.php
	      godmode/massive/massive_add_action_alerts.php
	      godmode/modules/module_list.php
	      godmode/modules/manage_network_templates_form.php
	      godmode/reporting/reporting_builder.list_items.php
	      godmode/reporting/reporting_builder.preview.php
	      godmode/reporting/visual_console_builder.elements.php
	      godmode/reporting/graph_builder.graph_editor.php
	      godmode/reporting/reporting_builder.item_editor.php
	      godmode/reporting/graphs.php: Changed the way of print images from "<src=.." 
	html tag to print_image function.

	* include/functions_ui.php
	  mobile/operation/agents/view_agents.php: print_group_icon2 function renamed to print_group_icon_with_path




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-04 13:30:50 +00:00
mdtrooper dd14469349 2011-01-31 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components_form_plugin.php: added the field
	"Post process".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-31 13:25:33 +00:00
mdtrooper e6e1f0c071 2011-01-31 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js, pandoradb.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components.php: added the "post process"
	parameter to network component and use in network component editor and
	module editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-31 09:23:05 +00:00
mdtrooper f125655c54 2011-01-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php,
	godmode/modules/manage_network_templates_form.php: cleaned source style.
	
	* extensions/resource_registration.php: added extensión to import by xml
	file the network component, wmi component, smnp component and local
	component. And if the xml content a template, this component add into
	template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-27 19:05:30 +00:00
javilanz 369a7f8561 2011-01-26 Javier Lanz <javier.lanz@artica.es>
* include/functions_custom_graphs.php: Added 'date' parameter
	* operation/reporting/reporting_viewer.php: Longer text box
	* operation/reporting/graph_viewer.php: Added date control
	* godmode/reporting/reporting_builder.preview.php: Longer text box
	* godmode/reporting/graph_builder.preview.php: Added bottom controls
	
	Pending task: #3137696


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-26 13:40:17 +00:00
mdtrooper 9e444a9160 2011-01-21 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, operation/agentes/exportdata.php,
	operation/agentes/ver_agente.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php: fixed to show by ajax
	the disabled modules and the disabled agents.
	
	Fixes: #3155701




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-24 12:11:17 +00:00
mdtrooper c4647be22a 2011-01-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.elements.php: fixed the show
	disabled modules in the list of element tab of the visual console editor.
	
	Fixes: #3155701



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-21 11:15:29 +00:00
mdtrooper 7c6b945524 2011-01-19 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: added to call to enterprise functions
	to delete "pseudo code" of local module when delete in multiple delete
	action.
	
	Fixes: #3161621

	* include/functions_filemanager.php: cleaned source code old unused
	comments.
	
	* include/functions_ui.php: in function "printTruncateText" fixed when pass
	0 character to trunk, now return all text. And in function
	"print_agent_name" cleaned source code style.
	
	* operation/agentes/estado_agente.php: fixed order of params in the call
	of function "print_agent_name".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-20 13:47:27 +00:00
mdtrooper 3a02320e3f 2011-01-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php, 
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php: fixed the resize
	background, and now the visualmap the background resize. And now the items
	move with resize the background.
	
	Fixes: #3156131
	
	Pending task: #2996500



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-19 20:08:18 +00:00
javilanz e0d267078a 2011-01-19 Javier Lanz <javier.lanz@artica.es>
* extensions/module_groups.php: Added truncation and scroll bar
	* operation/agentes/status_monitor.php: Fixed combobox functionality
	* general/logon_ok.php: Added a scroll bar at the bottom
	* godmode/groups/modu_group_list.php: Truncated module groups name


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-19 13:50:22 +00:00
javilanz e3b13ee1c2 2010-01-17 Javier Lanz <javier.lanz@artica.es>
* trunk/pandora_console/include/functions_ui.php: Fixed an error in print_agent_name
	* trunk/pandora_console/extensions/module_groups.php: Fixed extension, now works properly. Fix #3160077
	* trunk/pandora_console/operation/agentes/estado_generalagente.php: Truncated agent & module names
	* trunk/pandora_console/godmode/reporting/visual_console_builder.elements.php: Fixed table style


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-17 17:03:38 +00:00
javilanz ab5b664f07 2010-01-14 Javier Lanz <javier.lanz@artica.es>
* trunk/pandora_console/include/functions_html.php: print_select function edited to deal with long fields.
	* trunk/pandora_console/include/functions_ui.php: printTruncateText function edited to truncate in the middle of the word.
	* trunk/pandora_console/pandoradb.sql: changed type for field "nombre" in "tgrupo" table.
	* trunk/pandora_console/pandora_console_install: added support for Fedora. Thanks to philipmbrown.
	* trunk/pandora_console/extensions/agents_modules.php: truncated text to 19 characters showing agent names
	* trunk/pandora_console/operation/agentes/group_view.php: Truncated group name to deal with long fields.
	* trunk/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed type for field "nombre" in "tgrupo" table.
	* trunk/pandora_console/godmode/groups/group_list.php: Truncated group name to deal with long fields.
	* trunk/pandora_console/godmode/agentes/modificar_agente.php: truncated agent names to deal with long fields.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-14 12:33:31 +00:00
juanmanuelr a1e58c6ecf 2010-01-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/visual_console_builder.editor.js: Label parameter is now coded 
	in base 64 format when pgraph.php page is requested. 
	
	* godmode/reporting/visual_console_builder.editor.php: Added a javascript include.

	* include/javascript/encode_decode_base64.js: Added new javascript function for base 64 encoding/decoding.  

	Fixes bug #3152661, #3147119



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-13 17:32:44 +00:00
juanmanuelr 6096c230f8 2010-01-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_visual_map.php: Changed the way of create marks 
	for graphs in visual console from divs to tables. Label parameter is 
	now coded in base 64 codification when pgraph.php page is requested. 

	Fixes bug #3152661, #3152673
	
	* include/fgraph.php: Decode received parameter (label) in base 64 codification.

	* godmode/reporting/visual_console_builder.editor.js: In Visual console builder editor 
	added some image borders to create marks around graphs.

	Fixes bug #3152673

	* operation/agentes/stat_win.php
	godmode/reporting/graph_builder.preview.php: Label parameter is now coded 
	in base 64 format when pgraph.php page is requested.

	Fixes bug #3152661




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3735 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-12 12:03:45 +00:00
javilanz 003d78d200 2010-01-11 Javier Lanz <javier.lanz@artica.es>
*godmode/agentes/module_manager.php: Fixed an error truncating module name

	Fixes bug #3138420



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-11 10:58:56 +00:00
juanmanuelr 63b15d13db 2010-01-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_create_agent.php
	include/help/en/help_reconscript_definition.php
	include/help/en/help_warning_status.php
	include/help/en/help_manage_alert_list.php
	include/help/en/help_critical_status.php
	include/help/es/help_create_agent.php
	include/help/es/help_reconscript_definition.php
	include/help/es/help_warning_status.php
	include/help/es/help_manage_alert_list.php
	include/help/es/help_critical_status.php: Added new help menus. 

	* include/functions.php: Added new constants.

	* godmode/agentes/module_manager_editor_common.php
	godmode/agentes/agent_manager.php
	godmode/servers/manage_recontask_form.php
	godmode/alerts/configure_alert_template.php: Added contextual helps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-05 17:49:52 +00:00
mdtrooper 394fec0c13 2010-12-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php: fixed error message show in the successful
	delete group operation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-23 12:34:57 +00:00
Ramon Novoa da2304eb14 2010-12-23 Ramon Novoa <rnovoa@artica.es>
* include/javascript/pandora.js: Translate space HTML entities.
	  Fixes bug #3142670.

	* godmode/alerts/configure_alert_action.php: Added a link to the
	  macro help page.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-23 12:05:18 +00:00
zarzuelo 213d097e4d 2010-12-22 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_edit_agents.php: Fixed the massive edition 
	of the agents parent for bug 3141852



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-22 18:56:36 +00:00
mdtrooper 367f550a5c 2010-12-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php: fixed the action to sort up or
	down the items in the report, and improvement the order number and now
	start to each new report.
	
	Fixes: #3140930



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-20 20:45:58 +00:00
mdtrooper 2e17e34d13 2010-12-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: fixed the copy &
	paste mistake with the name of var (month ago), now show the URL to edit in
	the import.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-20 20:23:21 +00:00
Ramon Novoa 9080a4bd2e 2010-12-20 Ramon Novoa <rnovoa@artica.es>
* godmode/reporting/graph_builder.preview.php: Fixed a typo.
	  Fixes bug #3138641.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3669 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-20 17:37:43 +00:00
mdtrooper 03437f134e 2010-11-25 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: erase the problematic
	foreign key in trecon_task.
	
	Fixes: #3118273
	
	* godmode/servers/recon_script.php: when I readed source code for
	to check that when delete a recon_script delete recon task that use
	this. Cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 10:15:41 +00:00
raulmateos 5793939220 2010-11-22 Raul Mateos <raulofpandora@gmail.com>
* gomode/agentes/module_manager.php: Closed HTML tags.
	* images/status_sets/default/agent_no_monitors*.png: Added forgotten files.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 15:12:43 +00:00
mdtrooper a83ca340f0 2010-11-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/extensions.php: fixed a lost javascript trace, and fixed
	when all extensions is disabled.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 10:56:41 +00:00
mdtrooper 7d4c6e8ba4 2010-11-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_extensions.php: added functions
	"get_disabled_extensions" and "getExtensionInfo".

	* operation/extensions.php: erased the delete extension option.

	* images/dot_green.disabled.png, images/dot_red.disabled.png: added files
	for the table of features extension.
	
	* godmode/extensions.php: show a table of extension with features and
	action to disable and delete.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 12:08:18 +00:00
mdtrooper 4ed0f3330c 2010-11-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/map_builder_wizard.php: deleted old file of old visual
	console editor. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 14:53:57 +00:00
mdtrooper 1b85363a8c 2010-11-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_extensions.php: added functions
	"add_extension_godmode_tab_agent" and "add_extension_opemode_tab_agent" to
	add the extensions tab in the header in operation and godmode.
	
	* operation/agentes/ver_agente.php,
	godmode/agentes/configurar_agente.php: added hook for to add the extension
	tabs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 13:36:01 +00:00
raulmateos 4032cdbedd 2010-11-11 Raúl Mateos <raulofpandora@gmail.com>
* general/error_install.php, general/error_perms.php, general/header.php,
	general/logon_menu.php, general/logon_ok.php, include/functions_menu.php, 
	include/functions_ui.php, extensions/agents_modules.php, 
	operation/menu.php, godmode/menu.php, operation/estado_agente.php,
	operation/agentes/estado_agente.php, operation/agentes/status_monitor.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_generalagente.php, pandoradb_data.sql: Closed
	some HTML tags, autoclose others, added alt to images, and changed some 
	& to "&amp;" to help validation for XHTML 1.0 Transitional. Tested and
	not error found, but needs more tests...

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 11:16:09 +00:00
jsatoh 5e32b8d4be 2010-11-11 Junichi Satoh <junichi@rworks.jp>
* godmode/setup/gis_step_2.php: Added UTF-8 charset to htmlentities().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 01:26:38 +00:00
zarzuelo d4325770be 2010-11-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/functions.php
	operation/reporting/reporting_xml.php
	godmode/reporting/reporting_builder.item_editor.php: Added the
	simple baseline graph to the html and xml report exports



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 11:17:29 +00:00
mdtrooper aeeb4da5ae 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/db/db_purge.php: fixed old value "1" for "All" groups.
	
	Fixes: #3102844



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:28:55 +00:00
Ramon Novoa 789b64829e 2010-11-04 Ramon Novoa <rnovoa@artica.es>
* godmode/servers/manage_export.php,
	  godmode/servers/manage_export_form.php: Moved to Pandora FMS
	  Enteprise.

	* godmode/menu.php: Removed the export targets menu entry.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 16:15:41 +00:00
mdtrooper 7fe994164d 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: fixed lost lines deleted in previous
	commits (sorry).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 16:02:44 +00:00
mdtrooper 0da8f29e9e 2010-11-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added the function
	"print_autocomplete_modules". This function is same to magic-select box for
	agents instead this for modules.
	
	* include/javascript/jquery.ui.datepicker.js,
	include/javascript/jquery.ui.droppable.js: fixed end of lines that it
	haven't semicolon end char.
	
	* include/ajax/module.php: fix version of file that responds to ajax
	request for the magic-select box for modules.
	
	* include/functions_ui.php: in function "format_alert_row" use new call
	for the "isAlertInPolicy2".
	
	* include/functions_db.php: added in function "get_agent_modules" for the
	parameter $filter, the posibility to search with the "like" mysql operator.
	
	* images/lightning_blue.png: blue lighting for new magic-select box agents.
	
	* godmode/agentes/configurar_agente.php: cleaned source code style.
	
	* godmode/alerts/alert_list.list.php:  use new call for the
	"isAlertInPolicy2". And fixed the column align for policies and actions.
	
	* godmode/reporting/reporting_builder.list_items.php: erased old source
	code lines comments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:45:39 +00:00
zarzuelo e846299ce7 2010-11-03 Sergio Martin <sergio.martin@artica.es>
*  include/functions_modules.php
	include/functions_reporting.php
	include/functions.php
	include/functions_db.php
	operation/agentes/ver_agente.php
	godmode/massive/massive_delete_modules.php: Fixed 
	several html entities codifications with safe_input/safe_output



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 12:18:33 +00:00
mdtrooper 32413c47fd 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: cleaned source code style. And added line
	comments for to explain obfuscated $$ operation in function
	"print_input_text_extended".
	
	* godmode/agentes/module_manager_editor_plugin.php: set the field
	"plugin_parameters" with unlimited size. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 12:02:00 +00:00
mdtrooper e796a94961 2010-10-29 Miguel de Dios <miguel.dedios@artica.es>
* extensions/dbmanager.php, godmode/agentes/module_manager_editor.php,
	godmode/massive/massive_add_alerts.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_operations.php,
	godmode/massive/massive_delete_profiles.php,
	godmode/massive/massive_edit_agents.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_add_profiles.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/massive/massive_edit_modules.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/massive/massive_add_action_alerts.php:  now in the source code pick
	more info in the audit for actions.
	
	Pending tasks: #3089687



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3480 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 12:35:34 +00:00
mdtrooper 501f4d10a7 2010-10-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_delete_profiles.php: fixed result message of
	operation. And cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 11:55:17 +00:00
mdtrooper eda131de78 2010-10-28 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_actions.php,
	godmode/alerts/alert_commands.php: now in the source code pick more info in
	the audit for actions to create, update and delete profiles and user, and
	for action to add and remove profiles to user.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3478 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-28 11:55:55 +00:00
mdtrooper ccd73e058e 2010-10-28 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.ui.datepicker.js, include/javascript/jquery.js,
	include/javascript/jquery.ui.core.js,
	include/javascript/tiny_mce/tiny_mce_popup.js,
	include/javascript/OpenLayers/OpenLayers.js,
	include/javascript/jquery.ui.resizable.js,
	include/javascript/jquery.timeentry.js: : delete unpacked source code of js.
	
	* include/functions_alerts.php: added header comment to function
	"create_alert_action".
	
	* godmode/alerts/alert_list.php: fixed the return status for message status
	in actions "delete_alert", "add_action" and "delete_action".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-28 11:35:56 +00:00
zarzuelo ef16b40894 2010-10-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_custom_graphs.php
	godmode/reporting/graph_builder.preview.php: Fixed various bugs when
	you try to render a custom graph without modules for bug 3096434



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-28 11:31:12 +00:00
mdtrooper 0d5ef13ad7 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php:  now in the source code pick more
	info in the audit for actions to create, update and delete agent, and in
	other hand for the actions to create, update, duplicate and delete module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 17:38:39 +00:00
mdtrooper 1d290a54b7 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php,
	godmode/massive/massive_edit_agents.php: erased the calls "debugPrint" found
	in source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 17:28:05 +00:00
mdtrooper 0344c2b1a7 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "pandora_audit" added new parameter
	$info for to set more info in the audit. Cleaned source code style.
	
	* godmode/users/configure_user.php, godmode/users/configure_profile.php: now
	in the source code pick more info in the audit for actions to create,
	update and delete profiles and user, and for action to add and remove
	profiles to user.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 16:02:53 +00:00
mdtrooper 12a0a12e89 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "pandora_audit" clean source code
	style, use the Pandora DB interface and now return id the row in tsesion.
	 
	* index.php: fixed when login failed the audit.
	
	* godmode/users/user_list.php: clean source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 11:33:17 +00:00
mdtrooper 3068e497ce 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/admin_access_logs.php: added hooks to enterprise code, and added
	new filter with more options.

	* include/functions_db.php: erase the deprecated function "audit_db", and
	added in function "pandora_audit" two new parameters $user_id, $ip for
	pass this values when it are differents to the default values. Finally
	replaced the depecrated "audit_db" for "pandora_audit".
	
	* include/functions_events.php, include/functions_filemanager.php, 
	include/ajax/reporting.ajax.php,
	include/ajax/visual_console_builder.ajax.php,
	include/ajax/alert_list.ajax.php, include/help/es/modu_group_list.php,
	include/functions_incidents.php, index.php, extensions/agents_modules.php,
	extensions/insert_data.php, extensions/system_info.php,
	extensions/dbmanager.php, extensions/update_manager/settings.php,
	extensions/pandora_logs.php, extensions/plugin_registration.php,
	operation/incidents/incident.php, operation/incidents/incident_detail.php,
	operation/incidents/incident_statistics.php, operation/extensions.php,
	operation/visual_console/render_view.php,
	operation/agentes/status_monitor.php, operation/agentes/export_csv.php,
	operation/agentes/datos_agente.php, operation/agentes/alerts_status.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/custom_fields.php, operation/agentes/estado_agente.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php, operation/agentes/sla_view.php,
	operation/agentes/gis_view.php, operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php, operation/agentes/graphs.php,
	operation/agentes/agent_fields.php, operation/agentes/tactical.php,
	operation/agentes/group_view.php, operation/agentes/networkmap.php, 
	operation/servers/view_server.php,operation/servers/view_server_detail.php,
	operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
	operation/gis_maps/render_view.php, operation/events/event_statistics.php,
	operation/events/sound_events.php, operation/events/events_validate.php,
	operation/events/events_list.php, operation/events/events_marquee.php,
	operation/events/events.php, operation/reporting/reporting_xml.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php,
	mobile/operation/agents/view_agents.php, mobile/index.php,
	godmode/groups/modu_group_list.php, godmode/groups/configure_group.php,
	godmode/groups/configure_modu_group.php, godmode/groups/group_list.php,
	godmode/extensions.php, godmode/db/db_main.php, godmode/db/db_audit.php,
	godmode/db/db_sanity.php, godmode/db/db_refine.php, godmode/db/db_info.php,
	godmode/db/db_event.php, godmode/db/db_purge.php,
	godmode/agentes/fields_manager.php, godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php, godmode/agentes/configurar_agente.php,
	godmode/agentes/configure_field.php, godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php, godmode/agentes/agent_manager.php,
	godmode/servers/manage_export.php, godmode/servers/recon_script.php,
	godmode/servers/manage_export_form.php, godmode/servers/plugin.php,
	godmode/servers/manage_recontask.php, godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/alert_list.list.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php, godmode/alerts/alert_list.builder.php,
	godmode/alerts/alert_commands.php, godmode/snmpconsole/snmp_alert.php,
	godmode/snmpconsole/snmp_filters.php, godmode/setup/file_manager.php,
	godmode/setup/os.list.php, godmode/setup/news.php,
	godmode/setup/gis_step_2.php, godmode/setup/links.php,
	godmode/setup/setup.php, godmode/setup/os.php,
	godmode/setup/performance.php, godmode/setup/setup_auth.php,
	godmode/setup/gis.php, godmode/setup/os.builder.php,
	godmode/setup/setup_visuals.php, godmode/users/user_list.php,
	godmode/users/configure_user.php, godmode/users/configure_profile.php,
	godmode/gis_maps/configure_gis_map.php, godmode/gis_maps/index.php,
	godmode/massive/massive_add_alerts.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_operations.php,
	godmode/massive/massive_delete_profiles.php,
	godmode/massive/massive_edit_agents.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_add_profiles.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/massive/massive_edit_modules.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/massive/massive_add_action_alerts.php,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_components_form_common.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/graph_builder.main.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/reporting_builder.preview.php,
	godmode/reporting/reporting_builder.main.php,
	godmode/reporting/visual_console_builder.data.php,
	godmode/reporting/map_builder_wizard.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/visual_console_builder.preview.php,
	godmode/reporting/graph_builder.graph_editor.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/reporting/graphs.php, godmode/reporting/graph_builder.preview.php:
	Replaced the depecrated "audit_db" for "pandora_audit".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 10:47:07 +00:00
jsatoh abc87833ff 2010-10-26 Junichi Satoh <junichi@rworks.jp>
* godmode/db/db_info.php: Fixed uninitialized variable is used.
	Fixed "get database information as text" does not work.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-26 02:04:22 +00:00
mdtrooper 560f9ded4a 2010-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.pandora.controls.js,
	include/javascript/tiny_mce/plugins/media/js/media.js,
	include/javascript/tiny_mce/plugins/table/editor_plugin.js,
	include/javascript/tiny_mce/plugins/table/js/cell.js,
	include/javascript/tiny_mce/plugins/xhtmlxtras/js/element_common.js,
	include/javascript/tiny_mce/themes/advanced/js/color_picker.js,
	include/javascript/tiny_mce/themes/advanced/js/image.js,
	include/javascript/jquery.pandora.js,
	include/javascript/jquery.tablesorter.js,
	include/javascript/OpenLayers/OpenLayers.js,
	include/javascript/jquery.form.js, include/javascript/jquery.timeentry.js,
	include/javascript/jquery.countdown.js,
	godmode/reporting/visual_console_builder.editor.js: fixed end of lines that
	it haven't semicolon end char.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 16:06:37 +00:00
mdtrooper 236e3f589b 2010-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, godmode/agentes/modificar_agente.php,
	godmode/alerts/alert_list.list.php: clean source style.
	
	* godmode/servers/manage_export_form.php: fixed a unclose parentheses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 15:55:16 +00:00
raulmateos 8627f1376d 2010-10-25 Raúl Mateos <raulofpandora@gmail.com>
* images/control*.png: Added two small images for sound control in setup.
	* godmode/setup/setup.php: Use added images.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3455 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 12:38:31 +00:00
jsatoh 2c4e5d1de8 2010-10-25 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/module_manager_editor_network.php: Added enterprise
	check before isModuleAdopt(). It is not in opensource version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 02:30:46 +00:00
raulmateos 55a163cd6f 2010-10-22 Raul Mateos <raulofpandora@gmail.com>
* godmode/db/db_refine.php, godmode/agentes/manage_config_remote.php,
	godmode/admin_access_logs.php, godmode/snmpconsole/snmp_filters.php,
	godmode/snmpconsole/snmp_alert.php: Updated year, close html tags, put pixel
	in tables, center some icons, small cosmetics changes.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-22 13:01:25 +00:00
jsatoh 72c99d331a 2010-10-22 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_standby_alerts.php: Improved template
	selection to be selected more than one. Added agent selection. (It can
	also be selected more than one.)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3447 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-22 08:21:28 +00:00
zarzuelo 3f317d8f04 2010-10-20 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/manage_export_form.php
	godmode/servers/manage_recontask.php
	godmode/servers/manage_recontask_form.php: Improved and fixed
	little bugs into the custom recon scripts interface



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 16:32:15 +00:00
zarzuelo fbf3188cad 2010-10-20 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Clean the code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 16:23:24 +00:00
darode 62298d9347 2010-10-20 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/servers/modificar_server.php: Disable change name of server
	because it will be trouble updating server status.

	Fixes: #3091297



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 13:50:18 +00:00
zarzuelo 8e3a816001 2010-10-20 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Fixed jquery clone 
	function incompatibility with iexplorer for bug 3090389



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 11:05:26 +00:00
jsatoh aee5a86441 2010-10-20 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_enable_disable_alerts.php: Improved template
	selection to be selected more than one. Added agent selection. (It can
	also be selected more than one.)

	* godmode/include/functions_alerts.php: Added a argument, $id_agents
	array, to get_agents_with_alert_template(). It is used to select
	specific agents in the function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 04:58:22 +00:00
zarzuelo 4780638b9e 2010-10-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	include/ajax/visual_console_builder.ajax.php
	godmode/reporting/visual_console_builder.php: Added the html support
	in the label type items of the visual consoles for pending
	task 3063404



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-19 15:57:07 +00:00
zarzuelo a459de188f 2010-10-19 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_edit_modules.php: Fixed a jquery typo
	for iexplorer browser



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-19 11:04:20 +00:00
slerena 0ae912e31d 2010-10-18 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Alter some trecon_task info to avoid problems on new
	custom script items (due the referencial integrity).
	
	* pandoradb_data.sql: Octopods instead octopus.
	
	* godmode/menu.php,
	* godmode/servers/recon_script.php: Added new option to manage recon scripts
	
	* godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php: Changes to manage the new recon
	tasks using custom-defined scripts to detect and monitor things (neeed some
	Javascript improvements).
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-18 18:16:45 +00:00
slerena d57418949d 2010-10-16 Sancho Lerena <slerena@artica.es>
* pandoradb_migrate_v3.1_to_v3.2.sql: Variable for SQL custom reports has
    more size now (custom SQL reports could be huge SQL sentences).

    * godmode/reporting/reporting_builder.php, 
    godmode/reporting/reporting_builder.item_editor.php: Added suppor for the 
    new SQL graph reports (vbar, hbar and pie).

    * include/fgraph.php: Support for new SQL graphs, with new function 
    graph_custom_sql_graph().

    * include/functions_reporting.php:  Support for new SQL graphs.

    * operation/reporting/reporting_xml.php: Fixed some problems and added
    support for graphs using session_id.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-16 10:47:21 +00:00
zarzuelo 2344ed4214 2010-10-15 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Improved the size of the
	alert view columns



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3410 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 12:11:23 +00:00
zarzuelo b088800fb8 2010-10-15 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.builder.php: Fixed the ugly layout of 
	the alert views



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 11:47:43 +00:00
mdtrooper 5c2707a0fb 2010-10-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_network.php: added lines to unblock
	SNMP community when the module is adopt.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 08:28:37 +00:00
zarzuelo 8be9dfa6c1 2010-10-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	godmode/agentes/module_manager.php
	godmode/agentes/configurar_agente.php: Added clone module
	into an agent to the manage modules view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 17:07:50 +00:00
mdtrooper e2edbcb416 2010-10-14 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added in the
	table "tagente_modulo" the field "policy_adopted" for to set a module
	pre exist in policy as adopted.
	
	*operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager.php: show the icon of "adopted" or "adopted 
	but unlinked" in the list of modules.
	
	Pending tasks: #3083123
	

	
	* include/functions_modules.php: cleaned source code style in function
	"update_agent_module".
	
	* godmode/agentes/module_manager_editor_network.php: fixed warning messages
	when use this file in policies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 15:09:29 +00:00
zarzuelo e70f434eb7 2010-10-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/functions_io.php
	include/functions_ui.php
	godmode/agentes/module_manager.php: Created a new safe input
	function more soft than safe_input() for html code. Applied this
	function (safe_input_html()) in few functions like print_image
	or print_page_header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 12:27:09 +00:00
mdtrooper e8eb6d9ee8 2010-10-14 Miguel de Dios <miguel.dedios@artica.es>
* extensions/system_info.php: add TODO.
	
	* godmode/agentes/module_manager_editor.php: fixed the ajax with the new
	safe_ouput function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 10:31:30 +00:00
jsatoh e96094c81a 2010-10-14 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_standby_alerts.php: Fixed alert listing is not
	affected by group selection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 03:24:05 +00:00
jsatoh 6aaf6155c0 2010-10-12 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_add_alerts.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_edit_agents.php: Fixed action URLs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-12 01:32:05 +00:00
zarzuelo ec5776bfce 2010-10-08 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	include/functions_agents.php
	operation/agentes/ver_agente.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_delete_alerts.php: Improved the 
	addition/deletion of alerts in massive operations to 
	select not only the agents (the modules too) for pending
	task 3082862



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 11:16:57 +00:00
zarzuelo 2af3b2fa76 2010-10-08 Sergio Martin <sergio.martin@artica.es>
*  godmode/agentes/module_manager_editor_common.php
	 godmode/agentes/module_manager_editor.php: Fixed SQL 
	 error when try to create a module called 0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 07:20:40 +00:00
jsatoh 73f475bb04 2010-10-08 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_delete_action_alerts.php: Added simple and
	compound alerts selections.

	* include/functions_alerts.php: Added new function, get_alert_compounds().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 03:26:49 +00:00
slerena e53038088d 2010-10-07 Sancho Lerena <slerena@artica.es>
* godmode/alerts/alert_list.list.php: Another ugly warning fixed due 
        an undefined array. PLEASE dont use foreach on arrays non-checked !




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 15:18:51 +00:00
slerena 1a3a930e5c 2010-10-07 Sancho Lerena <slerena@artica.es>
* godmode/agentes/configurar_agente.php: Added custom fields to the global
        edit/insert code. Not really used here, but for the future.

        * godmode/modules/module_list.php: Show ID of modules, useful information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 12:00:16 +00:00
zarzuelo c8fc9ddd90 2010-10-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/functions_visual_map.php
	operation/reporting/graph_viewer.php
	godmode/reporting/graph_builder.preview.php: Fixed the setting
	of width and height on custom graphs setup. Increased the height 
	of the graph in few sections to fix the rise of the leyend



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 09:27:38 +00:00
zarzuelo 77a070a97e 2010-10-07 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_edit_agents.php: Removed the IP 
	address field from the agent massive edition



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 08:13:36 +00:00
mdtrooper eae18cd978 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: fixed the source code, now when you
	create a agent, the agent have not a any module.
	
	Fixes: #3077024



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 15:43:26 +00:00
zarzuelo 610cca19f8 2010-10-06 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.php
	godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.editor.php: Fixed the
	bad icon change in visual console editor when update an item
	for bug 3078016



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 15:35:49 +00:00
mdtrooper ca42767944 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: added in function "process_config" added
	lines code to check unset 'autoupdate' in $config.
	
	* operation/incidents/incident_statistics.php, godmode/users/user_list.php:
	cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 14:37:33 +00:00
mdtrooper b46c9ce64e 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php, godmode/agentes/module_manager.php:
	fixed the icon of policy in list of modules, now show when the module is
	unlinked. And cleaned source code style.
	
	Fixes: #3078716



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 12:24:21 +00:00
mdtrooper 17d78a4427 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 10:30:11 +00:00
zarzuelo 676d7f23a6 2010-10-04 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	operation/agentes/ver_agente.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_edit_modules.php: Restructured
	the massive module editor to increase the power of the tool
	adding multiple selection methods



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 15:58:05 +00:00
zarzuelo c7f0cc3baa 2010-09-30 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.builder.php: Fixed an error of 
	table width declaration for bug 3078730



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 14:15:15 +00:00
raulmateos c1acf9beae git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2010-09-30 10:51:09 +00:00
raulmateos 8dd5b6dc2a 2010-09-30 Raúl Mateos <raulofpandora@gmail.com>
* godmode/profiles/profile_list.php: Delete no more used file

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 10:43:58 +00:00
raulmateos 47e80e29c2 2010-09-30 Raúu Mateos <raulofpandora@gmail.com>
* godmode/users/*.php: Removed reference to gperfiles sec.
	* godmode/profiles/: Deleted no more used folder.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 10:40:23 +00:00
mdtrooper 1759e7b808 2010-09-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_groups.php: added first version of file with the
	function "checkUsedGroup".
	
	*include/Image/Canvas.php, include/Image/Canvas/GD.php,
	include/functions.php, mobile/operation/agents/view_agents.php: cleaned
	source code style.

	* godmode/groups/group_list.php: fixed the check if the group to delete is
	empty.
	
	Fixes: #3074223



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 17:16:34 +00:00
zarzuelo a921364450 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_copy_modules.php: Fixed the
	massive modules copy for bug 3078010



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 15:25:59 +00:00
zarzuelo 0d6e95d4db 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Fixed the
	ugly layout of the alerts list in godmode section
	for bug 3077999 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 15:11:51 +00:00
zarzuelo 618d4ede28 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.pandora.controls.js
	godmode/groups/group_list.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_edit_agents.php: Added the massive
	agent editor to the massive operations for pending task
	#3057662



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3311 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 10:28:10 +00:00
zarzuelo 24260e0f91 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/fields_manager.php: Fixed the custom fields 
	section notice where is empty



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 09:23:12 +00:00
raulmateos d7905df54f 2010-09-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/modificar_agente.php: Vertical aligned some icons.
	TO DO: The table should be "migrated" to new table code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 10:31:21 +00:00
zarzuelo 35e66d384d 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/graph_builder.preview.php: Fixed few
	foreach loops to avoid notices setting empty array to 
	false variables



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 10:23:04 +00:00
raulmateos 6616f03746 2010-09-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/users/user_list.php, godmode/users/configure_user.php:
	change the sec url variable to show the menu highlighted.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 09:52:22 +00:00
zarzuelo 41f8a941c8 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.php: Fixed typo bug



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 08:04:13 +00:00
zarzuelo 83ac9a3d2f 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.main.php: Set default
	value to id_group to avoid notices



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 07:48:14 +00:00
raulmateos 72ee277665 2010-09-23 Raul Mateos <raulofpandora@gmail.com>
* godmode/users/user_list.php: Able to edit profiles.
	* godmode/users/configure_profile.php: New page, based on the old
	profile one (that should be deleted if all it's OK)
	* godmode/menu.php: Removed profiles menu entry.
	* godmode/alerts/alert_list.list.php: Centered several icons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 12:34:06 +00:00
slerena d2ff833921 2010-09-22 Sancho Lerena <slerena@artica.es>
* godmode/reporting/visual_console_builder.elements.php,
        godmode/reporting/visual_console_builder.editor.php: Fixed bug 
        #3073239: bad intervals in combo for period selection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 14:15:28 +00:00
zarzuelo d69c2ece08 2010-09-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php
	godmode/agentes/modificar_agente.php: Added the calls
	to enterprise to delete an agent to all their policies
	when we delete it for bug 3072471



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 12:09:04 +00:00
jsatoh 933e50b145 2010-09-21 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_delete_action_alerts.php: Fixed
	addition/deletion for compound alerts does not work.

	* include/functions_alerts.php: To fix above problem, added a function,
	delete_alert_compound_action().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 04:26:46 +00:00
slerena 1cf0c48ff8 2010-09-20 Sancho Lerena <slerena@artica.es>
* include/config.inc.php: config_process.php is obtained from
        defined path in homedir variable.

        * godmode/agentes/module_manager_editor_network.php: Limit for
        OID lenght was too short, DB gets 255 chars, now input also gets 
        255 chars.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 14:14:55 +00:00
zarzuelo 428e4e0baf 2010-09-17 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	pandoradb.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php: Deleted several
	columns from the events view and adding a
	show/hide advanced fields feature. 
	Added a new state 'in process' to validation
	and an input comment when a status is changed.

	* include/fgraph.php: Fixed quotes
	in constant definition

	* include/functions_ui.php
	include/functions_agents.php
	include/functions_alerts.php
	operation/agentes/alerts_status.php
	operation/agentes/alerts_status.functions.php
	images/bell_pause.png
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_standby_alerts.php: Added
	the feature of set and set off on standby an alert
	in the alets management and view if an alert is in
	standby in the rest of views.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 12:34:11 +00:00
zarzuelo 688868ccc7 2010-09-13 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/configurar_agente.php: Added local module
	deletion in conf file to another place where the modules can
	be deleted. Clean the code too



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-13 07:41:06 +00:00
mdtrooper 564ec42c33 2010-09-09 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/os.list.php, godmode/setup/os.builder.php,
	godmode/setup/os.php: changed the source code and added "os.builder.php" and
	"os.list.php" for to change the management page for to be a "tab page".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-09 14:07:21 +00:00
mdtrooper cbd9bc2d75 2010-09-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: cleaned source code.
	
	* include/functions_ui.php: in function "print_os_icon" change the
	directory to search os icon because it change for new feature.
	
	* images/os_icons, images/os_icons/*: copied the icons image files into this
	dir for to use in new feature.
	
	* godmode/menu.php: added new item in submenu "Setup" for the management
	the OS.
	
	* godmode/setup/os.php: added the page to management the list OS of agents.
	
	Pending task: #3057663



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-09 12:19:11 +00:00
mdtrooper 38b98cf058 2010-09-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.list.php: fixed the pagination when the list of
	alerts show into alert tab in agent config page.
	
	Fixes: #3055920
	
	* godmode/alerts/alert_list.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-08 16:41:05 +00:00
mdtrooper bdbd632606 2010-09-06 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql: added default value for "sound_alert",
	"sound_critical" and "sound_warning" into table "tconfig".  
	
	* include/functions_config.php: in function "update_config" added to
	update sounds.
	
	* include/functions_alerts.php: added function "get_event_status_group" for
	scan the events.
	
	* operation/events/sound_events.php: added first version of event sound
	window.
	
	* operation/events/events.php: added the request for ajax of sound event
	window.
	
	* images/pause.button.png, images/ok.button.png,images/music_note.png,
	images/play.button.png: added images for sound event window and button in
	the head of events.
	
	* godmode/setup/setup.php: added source code for to config the sounds of
	events.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-06 12:16:40 +00:00
zarzuelo cb733fa8a1 2010-09-03 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_add_profiles.php: Added the 
	addition an deletion of profiles to users into 
	massive operations



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-03 07:20:39 +00:00
zarzuelo 406bf05064 2010-09-02 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_operations.php
	godmode/massive/massive_enable_disable_alerts.php: Added
	the disable/enable alerts massive operation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-02 11:03:47 +00:00
raulmateos 0b1914696e 2010-08-31 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/reporting_builder.php,
	godmode/gis_maps/configure_gis_mao.php, include/functions_filemanager.php:
	Fixed some misspelled strings

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-31 14:23:59 +00:00
raulmateos 64e83fa9e3 2010-08-29 Raúu Mateos <raulofpandora@gmail.com>
* godmode/agentes/fields_manager.php: Added code to show text if no 
	fields defined, instead the table header.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-29 21:42:17 +00:00
jsatoh 390ed321c9 2010-08-27 Junichi Satoh <junichi@rworks.jp>
* godmode/agents/module_manager_editor.php: Changed if() statements
	order. isModuleInPolicy() is not available in open source version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-27 02:03:34 +00:00
slerena 724c0b96d3 2010-08-26 Sancho Lerena <slerena@gmail.com>
* include/functions_agents.php: Call to get_agents () with current
    user and without returning "all" group, this avoid to render non-visible
    (ACL) agents in the AJAX control to return an agent.

    * pandoradb.sql: ttrap value* information resized.

    * extensions/users_connected.php: ACL check before show users.

    * operation/events/events_marquee.php: Added ACL check.

    * operation/events/events.php: System events not shown to normal
    users.

    * operation/menu.php: Server view is now only for PM.

    * extras/pandoradb_migrate_v3.1_to_v3.2.sql: ttrap value* alter
    table.

    * general/noaccess.php: Added code to avoid image usage when called
    from different directories than standard.

    * godmode/agentes/agent_manager.php: Proper call to
    get_user_groups().

    * godmode/menu.php: Profiles are now under user management.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-26 15:51:09 +00:00