Commit Graph

501 Commits

Author SHA1 Message Date
zarzuelo e57ef7068d 2010-06-01 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_agente.php: Fixed the
	pagination on agents view. Now the total agents not 
	include the disabled ones.
	Bug: 3008770



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 11:19:28 +00:00
mdtrooper 5e638fe86e 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/stat_win.php, general/license/pandora_info_ast_es.html,
	general/license/pandora_info_es_es.html,
	general/license/pandora_info_en.html: fixed unclose html tags in source
	code, the eclipse warm to me.

	* godmode/db/db_audit.php: fixed lost semi colon in the source code, the
	eclipse warm to me.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 10:03:07 +00:00
raulmateos 19ea4fce22 2010-05-31 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/estado_agente.php, operation/agentes/exportdata.php,
	operation/agentes/status_monitor.php: Added icon to search button.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2820 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-31 11:41:10 +00:00
raulmateos 5e308d4bd1 2010-05-27 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/tactical.php: Give some colour to the data shown.
	* godmode/menu.php: Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-27 06:54:46 +00:00
slerena 581c9aede4 2010-05-24 Sancho Lerena <slerena@gmail.com>
* group_view.php: Much nicer view of group view. Added
        column for group icon and for force network modules icon.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-24 18:04:39 +00:00
raulmateos 7bc18ca807 2010-05-24 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Updated build to new RC2.

	* operation/agentes/sla_view.php, operation/agentes/ver_agente.php,
	godmode/agentes/agent_conf_gis.php, include/styles/menu.css,
	include/styles/pandora.css: Clean code, updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-24 16:17:21 +00:00
mdtrooper fc2ff6e079 2010-05-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php: added the style for disabled
	agent and tooltip, in the name agent.
	
	* operation/search_results.php: added the style for disabled
	agent and tooltip.
	
	* godmode/agentes/modificar_agente.php: added tooltip.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-21 08:59:14 +00:00
zarzuelo 656a0a1d21 2010-05-18 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/ver_agente.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/visual_console_builder.php: Fixed the
	multiple agents selection on visual console wizard 
	for bug 2997750



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 12:10:39 +00:00
mdtrooper 20a4660d06 2010-05-18 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: added function 
	"agent_changed_by_multiple_agents_id" for response to change agent in
	wizard in visual console editor.

	* operation/agentes/ver_agente.php: added response to
	"get_agent_modules_json_for_multiple_agents_id" for the ajax previous
	function.
	
	* godmode/reporting/visual_console_builder.wizard.php: used new javascript
	function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 10:03:06 +00:00
raulmateos 2807c127a2 2010-05-14 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/gis_view.php, tactical.php: Clean code. Updated year.
	* Changelog: Fixed language error from my last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-14 12:55:16 +00:00
zarzuelo 4bb0d7723d 2010-05-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php
	operation/agentes/ver_agente.php
	godmode/agentes/massive_edit_modules.php: Fixed the
	ACL check into groups combo for bug 3001500 and 
	All agents display for bug 2999431



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-14 09:25:39 +00:00
raulmateos 16c2d2e811 2010-05-13 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/group_view.php: Clean code. Close tags. Now, if 
	there's no agent, it shows a text. Inefficient?
	* godmode/agentes/agent_manager: Solved typo with .png files, but
	those files doesn't exists in repository...
	*  ChangeLog: Changed date error from my last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 18:29:46 +00:00
zarzuelo 1fb362b33b 2010-05-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/agentes/status_monitor.php: Fixed full monitor
	checks in tactical view and monitor status filter 
	on monitor detail



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 14:09:13 +00:00
ramonn 8a4d778269 2010-05-11 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/stat_win.php: Pass the start date to min, max and
          avg functions.

        * godmode/alerts/configure_alert_action.php: Fixed a typo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 18:29:19 +00:00
zarzuelo c61965981f 2010-05-03 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/alerts_status.php
	operation/agentes/alerts_status.functions.php: Fixed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-03 09:02:18 +00:00
zarzuelo 1d4762610a 2010-04-30 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/group_view.php: Fixed the group
	1 problem. It was not showed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2647 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 11:31:24 +00:00
slerena 6b2821da3c 2010-04-28 Sancho Lerena <slerena@artica.es>
* include/pChart/pChart.class:

    * include/pChart/pData.class

    * include/fgraph.php: Fixed bug with eventgraph in graph_event_module().

    * include/functions.php: return_graphtype() uses now the log4x id 24 in
    ttipo_modulo, fixing the problem in graph visualizer. Anyway, log4x graphs
    doesn't work on php >= 5.3.x :((

    * operation/agentes/estado_monitores.php: Fixed id (24) for link in log4x.

    * operation/agentes/stat_win.php: Included missing functions_reporting.php
    include, it was missing.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 09:10:23 +00:00
mdtrooper fe7656b4d0 2010-04-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: removed hack for translate "any" text.
	
	* godmode/reporting/graph_builder.php: removed unused javascript function
	"agent_changed"
	
	* godmode/reporting/reporting_builder.php: re-added parameter
	$values['id_agent_module'].


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 07:35:50 +00:00
slerena d05a350141 2010-04-26 Sancho Lerena <slerena@ærtica.es>
* operation/agentes/datos_agente.php: Fixed the data table
        render for log4x data.

        * operation/agentes/estado_monitores.php: Graph icon should be
        shown when using  Log4x data, it has graphics (need to implement in
        Flash in the future).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-26 17:31:58 +00:00
mdtrooper ccf3ef7205 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: added function
	"agent_changed_by_multiple_agents" for query ajax with one or more agent
	select.
	
	* operation/agentes/ver_agente.php: added ajax response to
	"get_agent_modules_json_for_multiple_agents".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 18:50:00 +00:00
zarzuelo 107599d6c3 2010-04-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
       include/functions_agents.php
       include/functions_db.php: Change the way of validate
        the All group. Now the group All has id_group = 0
        and is not on the database

       * extensions/module_groups.php: Remove the All 
        group row from the table. Inprove the table style

       * operation/agentes/status_monitor.php
       operation/agentes/alerts_status.php
       operation/agentes/estado_agente.php
       operation/agentes/exportdata.php
       operation/agentes/networkmap.php 
       godmode/agentes/modificar_agente.php
       godmode/agentes/planned_downtime.php: Changed the
        All group on combos from 1 to 0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 16:51:23 +00:00
mdtrooper e922f46275 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: changed function "agent_changed" for take
	the translate any or none texts from ajax or global var.
	
	* operation/agentes/ver_agente.php: added to package data the translate
	text for any.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 11:52:31 +00:00
slerena f2ab3ea2de 2010-04-21 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Added function render_report_html_item()
    to render a given report element in HTML format. Fixed a small problem in
    SUM report type (int truncate invalidate most of SUM reports when not using
    a _inc data type).

    * include/functions.php: Updated all "is_module_xxx" from using ereg 
    (deprecated) to use preg_match.

    * include/functions_db.php: Moved reporting functions 
    get_agentmodule_data_average(); get_agentmodule_data_max(), 
    get_agentmodule_data_min() and  get_agentmodule_data_sum() from here
    to functions_reporting.php.

    * godmode/groups/group_list.php: Removing a group put all agents assigned
    to that group in other available group (choosen in realtime).

    * AUTHORS: Authors file update, was very outdated!.

    * operation/agentes/estado_generalagente.php: Fixed bug #2990430.

    * operation/reporting/reporting_viewer.php: Some changes for better 
    structuration of the HTML reporting viewer. Removed big chunk of code
    and put in function_reporting/render_report_html_item() function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-21 17:52:08 +00:00
