Commit Graph

1004 Commits

Author SHA1 Message Date
Esteban Sanchez d4b2f7863d 2009-05-25 Esteban Sanchez <estebans@artica.es>
* general/ui/agents_list.php: Fixed pagination javascript selector
	to avoid collisions.

	* godmode/modules/manage_nc_groups.php,
	godmode/modules/manage_nc_groups_form.php: Rewritten to use pandora
	functions. Code cleanup.

	* godmode/modules/manage_network_components.php: Fixed string search
	query.

	* include/functions_network_components.php: Added
	get_network_component_group().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1705 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-25 13:29:48 +00:00
jorgonzalez bfb03549a9 2009-05-25 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
        * translation.

        * include/languages/index.pot: Updated PO template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1704 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-25 07:30:31 +00:00
Esteban Sanchez 7dcb3a000c 2009-05-22 Esteban Sanchez <estebans@artica.es>
* include/javascript/pandora_modules.js: Set values of plugin
        component when one of this kind is selected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-22 09:23:50 +00:00
Esteban Sanchez 8741c00690 2009-05-22 Esteban Sanchez <estebans@artica.es>
* extras/pandoradb_migrate_v2.x_to_v3.0.sql,
	pandoradb.sql: Added id_plugin. Database breakage requested and
	approved.

	* godmode/modules/manage_network_components_form_common.php,
	godmode/modules/manage_network_components_form_plugin.php: Added
	to repository. New editor for network components.

	* godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php: Adapted to changes
	in component editors and missing fields. Added option to create
	plugin components.

	* godmode/modules/manage_network_components_form.php: Make the 
	different network component editors to reutilize the code and
	have a common UI.

	* godmode/agentes/module_manager_editor.php: Style correction.

	* include/styles/pandora.css: Style for network component editor.

	* include/functions_ui.php: Security fix in get_url_refresh() to
	avoid showing login info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-22 09:08:55 +00:00
Esteban Sanchez 960c3ddebd 2009-05-21 Esteban Sanchez <estebans@artica.es>
* include/functions_network_components.php: Added to repository.
	Functions relative to network components moved here. Added
	create_network_component(), update_network_component() and
	delete_network_component().

	* include/functions_db.php: Removed
	gve_network_component_group_name(), duplicated in
	functions_network_components.php.

	* include/functions_modules.php: Moved functions relative to
	network components to functions_network_components.php.

	* godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_nc_groups.php: Use
	get_network_component_group_name() instead of deprecated
	give_network_component_group_name().

	* godmode/modules/manage_network_components.php: Rewritten
	to use pandora functions. Added pagination and better filtering
	and UI.

	* godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components_form.php: Some
	changes to adapt from manage_network_components file. Use
	pandora functions.

	* godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager_editor.php: Include new
	functions_network_components.php file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-21 11:00:50 +00:00
Esteban Sanchez 2203005c8f 2009-05-20 Esteban Sanchez <estebans@artica.es>
* include/functions_alerts.php: Changed interface of
        get_alert_templates() to allow custom filters.

        * godmode/alerts/alert_list.php,
        godmode/agentes/massive_delete_alerts.php: Changes in
        get_alerts_templates().

        * godmode/alerts/alert_templates.php: Added pagination and a search
        form.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1700 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-20 14:19:38 +00:00
Esteban Sanchez 9d0105c8d9 2009-05-20 Esteban Sanchez <estebans@artica.es>
* general/ui/agents_list.php: Fixed searching filter. Added pagination
	via AJAX.

	* godmode/alerts/configure_alert_template.php: Typo error.

	* images/application_edit.png, images/suc.png, images/err.png: Tiny
	changes.

	* images/application_not_writable.png: Added to repository.

	* include/styles/pandora.css: Make success and error messages a little
	bit narrower. Typo error.

	* include/functions.php: Style corrections in safe_input().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-20 13:24:50 +00:00
guruevi ea4075e546 2009-05-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_incidents.php: Removed upgrade_inc13to21. An old
	function that shouldn't be there anymore.
	
	* include/functions_agents.php: Fixed documentation. Fixed some bugs in
	get_agents () when empty values were passed.
	
	* include/functions_ui.php: Added $config['ignore_callback']. Useful if
	you decide to flush the buffers (eg. to offer a download)
	
	* include/functions_db.php: Cleaned up get_db_all_rows_filter and added
	some documentation and todo's. Added get_agentmodule_data to get all
	datapoints of a module. Cleaned up get_agentmodule_data_average	
	
	* include/functions_html.php: Some situations generated a warning when alt
	wasn't specified (can't add keys on non-arrays)
	
	* include/exportdata.php: Rewritten. Added filters for group. Works using
	functions and export into HTML, CSV and Excel with the option for 
	expansion (specify the delimiter values)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-19 19:04:43 +00:00
Esteban Sanchez 1818afd098 2009-05-19 Esteban Sanchez <estebans@artica.es>
* operation/agentes/status_monitor.php: Many fixes in the code for
	pagination. Fixes #2762175

	* images/networkmap/4.png, images/networkmap/firewall.png,
	images/networkmap/7.png, images/networkmap/9.png,
	images/networkmap/printer.png: Updated with tango icons.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1696 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-19 13:33:27 +00:00
Esteban Sanchez 8407300d3a 2009-05-19 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/massive_delete_alerts.php: Fixed an error when selecting
	multiple agents. Changed some strings. Deleted "None" from the agents list.
	Style corrections.

	* godmode/agentes/massive_delete_modules.php: Changed the way it works.
	Fixes #2707976.

	* images/download.png, images/star.png, images/note.png: More tango icons.

	* include/functions_alerts.php: Style corrections.
	
	* include/functions_modules.php: Added get_agents_with_module_name().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-19 11:32:13 +00:00
Esteban Sanchez d341dad417 2009-05-19 Esteban Sanchez <estebans@artica.es>
* include/functions_alerts.php: Added get_agents_with_alert_template().
	Added extra filter to delete_alert_agent_module().

	* godmode/agentes/massive_delete_alerts.php: Completely changed the way it
	works. Fixes #2707976.
	
	* images/mod_keepalive.png: Replaced with tango icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-19 09:57:38 +00:00
Esteban Sanchez ba1d3f71b9 2009-05-18 Esteban Sanchez <estebans@artica.es>
* images/mod_async_string.png, images/mod_async_inc.png,
 	images/mod_data.png, images/file.png, images/mod_image_png.png,
 	images/mod_async_data.png, images/config.png, images/mod_tcp_inc.png,
 	images/so_other.png, images/dot_magenta.png, images/so_hpux.png,
 	images/lock.png, images/plugin.png, images/mod_proc.png,
 	images/dot_green.png, images/mod_icmp_data.png, images/tip.png,
 	images/so_win.png, images/mod_async_proc.png, images/pill.png,
 	images/mod_snmp_string.png, images/mod_snmp_inc.png,
 	images/lightning_go.png, images/mod_tcp_data.png,
 	images/wrench_orange.png, images/dot_yellow.png, images/up.png,
 	images/dot_white.png, images/upd.png, images/mod_snmp_data.png,
 	images/recon.png, images/mod_icmp_proc.png, images/mod_tcp_string.png,
 	images/page_white.png, images/wrench.png, images/clock.png,
 	images/wmi.png, images/mod_string.png, images/mod_tcp_proc.png,
 	images/network.png, images/god2.png, images/god4.png, images/god6.png,
 	images/mod_snmp_proc.png, images/page_lightning.png,
 	images/mod_image_jpg.png, images/so_aix.png,
 	images/groups_small/plugin.png, images/groups_small/computer.png,
 	images/groups_small/database_gear.png, images/groups_small/heart.png,
 	images/groups_small/firewall.png, images/groups_small/bricks.png,
 	images/groups_small/chart_organisation.png,
 	images/groups_small/drive_network.png, images/groups_small/house.png,
 	images/groups_small/lightning.png, images/groups_small/printer.png,
 	images/groups_small/applications.png, images/groups_small/email.png,
 	images/groups_small/application_osx_terminal.png,
 	images/groups_small/world.png, images/groups_small/lock.png,
 	images/groups_small/network.png, images/groups_small/server_database.png,
 	images/groups_small/clock.png, images/photo.png, images/dot_blue.png,
 	images/dot_red.png, images/cross.png: Updated to tango icons.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1693 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-18 15:12:04 +00:00
