Commit Graph

171 Commits

Author SHA1 Message Date
mdtrooper 08eed00131 2009-06-24 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css: fix sintaxis error in comment.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 16:12:09 +00:00
mdtrooper 2c6b3355fb 2009-06-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_monitores.php: add organization list of monitors, add
	row in table with title the monitor group.
	* include/styles/pandora.css: add new class for cell used monitor group title
	in the list of monitors in estado_monitores.php
	Fixes: #2805001



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 16:04:19 +00:00
mdtrooper 90b42c160a 2009-06-23 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/menu.css: Fixed style for elements menu
	that it have large text.
	Fixes: #2808843
	
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-23 07:57:38 +00:00
Esteban Sanchez eb4e9b75fb 2009-06-09 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/agent_manager.php: Fixed string filter when
        searching agents. Avoids a PHP notice when none found

        * godmode/agentes/configurar_agente.php: Solved a mess with variable
        names.

        * godmode/agentes/module_manager_editor_prediction.php: Improved
        the prediction module selection, adding a filter for agents and
        module. Fixes #2707907

        * include/javascript/jquery.pandora.controls.js: Returns
        whenever callbackBefore returns false.

        * include/javascript/pandora_modules.js: Check for module selection
        when creating a prediction one.

        * include/styles/pandora.css: Added style to prediction module
        selection.

        * godmode/alerts/alert_list.php: callbackBefore on pandora.controls
        elements must return true now.

        * godmode/agentes/module_manager_editor_common.php: Added moduletype
        hidden input to be used in javascript.

        * godmode/agentes/module_manager_editor.php: Use pandora.controls and
        added a string for javascript.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-09 14:29:03 +00:00
Esteban Sanchez d4c04b4fdf 2009-06-09 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/agent_manager.php: Added autocomplete support
        to parent selection, which is no a dropdown anymore. Partial fix for 
        #2707924.

        * godmode/agentes/configurar_agente.php: Parent data is now the
        agent name, not the agent id.

        * include/javascript/jquery.ajaxqueue.js,
        include/javascript/jquery.autocomplete.js,
        include/javascript/jquery.bgiframe.js: Added to repository.
        Autocompleter jQuery plugin.

        * include/styles/pandora.css: Added autocomplete styles.

        * include/functions_db.php: Added more support for search
        parameter to get_group_agents() so you can pass a filter array now.

        * operation/agentes/estado_agente.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-09 11:25:47 +00:00
Esteban Sanchez 88937d411d 2009-06-08 Esteban Sanchez <estebans@artica.es>
* include/styles/help.css, include/styles/pandora_minimal.css,
        include/styles/ie.css, include/styles/menu.css,
        include/styles/install.css, include/styles/pandora_red.css,
        include/styles/pandora_black.css, include/styles/pandora_width.css:
        Removed an extra close comment character that causes broken CSS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-09 11:02:47 +00:00
slerena 9d3c86bdde 2009-06-08 Sancho Lerena <slerena@artica.es>
* Massive header update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 18:26:14 +00:00
Esteban Sanchez cfa7020fb2 2009-05-29 Esteban Sanchez <estebans@artica.es>
* include/functions_menu.php: Added menu_icon class.

	* include/styles/menu.css: Split background style for menu icons.
	Recovered menu colors.

	* include/styles/pandora.css: Added body.pure element.

	* include/styles/pandora_blackmetal.css,
	include/styles/pandora_black.css: Improve to reuse pandora.css

	* include/functions_ui.php: Use pure class on body element
	on process_page_body(). Better comment when creating the css array on
	process_page_head().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-29 09:28:48 +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 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
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
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 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
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
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
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 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
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 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 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
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 2a1db6c08c 2009-03-24 Esteban Sanchez <estebans@artica.es>
* general/pandora_help.php: Added support for enterprise help files.

	* include/javascript/pandora.js: Renamed pandora_help() to
	open_help().

	* include/functions_ui.php: Renamed event function on
	print_help_icon(). Removed deprecated pandora_help().

	* godmode/agentes/module_manager.php: Added enterprise hooks.

	* godmode/agentes/module_manager_editor.php: Added categories
	construction here. Added enterprise hooks.

	* godmode/agentes/module_manager_editor_common.php: Replaced
	deprecated pandora_help() with print_help_icon(). Moved categories
	construction to module_manager_editor.

	* include/config_process.php: Updated build version.

	* include/styles/pandora.css: Fixed textarea height.

	* godmode/agentes/manage_config_remote.php,
	godmode/agentes/massive_config.php,
	godmode/agentes/massive_edit_modules.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/planned_downtime.php, godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/reporting/map_builder.php,
	godmode/servers/manage_export_form.php,
	godmode/servers/manage_recontask_form.php, godmode/servers/plugin.php,
	godmode/setup/setup.php, operation/agentes/alerts_status.php,
	operation/agentes/tactical.php,
	godmode/agentes/agent_manager.php: Replaced deprecated pandora_help()
	with print_help_icon().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1557 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-24 15:38:54 +00:00
