Commit Graph

3529 Commits

Author SHA1 Message Date
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 3641cfac57 2011-02-28 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager.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@4026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 12:36:30 +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
Ramon Novoa 4c27ef9836 2011-02-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Fixed a typo. Thanks to Kikuchi Koichiro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-28 10:21:03 +00:00
mdtrooper 5df64e0295 2011-02-27 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql, pandoradb.data.postgreSQL.sql: in the table "tgrupo"
	reordered the last field, this field is "custom_id" with '' value.

	* pandoradb.postgreSQL.sql: commented the first lines before it was for
	make manuallity the schema. Fixed in the "talert_templates" the column
	"id_alert_action" can be null, and fixed the type of column "id_language"
	in table "tlanguage". And move to empty lines some end line comments and
	group in one line the functions for avoid the error in the install.

	* include/db/postgresql.php: fixed in the function "postgresql_get_db_row"
	the quotes for the field, the correct quotes is " for PostgreSQL.
	
	* include/auth/mysql.php, include/functions_db.php: cleaned source code
	style.
	
	* install.php: now the installer can install a schema and data in PostgreSQL
	database.
	
	* extensions/update_manager.php: added some code and TODO comment to fix or
	develop the method to use postgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-27 05:25:53 +00:00
mdtrooper b73a6f05e2 2011-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php: in function "postgresql_connect_db" added
	quotes for special names in user or password or host. Fixed in function
	"postgresql_process_sql" the output errors.
	
	* install.php: begin to make a source code to install Pandora in DB schema
	on PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 17:54:07 +00:00
zarzuelo 170fb63d3c 2011-02-24 Sergio Martin <sergio.martin@artica.es>
* install.php: Remove the cheching dependences
	of PEAR DB and PEAR XML_RPC.

	* ChangeLog: Added a missing information of 
	languages commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 11:25:32 +00:00
mdtrooper a8872cfea6 2011-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php,include/functions_db.php:
	created the function "postgresql_get_db_row" in to the engines mysql and
	postgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 10:23:42 +00:00
Ramon Novoa d2c6861d4d 2011-02-24 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/WMIServer.pm: Fixed a typo. Thanks to Tadashi Kaneda.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 10:12:12 +00:00
mdtrooper 534e222bcc 2011-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
	create the function "get_db_value" for the engine mysql and postgreSQL.
	
	* index.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-24 09:40:14 +00:00
Ramon Novoa 1528151444 2011-02-23 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/control, DEBIAN/postinst,
	  pandora_console.spec, pandora_console.redhat.spec: Removed PEAR
	  dependencies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 19:32:09 +00:00
Ramon Novoa ebe6865c91 2011-02-23 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/postinst: Updated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 19:08:01 +00:00
mdtrooper 7db96de1c2 2011-02-23 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/include/functions_db.php: fixed in the function
	"get_agent_modules" extract the agents when the current user user is admin.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 14:49:16 +00:00
zarzuelo 058b36f8fb 2011-02-23 Sergio Martin <sergio.martin@artica.es>
* include/languages/es.po
	include/languages/es.mo
	include/languages/ja.po
	include/languages/ja.mo: Added seven latest strings
	form launchpad



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 14:31:42 +00:00
juanmanuelr 1e68c4ef32 2011-02-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_config.php: Fixed an error at the momment of accept the 
	license terms in enterprise installation process.
	
	Fixes: #3183681



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 13:32:07 +00:00
mdtrooper ca35855199 2011-02-23 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/operation/events/events_list.php: fixed the show html
	entities.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 13:09:03 +00:00
mdtrooper 7ca0c50e96 2011-02-23 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: fixed the disabled button snmp when
	change any parameter of snmp.
	
	Fixes: #3168685



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 11:22:47 +00:00
Ramon Novoa 10773b57dd 2011-02-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: HTML encode events.

	* lib/PandoraFMS/DataServer.pm: Do not reset module parameters
	  unless specifically set in the XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 10:50:00 +00:00
javilanz b91246b8dc 2011-02-03 Javier Lanz <javier.lanz@artica.es>
* extensions/agents_modules.php: Fixed an error in the header of
	Agent/Module extension

	Fix: #3152681


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 10:31:09 +00:00
Ramon Novoa 6e16725b57 2011-02-23 Ramon Novoa <rnovoa@artica.es>
* include/functions_ui.php: Call safe_output instead of
	  safe_output_html.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 10:26:56 +00:00