Esteban Sanchez 07ae5dc212 2009-05-18 Esteban Sanchez <estebans@artica.es>
* images/award_star_bronze_1.png, images/award_star_bronze_2.png,
	images/award_star_bronze_3.png, images/award_star_gold_2.png,
	images/award_star_silver_1.png, images/bullet_add.png,
	images/bullet_black.png, images/bullet_blue.png,
	images/bullet_delete.png, images/bullet_disk.png,
	images/bullet_error.png, images/bullet_go.png,
	images/bullet_green.png, images/bullet_key.png,
	images/bullet_white.png, images/bullet_wrench.png,
	images/bullet_yellow.png, images/dot_down.png, images/exclamation.png,
	images/flag_blue.png, images/flag_green.png, images/flag_yellow.png,
	images/help_small.jpg, images/lock_open.png, images/mod_udp_proc.png,
	images/newspaper.png, images/phone_sound.png, images/pixel_blue.png,
	images/plugin_disabled.png, images/plugin_enabled.png,
	images/pulpo_lupa.png, images/shield.png, images/so_beos.png,
	images/status_busy.png, images/status_online.png, images/user_female.png,
	images/user_gray.png, images/user_orange.png, images/user_red.png,
	images/webcam.png: Deleted from repository. Unused icons.

	* images/agents_group.png: Added to repository. New icon.

	* godmode/agentes/configurar_agente.php,
	operation/agentes/ver_agente.php: Replaced icon for agent group.

	* include/functions_db.php: Replaced icons for data server. Style
	correction.

	* include/functions_ui.php: Cast block_size value for sanity.
	
	* ChangeLog: Added some lines of a previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1692 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-18 14:57:30 +00:00
Esteban Sanchez be738aed9e 2009-05-14 Esteban Sanchez <estebans@artica.es>
* images/go_first.png, images/go_last.png, images/go_next.png
	images/go_previous.png, images/page_refresh.png: Added to repository.

	* images/b_blue.png, images/b_green.png, images/binary.png,
	images/b_magenta.png, images/b_red.png, images/brick.png,
	images/bricks.png, images/bug.png, images/b_white.png,
	images/b_yellow.png, images/cog.png, images/comments.png,
	images/computer_error.png, images/computer.png, images/database_gear.png,
	images/database_lightning.png, images/database.png,
	images/database_refresh.png, images/disk.png, images/god3.png,
	images/god5.png, images/god7.png, images/god8.png,
	images/lightbulb_off.png, images/lightbulb.png,
	images/lightning.png, images/network.png, images/plugin.png,
	images/reporting_edit.png, images/setup.png: Update to tango theme.
	Some of them were repainted using tango palette.

	* images/control_end_blue.png, images/control_fastforward_blue.png
	images/control_rewind_blue.png, images/control_start_blue.png
	images/transmit.png: Deleted. Unused icons.

	* general/header.php: Changed refresh icon.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1691 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-14 14:21:37 +00:00
Esteban Sanchez 09cb0bc737 2009-05-14 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/massive_edit_modules.php: Fixed title.

	* images/printer.png, images/chart_curve.png, images/target.png,
	images/suc.png, images/rss.png, images/error.png, images/err.png:
	Updated with tango icons.

	* images/anchor.png, images/accept.png: Deleted from repository. Unused
	icons.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1690 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-14 11:28:45 +00:00
slerena 14fd690533 2009-05-13 Sancho Lerena <slerena@gmail.com>
* include/styles/pandora_blackmetal.css: New style with custom headers 
        image (used for custom logo).                        

        * include/styles/menu.css,
        include/styles/pandora_red.css
        include/styles/pandora_black.css
        include/styles/pandora_width.css
        include/styles/pandora.css: Improved old themes.          

        * include/functions_ui.php: Custom style CSS loads last, to allow rewrite
        some CSS menu styles.

        * install.php: Ask if want to DROP database if this exists. Show better
        message about the created password. Don't drop database if not marked in
        step #3.

        * images/black_header.png: Image for blackmetal style.

        * images/MiniLogoArtica.jpg: Image for blackmetal style.

        * general/header.php: Some changes for style. Now displays OpenSource version
        or Enterprise version depending of version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-13 17:00:58 +00:00
Esteban Sanchez 06186a10cc 2009-05-13 Esteban Sánchez <estebans@artica.es>
* images/attachment.png: Added to repository.
	
	* images/chart_curve.png, images/chart_bar.png: Replaced with tango icons.

	* operation/incidents/incident.php: Use attachment icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-13 13:40:42 +00:00
Esteban Sanchez 88604876c9 2009-05-13 Esteban Sánchez <estebans@artica.es>
* images/clean.png, images/fullscreen.png, images/local_component.png,
	images/log-out.png, images/normalscreen.png,
	images/server_export.png: Added to repository. New tango icons.

	* images/application_osx_terminal.png, images/arrow_refresh.png,
	images/asterisk_yellow.png, images/attach.png,
	images/drive_network.png, images/drive_user.png,
	images/page_white_acrobat.png, images/rainbow.png,
	images/telephone.png: Deleted from repository. Unused images.

	* images/add.png, images/application_double.png,
	images/application_edit.png, images/application.png,
	images/book_edit.png, images/calendar_view_day.png,
	images/camera.png, images/email_open.png, images/email.png,
	images/god3.png, images/group.png, images/heart.png,
	images/house.png, images/lupa.png, images/monitor.png,
	images/mouse.png, images/package.png, images/page_white_magnify.png,
	images/page_white.png, images/page_white_text.png,
	images/paste_plain.png, images/pdf.png,
	images/refresh.png, images/reporting.png, images/rosette.png,
	images/script.png, images/server_database.png, images/server.png,
	images/world.png, images/zoom.png: Updated to use tango icons.

	* general/ui/agents_list.php: Added pagination.

	* general/header.php: Logout icon replaced.

	* include/styles/pandora.css: Some styles for tabs.

	* include/functions_db.php: Changed export server icon.

	* operation/events/events.php, operation/snmpconsole/snmp_view.php,
	operation/visual_console/render_view.php,
	operation/agentes/networkmap.php: Changed fullscreen icons.

	* godmode/agentes/configurar_agente.php,
	include/functions_modules.php,
	include/functions_agents.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1686 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-13 12:29:37 +00:00