Esteban Sanchez 7c65c49f36 2009-03-17 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/massive_operations.php: Added to repository. New
	page to group massive operations in a single page.

	* godmode/agentes/massive_config.php: Renamed from manage_config.php.

	* godmode/agentes/massive_delete_agents.php: Renamed from
	manage_delete.php.
	
	* godmode/agentes/massive_delete_modules.php: Added to repository.
	Interface to delete modules.

	* godmode/agentes/massive_delete_alerts.php: Added to repository.
	Interface to delete alerts.

	* godmode/agentes/agent_manager.php: Fixed table width to make it
	variable.

	* godmode/agentes/module_manager.php: Rewritten to use Pandora
	functions.

	* include/javascript/jquery.pandora.controls.js: Added
	pandoraSelectAgentAlert. Renamed pandoraSelectAgent to
	pandoraSelectAgentModule. Get only needed fields to make it quicker
	and avoid showing disabled modules.

	* godmode/alerts/alert_list.php: Adapted to changes in
	jquery.pandora.controls.js.

	* godmode/menu.php: Group some pages into new "Massive operation"
	submenu.

	* images/copy.png: Replaced with a better icon.

	* images/delete_agents.png, images/delete_alerts.php,
	images/delete_modules.php: Added to repository.

	* include/styles/pandora.css: Set color on input.sub

	* include/styles/pandora_width.css: Make menu_tab_frame wider.

	* include/functions_db.php: Removed deprecated
	dame_nombre_grupomodulo(). Added support to __() to receive multiple
	parameters so translatable strings can handle now printf format
	characters.

	* include/functions_modules.php: Added delete_agent_module().

	* operation/agentes/ver_agente.php: Allow fields to be passed to
	get_agent_modules_json AJAX operation.

	* reporting/fgraph.php: Replaced sprintf() with __(). Some casts
	added. Show a sparse chart even if it has no max/min value.

	* godmode/modules/manage_network_components_form_network.php,
	operation/agentes/estado_ultimopaquete.php,
	godmode/modules/manage_network_components_form_wmi.php: Use
	get_modulegroup_name().

	* godmode/agentes/configurar_agente.php,
	godmode/modules/manage_network_components.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-17 15:15:55 +00:00
Esteban Sanchez 5c52cbbe49 2009-03-16 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/alert_list.php,
	godmode/agentes/module_manager_editor_network.php: Fixes to work in
	IE7.

	* godmode/alerts/configure_alert_template.php: Fixed an error when the
	template was not created and causing the example or field values to
	not shown. Fixed javascript for IE7.

	* include/styles/ie.css: Fixes for IE7.

	* include/styles/pandora.css: Added style for classes added.	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-16 11:06:00 +00:00
Esteban Sanchez b09ab2f083 2009-03-12 Esteban Sanchez <estebans@artica.es>
* godmode/db/db_purge.php: Style correction.

	* godmode/modules/manage_nc_groups.php: Complete rewritten.

	* godmode/modules/manage_nc_groups_form.php: Use pandora functions.
	Needs more love.

	* godmode/reporting/map_builder.php: Some fixes to make it work in
	IE7. 

	* include/javascript/jquery.pandora.controls.js: Execute automatically
	instead of on ready. Typo fixed that was not allowing to work on IE.

	* include/styles/ie.css: Bit of style corrections.

	* include/functions_ui.php: Added the ie.css code at the bottom, so it
	has preferences over other styles.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-13 11:22:07 +00:00