Ramon Novoa 5eea5cd7b5 2011-02-22 Ramon Novoa <rnovoa@artica.es>
* pandora_server_installer: Change tentacle_server permissions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 17:04:21 +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
Ramon Novoa 0265bfd60d 2011-02-22 Ramon Novoa <rnovoa@artica.es>
* build_src.sh: Updated to work with the current directory structure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 11:04:40 +00:00
slerena c66ca0c5c3 2011-02-22 Sancho Lerena <slerena@artica.es>
* include/streams.php: Fixed bug 3184746.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 09:21:50 +00:00
zarzuelo 6704a2abaa 2011-02-22 Sergio Martin <sergio.martin@artica.es>
* include/languages/et.mo
	include/languages/cs.po
	include/languages/nl.mo
	include/languages/pt_BR.po
	include/languages/es.po
	include/languages/pl.mo
	include/languages/ko.po
	include/languages/it.mo
	include/languages/sl.mo
	include/languages/sk.po
	include/languages/uk.po
	include/languages/ro.po
	include/languages/pt.mo
	include/languages/ast.mo
	include/languages/en_AU.mo
	include/languages/bg.mo
	include/languages/index.pot
	include/languages/bn.po
	include/languages/nb.po
	include/languages/ar.po
	include/languages/cs.mo
	include/languages/en.po
	include/languages/pt_BR.mo
	include/languages/es.mo
	include/languages/ko.mo
	include/languages/fr.po
	include/languages/sk.mo
	include/languages/uk.mo
	include/languages/ro.mo
	include/languages/mr.po
	include/languages/ca.po
	include/languages/da.po
	include/languages/tr.po
	include/languages/de.po
	include/languages/sv.po
	include/languages/ja.po
	include/languages/zh_TW.po
	include/languages/he.po
	include/languages/bn.mo
	include/languages/nb.mo
	include/languages/fi.po
	include/languages/ar.mo
	include/languages/en.mo
	include/languages/hi.po
	include/languages/zh_CN.po
	include/languages/fr.mo
	include/languages/te.po
	include/languages/eu.po
	include/languages/en_GB.po
	include/languages/mr.mo
	include/languages/hu.po
	include/languages/ca.mo
	include/languages/da.mo
	include/languages/tr.mo
	include/languages/de.mo
	include/languages/sv.mo
	include/languages/ru.po
	include/languages/ja.mo
	include/languages/zh_TW.mo
	include/languages/he.mo
	include/languages/fi.mo
	include/languages/hi.mo
	include/languages/zh_CN.mo
	include/languages/el.po
	include/languages/gl.po
	include/languages/te.mo
	include/languages/eu.mo
	include/languages/en_GB.mo
	include/languages/et.po
	include/languages/nl.po
	include/languages/hu.mo
	include/languages/pl.po
	include/languages/it.po
	include/languages/sl.po
	include/languages/pt.po
	include/languages/ru.mo
	include/languages/ast.po
	include/languages/en_AU.po
	include/languages/bg.po
	include/languages/el.mo
	include/languages/gl.mo: Update languages
	to last launchpad strings



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 09:12:22 +00:00
slerena 00b3bd36c1 2011-02-22 Sancho Lerena <slerena@artica.es>
* Core.pm: Fixed bug #3175575




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 09:11:06 +00:00
mdtrooper 5ab8347a52 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php: fixed the search/filter in the
	agent view, uncomment line...I didn't know the reason by this line
	was comment.
	
	Fixes: #3175137



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 18:45:03 +00:00
juanmanuelr 11098a76f8 2011-02-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* functions_ui.php: Fixed a graphical error displaying action list.

	Fixes: #3182502 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 18:38:36 +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 cc950a10f6 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/agent.php: fixed the return of call ajax, now it haven't
	html entities.
	
	Fixes: #3174872



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 17:35:28 +00:00
mdtrooper cd9aa53ff9 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: Change the number of item in tracker in previus commit. Sorry
	I have a mistake.  



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 17:28:40 +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
zarzuelo 19d6291855 2011-02-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php: Fixed the group maps
	when the root group has not agents. Bug: 3152679



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 16:47:08 +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
slerena 2c5be45868 2011-02-21 Sancho lerena <slerena@artica.es>
* DEBIAN/postinst: Fixed bad ownership for /inconming/* subdirs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 12:09:27 +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
Ramon Novoa b73275af69 2011-02-21 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/alerts_status.php: Fixed ACL check for alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 11:26:42 +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 2e0f01f00a 2011-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, operation/search_modules.php,
	operation/search_agents.php: sorry, I didn't think about the subgroups may
	have other subgroups (and this may be recursive), rewrite the SQL for
	search with groups, now the groups come from the PHP function to get
	all groups, children groups, grandchildren groups...



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 15:13:34 +00:00
mdtrooper 9990475faf 2011-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, operation/search_modules.php,
	operation/search_agents.php: fixed SQL querys, this querys in previous
	version haven't lines SQL code for to search into subgroups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 14:41:52 +00:00
javilanz 79fbcd9b75 2011-02-18 Javier Lanz <javier.lanz@artica.es>
* operation/servers/view_server.php: Fixed ACL permissions
	* operation/servers/view_server_detail.php: Fixed ACL permissions
	* operation/menu.php: Let an "AR" user view 'Pandora servers' menu
	
	Fix: #3183477


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3923 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 13:28:13 +00:00
Ramon Novoa 4414864c68 2011-02-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Verify that there is a data server running
	  when computing server stats. Thanks to Tadashi Kaneda.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 11:42:56 +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