mdtrooper 735ec4f241 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: changed the functions
	"get_agent_alerts_simple" and "get_agent_alerts_compound" delete new
	parameter $limit because you can set the pagination limit in the parameter
	$options.
	
	* operation/agentes/alerts_status.php: changed the calls to previus
	functions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-07 09:50:09 +00:00
mdtrooper 071d9f5a2f 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: added parameter $where for SQL in function
	"get_agent_alerts_compound".

	* operation/agentes/alerts_status.php: use the new free search for filter
	the rows of alerts.

	* operation/agentes/alerts_status.functions.php: added parameter in the
	function "printFormFilterAlert", the parameter $free_search and add
	input text control for free search.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-06 15:08:08 +00:00
mdtrooper a2ae2f9956 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: changed some parts of source code in the
	functions "format_alert_row" for show column modules in general view. In the
	function "pagination" added the parameter $offset_name with default value
	'offset' for to use several paginations in one page.

	* include/functions_agents.php: added the parameters $limit, $idGroup,
	$count in the function "get_agent_alerts_simple", and now you can limit the
	rows, search by id group and return the count of rows (without limit). And
	in the function "get_agent_alerts_compound" added the same parameters to
	another function $idGroup, $limit, $count for similar uses.

	* operation/agentes/alerts_status.php: cleaned more parts of source code,
	fixed the mad array_merge of alerts, fixed SQL with the searchs IN
	(large large list ids), fixed the pagination before loop all rows, now
	only loop the block page rows.

	* operation/agentes/alerts_status.functions.php: new file with the functions
	"forceExecution", "validateAlert", and "printFormFilterAlert".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-06 12:46:34 +00:00
mdtrooper 7db7b529f4 2010-03-31 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/alerts_status.php, operation/agentes/estado_agente.php,
	godmode/reporting/visual_console_builder.editor.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-05 15:54:17 +00:00
slerena e201958939 2010-03-21 Sancho Lerena <slerena@gmail.com>
* include/help/en/check_other_languages.sh: Moved from include/help 
        and rewritten to be more usable. This is a script to check if there
        are missing help files for each language (taken as parameter).

        * operation/agentes/datos_agente.php: Cannot detete data from here.
        Removed old support for individual data delete due the new table 
        schema.

        * extras/check_other_languages.sh: Moved from include/help

        * godmode/agentes/modificar_agente.php: Admin can see everything
        even if agent has a invalid group (group which not exist). This
        was important because agents with invalid group was "Invisible"
        until now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-22 15:32:16 +00:00
eric_ross_c 8275cb1980 * operation/agentes/estado_ultimopaquete.php: Fixing color to show WARN messages in orange
* operation/agentes/stat_win.php: Now when showing a log4x chart, we don't show the max/min/avg information



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-19 14:06:49 +00:00
eric_ross_c e4b46756f3 2010-03-18 Eric Ross <eric.ross.c@gmail.com>
* operation/agentes/estado_monitores.php: Now the monitors list display the last data
                in a proper way (TRACE, DEBUG, ....)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-18 20:52:56 +00:00
eric_ross_c 45adf9728f Ported old graphics for the log4x data.
* include/Image/Graph/Plot/Bubble.php: New chart type: bubble
        * include/Image/Graph.php: Add the new bubble chart to the available charts
        * include/functions.php: Refactoring way to get type of graph from module type
        * operation/agentes/estado_ultimopaquete.php: Added links to access log4x graphics
        * include/fgraph.php: Add log4x graphics rutines.
        * operation/agentes/stat_win.php: Add support to show log4x graphic.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2512 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-18 20:01:48 +00:00
mdtrooper 185acf8c84 sancho.lerena@artica.es>
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 12:34:09 +00:00
mdtrooper b5e9ea4ca4 2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: clean source code delete obsolete unused
	function "get_agent_last_coords". Fixed the function "get_agent_icon_map"
	now show default icon for agent without modules.
	
	* operation/gis_maps/ajax.php: improve the style of bubble info agent and
	fixed the position for agent without data GIS.
	
	* operation/agentes/gis_view.php: clean the style delete the header. Change
	the text of refresh button. Show the last coords for the agent.
	
	* images/gis_map/icons/cross.pink.png, images/gis_map/icons/circle.pink.png:
	add this image icons for to use in the preview map of config connection map.
	
	* godmode/agentes/agent_conf_gis.php: clean the style delete the header.

	* godmode/setup/gis_step_2.php: use the pink icons for the center and
	default position in the preview map.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-05 11:16:20 +00:00
slerena a476b79a1b 2010-03-04 Sancho Lerena <slerena@artica.es>
* install.php: Fixed a bad render in IE.

        * operation/agentes/estado_agente.php: Fixed general view of agents.
        When show agents without modules, never display it's date because was
        taking from the most recept module, instead of data from agent itself.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 20:02:29 +00:00
slerena 6763128c05 2010-03-04 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Added news, default timezone and other 
        minor changes. GIS is disabled by default now.

        * include/config_process.php: Force a timezone if not defined.

        * operation/gis_maps/index.php,
        operation/agentes/gis_view.php: Config.php and header stuff 

        * operation/servers/view_server_detail.php
        operation/menu.php: Recon operation detail is now shown in the left
        menu.

        * admin_access_logs.php,
        db/db_audit.php
        db/db_info.php
        db/db_event.php
        agentes/configurar_agente.php
        gis_maps/configure_gis_map.php
        gis_maps/index.php: More headers and config.php include stuff.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 16:22:25 +00:00
slerena e7604d5729 2010-03-03 Sancho Lerena <slerena@artica.es>
* (A lot of files): Updated include("config.php") and replaced
        by global $config.

        * functions_db.php, functions_html.php: Fixed way to get data
        from the hash instead from the array.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 17:10:37 +00:00
mdtrooper fd1aed871e 2010-03-03 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/gis_view.php: fix "Call-time pass-by-reference" for
	function "print_table".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 09:22:44 +00:00
slerena 2bd1fbae56 2010-03-02 Sancho Leren <slerena@artica.es>
* include/functions_ui.php: Fixes default icon for operation
	mode in the title.

	* operation/incidents/incident.php
	operation/incidents/incident_detail.php
	operation/incidents/incident_statistics.php
	operation/snmpconsole/snmp_view.php
	operation/users/user.php
	operation/users/user_edit.php
	operation/users/user_statistics.php
	operation/events/event_statistics.php
	operation/events/export_csv.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/agentes/export_csv.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/sla_view.php
	operation/agentes/gis_view.php
	operation/agentes/ver_agente.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/messages/message.php
	operation/reporting/reporting_viewer.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/search_results.php
	godmode/groups/configure_group.php
	godmode/groups/group_list.php
	godmode/agentes/agent_manager.php
	godmode/alerts/alert_list.php: Fixes with include(Config.php) in
	enterprise mode.:

	* general/header.php: Detection of Metaconsole to show less options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 19:25:51 +00:00
slerena 22e7cde978 2010-03-02 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Solved issue with several undefined
	vars.

	* include/functions_servers.php: Solved issue with several undefined
	vars. 

	* include/functions_config.php: Added metaconsola witch to readconfig.

	* include/config_process.php: Update build.. is YYMMDD !

	* include/functions_ui.php: Removed deprecated call to split and replaced
	by preg_split.

	* index.php: Activated developer mode.

	* operation/agentes/estado_monitores.php: Solved small problem with modules
	without history, filling missing column in table. Added headers

	* godmode/alerts/configure_alert_compound.php,
	operation/agentes/status_monitor.php
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_commands.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php: Removed deprecated call to include
	config.php and in some cases, added new header style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 14:13:00 +00:00