Esteban Sanchez c50c73eecf 2009-03-05 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/map_builder_wizard.php: Style correction. Use
	Pandora functions instead of SQL. Force elements to have an image by
	removing "None".

	* include/functions_config.php: Added to repository. New file to
	manage config operations such as creation and updating values or
	updating the whole config array. It even sets id_user so no more usage
	of $_SESSION is required from outside.

	* include/config_process.php: Cleanup and usage of functions in
	functions_config.php. Updated build.

	* index.php: Updated to changes in config_process.php,

	* godmode/setup/setup.php: All config process has been moved to
	config_process.php which uses functions in functions_config.php.

	* include/styles/pandora.css: Styling for pre elements. New help
	class.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1515 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-05 12:52:59 +00:00
Esteban Sanchez bb35abdf77 2009-03-03 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/configure_alert_template.php: Add id to separator
	div.

	* include/styles/pandora.css, include/styles/pandora_width.css: Added
	style to separator div. Fixes a UI breakage.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1501 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-03 15:48:59 +00:00
Esteban Sanchez 097637401f 2009-03-03 Esteban Sanchez <estebans@artica.es>
* general/main_menu.php: Operation and godmode menus files includes
	now the dependant files.

	* godmode/agentes/modificar_agente.php: Removed unnecessary
	require()
	
	* godmode/alerts/alert_list.php: Avoid notice for undefined index when
	calling max(). Added option to delete the template.

	* godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php: Fixed field2_recovery and
	field3_recovery updating.

	* operation/menu.php, godmode/menu.php: Require functions_menu.php.

	* include/config_process.php: Updated build version.

	* include/functions.php: Keep time in a static variable on
	get_system_time().

	* include/functions_db.php: Now a custom operation can be passed to
	format_array_to_where_clause_sql() if the field key is numeric.

	* include/functions_reporting.php: Return float value on
	get_agentmodule_sla(). Added required files.

	* include/functions_ui.php: Show template name on format_alert_row().
	Style correction.

	* operation/agentes/export_csv.php: Style correction.
	
	* operation/events/export_csv.php: Use pandora functions to fetch
	results. Fixed auth part. Style correction.

	* operation/reporting/custom_reporting.php: Fixed enterprise include.

	* operation/reporting/reporting_xml.php: Fixed auth part.

	* index.php: process_page_head() may looked for uninitialized
	$config["refr"].

	* include/styles/pandora_width.css: Fixed style for ol.steps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-03 15:21:13 +00:00
Esteban Sanchez 3ed0b823c0 2009-03-02 Esteban Sanchez <estebans@artica.es>
* include/functions_menu.php: Added to repository. Functions for menu.

	* operation/menu.php, godmode/menu.php: Added class to menu due to
	changes in print_menu().

	* general/main_menu.php: temp_print_menu() moved to functions_menu.php 

	* include/functions_themes.php: Added to repository. Implement
	functions relative to themes (only CSS themes list at this moment).

	* include/styles/pandora.css, include/styles/pandora_black.css,
	include/styles/pandora_minimal.css, include/styles/pandora_red.css:
	Added author, name and description comments to adopt to new
	get_themes() interface.

	* include/styles/pandora_width.css: Improved and make lighter by
	simply rewrite some classes.

	* include/functions.php: Added is_ajax().

	* godmode/agentes/module_manager_editor.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/groups/group_list.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/reporting_builder.php,
	operation/agentes/estado_agente.php, operation/agentes/ver_agente.php,
	operation/events/events.php, operation/messages/message.php: Use
	is_ajax()

	* godmode/setup/setup.php: Use enterprise_include() instead of manual
	checking. Use get_css_themes() to show the theme list.

	* include/styles/common.css: Added to repository. Minimal styles to
	make pandora works and common with all the CSS themes.

	* include/functions_ui.php: Added common.css file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-02 13:43:15 +00:00
Esteban Sanchez b6a6b3fe90 2009-02-25 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added database debug support. If the debug
	flag in config is set, a table with all the queries done in a page is
	shown. To do so, add_database_debug_trace() and print_database_debug()
	were added.

	* include/functions_ui.php: Added debug() function which shows a
	given variable content and a traceback which can be toggled to make
	developers life easier.

	* index.php: Print database debug table.

	* include/styles/pandora.css: Styles for debug functionallity.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-25 12:24:06 +00:00