raulmateos bde8c22967 2009-05-12 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Update build after last changes.
	
	* install.php: Added code to remove database if exists. This was removed
	in a previous commit.

	* images/console/icons/*.png: Updated some icons and added others.

	* pandoradb_data.sql: Updated header.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1685 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-12 18:12:54 +00:00
Esteban Sanchez 94c58ea91e 2009-05-11 Esteban Sánchez <estebans@artica.es>
* operation/agentes/estado_agente.php: Sets a variable outside an if.
 	Fixes #2785018



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1682 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-11 14:36:26 +00:00
guruevi c041149d77 2009-05-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/agentes/estado_agente.php: Fixed limits (again)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-11 13:32:45 +00:00
Esteban Sanchez 4da1121f4d 2009-05-11 Esteban Sánchez <estebans@artica.es>
* godmode/agentes/agent_manager.php: Show "None" if no server is assigned.
	Fixes #2768723
	
	* godmode/agentes/configurar_agente.php: Removed direct link to
	farscap.artica.es server. Fixed group tab selection.
	
	* godmode/alerts/alert_list.php: Fixed a notice when there are no agents.
	Fixes #2786519.
	
	* general/header.php: Fixed an error when updating agent configuration
	which was showing all the config in the header. Should be improved for
	other textarea fields.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-11 13:24:27 +00:00
raulmateos 810da3218e Update icons
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1679 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-10 15:07:42 +00:00
Esteban Sanchez b20565d7d5 2009-05-07 Esteban Sánchez <estebans@artica.es>
* include/funtions_ui.php: Added get_full_url(). Some changes in
        get_url_refresh() to make it more powerful. The URL is now optional
        in pagination(). It's also possible to give the parameter name
        of the offset so there could be more than one paginations now.

        * operation/agentes/estado_agente.php,
        general/header.php: Changes in get_url_refresh().

        * godmode/agentes/massive_operations.php: Changed edit icon.

        * godmode/agentes/module_manager.php: Enterprise API changes.

        * godmode/agentes/module_manager_editor_network.php: Style corrections.

        * include/styles/pandora.css: Added conf_error class to textarea
        elements.

        * include/functions.php: Added index_array(). Useful to manage database
        results.

        * include/functions_alerts.php: Cast some values to integer.

        * operation/agentes/alerts_status.php: Removed offset parameters,
        used default value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1678 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-07 14:44:26 +00:00
guruevi 20cfe58ba0 2009-05-04 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/agentes/configurar_agente.php: get_agent_id changed and caused
	erroneous behaviour. Fixed it.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1675 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-04 17:58:16 +00:00
Esteban Sanchez 0aef184a94 2009-05-04 Esteban Sánchez <estebans@artica.es>
* extensions/dbmanager.php: Code cleanup, making it easier an without
	unneded loops. Added error message support when querying.
	
	* extensions/dbmanager/dbmanager.css: Use CSS inheritance for cells and
	header of the table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-04 13:11:16 +00:00
Esteban Sanchez 74c0c25b78 2009-05-04 Esteban Sánchez <estebans@artica.es>
* include/functions_agents.php: Added create_agent(), 
	
	* include/functions_db.php: Renamed dame_agente_id() to get_agent_id ().
	Added process_sql_begin(), process_sql_rollback() and process_sql_commit()
	and use MySQL functions directly because the Pandora cache was avoiding
	more than one execution.

	* include/functions_incidents.php, include/functions_messages.php,
	godmode/agentes/massive_delete_agents.php,
	godmode/agentes/massive_delete_alerts.php,
	godmode/agentes/massive_delete_modules.php,
	godmode/agentes/massive_edit_modules.php,
	godmode/db/db_purge.php,
	include/functions_events.php: Use new transaction functions.
	
	* include/functions_modules.php: Sanitize some values. Added
	create_agent_module_from_network_component(), create_agent_module()
	and get_network_component().
	
	* godmode/agentes/configurar_agente.php: Use get_agent_id() and transaction
	functions.
	
	* reporting/fgraph.php, operation/reporting/reporting_viewer.php: Use
	get_agent_id(). 
	
	* godmode/setup/file_manager.php: Removed unnecesary variable.
	
	* operation/agentes/ver_agente.php: Replaced exit with return on ajax
	operation.
	
	* include/config_process.php: Updated build number.
	
	* include/functions_network_profiles.php: Fixed documentation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-04 10:10:19 +00:00
slerena 31ae5afe84 2009-05-02 Sancho Lerena <slerena@artica.es>
* extensions/dbmanager.php: Fixed problems with quotes.

        * operation/agentes/status_monitor.php: Used module_interval insted deprecated
        tagente_estado.current_interval.

        * operation/agentes/estado_grupo.php: Same as above.

        * operation/agentes/estado_monitores.php: same as above.

        * godmode/agentes/module_manager.php: Uses new server_type field instead old
        server fields.

        * godmode/agentes/configurar_agente.php: Added tab in godmode/edit agent    
        to go to a filtered list view per groups from the agent edit view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-01 23:41:09 +00:00
slerena 687577e459 2009-05-01 Sancho Lerena <slerena@artica.es>
* extensions/dbmanager*: New extensions to interface with Pandora database
        using native SQL syntax. Only for administrator (Godmode extension).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1670 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-01 15:01:52 +00:00
jorgonzalez e17780e8cb 2009-04-30 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Fixed wrong ';' values from my last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-30 08:01:57 +00:00
jorgonzalez e675c921f8 2009-04-29 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added 'Web Server' to tconfig_os, Added 'Web' to
        tgrupo, and added 'Pandora FMS Manual' to tlink.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-29 13:56:58 +00:00
jorgonzalez 916565df9d 2009-04-29 Jorge Gonzalez <jorgegonz@artica.es>
* install.php: fixed typos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1662 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-29 10:01:25 +00:00
jorgonzalez a2354049e7 2009-04-29 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated spanish 
        translation.  

        * include/languages/index.pot: Updated po template.

        * godmode/admin_access_logs.php,                                    
        godmode/agentes/module_manager_editor.php: changed the separator    
        character to &raquo;

        * godmode/reporting/map_builder.php: removed dirty characters at the 
        begining.  

        * godmode/agentes/planned_downtime.php: modified a i18n string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1660 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-29 07:43:01 +00:00
marostegui 14ab110878 2009-04-28 Manuel Arostegui <marostegui@artica.es>
images/console/icons/light_ok.png, light.png,
	light_warning.png, light_bad.png: Added to repository new
	icons for the visual console, lights blinking.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-28 14:52:21 +00:00
Esteban Sanchez dacbda3958 2009-04-24 Esteban Sánchez <estebans@artica.es>
* godmode/agentes/module_manager.php: Added extra parameter to
	enterprise_hook call.
	
	* include/functions_modules.php: Added get_network_component_group_name()



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1655 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-24 10:47:30 +00:00
marostegui 2ffddeaf91 2009-04-24 Manuel Arostegui <marostegui@artica.es>
* operation/agentes/status_monitor.php: Fixed bug #2779382



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1654 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-24 09:19:35 +00:00
Esteban Sanchez 7bfeb2f6fc 2009-04-24 Esteban Sánchez <estebans@artica.es>
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed local components table
	
	* godmode/servers/manage_recontask_form.php: Added "any" option to
	operating system combo.
	
	* godmode/snmpconsole/snmp_alert.php: Changed alert templates with actions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-24 08:54:04 +00:00
jorgonzalez 6915256601 2009-04-23 Jorge Gonzalez <jorgegonz@artica.es>
* include/functions_reporting.php,                                  
          operation/reporting/graph_viewer.php, godmode/setup/news.php,     
          godmode/agentes/planned_downtime.php,                             
          godmode/modules/manage_network_components.php,                    
          godmode/modules/manage_nc_groups.php,                             
          godmode/reporting/map_builder.php: Fixed strings to make them
          standard for translation.

        * include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot: Updated PO template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-23 07:35:26 +00:00
marostegui e1ddce7a33 2009-04-22 Manuel Arostegui <marostegui@artica.es>
* godmode/servers/manage_recontask_form.php: Fixed bug #2777351



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1647 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-22 12:45:58 +00:00
marostegui 4b096c81ef 2009-04-22 Manuel Arostegui <marostegui@artica.es>
* godmode/menu.php: Fixed bug #2770383



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-22 12:29:10 +00:00
jorgonzalez 4f3ce15403 2009-04-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot: Updated PO template.

        * godmode/alerts/configure_alert_template.php: Fixed typos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-22 11:02:54 +00:00
Esteban Sanchez c45e29ac4e 2009-04-22 Esteban Sánchez <estebans@artica.es>
* pandoradb_data.sql: Use 3.0 for version number
	
	* include/javascript/jquery.pandora.controls.js: Duplicated
	pandoraSelectGroup renamed to pandoraSelectGroupAgent.
	
	* godmode/agentes/massive_config.php,
	godmode/agentes/massive_delete_agents.php,
	godmode/agentes/massive_delete_alerts.php,
	godmode/agentes/massive_delete_modules.php,
	godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
	godmode/reporting/reporting_builder.php: pandoraSelectGroup renamed to
	pandoraSelectGroupAgent.
	
	* godmode/agentes/modificar_agente.php: Tiny changes in remote agent config
	link.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-22 10:46:05 +00:00
marostegui 1d2992c4d9 2009-04-22 Manuel Arostegui <marostegui@artica.es>
* install.php: Fixed bug #2777317

	* godmode/agentes/planned_downtime.php: Fixed bug #2777475

	* godmode/reporting/map_builder.php: Fixed bug #2777347



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1642 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-22 09:12:18 +00:00
marostegui 203fcf3ed9 2009-04-22 Manuel Arostegui <marostegui@artica.es>
* operation/agentes/sla_view.php: Fixed bug #2777504



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-22 08:06:45 +00:00
guruevi b4f446fbad 2009-04-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_ui.php: Added get_url_refresh which gets the correct
	url to refresh a page against instead of manually reconstructing for each
	form. Modified process_page_head to use this new function
	
	* general/header.php: Use of new function get_url_refresh. Fixes some
	minor annoyances I had with this refresh when groups were selected with
	a post
	
	* ajax.php: Error message didn't display the right page name
	
	* operation/agentes/estado_agente.php: Fixed bug #2770377

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 19:03:16 +00:00
slerena 97cc0fc556 2009-04-21 Sancho Lerena <slerena@gmail.com>
* operation/servers/view_server.php: New stats for server (threads,
	modules in queue) and new render view (more useful and with tips in head).

	* functions_db.php: Server info server[img] don't return "master" icon.
	This icon is now stored in server[master_img].



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 17:33:26 +00:00
jorgonzalez 1cf26760fa 2009-04-21 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/pt_BR.po, include/languages/it.mo,
          include/languages/sk.po, include/languages/pt.mo,
          include/languages/pt_BR.mo, include/languages/fr.po,
          include/languages/sk.mo, include/languages/fr.mo,
          include/languages/ru.po, include/languages/it.po,
          include/languages/pt.po, include/languages/ru.mo: Updated
          Brazilian Portuguese, Italian, Slovak, French, Russian and
          Portuguese translations thanks to Rosetta translators.

        * include/languages/index.pot: Updated po template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 14:04:31 +00:00
jorgonzalez da43d5b918 2009-04-21 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated
          Spanish translation.

        * include/languages/index.pot: Updated po template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 13:38:25 +00:00
jorgonzalez 21f4050840 2009-04-21 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated
          Spanish translation.

        * include/languages/index.pot: Updated po template.

        * godmode/agentes/module_manager_editor_network.php,
          godmode/agentes/module_manager_editor_plugin.php: moved an  
          assigned translatable string down to avoid error at language
          compilation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-21 13:17:29 +00:00
Esteban Sanchez 06815860a5 2009-04-20 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/module_manager_editor.php,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/module_manager.php: Some fixes to allow form
	reutilization.
	
	* include/javascript/jquery.pandora.controls.js: Fixed a typo. Added 
	pandoraSelectGroup control.
	
	* include/javascript/jquery.pandora.js: Separate between auto executed code
	and document ready function.
	
	* include/javascript/pandora_modules.js: Added to repository. Functions to
	use on module editors.
	
	* include/functions_agents.php: Added get_agents().
	
	* include/functions_db.php: Added get_user_first_group(). Changed
	user_access_to_agent() parameters order.
	
	* include/functions_reporting.php: Style corrections.
	
	* include/functions_ui.php: Added doc to print_status_image(). Added 
	print_ui_agents_list() to print a list of agents with a search form and
	a lot of configuration options easily.
	
	* include/functions_ui_renders.php: Added to repository. New API for
	renders on UI components.
	
	* operation/agentes/estado_agente.php: Make table wider.
	
	* godmode/reporting/reporting_builder.php: Replaced exit with return. Use
	pandoraSelectGroup control.
	
	* godmode/servers/manage_recontask_form.php: Style corrections to fit
	Pandora styles.
	
	* godmode/servers/modificar_server.php: Removed a notice from a typo.
	
	* godmode/setup/setup.php: Fixed table data indexes. Removed javascript
	code from visual setup.
	
	* godmode/setup/setup_visuals.php: Some strings changed. Style correction.
	
	* godmode/menu.php: Added policies enterprise menu option.
	
	* images/policies.png: Added to repository.
	
	* godmode/agentes/modificar_agente.php: Style correction by using pandora
	functions.

	* godmode/agentes/massive_operations.php: Fixed tab styles that was showing
	wrong the .

	* godmode/agentes/manage_config_remote.php: Changes in
	user_access_to_agent()

	* general/ui/agents_list.php: Added to repository. Reusable render for an
	agent list.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-20 14:00:27 +00:00
jorgonzalez b3274ec1af 2009-04-20 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot: Updated PO template.

        * operation/messages/message.php: Fixed typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-20 07:50:35 +00:00
slerena c566281320 2009-04-18 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Altered order of agent icon
        status (unknown shown after waerning and critical, not before)

        * operation/agentes/estado_generalagente.php: Agent group is
        not shown twice.

        * operation/agentes/estado_agente.php: module status count shown
        only when > 0.

        * operation/agentes/estado_monitores.php: Dont show module type.

        * godmode/agentes/module_manager.php: Show icon of non-init module
        in godmode view, to easily identify non-init modules.

        * godmode/servers/manage_recontask_form.php: Fixed server assigment
        on recon task.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-18 14:35:53 +00:00
jorgonzalez 554479a377 2009-04-017 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot: Updated PO template.                              



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-17 11:11:45 +00:00
Esteban Sanchez 35159c7a74 2009-04-14 Esteban Sanchez <estebans@artica.es>
* operation/servers/view_server.php: Removed notice message when no
	servers were found.
	
	* reporting/fgraph.php: Use get_db_value_filter().
	
	* include/styles/pandora.css: Updated copyright date.
	
	* include/styles/menu.css: Added policies enterprise style.
	
	* reporting/pChart/pChart.class: Fixed a infinite loop that happened
	sometimes on drawScale().
	
	* include/config_process.php: Updated build version.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-14 12:59:55 +00:00
guruevi 36466099fe 2009-04-13 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/htmlawed.php: HTML cleaner-upper. If compact_header is set will
	actually strip the HTML for less bandwidth usage.
	
	* include/functions_ui.php: If compact_header is set, it will strip 
	whitespace out of the included files
	
	* include/functions_config.php, godmode/setup/setup_visuals.php,
	godmode/setup/setup.php: Made checkboxes into radioboxes. Split
	files were resetting the values every time.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 16:13:55 +00:00
Ramon Novoa 63efa31699 2009-04-13 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/networkmap.php: Added support for group filtering
          and node navigation (clicking on the edges).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 15:11:55 +00:00
Esteban Sanchez 80108d54e6 2009-04-13 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/agent_manager.php: Fixed an error when an agent was
	created without name. Added support for new server assignment via server
	name instead of lot of comboboxes. Added os preview.
	
	* godmode/agentes/configurar_agente.php: Added support for new server
	assignment via server name. Do not show tabs on creation mode. Some 
	translatable strings replaced with common ones.
	
	* godmode/agentes/modificar_agente.php: Use Pandora agents.
	
	* godmode/modules/manage_nc_groups.php,
	godmode/setup/news.php,
	godmode/modules/manage_network_components.php,
	godmode/reporting/map_builder.php,
	godmode/agentes/planned_downtime.php: Some translatable strings replaced
	with common ones.
	
	* godmode/servers/modificar_server.php: Updated to changes in tserver. Use
	get_server_info() for that.
	
	* include/functions_db.php: Updated to changes in tserver about
	server_type field on get_server_info(). Style correction.
	
	* include/functions_servers.php: Added to repository. Servers API.
	
	* operation/servers/view_server.php: Style correction.
	
	* extras/pandoradb_migrate_v2.x_to_v3.0.sql, pandoradb.sql: Less space on
	server_name field on tagente.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 15:05:21 +00:00
slerena 00b5eb5a13 2009-04-13 Sancho Lerena
* images/console/icons/server_warning.png: Added missing icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 13:48:18 +00:00
jorgonzalez fce2391f9e 2009-04-13 <jorgegonz@artica.es>
* images/console/icons/smalldot.png: Modified icon for the maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1613 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 13:01:59 +00:00
jorgonzalez 4b87bdf26f 2009-04-13 Jorge Gonzalez <jorgegonz@artica.es>
* images/console/background/white_boxed.jpg,
          images/console/background/white_boxed2.jpg: Added/modified one
          background for the maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 12:56:37 +00:00
jorgonzalez 30c444b582 2009-04-13 Jorge Gonzalez <jorgegonz@artica.es>
* images/console/icons/gateway.png,  
        images/console/icons/routerap.png,   
        images/console/icons/pbx_warning.png,
        images/console/icons/pbx_ok.png, images/console/icons/hub_bad.png,
        images/console/icons/bridge_ok.png,
        images/console/icons/gateway_warning.png, 
        images/console/icons/routerap_warning.png,
        images/console/icons/nat_bad.png,    
        images/console/icons/gateway_ok.png, 
        images/console/icons/routerap_ok.png,
        images/console/icons/bridge_bad.png,
        images/console/icons/pbx_bad.png,
        images/console/icons/gateway_bad.png,
        images/console/icons/hub_ok.png,
        images/console/icons/routerap_bad.png,
        images/console/icons/nat_ok.png, images/console/icons/hub.png,
        images/console/icons/nat.png, images/console/icons/bridge.png,
        images/console/icons/hub_warning.png,   
        images/console/icons/nat_warning.png,   
        images/console/icons/bridge_warning.png,
        images/console/icons/pbx.png: Added several images for the maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 12:50:54 +00:00
Esteban Sanchez 6e649b2121 2009-04-13 Esteban Sanchez <estebans@artica.es>
* godmode/setup/file_manager.php: Fixed javascript code on directory
        select.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 10:21:58 +00:00
Esteban Sanchez 62b2912d29 2009-04-13 Esteban Sanchez <estebans@artica.es>
* general/footer.php: Removed Firefox icon. Style correction.

	* godmode/agentes/agent_manager.php: Replaced &gt; with &raquo;. Style
	correction when setting bold attributes.

	* godmode/agentes/manage_config_remote.php,
	godmode/agentes/modificar_agente.php, godmode/agentes/module_manager.php,
	godmode/alerts/alert_list.php, godmode/db/db_audit.php,
	godmode/db/db_event.php, godmode/db/db_info.php, godmode/db/db_main.php,
	godmode/db/db_purge.php, godmode/db/db_refine.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/modules/manage_nc_groups.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_network_templates.php, 
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/module_list.php, godmode/profiles/profile_list.php,
	godmode/reporting/graph_builder.php, godmode/reporting/map_builder.php,
	godmode/reporting/reporting_builder.php, godmode/servers/manage_export.php,
	godmode/servers/manage_export_form.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php,
	godmode/servers/modificar_server.php, godmode/setup/setup_visuals.php,
	godmode/setup/links.php, godmode/setup/news.php,
	godmode/snmpconsole/snmp_alert.php, godmode/users/configure_user.php,
	godmode/users/user_list.php, operation/agentes/alerts_status.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/estado_grupo.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/exportdata.php, operation/agentes/networkmap.php,
	operation/agentes/status_monitor.php, operation/agentes/tactical.php,
	operation/events/events.php, operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_statistics.php,
	operation/messages/message.php, operation/reporting/custom_reporting.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/reporting_viewer.php, operation/servers/view_server.php,
	operation/users/user.php, operation/users/user_edit.php, 
	operation/users/user_statistics.php, operation/visual_console/index.php,
	godmode/agentes/agent_template.php: Replaced &gt; with &raquo;

	* operation/agentes/datos_agente.php: Return instead of exit

	* include/javascript/jquery.pandora.controls.js: Added pandoraSelectOS
	control to preview the OS icon on a select.

	* include/functions_reports.php: Fixed a bug on delete_report() that
	returns error when the report has no content.

	* include/functions_ui.php: Removed border attribute on print_os_icon().
	Some fixes to meta refresh element on process_page_head(). Fixed 
	format_filesize() when length is zero.
	
	* godmode/menu.php: Replaced link to file manager. Added enterprise hook.

	* godmode/setup/file_manager.php: Renamed from obfuscated name filemgr.php

	* include/styles/pandora.css: Textarea width reduced to 99%

	* godmode/setup/setup.php: Added get_os_icon AJAX operation.
	
	* images/mimetypes/, images/mimetypes/zip.png, images/mimetypes/image.png,
	images/mimetypes/unknown.png, images/mimetypes/directory.png: Added to
	repository. Mime type icons.

	* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed date comments.
	
	* include/functions_filemanager.php: Added to repository. Minimal API for
	file manager system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1608 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-13 09:50:56 +00:00
guruevi d1bf374dac 2009-04-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: get_group_agents fixed search
	
	* operation/agentes/estado_agente.php: Small style changes and bugfixes

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-10 14:03:24 +00:00
guruevi 2b083b7904 2009-04-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_reporting.php: Added get_agent_module_info which gives
	valuable information that can be re-used and expanded
	
	* include/functions_events.php, include/functions_ui.php: The chunk_split 
	only works with set width removed for wide css. General cleanup
	
	* include/functions_db.php: get_group_agents allows search now
	
	* include/styles/pandora_width.css, include/styles/pandora.css, 
	include/styles/menu.css: The menu for the agent editor is now even with the
	operation menu and also takes up the whole width
	
	* operation/agentes/tactical.php: Changed for width. Now takes up the wide
	
	* operation/agentes/estado_agente.php: Rewritten. Now outputs variable
	width table and is cleaner

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-09 21:06:17 +00:00
jorgonzalez dda11c6f1c 2009-04-08 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* images/console/icons/dotmin_ok.png,          
          images/console/icons/appliance_ok.png,
          images/console/icons/ap_ok.png,
          images/console/icons/dotmin.png,
          images/console/icons/appliance.png, 
          images/console/icons/dotmin_bad.png,
          images/console/icons/ap.png,
          images/console/icons/switch.png,
          images/console/icons/appliance_bad.png,
          images/console/icons/ap_bad.png,
          images/console/icons/switch_bad.png,
          images/console/icons/switch_ok.png: Added icons for the visual
          console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-08 13:22:29 +00:00
Esteban Sanchez 867537b321 2009-04-07 Esteban Sanchez <estebans@artica.es>
* operation/snmpconsole/snmp_view.php: Fixed full screen links. Fixes
        #2728007



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-07 07:20:56 +00:00
guruevi e88f0cf0a4 2009-04-06 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Simplified agent access to reduce looping
	
	* reporting/pChart/pChart.class: Found problem where the graph was
	looping with certain data when the Scale1 was exactly 1

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-06 15:51:31 +00:00
guruevi e615a6be89 2009-04-06 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Simplified agent access to reduce looping
	
	* reporting/pChart/pChart.class: Found problem where the graph was
	looping with certain data when the Scale1 was exactly 1

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-06 15:33:08 +00:00
slerena 2e566a1738 2009-04-06 Sancho Lerena <slerena@artica.es>
* godmode/setup/setup.php
	* godmode/setup/setup_visuals.php
	* include/config_process.php,
	* include/functions_config.php: Added new parameter for status icons. 
	Old config (fontpath and attachment dir are now manageable in setup).

	* include/functions_ui.php,
	godmode/servers/modificar_server.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_agente.php
	operation/agentes/bulbs.php
	operation/agentes/estado_monitores.php
	operation/agentes/tactical.php
	operation/servers/view_server.php: Added support for custom status
	images.

	* images/status_sets: Added three new status images pack: Default color
	icons, faces and color with text.
	
	* reporting/fgraph.php: Temporal FIX for problem in access graphs that
	takes 100% Apache CPU !!!. Need final fix for this.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1598 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-06 11:02:05 +00:00
slerena 779b4a36f2 2009-04-03 Sancho Lerena <slerena@artica.es>
*  include/functions_alerts.php: Fixed another notice.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-03 12:13:07 +00:00
slerena caa687fd2c 2009-04-03 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php,
	* include/functions_db.php: Fixed a notice who breaks the PDF report.
	Added homeurl preffix to some includes that breaks PDF reporting.

	* pandora_console_upgrade: Fixedd issue with old-style config.php.

	* godmode/alerts/alert_list.php: Fixed bad combo values (ID insted names).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-03 10:44:26 +00:00
slerena 36426d4c9e 2009-04-02 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Final DB changes proposed for closing this month the DB
	scheme. tagente-> new server_name field to assign server (old fields will
	be removed).  talert_templates has two new types (warning, critical).
	tevento has "user_comment" new field. Tserver has three new fields, 
	server_type (so some old fields will be deleted), threads and queued_modules
	this last two are for statistical options. Tusuario add language type to
	override global language.
	
	* update_manager/main.php: Minor changes for correct ACL usage. Non PM
	users could see in what revision it the system, but only that.
	
	* pandoradb_migrate_v2.x_to_v3.0.sql: Updated script for new DB changes.
	
	* general/noaccess.php: Added footer and ending div. Page was very ugly
	when showing noaccess errors, nobody see it ???.
	
	* godmode/menu.php: A LOT of ACL fixes on several options.
	
	* godmode/agentes/agent_manager.php: Fixed a crazy floating icon.
	
	* godmode/agentes/manage_config_remote.php: A LOT of changes, rewriting
	stuff, because was not working. This also adds a lot of ACL checks. 
	
	* godmode/agentes/massive_config.php, massive*: ACL changes.
	
	* godmode/agentes/modificar_agente.php: Fixed ACL problems.
	
	* godmode/agentes/module_manager_editor.php: Fixed bad module categories for
	some types (data, plugin and prediction).
	
	* godmode/alerts/alert_list.php: Fixed ACL problem.
	
	* godmode/reporting/graph_builder.php: Added ACl restriction for 
	non-viewable agents for current user. Seems to be a problem with data
	with more than 2 sources.
	
	* godmode/reporting/map_builder.php: ACL checks improved.
	
	* godmode/reporting/reporting_builder.php: ACL checks added (was missing), 
	some code ported from 2.1, other is new. New fields shown in list.
	
	* include/functions.php: Fixed the annoying bug of "bad counters" in
	function human_time_description_raw(). Function used,format_numeric() should
	not be used never to calculate nothing, only to print formatted strings.
	
	* include/functions_db.php: Added function user_access_to_agent() to know
	if a given user has access to a given agent.
	
	* include/functioins_report.php: get_report() should let admin to watch any
	report. Fixed.
	
	* agentes/alerts_status.php: Fixed ACL problem for view alert.
	
	* operation/incidents/incident.php: Bad call for pagination() was giving
	problems to pagination call. Somebody changes pagination() interface and 
	make this broken. Please if you change any interface, be sure that is compatible
	with old code or make a post in the list about this !
		
	* godmode/users/user_edit.php: Additional ACL check to do not let anybody
	to watch non accesible users. Even for see the username or description.
	
	* reporting/pchart_graph.php:Progress bar shown text in white when > 60%.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 19:16:59 +00:00
Esteban Sanchez f169f13d81 2009-04-02 Esteban Sanchez <estebans@artica.es>
* include/functions_config.php: Fixed a bug when the theme was not
	given on update_config().

	* godmode/setup/setup.php: Removed unneccesary include of
	functions_themes.php



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 14:31:10 +00:00
Esteban Sanchez 83ca33a290 2009-04-02 Esteban Sanchez <estebans@artica.es>
* include/functions_reporting.php: Added alert API on
        get_agent_alerts_reporting_table() to solve a notice error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 13:20:31 +00:00
Esteban Sanchez 610fe5042b 2009-04-02 Esteban Sanchez <estebans@artica.es>
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed id on tconfig
	inserts.

	* godmode/agentes/configurar_agente.php: Min and max module values
	were not being updated.

	* godmode/alerts/configure_alert_template.php: Removed duplicated
	example. Added support for next warning and critical template types.

	* include/functions_ui.php, include/functions_alerts.php: Added new
	alert template types.

	* include/functions_db.php: temp_sql_delete() moved out of
	delete_agent() because there were errors if it was calling more than
	once.

	* include/functions_reports.php: Fixed doc for get_reports().

	* include/config_process.php: Updated build number.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 12:53:27 +00:00
Esteban Sanchez ee2d5df0f5 2009-04-02 Esteban Sanchez <estebans@artica.es>
* reporting/fgraph.php: Removed id_agente reference on combined
	graphs. Fixes #2724895



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 06:49:57 +00:00
Esteban Sanchez 31f37e6719 2009-04-01 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/alert_compounds.php: Fixed group All.

	* godmode/alerts/configure_alert_compound.php: Fixed group All.
	"Compound" labels renamed to "Correlated".

	* include/styles/pandora.css: Removed invisible class, which was
	duplicated from common.css.

	* include/functions_db.php: safe_acl_group() now handles group All.
	Fixes #2725019 and #2723089



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1586 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-01 14:00:52 +00:00
Esteban Sanchez 4afa5e190b 2009-04-01 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added
	priority field to talert_templates and removed from
	talert_template_module.

	* godmode/alerts/alert_list.php: Fixed SQL notice when fetching
	groups.

	* godmode/alerts/alert_templates.php: Added priority to the template
	tooltip.

	* godmode/alerts/configure_alert_template.php: Added priority field to
	alert templates.

	* include/functions_db.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-01 11:25:58 +00:00
jorgonzalez 8174d7a0f3 2009-04-01 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/pt_BR.po, include/languages/es.po,
          include/languages/it.mo, include/languages/ro.po,
          include/languages/pt_BR.mo, include/languages/es.mo,
          include/languages/fr.po, include/languages/ro.mo,
          include/languages/de.po, include/languages/he.po,
          include/languages/zh_CN.po, include/languages/fr.mo,
          include/languages/de.mo, include/languages/ru.po,
          include/languages/he.mo, include/languages/zh_CN.mo,
          include/languages/it.po, include/languages/ru.mo: Updated
          Brazilian Portuguese, Spanish, Romanian, French, Hebrew, German,
          Simplified Chineese, Italian, and Russian translations thanks to
          rosetta contributors.

        include/languages/index.pot: Updated po template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-01 08:34:02 +00:00
Esteban Sanchez 4e90c86b1e 2009-03-31 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/module_manager_editor_plugin.php: Added plugin
	components select. Fixes #2707900.

	* godmode/alerts/alert_list.php: Fixed an error when showing agents
	list.

	* include/functions_events.php: Added get_similar_events_ids() to get
	events which are similars (same description and agent module). Renamed
	process_event_delete() and process_event_validate(). Added
	similars flag to both delete_event() an validate_event().

	* include/functions_reporting.php: Added timestamp parameter to select
	statements to fix #2707841.

	* include/functions_ui.php: Added a class to pagination divs.

	* operation/agentes/estado_generalagente.php: Style correction.
	Removed period on agent access graph.

	* operation/agentes/exportdata.php: Fixed many notices by including
	config.php instead of using global. Style corrections.

	* operation/events/events.php: When the events were grouped and
	deleted or validated, only one was being updated. Added AJAX support
	to validate and delete single operations. Style corrections. Fixed
	#2707872

	* reporting/fgraph.php: Many fixes on agent access graph. Fixes
	#2707856

	* reporting/pandora_graph.php: Added a couple of properties to the
	class.

	* reporting/pchart_graph.php: Do not add the grid or axis labels on
	charts if asked. Show no progress bar if value is 0 and a title is
	shown. Style corrections.

	* include/styles/pandora_width.css: Renamed to panoramic theme. Added
	style for event_control element.

	* include/styles/pandora.css: Added style for event_control element.

	* godmode/modules/manage_network_components.php: Fixed table width for
	panoramic theme.

	* ajax.php: Added remote_addr to config array.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-01 08:04:49 +00:00
slerena ca463b4868 2009-03-31 Sancho Lerena <slerena@artica.es>
* include/functions_visual_map.php,
         godmode/reporting/map_builder.php: Two new types of items for map graphs:
        Simple value and progress bar. Progress bar uses height to set the higher
        possible limit of the value to calculage the percentile.

        * reporting/pchart_graph.php: Progress bars now have percentile text without
        shadow (more readable). Fixed round cut of prev. commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1581 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-31 18:42:36 +00:00
slerena 5181998d1a 2009-03-31 Sancho Lerena <slerena@artica.es>
* include/styles/menu.css: Added icons for dashboard option (enterprise).
	
	* include/functions_config.php: Added support for round_corner option.
	
	* include/functions_db.php: Temporal support (not really work) for enterprise
	servers webcheck/goliat and inventory. This code should be corrected when
	make final dbstruct changes for new server_type numeric field.
	
	* include/functions_reports.php: Fixed an annoying notice.
	
	* index.php: Dashboard is not entered automatically on login in enterprise.
	
	* operation/events/events.php: Events from group 0 always displayed.
	
	* operation/servers/view_server.php: Icon for server status is now smaller.
	
	* operation/menu.php: New enterprise hook for Dashboard menu entry.
	
	* reporting/pchart_graph.php: Round corners on progressbar acording to
	setup option. Color of border is smoother.
	
	* godmode/setup/links.php: Fixed ACL condition (AND -> OR).
	
	* godmode/setup/setup.php: Fixed ACL. Moved visual options to other setup.
	
	* godmode/setup/filemgr.php: Fixed ACL condition (AND -> OR).
	
	* godmode/agentes/modificar_agente.php: Support for IP address search.
	
	* godmode/menu.php: Added new setup section for visual options.
	
	* godmode/setup/setup_visuals.php: New setup section for visual options.
	
	* images/mod_web_proc.png,
	  images/screenshot_not_found.jpg
	  images/mod_web_data.png
	  images/server_web.png: New icons added for enterprise options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-31 14:32:58 +00:00
slerena 82e457c050 2009-03-31 Sancho Lerena <slerena@artica.es>
* operation/events/events.php: Fixed and allow to everybody to see
        events coming from group 0 (Old server code put events here).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-31 12:06:43 +00:00
Esteban Sanchez 9b4f7f05cc 2009-03-30 Esteban Sanchez <estebans@artica.es>
* include/functions_ui.php: Added print_message(),
	print_error_message() and print_success_message().

	* godmode/users/configure_user.php,
	operation/users/user_edit.php,
	godmode/reporting/map_builder_wizard.php: Use print_error_message() or
	print_success_message() when there was no other option.

	* godmode/modules/manage_network_templates.php: Fixed CSV export
	notice errors. Style corrections.

	* godmode/modules/manage_network_templates_form.php: Style
	corrections.

	* include/functions_network_profiles.php: Added to repository. Network
	profiles function API.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-30 09:27:04 +00:00
guruevi e4512f4544 2009-03-27 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Fixed group functions that would return
	data even if the user didn't have access to the group. Added 
	safe_acl_group which filters out groups the user doesn't have access to
	out of an array of groups. Added check_acl which deprecates give_acl
	(new naming scheme)


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-27 20:01:13 +00:00
Esteban Sanchez be7618ad03 2009-03-27 Esteban Sanchez <estebans@artica.es>
* include/functions_ui.php: Put template details icon on the left of
	the cell.

	* operation/agentes/alerts_status.php: Fixed validation errors. Moved
	validation to the top before reading the alerts. Added some size info
	to the tables.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1575 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-27 12:03:41 +00:00
Esteban Sanchez 68716acb0d 2009-03-27 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: Fixed
	constraint restrictions on alert actions.

	* godmode/users/configure_user.php: Many bugfixes when creating and
	editing.
	
	* include/auth/mysql.php: Fixed return value on create_user() because
	it does not return an insert id.

	* include/functions_db.php: Call debug() on SQL errors to get a
	backtrace.

	* include/functions_ui.php: Added a return value to debug().

	* operation/users/user_edit.php: Renamed user_update().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-27 11:33:11 +00:00
guruevi ae561b4b47 2009-03-26 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_reporting.php: Fixed security vulnerability
	in get_group_stats. Thanks to Eric Ross for pointing it out.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-26 19:52:41 +00:00
slerena 7e895479da 2009-03-26 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: SLA parameters now accept float values.
	
	* extras/pandoradb_migrate_v2.x_to_v3.0.sql: SLA parameters now accept 
	float values after a table update.
	
	* godmode/setup/filemgr.php: New feature: a file manager, accesible only by
	pandora Administrators. Have some security checks but is not intended to be
	used by anyone not admin.
	
	* godmode/menu.php: Added filemanager and fixed minor problem under SNMP
	Godmode (fake submenu).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-26 18:00:56 +00:00
Esteban Sanchez 5c3d1009a6 2009-03-26 Esteban Sanchez <estebans@artica.es>
* include/javascript/jquery.ui.dialog.js: Added to repository.

	* index.php, general/header.php: Replaced overlay with jquery UI
	dialog.

	* godmode/agentes/module_manager.php: Use print_moduletype_image().

	* images/close.png, images/transparent.png,
	include/javascript/jquery.overlay.js: Removed from repository.

	* include/javascript/jquery.pandora.js: Use dialog instead of overlay.

	* include/styles/images/dialog-*: Added to repository. Dialog images.

	* include/styles/pandora.css: Removed overlay styles.

	* include/styles/dialog.css: Added to repository. Dialog styles.

	* include/functions_ui.php: Show description on
	print_moduletype_icon() title.

	* operation/agentes/estado_agente.php: Return control instead of exit.

	* operation/agentes/estado_ultimopaquete.php: Style corrections and
	usage of pandora database functions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-26 15:55:30 +00:00
Esteban Sanchez 6d3638696b 2009-03-26 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Some small fixes which
	didn't allow creating reports or adding contents.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-26 15:06:53 +00:00
Esteban Sanchez fd419a8216 2009-03-26 Esteban Sanchez <estebans@artica.es>
* godmode/users/configure_user.php: Complete rewritten to fix minor
	errors and fit the Pandora style.

	* include/auth/ldap.php: Removed process_user_isadmin(). Renamed
	process_user_password() to update_user_password(). Renamed
	process_user_info to update_user(). update_user_password() does not
	require old password anymore.

	* include/functions_db.php: Added empty checks on
	create_user_profile().

	* include/functions_ui.php: print_error_message() renamed to
	print_result_message().

	* godmode/agentes/configurar_agente.php,
	godmode/alerts/alert_actions.php, godmode/alerts/alert_commands.php,
	godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_template.php,
	godmode/modules/manage_nc_groups.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/reporting/map_builder_wizard.php,
	godmode/reporting/reporting_builder.php,
	operation/agentes/alerts_status.php, operation/events/events.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/messages/message.php, operation/snmpconsole/snmp_view.php,
	operation/users/user_edit.php: Renamed print_result_message(). Some
	translatable strings reused to simplify i18n work.
	
	* godmode/users/user_list.php: Renamed print_result_message(). Use
	cross.png for deletion links. Style corrections.

	* godmode/setup/news.php: Renamed print_result_message(). Use
	process_sql_delete() instead of direct mysql_query.

	* godmode/reporting/map_builder.php: Renamed print_result_message().
	Style correction on process_sql_update().

	* godmode/alerts/configure_alert_compound.php: Renamed
	print_result_message(). Fixed steps_clean div.
	
	* godmode/setup/setup.php: Return control to index instead of exit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-26 11:14:49 +00:00
guruevi 881041f9bc 2009-03-25 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/incidents/incident.php: Fixed small issue

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-25 20:53:34 +00:00
slerena 20fc304447 2009-03-25 Sancho Lerena <slerena@artica.es>
* estado_agente.php: Correct agent down status bug. Added search
	on description also, and search text parameter is moved on pagination links
	
	* estado_generalagente.php: Agent access graph has more height now.
	
	* event_statistics.php: removed unnecesary header. Better layout.

	* include/functions.php: human_time_description_raw() return "now" when
	data is 0 or empty.
	
	* db/db_main.php: Bigger graph.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-25 20:07:09 +00:00
guruevi 090b0661a5 2009-03-25 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Made get_server_info more informational
	
	* operation/servers/view_server.php: Uses new get_server_info layout
	
	* operation/agentes/tactical.php: Use print_table and get_server_info
	
	* operation/menu.php: Removed incident search
	
	* operation/incidents/incident_search.php: Removed - now sits in incident
	
	* operation/incidents/incident.php: Added more search capabilities
	
	* operation/visual_console/index.php: Relative width and alignment
	
	* operation/visual_console/render_view.php: Small fixes

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-25 18:43:30 +00:00
slerena 2758d024d7 2009-03-25 Sancho Lerena <slerena@artica.es>
*  extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added field missing in 
	ttrap (This gives the problems with SNMP Alerts in trunk version (Manu!)).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-25 18:17:02 +00:00
Esteban Sanchez 6c0fe99686 2009-03-25 Esteban Sanchez <estebans@artica.es>
* include/functions_alerts.php: Typo errors on "proces". Fixed an
	error on create_alert_command() parameters.

	* godmode/alerts/alert_commands.php: Fixed sec parameter on delete
	link.
	
	* godmode/alerts/configure_alert_command.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/configure_alert_action.php: Fixed textarea sizes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-25 14:09:20 +00:00
Esteban Sanchez d9445f0b91 2009-03-25 Esteban Sanchez <estebans@artica.es>
* include/functions_alerts.php: Finished the alerts API by removing
	useless and focus of problems clean_*(). All the functions now uses
	process_sql_*().

	* godmode/alerts/alert_actions.php,
	godmode/alerts/alert_commands.php: Adapted to changes in
	functions_alerts.php.

	* godmode/alerts/configure_alert_template.php: Fixed default action
	updating when it's set to None. Fixed textarea height.

	* include/functions_reports.php: Added to repository. API to manage
	user reports.

	* include/functions_db.php: Moved get_reports() to
	functions_reports.php. Escape ` on get_db_value(). Use
	format_array_to_update_sql() on process_sql_update().

	* godmode/reporting/reporting_builder.php: Use functions from reports
	API.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-25 13:51:52 +00:00
Esteban Sanchez d0d1a5d028 2009-03-25 Esteban Sanchez <estebans@artica.es>
* include/auth/mysql.php: Fixed an error on get_user_id() which was
	returning integer values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-25 10:54:45 +00:00