mdtrooper 6b97c54ae1 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add function "addParentLines", in ths function
	make a hierachy layer and call "js_refreshParentLines" for paint hierachy
	lines. In function "activateAjaxRefresh" use the function
	"js_refreshParentLines" for repaint the lines.
	
	*include/javascript/openlayers.pandora.js: add the global var
	"storeLayerNameHierachy" for save the text localiced name of Hierachy lines
	layer. Add the function "js_refreshParentLines" for paint the lines from
	parent to sons. In function "changeShowStatus" add the
	"js_refreshParentLines"

	* operation/gis_maps/render_view.php: use the function "addParentLines" for
	start the parent lines.

	* operation/agentes/gis_view.php: clean sourcecode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 12:00:57 +00:00
mdtrooper 84d4e9a405 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: now function "getAgentMap" return true or false
	if there is default map or not.

	* operation/agentes/gis_view.php, godmode/agentes/agent_conf_gis.php: show
	message of error when there isn't a default map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 11:17:27 +00:00
mdtrooper 213ec3df72 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "addPath" fix the query to extract
	the path from a time.
	
	* operation/agentes/gis_view.php: add no-ajax control for filter the time
	to show path.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 16:32:07 +00:00
mdtrooper 10bd0b0cf4 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/gis_view.php: change the empty message to standar.
	
	* godmode/menu.php: change the text of visual console builder and GIS map
	builder, and move to down the Conection GIS editor.
	
	* godmode/gis_maps/configure_gis_map.php: change some text.
	
	* godmode/gis_maps/index.php: use new header.
	
	* godmode/reporting/map_builder.php: change some text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 13:30:42 +00:00
mdtrooper 3289ad7339 2010-02-22 Sancho Lerena <slerena@artica.es>
* include/functions_gis.php: change the function "activateAjaxRefresh" for
	refresh also the agent maps, and in the function "getAgentMap" show icon
	with status the agent maps.
	* operation/gis_maps/ajax.php: in the switch option "get_new_positions"
	return GIS data for agent maps, in the "point_agent_info" and
	"point_path_info" option change for new tables.
	* operation/agentes/gis_view.php: add the ajax moving agent and click
	bubble info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 12:12:41 +00:00