guruevi f7702dd084 2009-02-24 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/config_process.php: Added compact_header. If you want to
	save on server hits and increase performance (slightly) enable it.
	Page loads (on my system) ~500ms faster and feels faster since it 
	doesn't block the page while waiting on css and javascript

	* include/functions_agents.php: Moved process_manage_config from 
	configurar_agente.
	
	* include/functions_ui.php: Added compact_header functionality
	
	* include/functions_html.php: Fixed some id issues which caused
	manage_config to not work correctly. id's can't have [] in them.
	Also fixed the comparison for numeric (string to int) comparisons
	
	* include/styles/pandora.css: Moved @import to functions_ui.php
	
	* godmode/agentes/manage_config.php: Fixed ids and some validation
	
	* godmode/agentes/configurar_agente.php, godmode/agentes/agent_manager:
	Fixed HTML output and use functions for images
	
	* godmode/setup/setup.php: Added compact_header to setup

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1480 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-24 16:31:02 +00:00
Esteban Sanchez bc7bec3db9 2009-02-20 Esteban Sanchez <estebans@artica.es>
* styles/pandora.css: Added input.add to a list which was missing.
        Aligns labels to the left.

        * pandoradb_data.sql: Fixed link to ArticaST.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-20 12:10:50 +00:00
guruevi fd22412aed 2009-02-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_migrate_20_to_21.sql, pandora_db.sql: Altered tmensajes for
	unixtime
	
	* general/header.php: New messages function added flashing 
	acknowledgment in case of new messages
	
	* general/logon_ok.php: Since messages are now in header, they don't need
	to be there per se
	
	* images/close.png, images/transparent.png: Background and close button
	for overlays.
	
	* include/javascript/jquery.pandora.js: Used for loop for flashing thing
	and added overlay function
	
	* include/javascript/jquery.overlay.js: You'll need this for overlay
	
	* include/functions_messages.php: Message functions are here. Messages are
	fully abstracted so they can be drop-in replaced with something else
	
	* include/functions_ui.php: Small fixes. Not necessary to load en language
	files for javascript since they're empty, it only adds to load/interpret
	
	* include/functions_db.php: Added get_group_users and get_db_array. Useful
	
	* include/functions_html.php: Small doc fixes and fixed table heads
	
	* include/styles/pandora.css: Added Overlay classes

	* ajax.php: We need to call safe_url_extraclean for cross scripting
	
	* operation/messages/message.php: Rebuilt to use new functions
	
	* operation/menu.php: New message link instead of group link
	
	* operation/visual_console/render_view.php: Fixed conflict with timer
	
	* index.php: Added div for overlay (not in pure mode) and fixed erroneous
	div in pure mode.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-19 21:34:27 +00:00
Esteban Sanchez 659a08125f 2009-02-19 Esteban Sanchez <estebans@artica.es>
* include/functions_ui.php: Added require_css_file(),
	require_javascript_file() and require_jquery_file() to add CSS,
	javascript and jQuery files to the header easily without changing
	config object. A path parameter is addded to allow the use on
	enterprise code.

	* include/functions_db.php: Added
	get_db_value_filter(), get_db_all_rows_filter() and
	process_sql_delete(). Fixed delete_agent() style and use these
	functions. Added process_page_head() from functions_ui.php and changed
	a bit the config javascript object part.

	* include/functions_custom_graphs.php: Get results indexed by id on
	get_user_custom_graphs().

	* include/functions.php: Moved process_page_head to functions_ui.php.
	
	* godmode/agentes/manage_delete.php: New interface to perform massive
	agents deletion.

	* godmode/menu.php: Added new option to massive agents deletion.

	* general/main_menu.php, godmode/agentes/manage_config.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/configure_alert_template.php,
	godmode/reporting/map_builder.php, operation/agentes/networkmap.php,
	operation/reporting/reporting_viewer.php,
	operation/visual_console/render_view.php: Use new functions in include
	CSS and javascript files.

	* index.php: Bit of style when printing the header so the HTML can be
	readed easily in a editor.

	* include/javascript/pandora.js: Added a variable to determine the
	enterprise directory.

	* include/styles/pandora.css: Added style for manage_delete.php



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-19 16:10:04 +00:00
Esteban Sanchez 0d5884b55c 2009-02-18 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Removed from repository. Agent
	alerts manager is now done in alerts/alert_list.php

	* godmode/agentes/manage_config.php, godmode/alerts/configure_alert,
	godmode/agentes/configurar_agente.php: Use alerts/alert_list.php
	instead of deleted agentes/alert_manager.php.

	* godmode/alerts/alert_list.php: It can handle now a list of agents or
	be included by configurar_agente. Now it's a single page to manage all
	the alerts defined in agents.

	* godmode/reporting/map_builder.php: Javascript style correction.

	* include/javascript/jquery.pandora.controls.js: Added
	pandoraSelectAgent which allows the loading of a module list from an
	agent list.

	* include/styles/pandora.css: Styles for alert_list.

	* include/functions_agents.php: Added options to
	get_agent_alerts_compound() and get_agent_alerts_simple() to add extra
	user filtering.

	* pandoradb.sql, pandoradb_migrate_20_to_21.sql,
	include/functions_alerts.php: Actions in an alert module has now id or
	they cannot be removed.

	* include/functions_db.php: format_array_to_where_clause_sql() can now
	get limit and offset values.

	* include/functions_html.php: Removed select- prefix to print_select
	elements because it was breaking javascript code. Needs more works on
	that.

	* operation/agentes/estado_agente.php: Added
	get_agent_module_last_value AJAX operation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-18 12:29:30 +00:00
Esteban Sanchez 1b74ca3bef 2009-02-17 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/module_manager_editor.php: Added
	get_module_components operation to AJAX interface. Avoid error
	reporting on snmprealwalk so the JSON doesn't fail. Added support for
	component group selection. Do nothing if the selected component is
	zero.

	* godmode/agentes/module_manager_editor_common.php: Added
	add_component_selection() which makes the task of adding a module
	component to the editor easier and common. It also now filters based
	on component groups first.

	* godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php: Use
	add_component_selection() instead of duping the code.

	* include/styles/pandora.css: Added style to component elements.

	* include/functions_db.php: Avoid numeric field names on
	format_array_to_where_clause_sql().

	* include/functions_modules.php: Added get_network_components() and
	get_network_component_groups().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-17 12:17:10 +00:00
Esteban Sanchez ad1c804342 2009-02-16 Esteban Sanchez <estebans@artica.es>
* include/javascript/jquery.pandora.controls.js: Added to repository.
	New file to hold all common jQuery Pandora operations. Currently it
	holds a generic process to loads a list of agents from a group
	dropdown menu.

	* godmode/agentes/manage_config.php: Loading spinners moved next to
	the label because it was causing some ugly flickers due to 100%
	width elements. Use code from jquery.pandora.controls.js.

	* godmode/alerts/alert_compounds.php: Rewritten to be more user
	friendly. Filtering is now possible. New operations like
	enable/disable or delete are now available.

	* include/styles/pandora.css: Added style for alert_compounds.php.

	* include/functions.php: Make offset parameter optional in
	pagination(). Style correction.

	* include/functions_alerts.php: Added delete_alert_compound().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-16 16:23:30 +00:00
Esteban Sanchez 7e7b4cbaad 2009-02-16 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Moved AJAX interface for
	get_agent_alerts_simple operation here.

	* godmode/agentes/manage_config.php: Complete rewritten to give
	support to new alert system and a new improved UI.

	* godmode/alerts/configure_alert_compound.php: Removed AJAX code
	relative to groups and agents. Include jQuery and style files with the
	new way.
	
	* godmode/groups/group_list.php: Moved AJAX interface for
	get_group_agents operation here.

	* include/styles/pandora.css: Added styling for new manage config
	interface. Added style for fieldset elements.

	* include/functions_alerts.php: Added filter parameter to
	get_alerts_agent_module(). Added
	copy_alert_agent_module_to_agent_module().

	* include/functions_db.php: Added special character * to
	get_agent_modules() to get all the row. Added
	format_array_to_where_clause_sql() to transform an array of values to
	a WHERE clause. Use this function in process_sql_update().

	* include/functions_modules.php: Added to repository. New file to add
	modules operation functions. Added copy_agent_module_to_agent()

	* operation/agentes/ver_agente.php: AJAX interface for
	get_agent_modules_json can now receive an additional filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-16 12:18:42 +00:00