mdtrooper 4939bbb0cf 2010-02-22 Miguel de Dios <miguel.dedios@artica.es>
* images/groups_small/*.ok.png, images/groups_small/*.default.png,
	images/groups_small/*.bad.png, images/groups_small/*.warning.png: add the
	group images for diferent status, it's used in the GIS map.
	
	* godmode/agentes/agent_manager.php: change for new form to name the icons
	with status.
	
	* include/functions_gis.php: clean source code in function "addPoint",
	rewrite the function "get_agent_icon_map" for used icons with state for
	group, change some parts of source code in the function "getArrayListIcons"
	for new form to name the icons.
	
	* images/gis_map/icons/*.png: change some icons.
	
	* operation/agentes/estado_generalagente.php: show message when there isn't
	the GIS data.
	
	* operation/gis_maps/ajax.php: change the source code and db query to
	return the GIS data for return default position for agent without GIS data.
	
	* operation/gis_maps/render_view.php: show agents without GIS data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2396 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 16:13:12 +00:00
mdtrooper b4811191af 2010-02-22 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php: fix, use the new tables.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 10:01:50 +00:00
slerena 020d64d2af 2010-02-19 Sancho Lerena <slerena@artica.es>
* functions_events.php: Fixed typo (switched meaning) in two labels.

	* include/styles/pandora.css: Changed background color of th default style.

	* include/functions_reporting.php: Improved function get_group_stats(). Now
	supports stats from batch-mode and get realtime stats in a more efficient
	way. Fixed get_fired_alerts_reporting_table() to avoid problems in external 
	reporting (PDF & XML).

	* include/functions_servers.php: get_server_performance() now uses batch mode
	stats reporting, and improved also the realtime stats generation. Same with
	function get_server_info().

	* include/functions_config.php: Added new config tokens (not fully 
	implemented yet) for event, trap, strings and audit automatic purge.

	* include/functions_ui.php: Added new print_page_header() function to set
	the new standard header in all pages, using the "tabbed" format to show
	the title, subtitle and other options like help, or custom-tabs for the page

	* pandoradb.sql: Added tserver.stat_utimestamp field. Added indexes to 
	tsession table. Fixed typo in field name in tgroup_stat: agents_uknown to
	agents_unknown.

	* extensions/ext_backup: New directory to place "deleted" extensions.

	* extensions/dbmanager/dbmanager.css: Table names now are in it's original
	lowercase/uppercase format.

	* extensions/dbmanager.php: Updated headers, and now return "empty" when
	a search is empty, instead "error" as before.

	* extensions/users_connected.php
	extensions/module_groups.php
	extensions/plugin_registration.php
	extensions/pandora_logs.php
	operation/incidents/incident.php
	operation/snmpconsole/snmp_view.php
	operation/users/user.php
	operation/users/user_edit.php
	godmode/agentes/planned_downtime.php
	operation/events/events.php
	operation/visual_console/index.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/exportdata.php
	operation/agentes/ver_agente.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/users/user_statistics.php: Added new header format.

	* operation/agentes/estado_grupo.php: Removed old group view.

	* operation/agentes/tactical.php: Adapted to use new realtime/batch 
	statistical system. Placed events above server info. Showing only pending
	events and other minor changes.

	* operation/agentes/group_view.php: NEW screen, replacing old one. Probably
	most ugly, but much more useful than before.

	* operation/agentes/networkmap.php: Added title.

	* operation/messages/message.php: Added title and adding some exists in 	
	code was missing before.

	* operation/reporting/reporting_viewer.php: Added title.

	* operation/reporting/graph_viewer.php: Added title.

	* operation/reporting/custom_reporting.php: Added title.

	* operation/servers/view_server.php: 

	* operation/menu.php: Replaced old group view with new (this has english
	name). Removed autorefresh "by default" in server view.

	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Fixed typo.

	* extras/pandora_diag.php: Minor changes, removed some info and added other.

	* general/logon_ok.php: Minor aesthetic changes.

	* general/header.php: Fixed missing ";"

	* operation/extensions.php,
	godmode/extensions.php: Added support for delete extensions.

	* godmode/menu.php: New setup items.

	* godmode/setup/setup.php,
	godmode/setup/performance.php,
	godmode/setup/setup_visuals.php: Reordered setup options, new setup section	
	"Performance", added new performance options to set  "realtime" statistics
	or "batchmode" with it's own interval. Some setup info is now shared with
	the servers (but it it's any change in setup, servers should be restarted 
	anyway).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 15:16:03 +00:00
mdtrooper b6c75c146e 2010-02-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: adapt to new tables.
	
	* include/javascript/openlayers.pandora.js
	
	* operation/gis_maps/render_view.php: adapt to new tables.
	
	* operation/gis_maps/ajax.php: adapt to new tables.
	
	* operation/agentes/gis_view.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 12:26:54 +00:00
mdtrooper a0c493b80c 2010-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: check in the function "addPath" if the agent
	haven't history data. And clean source code.
	
	* operation/agentes/gis_view.php: change to use new tables, and show
	messages when the agent haven't data GIS.
	
	* godmode/agentes/agent_conf_gis.php: change the message for agent without
	data GIS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-18 16:54:24 +00:00
eric_ross_c e8318e6bda Fix commit for adding LOG4X support
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 13:07:52 +00:00
mdtrooper a41e8389ce 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add in the function "getAgentMap" a new
	parameter "centerInAgent" (default true) for center the map in the last
	position of agent.
	
	* operation/agentes/ver_agente.php: clean source code.
	
	* godmode/agentes/agent_conf_gis.php: add page that you can change the
	position of agent.
	
	* godmode/agentes/configurar_agente.php: add the code to update the changed
	coords of agent, and show the tab to access the agent_conf_gis.php.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 13:08:33 +00:00
mdtrooper f5a8c6fb94 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css: add lost style for disable button.
	
	* include/functions_gis.php: fix the function "getAgentMap" now back run.

	* include/functions_ui.php: clean source code.
	
	* operation/agentes/ver_agente.php: add require javascript
	openlayers.pandora.js.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 10:16:51 +00:00
mdtrooper bc425eee8b 2010-02-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: clean source code, and extract the javascript
	code to openlayers.pandora.js.
	
	* include/javascript/openlayers.pandora.js: new file, have a source code of
	gis in javascript.
	
	* operation/gis_maps/render_view.php, operation/gis_maps/index.php,
	operation/agentes/gis_view.php, godmode/agentes/agent_manager.php,
	godmode/setup/gis.php, godmode/gis_maps/configure_gis_map.php,
	godmode/gis_maps/index.php: add the require javascript to 
	"openlayers.pandora.js".

	* godmode/setup/gis_step_2.php: add the source code to improve usability,
	now can set with the mouse points of center and default position for agents
	without gis data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-09 17:06:25 +00:00
mdtrooper 679f1e331c 2010-02-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: fix the show icon agent view.
	* images/gis_map/icons/dot_bad.png, images/gis_map/icons/dot_ok.png,
	images/gis_map/icons/dot.png, images/gis_map/icons/dot_warning.png: add one
	more icons for agent in GIS system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2329 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-04 09:47:23 +00:00
slerena fa89eeeee7 2010-02-01 Sancho Lerena <slerena@artica.es>
Changes ported from 3.0 branch.

        * include/javascript/pandora_visual_console.js: Thiner lines in maps.

        * include/functions_visual_map.php: Fixed several issues in visual maps
        (bad hierarchy status color, limited depth for recursion, get unknown
        for agents and modules, and line color is now always associated to
        parent status) and non-status elements like labels, graphs or progress
        bars now doesnt propagate module status to parents.

        * include/functions_db.php: Added parameter to get_db_all_rows_sql() to
        avoid use of cache. Function process_sql() was not properly checking if
        cache usage was disabled and was always using cache. Added support for
        checking unknown status in get_agentmodule_status() function.

        * extensions/dbmanager/dbmanager.css,
          extensions/dbmanager.php: Fixed width of textarea.

        * operation/events/events.php: Fixed bug #2943907.

        * operation/agentes/exportdata.php: Fixed problem exporting CSV
        when data to export is TOO big, using an internal cache to read
        data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-01 19:22:34 +00:00
raulmateos 77075b5ab1 2010-02-01 Raúl Mateos <raulofpandora@gmail.com>
* operation/agentes/estado_agente.php: Changed colour order for 
	module status.

	* include/help/en/help_agent_status.php: Improved help.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-01 18:01:05 +00:00
pabloconcepcion 11751ddff1 2010-01-29 Pablo de la Concepción <pablo.concepcion@artica.es>
* operation/gis_maps/render_view.php: Fixed call to get_agent_names to
	get the names in the same case as they are in the DB.

	* operation/agentes/gis_view.php: Changed size of the map to be relative

	* include/functions_gis.php: Fixed the call to addPoint in getAgentMap
	to use the new parameters.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-29 15:47:40 +00:00
pabloconcepcion a439d7b9bb 2010-01-27 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/functions_gis.php: Added more Openlayers Controls to the case
	on the printMap function, fixed typo manual_placemen -> manual_placement,
	added gectConectionConf and getAgentMap functions (last one still with 
	some hardcoded values). Function get_agent_last_coords now also returns the
	agent name.

	* operation/agentes/estado_generalagente.php: Added last position 
	information, and timezone offset if is not 0

	* operation/agentes/gis_view.php: Added map with the last position of the
	agent and table with the previous positions of the agent.

	* operation/agentes/ver_agente.php: Used agent icon to show status 
	 if icon_path is defined.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-27 12:50:28 +00:00
mdtrooper e110ec395e 2010-01-25 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: add the group column for SLA purposes.
	* operation/agentes/gis_view.php: page for GIS data in agents view.
	* operation/agentes/ver_agente.php: add the tab for GIS data.
	* operation/menu.php, godmode/menu.php: change the lines for show the
	entries in menu, now show the entries gis when it's set on.
	* godmode/setup/setup.php: add the field to set on or off the GIS features
	in the Pandora Console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-25 15:29:33 +00:00
mdtrooper e36b036cdb 2009-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: clean source code, fix when try show boolean without
	data, and some changes in "grafico_modulo_sparse".
	
	* operation/agentes/stat_win.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-22 14:40:41 +00:00
mdtrooper 433de8c977 2009-12-21 Miguel de Dios <miguel.dedios@artica.es>
* install.php: clean source code.
	
	* operation/agentes/datos_agente.php: fix bug, there was a wrong copy&paste,
	now there is correct parameters.
	Fixes: 2916332



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-21 15:23:32 +00:00
ramonn b7e1aa3a99 2009-12-18 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Fixed SLA calculation. Was not working.

        * include/functions_fsgraph.php: Fixed bug #2913813.

        * include/functions_config.php, include/config_process.php,
          include/fgraph.php, include/functions_db.php,
          operation/events/export_csv.php, operation/agentes/export_csv.php,
          operation/agentes/datos_agente.php, godmode/menu.ph: Added history
          database support.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 09:52:25 +00:00
raulmateos 568b637fe3 2009-12-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/db/db_info.php: Added icon to download database info.

	* include/style/tip.css: Removed unused style. Still help style is in
	the file. Not removed, maybe used some day...

	* operation/agentes/estado_grupo.php: Added colours to the numbers.
	Added the text "modules".

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-09 11:35:52 +00:00
mdtrooper 2abceb1c30 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.php: fix style for to clean form in
	networkmap when active "No Overlap".
	Fixes: 2821967



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 10:34:16 +00:00
mdtrooper 55c6800e4d 2009-12-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, operation/agentes/tactical.php: fix notice
	undefined var message.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 08:10:13 +00:00
pabloconcepcion 442705ed0e 2009-12-07 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* include/functions_api.php, include/functions.php,
    extensions/plugin_registration.php, operation/events/events.php,
    operation/agentes/exportdata.php, operation/agentes/stat_win.php,
    godmode/setup/setup.php, godmode/agentes/configurar_agente.php,
    godmode/agentes/agent_manager.php, godmode/reporting/reporting_builder.php,
    godmode/reporting/map_builder.php, godmode/reporting/graphs.php,
    godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: English
    text strings updated to be more clear.

    * include/languages/index.pot: Regenerated with updated strings




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 18:48:59 +00:00
mdtrooper b98fba10a6 2009-12-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: in the function "create_agent_module" add
	new parameter $disableACL (by default false) for use in API.
	
	* include/functions_api.php: add new functions for add new features to
	api, functions: "set_new_agent" create agent, "set_delete_agent"
	delete agent, "set_create_network_module" create network module,
	"get_module_data" get module data as CSV format in a period time,
	"get_graph_module_data" get a image file of module data in a period time.
	
	* include/functions_db.php: in function "delete_agent" add new parameter
	$disableACL (by default false) for use in API for example.
	
	* operation/agentes/datos_agente.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 18:00:00 +00:00
mdtrooper bb7593d468 2009-12-07 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/datos_agente.php: add a select box for select chunck to
	time to show data of agent module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 08:09:25 +00:00
slerena 9a8edfb172 2009-12-05 Sancho Lerena <slerena@gmail.com>
* operation/agentes/estado_monitores.php: Names and description
        was cutted and not shown as popup description. Fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-05 15:26:37 +00:00
mdtrooper 3ea3cd9163 2009-12-04 Sancho Lerena <slerena@artica.es>
* operation/agentes/datos_agente.php: fix the bug when you have a large,
	very large list of data of module. And add the pagination.
	Fixes: 2908241



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-04 14:56:34 +00:00
mdtrooper bea54f2b89 2009-12-3 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_ultimopaquete.php: fix the column of data with
	a empty module string.
	Fixes: 2881181



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-03 17:57:18 +00:00
slerena 9b1ad4eead 2009-12-1 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Fixed some innacurate queries, skipping 
	non-init modules, async modules and keepalive modules. 

	* include/functions_servers.php: Improved LAG calculation algorithm, now
	is VERY precise. Added performance meter for local & remote checks.

	* include/config_process.php: error_reporting() has better default values
	now (skipping notices and non-important messages) for pandora_console.log

	* include/functions_agents.php: Fixing a problem in an alert SQL on function 
	get_agent_alerts_simple().

	* include/functions_db.php: get_server_info() moved to functions_servers.php

	* operation/events/events.php: Fixed a bug with pagination and other bug with
	user validated events search.

	* operation/agentes/status_monitor.php: Better management of async modules,
	non init and unknown modules. Now works as expected.

	* operation/agentes/estado_monitores.php: Removed blank space between icons to
	let table row more compact.

	* operation/agentes/tactical.php: Added performance information. Removed some
	information (not used) from snmp and recon servers.

	* general/header.php: Latest changes here don't work as expected. Rewritten
	and now works fine (enterprise/open logo in header).

	* godmode/admin_access_logs.php: Fixed pagination bug in tracker. Added table
	layout with two alternate colors (rowOdd method).

	* operation/servers/view_server.php,
	* godmode/servers/modificar_server.php: Added include to functions_servers.php
	to use the new server functions, moved from functions_db.php.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-01 23:10:00 +00:00
slerena 9464abc17a 2009-11-31 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: SLA readjust to be used in SLA view.

	* include/config_process.php,
	* include/functions_config.php: Added support for custom_logo option.

	* include/help/en/help_agent_access.php,
	include/help/en/help_custom_logo.php: New help topics.

	* include/functions_agents.php: Replaced audit_db with pandora_audit().

	* include/functions_db.php: pandora_audit() will replace audit_db().

	* operation/agentes/sla_view.php: now show render ok modules with min_critical
	defined and uses to calculate automatically a SLA based on it's critical
	definition.

	* operation/messages/message.php: Message view was not working!. Fixed
	
	* Some new images added:
		images/people_2.png
		images/MiniLogoArtica.jpg
		images/pandora_header_logo_enterprise.png
		images/custom_logo
		images/custom_logo/sourceforge.png
		images/custom_logo/artica_logo.png
		images/custom_logo/pandora_logo_head.png
		images/pandora_header_logo.png
		images/people_1.png: 

	* general/header.php: Changes to add new custom logo feature and replace
	logos with a image instead text.

	* godmode/setup/setup_visuals.php: now is possible to choose a custom logo
	to be displayed in header.

	*operation/agentes/ver_agente.php,
	* godmode/agentes/configurar_agente.php: Tabs do not have text at sides. This
	avoid problems in other languages different than english with long text strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-30 17:38:45 +00:00
mdtrooper 2b76523df5 2009-11-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: added new parameter for order the result of
	query, $orderby.
	* operation/agentes/alerts_status.php, godmode/alerts/alert_list.php: use
	new parameter to order by module name.
	Fixes: 2902603



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-30 17:28:08 +00:00
mdtrooper 96cc5b2ec9 2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: fix the what interval to check in
	the monitor.
	Fixes: 2902446



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-25 13:18:03 +00:00
mdtrooper c311027031 2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
* index.php: clean source code, the blank end line in the end of document
	and show in the browser too.
	* include/functions_ui.php, operation/agentes/alerts_status.php: add new
	colummn, the action column that it show the actions of alert.
	* godmode/alerts/alert_templates.php: add the 'Time threshold' in the
	tooltip.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-25 11:00:59 +00:00
mdtrooper 3c9c5316be 2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_io.php, include/functions.php: change and add functions
	for manage the input output with correct encoding and decoding.

	*include/functions_html.php, include/functions_ui.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php: change the function "salida_limpia"
	for "safe_output" and other changes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-25 09:12:42 +00:00
mdtrooper 962269e152 2009-11-18 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/exportdata.php: change "search_agents" in the ajax, now
	you can add paramater "add" as array json with the names of agents or other
	things that you want show in the box of result.
	* operation/events/events.php: change the select box for a ajax autocomplete
	box for agent form filter.

	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-18 18:10:41 +00:00
raulmateos ef4a1ec0f1 2009-11-06 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/tactical.php, general/logon_ok.php: Use the same
	order for summary, use the same colors (some from tango palette) in both
	files.

	* images/status_sets/default/server_ok.png: Use the same colour as the
	other OK status images (from tango palette).

	* DEBIAN/make_deb_package.sh: Improved english texts.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-06 20:05:51 +00:00
mdtrooper b117cae535 2009-11-06 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php: fix and optimize the query to traps
	in DB, because the old style didn't run with paginator and it was slow with
	much traps registers.
	* operation/agentes/status_monitor.php,
	godmode/alerts/configure_alert_compound.php: little fix arround the code
	style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-06 15:44:02 +00:00
raulmateos 8effb6d47f 2009-11-04 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/alerts_status.php: different colour for table header.

	* operation/agentes/tactical.php: Use red colour from tango palette.

	* godmode/alerts/alert_lists.php, godmode/alerts/alert_compounds.php,
	godmode/alerts/configure_alerts.php: Added text if no alerts defined.

	*  Changelog: Added missed change.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-04 17:11:12 +00:00
mdtrooper 3f773b33a4 2009-10-26 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/operation/agentes/exportdata.php: fix the export data
	the order of dates were wrong.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2050 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-26 11:37:35 +00:00
mdtrooper 89cbfc5e76 2009-10-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: add param "style" in the function
	"print_agent_name" for set the css style in the agent name return html
	string.
	Add in the "format_alert_row" the features: show icon policy from
	enterprise and css grey disabled alert.
	*include/functions_agents.php: add in the function "get_agent_alerts_simple"
	and the function "get_agent_alerts_compound" the search "filter" param
	posibility "all_enabled".
	* operation/agentes/alerts_status, godmode/alerts/alert_list.php: add the
	show rows of disabled alert, and add the select the "all (enabled)" (by
	default show only alerts enabled). And add the icon of policy in the
	enterprise version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-21 20:25:26 +00:00
mdtrooper 41f0df04e3 2009-10-14 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: fix, show only monitor in unknow
	status when you click in the "Unknown monitors" in tactical agent view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-14 19:42:32 +00:00
slerena a7abb34a7c 2009-10-13 Sancho Lerena <slerena@artica.es>
Upps, Tuesday #13, bad day for a last commit before launch RC1 ! :-S
	
	* general/logon_ok.php: Fixed ugly format of table showing last activity 
	(has a too wide table width).
	
	* godmode/admin_access_logs.php: Removed that crappy div fashion code and
	replaced by old and reliable table-based-code :-) to fix the mess with the
	pagination.
	
	* godmode/agentes/configurar_agente.php: fixed problem with postprocess 
	values very bug (like 0.0000000123), parameter is now passed as string 
	because PHP is passing the value as scientific notation and mYsql don't 
	understand that.
	
	* operation/agentes/exportdata.php, 
	* operation/search_results.php, 
	* godmode/reporting/map_builder.php, 
	* godmode/agentes/agent_manager.php,
	* godmode/reporting/graph_builder.php,
	* godmode/agentes/modificar_agente.php: Added non-case search SQL code for make 
	agent searches non case sensitive (nombre COLLATE utf8_general_ci LIKE...)
	
	* module_manager_editor_common.php: More size for postprocess field.
	
	* pandora_console/godmode/alerts/configure_alert_action.php: More width for
	field2 in action form.
	
	* godmode/alerts/configure_alert_command.php: Command field has more width
	and added a help icon for macro subtitutions.
	
	* include/functions_db.php: get_agent_name() now defaults to non uppercase
	the agent names, because 3.0 has case sensitive agent names, and all
	data must show the real Case.
	
	* include/styles/pandora.css: removed uppercase transition for menu items
	and agent tabs.
	
	* operation/agentes/estado_agente.php: Agent is not shown in uppercase 
	anymore.
	
	* operation/agentes/estado_generalagente.php: Agent name and parent name 
	is not in uppercase. OS version shows only last 15 characters or full string
	if strlen() < 15.
	
	* operation/agentes/status_monitor.php: Agent name is not in uppercase
	 anymore.
	 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-13 18:59:48 +00:00
mdtrooper 22782de3ea 2009-10-06 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php: change the intervals, and use the
	new function "getNextAgentContact" for interval in agent view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 19:54:50 +00:00
mdtrooper 3d519147d9 2009-10-06 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/stat_win.php: fix the jquery lost in the last query, fix
	the auto-refresh graph, fix z-index level for calendar and fix the set begin
	data for graph.
	Fixes: 2857280



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 19:33:25 +00:00
mdtrooper 7b414d8ba6 2009-10-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: change the textbox interval for
	"print_extended_select_for_time" widget.
	* include/styles/pandora_minimal.css, operation/agentes/stat_win.php: change
	the period widget for "print_extended_select_for_time" too, and change
	the css for enlarge the float menu for new item.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-06 19:27:57 +00:00
slerena 0b9f395ec3 2009-10-05 Sancho Lerena <slerena@artica.es>
* include/fgraph.php: Solved ticks in X label for boolean graphs.

        * operation/agentes/datos_agente.php: Show absolute timestamp and
        data with format_numeric() filter.

        * operation/agentes/estado_monitores.php: Solved typo.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-05 13:14:37 +00:00
raulmateos c2e2902b0b 2009-09-26 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Update build after last changes.

	* operation/agentes/alerts_status.php, operation/agentes/sla_view.php: 
	Unify titles improving integrity of appearance.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-26 17:05:46 +00:00
slerena da98686372 2009-09-24 Sancho Lerena <slerena@artica.es>
* pandora_console/operation/agentes/datos_agente.php: Data in dataview 
        must be complete data, not "rounded" data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-24 16:40:14 +00:00
mdtrooper 85c205c9dc 2009-09-16 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php, godmode/alerts/alert_list.php: fix
	bug when there aren't not defined or attach action in template alert. Before
	it was showing the loading ajax gif, now it show the select box with none.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 15:38:44 +00:00
mdtrooper 195bcc7930 2009-09-14 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/exportdata.php, godmode/agentes/agent_manager.php,
	godmode/reporting/map_builder.php, godmode/reporting/graph_builder.php,
	godmode/alerts/alert_list.php: fix the bug that the div of autocomplete
	don't show.
	Fixes: 2856945



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-14 14:38:13 +00:00
slerena d52a1c4791 2009-09-14 Sancho Lerena <slerena@artica.es>
* general/error_dbconfig.php, 
	  general/error_authconfig.php
	  general/error_emptyconfig.php: Error messages have it's own page.

	* config_process.php, functions_config.php: Removed "inline" error pages, 
	and moved out. Auto_update is not set to ON if not present, just once, and
	this is managed by extension itself.

	* functions.php: Added function "return_graphtype" to calculate graphtype
	depending on id_module_type.

	* styles/install.css: Some style fixes.

	* operation/agentes/estado_monitores.php: Some code cleanup using the new 
	function to get graphtype.

	* operation/agentes/estado_ultimopaquete.php: Some code cleanup with the
	new function to get graphtype and fixed a bug in data timestamp calculation.

	* operation/agentes/status_monitor.php: monitor list now show quick links 
	to graph and show latest data, like the main agent view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1935 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-14 01:02:44 +00:00
slerena f82373ac6a 2009-09-09 Sancho Lerena <slerena@artica.es>
* operation/agentes/estado_monitores.php: Main view now also show last
	data and a quick links to today graphs and data view. This feature has
	been added because was requested by some users, and we think it's really
	useful.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-10 19:18:53 +00:00
mdtrooper 99b4c77ddb 2009-09-09 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php: add ajax request for actions.
	* godmode/alerts/alert_list.php: change the checkboxs for a ajax
	select for actions. And fix messages when you try make two times the same
	alert.
	Fixes: 2843852



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1929 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-10 17:55:44 +00:00
mdtrooper 3bd6f4fc0d 2009-09-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: add new function "get_all_groups", this function
	return all groups.
	* operation/agentes/ver_agente.php: add another code block for to respond
	new ajax request (new select in form massive_edit_modules.php).
	* godmode/agentes/massive_edit_modules.php: Fix in part bug #2848951 in
	tracker sourceforge, rest things for to do is add more fields.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-09 10:39:24 +00:00
raulmateos d3264e94c0 2009-08-29 Raul Mateos <raulofpandora@gmail.com>.
* operation/agentes/networkmap.php: Added style when agents not found.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-29 16:06:30 +00:00
slerena 795367957b 2009-08-24 Sancho Lerena <slerena@artica.es>
* operation/agentes/alerts_status.php: Show description instead name,
        and help icon better placed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1879 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-24 21:53:27 +00:00
mdtrooper 8f746d443d 2009-08-14 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php, godmode/agentes/massive_config.php,
	godmode/alerts/alert_list.php, godmode/reporting/graph_builder.php,
	godmode/reporting/map_builder.php, include/functions_db.php,
	include/functions_html.php, operation/agentes/exportdata.php,
	operation/agentes/ver_agente.php: very changes for add input text
	autocomplete with ajax jquery for agent input in several forms. Add to form
	this exportdata, graph_builder, map_builder.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-14 16:38:57 +00:00
mdtrooper dc9ab024a0 2009-08-07 Miguel de Dios <miguel.dedios@artica.es>
* operation/visual_console/index.php,
	pandora_console/operation/users/user.php, operation/incidents/incident.php,
	operation/agentes/status_monitor.php, operation/agentes/estado_agente.php,
	operation/agentes/alerts_status.php, include/styles/pandora.css,
	include/styles/pandora_black.css,include/styles/pandora_blackmetal.css,
	include/styles/pandora_width.css, include/styles/pandora_minimal.css,
	include/styles/pandora_red.css: the table list now has rows with alternate
	colours for easy see the data.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-10 09:55:53 +00:00
slerena 99812a16f0 2009-08-05 Sancho Lerena <slerena@artica.es>
* include/styles/pandora.css: Adjusted head and removed small heigh 
	problems in some tabs (agent and search sections).
		
	* include/javascript/pandora.js: winopeng call for module graph is now 
	widther.
	
	* index.php: Now defined a default search for agents().
	
	* general/header.php: Redesign of header.
	
	* general/pandora_help.php: Some visual changes in background and footer.
	
	* godmode/modificar_agente.php: Create button replaced.
	
	* fgraph.php: Fixed the string graphs and fixed a lot other issues.
	
	* include/functions_visual_map.php: Module images are shown in pure mode 
	(without title) and adding the title defined by user in map definition.
	
	* include/pandora_graph.php: Added default colors (up to 9) for combined
	graphs.

	* include/pchart_graph.php: Created a new method to render datetime
	data in X axis legend. Reformatted combined and static graph to remove
	transparent background, title and other issues reported. Also combined
	stack graph now works adding data from one series to another. 
	
	* include/help/en/help_agent_status.php: new help file for agent status.
	
	* include/pChart/pChart.class: Added new method for format datetime in two 
	lines with full date and time information.
	
	* operation/search_results.php: reformatted tabs.
	
	* operation/agentes/estado_agente.php: removed status information legend 
	and added a help icon.
	
	* godmode/reporting/graph_builder.php,
	  operation/reporting/graph_viewer.php: Added new graph mode: stacked line.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-06 18:55:54 +00:00
mdtrooper edfa0eae36 2009-07-22 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/tactical.php: fix bug, and now show another column
	with the type of server.
	Fixes: 2825426



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1817 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-22 16:21:21 +00:00
mdtrooper d642604f59 2009-07-20 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/tactical.php, operation/agentes/status_monitor.php: add
	link to list monitors "not init".
	Fixes: 2815098



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1813 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-20 13:18:18 +00:00
mdtrooper e26d3bea51 2009-07-17 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: fix bug default group in form.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-17 11:46:10 +00:00
ramonn c4f8c10dc9 2009-07-16 Ramon Novoa <rnovoa@artica.es>
* include/functions_networkmap.php: Added to repository. Functions used
          to draw network maps.

        * operation/agentes/networkmap.php: Moved network map generation
          functions to functions_networkmap.php.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-16 16:15:10 +00:00
ramonn 4f00fbd4fd 2009-07-08 Ramon Novoa <rnovoa@artica.es>
* include/functions_fsgraph.php: Use the user defined date format in
          module and combined charts.

        * operation/agentes/estado_ultimopaquete.php: Fixed the chart URL.

        * operation/agentes/stat_win.php: Show the agent name in the window
          title.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-08 13:12:44 +00:00
aloriel 79ae1e8b40 2009-06-30 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
        * translation.

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

        * operation/agentes/estado_generalagente.php: Changed a string to   
        * reuse previous translation. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-01 06:53:10 +00:00
ramonn 4f2867c0a0 2009-06-30 Ramon Novoa <rnovoa@artica.es>
* nclude/FusionCharts,
	  include/FusionCharts/FCF_Column3D.swf,
	  include/FusionCharts/FCF_Pie3D.swf,
	  include/FusionCharts/FusionCharts.js,
	  include/FusionCharts/FCF_MSLine.swf,
	  include/FusionCharts/FusionCharts_Gen.php,
	  include/FusionCharts/FCF_StackedArea2D.swf,
	  include/FusionCharts/FCF_Area2D.swf,
	  include/FusionCharts/FCF_MSArea2D.swf,
	  include/FusionCharts/FusionCharts.php: Added to repository. Fusion
	  Charts Free.

	* include/functions_fsgraph.php: Added to repository. Fusion Charts
	  chart generation functions for Pandora FMS.
	
	* include/pchart_graph.php, include/pandora_graph.php,
	  include/fgraph2.php, include/pChart, include/Image,
	  include/fgraph.php: Moved from reporting to include.

	* operation/agentes/stat_win.php: Moved from reporting to
	  operation/agentes.

	* reporting: Deleted from repository.

	* general/logon_ok.php, godmode/setup/setup.php,
	  godmode/admin_access_logs.php, godmode/db/db_main.php,
	  godmode/db/db_info.php, godmode/db/db_purge.php,
	  godmode/reporting/graph_builder.php,
	  operation/reporting/reporting_xml.php,
	  operation/reporting/reporting_viewer.php,
	  operation/servers/view_server.php,
	  operation/servers/view_server_detail.php,
	  operation/incidents/incident_statistics.php
	  operation/users/user_statistics.php,
	  operation/events/event_statistics.php, operation/events/events.php,
	  operation/agentes/estado_ultimopaquete.php,
	  operation/agentes/estado_generalagente.php,
	  operation/agentes/tactical.php, include/functions_config.php,
	  include/functions_custom_graphs.php,
	  include/functions_visual_map.php,
	  include/functions_reporting.php: Added flash charts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-30 15:08:14 +00:00
aloriel 2d00b7f669 2009-06-25 Jorge Gonzalez <jorgegonz@artica.es>
* include/functions_db.php, operation/snmpconsole/snmp_view.php,
	* operation/agentes/status_monitor.php,
	* operation/agentes/estado_grupo.php,
	* operation/agentes/estado_ultimopaquete.php,
	* operation/agentes/alerts_status.php,
	* operation/agentes/estado_generalagente.php,
	* operation/agentes/estado_agente.php,
	* operation/agentes/exportdata.php,
	* operation/agentes/estado_monitores.php,
	* operation/agentes/tactical.php, operation/agentes/networkmap.php,
	* operation/reporting/reporting_viewer.php, reporting/fgraph.php,
	* general/pandora_help.php, general/logoff.php,
	* general/logon_failed.php, godmode/setup/setup.php,
	* godmode/setup/links.php, godmode/snmpconsole/snmp_alert.php,
	* godmode/profiles/profile_list.php, godmode/db/db_main.php,
	* godmode/db/db_audit.php, godmode/db/db_refine.php,
	* godmode/db/db_info.php, godmode/db/db_event.php,
	* godmode/db/db_purge.php,
	* godmode/agentes/massive_delete_agents.php,
	* godmode/agentes/massive_config.php,
	* godmode/agentes/massive_delete_alerts.php,
	* godmode/agentes/massive_edit_modules.php,
	* godmode/agentes/module_manager.php,
	* godmode/agentes/massive_delete_modules.php,
	* godmode/agentes/configurar_agente.php,
	* godmode/agentes/planned_downtime.php,
	* godmode/modules/manage_network_templates_form.php,
	* godmode/modules/manage_network_components.php,
	* godmode/reporting/map_builder.php,
	* godmode/reporting/map_builder_wizard.php,
	* godmode/servers/manage_export.php,
	* godmode/servers/manage_export_form.php,
	* godmode/servers/plugin.php, godmode/servers/modificar_server.php,
	* godmode/servers/manage_recontask_form.php,
	* godmode/alerts/alert_compounds.php, godmode/menu.php: Some
	* translatable strings reused to simplify i18n work.

	* 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@1768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-25 08:01:18 +00:00
slerena cd1e42b8c3 2009-06-24 Sancho Lerena <slerena@artica.es>
* operation/agentes/estado_generalagente.php,
        godmode/setup/setup.php: Added support for new option for have enabled or
        disabled the agent access data/graphs.

        * include/functions_db.php: Modified the agent_delete function to don't delete
        all data, just delete agent and mark modules for deletion. This increase a lot
        the massive agent deletion. This fixes bug #2809015.

        * include/config_process.php: Updated version/build.

        * include/functions_config.php: Added autoupdate to config check for
        non-existant values. Added new agentaccess config token.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1767 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 17:03:08 +00:00
mdtrooper 65dba0156c 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
aloriel 82e8b1f3ed 2009-06-24 Jorge Gonzalez <jorgegonz@artica.es>
* include/functions_reporting.php, include/functions_ui.php,
        * operation/incidents/incident.php,
        * operation/snmpconsole/snmp_view.php, operation/events/events.php,
        * operation/agentes/tactical.php, godmode/users/user_list.php,
        * godmode/users/configure_user.php,
        * godmode/profiles/profile_list.php,
        * godmode/agentes/module_manager_editor_wmi.php,
        * godmode/agentes/massive_edit_modules.php,
        * godmode/agentes/manage_config_remote.php,
        * godmode/modules/manage_network_components_form_network.php,
        * godmode/modules/manage_network_components_form_wmi.php,
        * godmode/servers/manage_export.php,
        * godmode/servers/manage_recontask.php,
        * godmode/servers/modificar_server.php: Some translatable strings
        * reused to simplify i18n work.

        * 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@1763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 13:36:29 +00:00
esanchezm c560862f49 2009-06-10 Esteban Sanchez <estebans@artica.es>
* operation/agentes/networkmap.php: Avoids a warning when no nodes
        were found on generate_dot(). Shows a message when no nodes were
        found. Fixes #2786516.

        * operation/menu.php: Changed label of network maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-10 13:37:40 +00:00
esanchezm a6851ba01a 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
slerena ac509327ab 2009-06-08 Sancho Lerena <slerena@artica.es>
* Massive header update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 18:15:58 +00:00
esanchezm effb75e19d 2009-06-08 Esteban Sanchez <estebans@artica.es>
* godmode/setup/file_manager.php: Many fixes to the interface. Removed
        the dropdown menu when uploading a file, it now uploads it to the
        current dir, which is more natural. Do not show "No files found"
        anymore, because user may want to create subdirs. Fixes image for
        previous dir and show it again.

        * include/javascript/jquery.ui.datepicker.js: Changed default date
        format.

        * include/functions_filemanager.php: Changed
        get_file_manager_available_directories() to add subdirs too.
        Changed is_file_manager_writable_dir() to check if parent dir is
        writable.

        * operation/agentes/estado_agente.php: Use array filters instead
        of SQL code chunks.

        * operation/reporting/reporting_viewer.php: Fixed link to timeentry
        jQuery file.

        * images/status_sets/color_text/*, images/status_sets/default/*,
        images/pixel_yellow.png, images/pixel_gray.png,
        images/pixel_fucsia.png, images/pixel_red.png,
        images/pixel_black.png: Use Tango palette. Softer and cleaners
        colors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 11:02:45 +00:00
esanchezm 3b221e88f7 2009-05-28 Esteban Sanchez <estebans@artica.es>
* install.php: Use server address if the db host is not localhost.
	Fixes #2796790.

	* include/functions_agents.php: Fixed an array cast on
	get_agent_alerts_compound().

	* include/functions_events.php: Critical and warning colors where
	swapped on print_events_table().

	* include/functions_reporting.php: Fixed alerts count on
	get_group_stats() and count combined alerts too. Fixes #2791577

	* operation/agentes/tactical.php: Style corrections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-28 11:32:12 +00:00
guruevi 50079425c2 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
esanchezm c97174e590 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
esanchezm 436f078e5a 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
esanchezm 7add7432d5 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
esanchezm fd014bc0ee 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 5c2cc0b979 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
esanchezm 30f72921fc 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
esanchezm c7cf81f5d0 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 fa1440731f 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
marostegui e654b051a5 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
marostegui 1a6956bb4c 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 7128b47f7e 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
esanchezm 36d199cc11 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
slerena 27d479349d 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
ramonn 434887b35d 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
esanchezm 64e65ba71d 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 7600705d94 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 b2457ef301 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
slerena cf98960e6c 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 8ea077cd91 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
esanchezm fd09f90c84 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
esanchezm 7354f983bd 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
esanchezm 91315bf164 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
esanchezm 7c8b2a6782 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
slerena 0e884091d8 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 02161a60d8 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
esanchezm 409083efb7 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
esanchezm ba1ebc842a 2009-03-24 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/configure_alert_compound.php: Fixed clean up div for
	variable width styles. Min and max fire values commented because it's
	not implemented yet.

	* include/config_process.php: Keep database connection resource in
	config.

	* include/functions.php: Use mysql_real_escape_string(), replacing
	deprecated function.

	* include/functions_alerts.php: Updated to use process_sql_*
	functions. Many fixes done such as updating a template name or
	escaping the value when duplicating a template.

	* include/functions_ui.php: Fixed an error on refresh header when
	using other web servers like Cherokee.

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

	* reporting/fgraph.php: Fixed a typo on grafico_db_agentes_paquetes().

	* pandora_db.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added
	foreign key on treport_content and id field on
	talert_compound_actions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-24 10:22:37 +00:00
esanchezm ff44352cfd 2009-03-23 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/massive_edit_modules.php: The module selection is
	now done using cascade selects instead of having a confusing tree on
	the select.

	* godmode/alerts/alert_list.php: Fixed a bug when getting the latest
	module value.

	* godmode/alerts/alert_templates.php: Fixed an error that didn't allow
	deletion on some cases. Added an option to duplicate a template
	easily.

	* godmode/alerts/configure_alert_template.php: Added template
	duplication support. Fixed a mismatch on field1, field2 and field3
	which required to have a default action to be updated. This values are
	not loaded anymore from default action.

	* godmode/db/db_purge.php: Many styles correction. Use pandora
	functions for the bottom table.

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

	* include/functions_db.php: Added a parameter to get_agent_modules()
	to enable or disable the return of indexed values.

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

	* operation/agentes/ver_agente.php: Added support for indexed flag on
	get_agent_modules_json AJAX operation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-23 15:22:19 +00:00
esanchezm 86927bf5c7 2009-03-18 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/alert_list.php: Put tooltip before the template name
	so it's always in the same place.

	* include/javascript/jquery.pandora.controls.js: Fixed a bug on
	pandoraSelectAgentModule which was getting wrong fields.

	* include/functions_html.php: Do not add id counter on checkboxes if
	it's 0.

	* operation/agentes/estado_agente.php: Create agent button was going
	to a wrong place.

	* reporting/fgraph.php: Fixed graphic_agentaccess() which was not
	showing anything.

	* pandoradb_data.sql: Removed Compound only from talert_commands.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-18 09:37:31 +00:00
esanchezm 9ce6d69b4a 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
esanchezm e79dd9af23 2009-03-12 Esteban Sanchez <estebans@artica.es>
* include/auth/mysql.php: Added a cache to is_user_admin().

	* include/config_process.php: Changed build version. Load l10n tables
	before extensions.
	
	* include/functions_config.php: Fixed an error on update_config() that
	fails to update when the value has changed. Fixed style updating
	also.

	* include/functions_db.php: Added GROUP BY token to
	format_array_to_where_clause_sql().

	* include/functions_ui.php: Added a flag to debug() to allow disabling
	the backtrace output.

	* operation/agentes/tactical.php: Fixed tab. Makes percentage images a
	bit taller.

	* ChangeLog.2008: Added to repository. Stripped ChangeLog history.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-03-12 09:20:49 +00:00