guruevi 91b247a557 2009-02-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/footer.php, general/links_menu.php: _new is invalid. Use _blank 

	* include/config_process.php: Updated error texts for better English
	
	* include/calendar.php: Removed since nobody uses it anymore
	
	* include/functions.php: Modified process_page_header to not load
	wz_jsgraphics by default (it's too heavy and hardly used). Deprecated
	no_permission and unmanaged_error (since they're not used)
	
	* include/styles/timeentry.css, include/styles/pandora.css, 
	include/styles/ie.css: Merged these styles together so there is no extra
	query for 2 css classes
	
	* operation/reporting/reporting_viewer.php: Removed comparison since
	time comes from the client and if the clock is a bit off it gives error.
	Also removed reference to timeentry.css
	
	* godmode/alerts/alert_list.php: Uses new method to load css and jquery
	which prevents error of <link> tags being in body
	
	* godmode/agentes/planned_downtime.php: Removed timeentry reference and 
	fixed HTML in between.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-12 21:04:02 +00:00
Esteban Sanchez e94a8f0fcf 2009-02-11 Esteban Sanchez <estebans@artica.es>
* general/main_menu.php, include/styles/menu.css: Selected menu style
	is done with a CSS classs. Slide effect removed. Submenus have now
	white background.

	* godmode/agentes/alert_manager.php: Allow creation of alerts without
	actions which have sense in compound alerts.

	* include/javascript/jquery.pandora.js: Added showMessage() function.

	* godmode/agentes/module_manager_editor.php: Use new showMessage()
	jQuery function.

	* godmode/alerts/configure_alert_compound.php: Added to repository.
	New compound alert editor interface.

	* godmode/alerts/alert_compounds.php: Added to repository. Compound
	alert list.

	* godmode/alerts/configure_alert_template.php: Better style for steps
	of the editor.

	* godmode/menu.php: Added compound alerts option. Changed default page
	on Manage alerts.

	* include/styles/pandora.css: Added style for editor steps. Added new
	generic classes.

	* include/functions.php: Added a new line when creating script list.

	* include/functions_agents.php: Fixed alert tables fields. Renamed
	get_agent_alerts_compound() and improved the returning value of
	get_agent_alerts().

	* include/functions_alerts.php: Added new functions to manage compound
	alerts. Avoid SQL errors when using process_sql functions.

	* include/functions_reporting.php: Temporary disabled compound alert
	reports.

	* include/functions_ui.php: Fixed format_alert_row() to fit compound
	alerts.

	* operation/agentes/alerts_status.php: Allow compound alert
	validation. Removed effect of cluetip.

	* pandoradb.sql, pandoradb_migrate_20_to_21.sql: New compound alert
	tables (talert_compound, talert_compound_elements and
	talert_compound_actions).
	
	* godmode/alerts/alert_list.php: Added to repository. Shows a list of
	all the alerts defined. Would be improved in the future to allow
	sorting and filtering.

	* index.php, godmode/snmpconsole/snmp_alert.php,
	include/functions_db.php: Code style correction.

	* godmode/agentes/configurar_agente.php: Removed old compound alerts
	code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-11 16:55:04 +00:00
guruevi 801344cb7e 2009-02-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/main_menu.php: Modified it to go with Esteban's idea
	
	* include/styles/menu.css: Modified it to go with Esteban's idea

	* include/javascript/jquery.pandora.js: Removed previous jquery stuff

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-10 20:29:45 +00:00
guruevi 503dc8a4d2 2009-02-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/logon_ok.php: No tr in thead causes safari to spit an error
	
	* general/main_menu.php: Added jQuery animated menu rolling
	
	* include/styles/menu.css: Removed CSS-based menu rolling

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-09 21:00:13 +00:00
raulmateos 02d8363146 2009-02-09 Raul Mateos <raulofpandora@gmail.com>
* include/styles/images/toggle.png: Added png file. GIF will be removed.
	* include/styles/menu.css, ie.css: Updated to use toggle.png. Updated
	headers.
	* include/config_process.php: Moved build to index (it was used by other
	files that didn't included this file). Updated year.
	* index.php: Updated build.
	* general/error_noconfig.php: Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-09 12:03:03 +00:00
guruevi 7d5f21053e 2009-02-06 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/styles/menu.css: Updated to make it look good again
	
	* general/main_menu.php: Updated to make it look good again. Also 
	simplified to allow easier modification. If you want to make things
	visible/selected again externally (JS or COOKIE), use the IF/ELSE 
	construction with the big warning.
	
	* general/links_menu.php: Updated to conform to CSS
	
	* include/javascript/jquery.cookie.js: Added to mess with cookies for 
	menu. I will do this in a future update

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-06 21:18:03 +00:00
Esteban Sanchez 3f4e66287b 2009-02-05 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Hide actions and templates form.
	Removed unncessary check when there's no module set.

	* include/styles/ie.css: Added to repository. IE fixes. Added fixes
	for menu, because IE doesn't support hover in other elements than a.

	* include/styles/menu.css: Removed font-family property.

	* include/functions_db.php: Style correction.

	* index.php: Added IE CSS fixes if needed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-05 12:12:42 +00:00
Esteban Sanchez e7db8d22d2 2009-02-04 Esteban Sanchez <estebans@artica.es>
* general/main_menu.php: The menu has been rewritten to be more
        usable, bright and colorful. It's similar to Wordpress administration
        menu. It requires a bit of javascript, but can still works without it.
        Besides, Pandora can remember the menus positions using cookies.

        * include/javascript/jquery.pandora.js: Added javascript code for
        menu handling. Added cookie plugin.

        * include/styles/menu.css: Rewritten to be adapted to new menu system.

        * include/styles/images/toggle.gif: Added to repository.

        * include/styles/pandora.css: Set align-top to agent list table under
        Manage agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-04 16:07:43 +00:00
Esteban Sanchez 068d3fbcb6 2009-02-02 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/configurar_agente.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/module_manager_editor.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: Agent module editions
	rewritten. The interface should be clearer now and SNMP walking much
	more faster, since it's done with AJAX. Some cleanup might be needed
	yet.

	* godmode/agentes/module_manager_editor_common.php: Added to
	repository. Common part for agent module editors.

	* images/edit.png, images/spinner.gif: Added to repository.

	* include/javascript/jquery.form.js: Added to repository. jQuery form
	plugin.

	* include/javascript/jquery.pandora.js: Added to repository. Special
	Pandora addons for jQuery library.

	* include/javascript/pandora.js: Added an extension to Array
	javascript objects to check if an array has an element.
	
	* include/styles/pandora.css: Added styling for new module editors.

	* include/functions_db.php: Added get_moduletype_description().

	* index.php: Added Pandora jQuery extensions.

	* pandoradb.sql, pandoradb_migrate_20_to_21.sql: Removed alert_text
	useless field from talert_templates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-02 15:40:31 +00:00
guruevi 39e7711b20 2009-01-26 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/styles/pandora.css: Fixed several small errors. Now it looks 
	more similar on other browsers.
	
	* operation/events/events.php: Fixed filter to use get_users ()
	
	* reporting/fgraph.php: Fixed several issues with user graphs

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-26 16:48:22 +00:00
guruevi 8aba7e55e7 2009-01-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_migrate_20_to_21.sql, pandoradb.sql: Added user table updates
	You'll have to do the alter tables before upgrading to the latest version
	but it adds functionality and enforces unique usernames
	
	* general/header.php: Don't rely on session variables
	
	* include/auth/dev.php, include/functions_ui.php: Minimal changes to 
	comply with guidelines and new links
	
	* include/auth/mysql.php, include/auth/ldap.php: Added functions and 
	removed bugs.
	
	* include/functions_db.php: Added some functions for profile handling
	
	* include/functions_html.php: Text input is now readonly instead of 
	disabled. This allows copying data from the textbox.
	
	* include/styles/tip.css: Set min-width instead of fixed width for tip
	that way we can have bigger tips without overflowing
	
	* operation/reporting/reporting_xml.php: Added auth there as well
	
	* operation/users/user.php, operation/users/user_edit.php, 
	operation/users/user_statistics.php: New auth functions, better look
	
	* index.php: Process_user_contact sits in logon_db. Saves a query
	
	* godmode/users/configure_user.php, godmode/users/user_list.php: New
	auth functions, better look.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-22 17:44:33 +00:00
Esteban Sanchez b1bd9513d4 2009-01-21 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql, pandoradb_migrate_20_to_21.sql: Added id_agent field
	to tlayout_data. It's needed to give support to nodes in visual
	console that represents a whole agent which turns red if any module is
	down.

	* operation/visual_console/render_view.php: Removed refresh countdown
	and selection because it's now done in the page header.

	* include/functions_visual_map.php: Some fixes to support id_agent
	field in tlayout_data. Also fixed the SQL to check if any module on an
	agent is down.

	* godmode/reporting/map_builder.php: Update and insert id_agent when
	managing a node element.

	* include/styles/pandora.css: Added a style to input image elements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-21 09:29:02 +00:00