Commit Graph

842 Commits

Author SHA1 Message Date
slerena 1cd6a2aa16 2008-11-10 Sancho Lerena <slerena@artica.es>
* include/funcions_db.php: Reference to inexistant table
        tagent_data_image has been deleted and fixed notice.

        * install.php: Fixed default var for homeurl.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-10 16:39:48 +00:00
Esteban Sanchez c7eb9399ca 2008-11-08 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Fixed a notice using
        get_db_value() which was replaced by get_db_sql().

        * include/functions_reporting.php: Fixed an error on
        get_fired_alerts_reporting_table() since id_alert field in
        talerta_agente_modulo is not reliable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1227 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-08 12:16:03 +00:00
Esteban Sanchez 351dfc8ee1 2008-11-08 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Fixed value of 1 week
        period.

        * include/functions.php: Moved all human_time_* functionallity to
        human_time_description_raw().

        * include/functions_reporting.php: Fixed a bug in SLA calculation that
        affects small periods of time (less than 24 hours) due to data
        compression in the database.

        * operation/reporting/reporting_viewer.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-08 10:57:40 +00:00
Esteban Sanchez b12c02225e 2008-11-07 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Style corrections ins give_acl(). Show
	nothing on sql_error_handler based on error_reporting() level.

	* ChangeLog: Fixed my previous commit date.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-07 12:45:18 +00:00
guruevi 57aaa04cb0 2008-11-06 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_View.php: Added a span with title over the
        time comp since some people want to know what time something went down.
        This should maybe be moved into a print_ function

        * operation/agentes/estado_generalagente.php: ACL check and style
        changes. Use of new functions

        * include/functions_db.php: dame_numero_datos - added inc and string
        can also filter on agent now. Renamed give_agent_address_from_list to
        get_agent_addresses. get_agent_addresses now returns an array with ips
        Changed give_agent_address to get_agent_address

        * godmode/agentes/manage_config.php,
        godmode/agentes/configurar_agente.php: Renamed functions


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-06 20:16:15 +00:00
Esteban Sanchez 1ae91e7281 2009-11-05 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added sql_error_handler() to show SQL
	errors. Improved SQL error messages in process_sql() so it shows now
	the failing sentence, the file and the line of the call.

	* index.php: Moved load_extensions() call after enterprise
	instalation so enterprise extensions are installed properly.

	* godmode/profiles/profile_list.php: HTML tags nesting fixed.

	* ChangeLog: Fixed previous commit message style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-05 13:12:45 +00:00
Ramon Novoa 73dcde4b71 2008-11-05 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Deleted 'id_inventory_server' column from 'tagente'
          (only needed in enterprise version).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-05 12:25:20 +00:00
jorgonzalez 334a8b1f7d 2009-11-05 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/pt_BR.mo, include/languages/fr.po,
          include/languages/uk.mo, include/languages/ro.mo,   
          include/languages/ca.po, include/languages/sv.po,   
          include/languages/de.po, include/languages/zh_TW.po,
          include/languages/hi.po, include/languages/zh_CN.po,
          include/languages/fr.mo, include/languages/te.po,   
          include/languages/eu.po,  include/languages/hu.po,
          include/languages/ca.mo, include/languages/de.mo,   
          include/languages/sv.mo, include/languages/ru.po,   
          include/languages/zh_TW.mo, include/languages/hi.mo,
          include/languages/zh_CN.mo, include/languages/gl.po,
          include/languages/te.mo, include/languages/eu.mo,   
          include/languages/hu.mo,  include/languages/pl.po,
          include/languages/it.po, include/languages/sl.po, 
          include/languages/ru.mo, include/languages/pt.po, 
          include/languages/ast.po, include/languages/gl.mo: Updated
          translations from rosetta: thanks to all contributors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-05 09:04:02 +00:00
jorgonzalez 76187ab8ec 2008-11-04 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish
          translation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-04 09:38:28 +00:00
Ramon Novoa 67280a676b 2008-10-31 Ramon Novoa <rnovoa@artica.es>
* operation/snmpconsole/snmp_alert.php: Moved to
          godmode/snmpconsole/snmp_alert.php.

        * godmode/snmpconsole: Added to repository. SNMP console godmode
          subdirectory.

        * godmode/menu.php,
          operation/menu.php: Updated menus to reflect the change.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1211 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-31 17:40:43 +00:00
Ramon Novoa 9525ca587d 2008-10-31 Ramon Novoa <rnovoa@artica.es>
* include/styles/god.css,
          operation/menu.php,
          godmode/menu.php: Added support for enterprise SNMP console.

        * operation/snmpconsole/snmp_view.php: Added filtering, fullscreen
          support, interface changes and enterprise SNMP console support.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-31 17:08:52 +00:00
jorgonzalez fe1af5bfd1 2008-10-31 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added support for finnish.                       



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-31 11:36:11 +00:00
jorgonzalez cdf8109bf7 2008-10-31 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot, include/languages/Makefile: Updated  
          translation infrastructure.

        * include/languages/fi.po, include/languages/fi.mo: Added finnish   
          translation from Rosetta.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-31 10:46:55 +00:00
guruevi f795e611ac git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2008-10-29 20:03:42 +00:00
Esteban Sanchez b69d40aba9 2008-10-28 Esteban Sanchez <estebans@artica.es>
* godmode/modules/manage_network_components.php: Replaced parameters
        manual check using entrada_limpia with get_parameter(). It was causing
        PHP notices and was not working fine.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-28 14:22:44 +00:00
guruevi 414a28588e 2008-10-27 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/users/user_list.php: Rewrite to use print_table. Fixed 
        security hole where the acl check didn't call exit

        * godmode/users/configure_user.php: Fixed security hole with acl check

        * godmode/setup/setup.php, godmode/setup/news.php, 
        godmode/setup/links.php: Removed call to comprueba_login, made acl 
        checks exit and require_once config.php

        * godmode/reporting/reporting_builder.php,
        godmode/reporting/map_builder.php, godmode/reporting/graph_builder.php:
        Removed call to comprueba_login, made acl checks exit.

        * godmode/alerts/modify_alert.php, godmode/alerts/configure_alert.php: 
        Fixed acl check and removed call to comprueba_login.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-27 15:17:20 +00:00
Esteban Sanchez 695c23b493 2008-10-24 Esteban Sanchez <estebans@artica.es>
* operation/snmpconsole/snmp_alert.php: Fixed an error that doesn't
        allow to show some fields when editing an alert. It's done using
        javascript, but a PHP version might be better. Style correction.

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

        * operation/snmpconsole/snmp_view.php: Use get_agent_with_ip() since
        using get_db_row() is not enough for agents with many addresses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-24 09:52:46 +00:00
Esteban Sanchez f66deed9d2 2008-10-23 Esteban Sanchez <estebans@artica.es>
* operation/agentes/estado_agente.php: Use print_select() to show the
        filter group list.

        * operation/users/user.php: Fixed a typo in a string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-23 06:58:38 +00:00
jorgonzalez adeb4808a9 2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish
          translation.

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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 15:34:07 +00:00
guruevi 317e42821b 2008-10-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_view.php: Feature request #2166257

        * pandoradb.sql: Feature request #2166257

	* bin/pandora_snmpconsole: Feature request #2166257

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 15:05:15 +00:00
jorgonzalez 33ed2daacb 2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

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

        * operation/messages/message.php, operation/servers/view_server.php,
          general/logon_ok.php, godmode/admin_access_logs.php,
          godmode/db/db_purge.php, godmode/agentes/manage_config.php,
          godmode/agentes/planned_downtime.php,
          godmode/agentes/manage_config_remote.php,
          godmode/reporting/graph_builder.php,
          godmode/servers/modificar_server.php: Updated translation
          infrastructure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 15:03:48 +00:00
guruevi 8f2565748b 2008-10-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_view.php: Style update and uses new 
        functions. Also uses (much) less SQL queries now. Fixed some bugs and 
        if an IP matches an existing agent, it gets checked against ACL

        * operation/snmpconole/snmp_alert.php: Added alert priority colors for 
        feature request #2166257

        * godmode/agentes/configurar_agente.php: Added a get_parameter for IP 
        addresses so creating an agent with predefined IP works. Used in SNMP
        view to add agents with unknown IP. To use, pass direccion in request

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 13:20:06 +00:00
Esteban Sanchez 9aa3a05516 2008-10-22 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Style correction.

        * godmode/agentes/agent_manager.php,
        godmode/agentes/configurar_agente.php: Removed inventory server
        configuration, which was moved to an enterprise hook. Style
        correction.

        * include/functions.php: Added slash to enterprise_include() path to
        work in some rare cases.

        * include/functions_db.php: Errors in process_sql() are shown using
        trigger_error(), so they can be disabled setting error_reporting().

        * include/functions_html.php: Added print_input_image() to show input
        image HTML elements.

        * index.php: Added enterprise includes and hooks to show the future
        dashboard. Style corrections.

        * godmode/reporting/map_builder.php: Fixed error when creating a map.
        Javascript fixes. Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 12:01:36 +00:00
Esteban Sanchez ee6f25ea52 2008-10-21 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Removed inventory tables and fields from previous
        commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 09:36:09 +00:00
Ramon Novoa e94f4f491e 2008-10-22 Ramon Novoa <rnovoa@artica.es>
* include/styles/op.css,
          include/styles/pandora.css,
          pandoradb.sql,
          operation/menu.php,
          godmode/agentes/configurar_agente.php,
          godmode/agentes/agent_manager.php,
          godmode/menu.php: Added inventory support.

        * operation/agentes/export_csv.php: Fixed, didn't work.

        * operation/agentes/ver_agente.php: Fixed tabs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 09:08:03 +00:00
jorgonzalez 545cec59ce 2008-10-21 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* operation/servers/view_server.php,
          godmode/agentes/module_manager_editor_network.php,
          godmode/agentes/module_manager_editor_wmi.php,
          godmode/agentes/module_manager_editor_plugin.php,
          godmode/agentes/module_manager_editor_prediction.php,
          godmode/agentes/module_manager_editor_data.php,
          godmode/agentes/configurar_agente.php: added translation context.

        * include/languages/cs.po, include/languages/pt_BR.po,
          include/languages/es.po, include/languages/uk.po,
          include/languages/ro.po, include/languages/fr.po,
          include/languages/ca.po, include/languages/de.po,
          include/languages/sv.po, include/languages/zh_TW.po,
          include/languages/hi.po, include/languages/zh_CN.po,
          include/languages/te.po, include/languages/eu.po,
          include/languages/hu.po, include/languages/ru.po,
          include/languages/gl.po, include/languages/pl.po,
          include/languages/it.po, include/languages/sl.po,
          include/languages/pt.po, include/languages/ast.po,
          include/languages/index.pot: Updated translations from Rosetta, thanks to all contributors.         



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-21 14:34:47 +00:00
marostegui 5ca88eff69 2008-10-21 Manuel Arostegui <marostegui@artica.es>
* operation/menu.php: Fixed warning message if no layouts were defined
        on the visual console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-21 13:39:47 +00:00
Esteban Sanchez 21491c2ea9 2008-10-21 Esteban Sanchez <estebans@artica.es>
* include/functions.php: Improved human_time_comparation() so it won't 
        return nothing like "1.7 minutes". Make enterprise_include use
        ENTERPRISE_DIR. Style correction.

        * operation/agentes/estado_agente.php: Uses generic functions. Reduce 
        one indent level by using continue on a loop. Fixes status flag to 
        check if agent is down with no monitors. Show the exact date on last 
        contact column title. Style corrections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-21 12:57:03 +00:00
Esteban Sanchez eec7ac184c 2008-10-21 Esteban Sanchez <estebans@artica.es>
* godmode/profiles/profile_list.php: Rewritten be more consistent and 
        use generic functions for HTML output. Also a bug when creating a 
        profile is fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-21 09:48:11 +00:00
guruevi 2005b69941 2008-10-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_data.sql, pandora_db.sql: id_npc was rendered unnecessary
        with the last rewrite of the profiles page and id_np should really be
        the key since that what we're selecting/sorting on.

        * operation/events/events.php: Fixed Bug #2174790 and fixed the
        brackets being in all the wrong places. Also added checks so that only
        admins can retrieve system events

        * include/functions_db.php: Added an option to get_user_groups so that
        other privileges than AR can be retrieved.

        * operation/visual_console/index.php: Added ACL check. Security issue 
        reported in bug #2174790

        * operation/menu.php: Added ACL check. Security issue reported in bug 
        #2174790


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 17:25:37 +00:00
Esteban Sanchez 2be270195e 2008-10-20 Esteban Sanchez <estebans@artica.es>
* operation/agentes/estado_agente.php: Checking if there are monitors
        down has more priority than check if there are no data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 12:40:59 +00:00
marostegui 77058003ca 2008-10-20 Manuel Arostegui <marostegui@artica.es>
* operation/agentes/estado_agente.php: Fixed agent status color 
        column. It was showing incorrect values in some cases like without
        data or monitors.

        * ChangeLog: Fixed Jorge previous commit style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 11:25:45 +00:00
jorgonzalez 7312ba2600 2008-10-20 Jorge Gonzalez <jorgegonz@artica.es>
* operation/agentes/estado_agente.php, operation/agentes/bulbs.php:
          reverted changes.                                                    



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1174 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 10:48:56 +00:00
jorgonzalez 1fe3b48d79 2008-10-20 Jorge Gonzalez <jorgegonz@artica.es>
* operation/agentes/estado_agente.php, operation/agentes/bulbs.php:    
          fixed bug, blue monitor means it has no monitors, while gray means 
          it has no data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 10:42:38 +00:00
Esteban Sanchez d62aed5fa8 2008-10-20 Esteban Sanchez <estebans@artica.es>
* operation/agentes/estado_grupo.php: Fixed a notice error when the 
        query returns nothing.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 09:07:32 +00:00
jorgonzalez e57ce2582a 2008-10-20 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/cs.po, include/languages/pt_BR.po,
          include/languages/es.po, include/languages/uk.po,
          include/languages/ro.po, include/languages/fr.po,
          include/languages/ca.po, include/languages/de.po,
          include/languages/sv.po, include/languages/zh_TW.po,
          include/languages/hi.po, include/languages/zh_CN.po,
          include/languages/te.po, include/languages/eu.po,
          include/languages/hu.po, include/languages/ru.po,
          include/languages/gl.po, include/languages/pl.po,
          include/languages/it.po, include/languages/sl.po,
          include/languages/pt.po, include/languages/ast.po: Updated
          translations from Rosetta, thanks to all contributors.

        * Makefile: modified entries to make them be in alphabetic order.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-20 07:38:26 +00:00
guruevi adf96cfbee 2008-10-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/db/db_purge.php: Bug fix where db_purge wouldn't work
        correctly if all was selected. Also added inc data to the count

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-17 12:41:52 +00:00
slerena 91edacd9bf 2008-10-17 Sancho Lerena <slerena@gmail.com>
* fgraph.php, db_info.php, db_purge.php: Now show data also
	for string modules.

	* include/config_process.php, index.php: Header update for version
	2.1-dev.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-17 11:16:53 +00:00
guruevi d212b59b88 2008-10-16 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_html.php: Added print_error_message, a function
        that will print out <h3> error messages for you given a result

        * godmode/modules/manage_network_templates_form.php: Rewrite for new
        style and makes it easier for mass updates to templates (eg. if you
        have port 1-48 of a Cisco Switch (input, output and status) now you
        don't have to click 288 times.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-16 19:47:06 +00:00
slerena 4871e2ed3a 2008-10-16 Sancho Lerena <slerena@gmail.com>
* operation/snmpconsole/snmp_alert.php: Fixed problem creating 
	alerts, missing process_sql(). Default values now shown properly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-16 18:06:31 +00:00
Ramon Novoa 08addc07f2 2008-10-16 Ramon Novoa <rnovoa@artica.es>
* godmode/modules/manage_network_components_form_wmi.php: Added
          WMI namespace option.

        * godmode/modules/manage_network_components.php: Small fix.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1159 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-16 15:20:26 +00:00
guruevi ad4ba4d251 2008-10-15 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Fix where the attachment wouldn't be 
        deleted because of a variable problem

        * operation/snmpconsole/snmp_alert.php: Rewrite. Fixes bug #2166256.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-15 18:40:34 +00:00
slerena f6957e14cc 2008-10-15 Sancho Lerena <slerena@artica.es>
* include/functions.php: Enterprise hook functions upgrade.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-15 13:21:21 +00:00
Ramon Novoa c6d2c1b61f 2008-10-15 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php: Removed SNMP
          version 3 support (was not complete).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-15 11:21:18 +00:00
guruevi 13edae99af 2008-10-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Quick fix, should've been included in the last 2 versions.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 19:45:08 +00:00
guruevi 6fd57f6a3f 2008-10-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Fixed a bug that wouldn't render specific
	stats from data overview

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 19:40:29 +00:00
slerena f493719afd 2008-10-14 Sancho Lerena <slerena@artica.es>
* include/config_process.php, index.php: Updated version.

	* include/functions_db.php: Small fix in a foreach() warning.

	* operation/agentes/estadisticas.php: Old, unused code removed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 15:19:40 +00:00
guruevi 0f4f5ad058 2008-10-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Style changes and language updates and a 
        fully functional delete_agent function

        * include/functions.php: Comment update for safe_input

        * manage_config.php: Merged Sancho's bug fixes and a rewrite. It works 
        it is more elegant and is more extensive in database cleanup


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1152 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 15:07:53 +00:00
slerena b286283fd7 2008-10-14 Sancho Lerena <slerena@artica.es>
* operation/snmpconsole/snmp_alert.php: Texst changes for 
	SNMP trap alert value label.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 13:27:07 +00:00
slerena d4a8133f1b 2008-10-14 Sancho Lerena <slerena@artica.es>
* include/pdf: Removed unused old code (ezPdf library).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 13:00:02 +00:00
Esteban Sanchez 5f47862a39 2008-10-14 Esteban Sanchez <estebans@artica.es>
* include/config_process.php: Added ENTERPRISE_DIR constant.

        * extensions/hello.php: Use extension better than plugin which is
        already used in other places.

        * godmode/reporting/map_builder.php: Use process_sql() to make SQL
        queries.

        * include/functions_db.php: Fixed some functions documentation. Added
        order_field to get_db_all_fields_in_table(). Style correction.

        * include/functions_extensions.php: Support to load enterprise
        extensions.

        * include/functions_reporting.php: Fixed general_stats() to returns
        stats also with a field name.

        * include/javascript/jquery.ui.core.js,
        include/javascript/jquery.ui.draggable.js,
        include/javascript/jquery.ui.droppable.js: Updated to latest version
        of jQuery UI.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 09:19:19 +00:00
Esteban Sanchez 4b1b4dc1cc 2008-10-14 Esteban Sanchez <estebans@artica.es>
* operation/reporting/reporting_viewer.php,
        operation/reporting/custom_reporting.php: Fixed checking of private
        reports.

        * operation/reporting/custom_reporting.php: Do not show reports that
        user can not see.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-14 06:40:05 +00:00
slerena a508f64b7e 2008-10-13 Sancho Lerena <slerena@artica.es>
* agent_disk_conf_editor.php: Now load enterprise code
	using a normalized code.

	* setup.php: Removed some features of enterprise on setup.

	* functions.php: Added enterprise load code and load hook 
	functions.

	* datos_agente.php: Fixed stupid problem with string data
	deletion.

	* custom_reporting.php:  Now load enterprise code
	using a normalized code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-13 17:13:34 +00:00
slerena eec4ea2213 2008-10-13 Sancho Lerena <slerena@artica.es>
* include/help/en/help_tcp_send.php: Added mising help file.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-13 14:44:49 +00:00
jorgonzalez b36905fdfb 2008-10-13 Jorge Gonzalez <jorgegonz@artica.es>
* languages/cs.po, languages/pt_BR.po, languages/es.po,     
          languages/pl.mo, languages/it.mo, languages/sl.mo,
          languages/uk.po, languages/ro.po, languages/pt.mo,
          languages/ast.mo, languages/index.pot, languages/Makefile,
          languages/cs.mo, languages/pt_BR.mo, languages/es.mo,
          languages/fr.po, languages/uk.mo, languages/ro.mo,
          languages/ca.po, languages/de.po, languages/sv.po,
          languages/zh_TW.po, languages/hi.po, languages/zh_CN.po,
          languages/fr.mo, languages/te.po, languages/eu.po,
          languages/hu.po, languages/ca.mo, languages/sv.mo,
          languages/de.mo, languages/ru.po, languages/zh_TW.mo,
          languages/hi.mo, languages/zh_CN.mo, languages/gl.po,
          languages/te.mo, languages/eu.mo, languages/hu.mo,
          languages/pl.po, languages/it.po, languages/sl.po,
          languages/pt.po, languages/ru.mo, languages/ast.po,
          languages/gl.mo: updated languages and infrastructure for
          languages; thanks to the guys working at Rosetta.

        * pandoradb_data.sql: Updated tlanguage table with new languages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-13 08:28:16 +00:00
raulmateos 3b33d2ab0e 2008-10-11 Raul Mateos <raulofpandora@gmail.com>
* images/firefox.png: Moved from .gif to .png. WE SHOLDN'T USE .gif FILES!
	* general/footer.php: Added year header. Changed image link to .png

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-11 19:00:18 +00:00
marostegui 01a9d8c35a 2008-10-11 Manuel Arostegui <marostegui@artica.es>
* extensions/update_manager/main.php: Small language correction



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-11 18:56:26 +00:00
raulmateos 04b1057745 2008-10-11 Raul Mateos <raulofpandora@gmail.com>
* extensions/update_manager/main.php: Better english.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-11 18:42:28 +00:00
guruevi 3add17ff4c 2008-10-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/reporting/reporting_xml.php: Resubmit because I put the previous bug back.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1141 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-10 21:08:54 +00:00
guruevi fefbfddeda 2008-10-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/reporting/reporting_xml.php: Now correctly displays image 
        reports without messing up the XML

        * include/functions_html.php: print_select now accepts arrays (eg. for 
        use in select boxes with the multiple tag set) as selected values

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-10 21:04:56 +00:00
slerena 7d9eaac721 2008-10-10 Sancho Lerena <slerena@artica.es>
* ajax.php: removed carriage return from EOF.

	* index.php: Updated final version variable (YES!)

	* config_process: Updated final version variable (YES!)

	* libupdate_manager_client.php: Do not raise a notice (probably be hidden
	for user). Show error details with a simple echo.

	* footer.php: Bad reference to image, in help don't show properly fixed.

	* pandora_help.php: Fancy layout :)

	* manage_config.php: Now works fine. If target agents not defined used
	source agent. Module mass delete now works. Added help and better deletion
	of agents. Fixed bug #2157135.

	* pandora_textlogo.png: Added new icon for help header.

	* functions_db.php: Added delete_agent() used in manage_config.

	* help_alert_validation.php, help_manageconfig.php, help_planned_downtime.php:
	New help files (english only!).

	* datos_agente.php: Stupid bug that don't allow to delete string data.

	* estado_alertas.php: Added help to alert ACK button.

	* reporting_viewer.php: Added SLA legend label (limit) and fixed render of 
	invalid SLA (was swapped bad for good). Combined graphs dimensions are used
	now on reports.

	* reporting_xml.php:; Fixed a small problem that renders header after contents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-10 15:08:31 +00:00
slerena 0182ca3b1d 2008-10-10 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Added support for autoupdate and trap2agent 
	forward in tconfig.

	* update_manager.php: Automatically in logon function hook detect
	if is defined. If not, try to connect the first time and automatically
	set autoupdate to 0 in tconfig.

	* db_audit.php: Now works, before don't.

	* setup.php: Added new items: trap2agent forward and autoupdate.

	* snmp_view.php: Now display properly OID, Value and Custom Value. Need
	changes in snmptconsole server to work and render all data. Better layout.

	* config_process.php: Detect if trap2agent is not configured, and if not, 
	create record in tconfig (this should not be necessary but there is a lot



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-09 16:56:31 +00:00
guruevi bde9f1ebaa 2008-10-08 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/agentes/estado_grupo.php: Fixed bug #2155213 and rewrote
        cleaner HTML partially

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-09 16:37:31 +00:00
guruevi 60c71b2230 2008-10-08 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/db/db_event.php: Didn't work for some or another reason.
        Partially rewrote it. It works now.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-09 15:46:18 +00:00
guruevi d642428c62 2008-10-07 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_reporting.php: Handle empty and zero values in 
        get_agent_module_sla.

        * include/config_process.php: SLA Period shouldn't be 0 (which is 
        apparently default in the database). If SLA is empty (NULL, 0, false 
        or '') then it get's reset to a default value.

        * godmode/setup/setup.php: SLA Period was hidden because of a miscount

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1133 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-07 16:19:15 +00:00
guruevi 9da1852ead 2008-10-06 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/agentes/configurar_agente.php: Double values in query removed
        
        * godmode/agentes/agent_manager.php: WMI Server now properly displays 
        None if no WMI server is present

        * include/functions_html.php: If the query returns empty for
        print_select_from_sql, a box should still be printed. Fixed.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-06 13:14:49 +00:00
raulmateos c1970e3ee8 2008-10-05 Raul Mateos <raulofpandora@gmail.com>
* install.php: Updated PHP version dependency.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-05 15:00:20 +00:00
guruevi 1636ccb330 2008-10-02 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/reporting/reporting_xml.php: Updated to handle logins in
	case our XML client can't handle sessions. If you use this, try to
	use POST requests and HTTPS for login. Only if your client is really
	braindead should you be using GET for login. Example in source.

        * /branches/contrib/pandora_report_widget: A widget for Mac OS X (10.4.3 or 
        higher) that allows you to see outputs from a report in a widget.
        Useful if you need to keep track of a server status or so. Is
        functional and afaik no major bugs. I will work on implementing more
        report types in the future. Uses reporting_xml.php

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-02 21:21:52 +00:00
Esteban Sanchez 9152344de7 2008-10-02 Esteban Sanchez <estebans@artica.es>
* operation/reporting/reporting_viewer.php,
        operation/reporting/reporting_xml.php: Quote order field on
        get_db_all_rows_field_filter(), since it was a reserved word in SQL.
        Style corrections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-02 09:46:27 +00:00
Esteban Sanchez 7e96f40aee 2008-10-02 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Removed quotes when using $order_field so
        it can be used order (ASC or DESC).

        * include/functions_html.php: Added thead and tbody to be more XHTML
        compliant.

        * operation/reporting/graph_viewer.php: Fixed a typo error that was
        not allowing to remove a graph. Style correction, variables renamed to  
        have a meaning ($row has no scope or meaning, please do not use it!) 
        and better use of the parameters.

        * godmode/extensions.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-02 09:19:02 +00:00
Ramon Novoa 4641cf74bb 2008-10-01 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php: Added support for
          different SNMP versions.

        * godmode/agentes/configurar_agente.php: Removed debugging code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-01 17:19:44 +00:00
Ramon Novoa b1bdfbb9dc 2008-10-01 Ramon Novoa <rnovoa@artica.es>
* extensions/update_manager/lib/libupdate_manager_client.php: Added a
          timeout to the XML-RPC client.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1125 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-01 11:17:33 +00:00
guruevi 38789d3bad 2008-09-30 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/reporting/reporting_xml.php: Reporting does now output XML 
        reports for use in dashboards from other vendors. 

        * operation/reporting/custom_reporting.php: Added link for XML reports

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-30 20:59:37 +00:00
guruevi b4492147bd 2008-09-30 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: monitors_health_pipe was in an aesthetically 
        bad order. Moved for yellow to be bad and green to be good

        * operation/reporting/reporting_viewer.php,
        godmode/reporting/reporting_builder.php: Style updates. Use the
        updated database functions.

        * include/functions_reporting.php: monitor_health_reporting function 
        updated. There was a major bug; &not got translated into it's ASCII
        value and the graph didn't work. The graph was in a bad position as a
        float, it went over the table and if the table was not big enough,it
        would go over other data. So fixed all of it.

        * include/functions_html.php: print_select_from_sql updated to use SQL 
        functions

        * include/functions_db.php: get_monitors_in_group didn't work correctly 
        if the group was 1 (All). Removed quotes from get_db_value and 
        get_db_all_rows_field_filter

        * include/functions.php: get_report_type_data_source returned the wrong
        type for monitor_report (id 6) which made the jQuery not show the
        agent/module select box and subsequently the graph failed


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-30 17:55:36 +00:00
guruevi ab77462b0f 2008-09-29 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/agentes/module_manager_editor_data.php,
        godmode/agentes/module_manager_editor.php,
        godmode/agentes/configurar_agente.php: Style updates. These files now
        use the database functions and can be used as a template for the
        others. Resolved bug #2124706 where a blank page would come up in
        case the module type would be wrong. Now displays an error message

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-29 15:36:03 +00:00
jorgonzalez 4d85159761 2008-09-25 Jorge Gonzalez <jorgegonz@artica.es>
* include/help/es: created directory for Spanish help files.

        * include/help/es/help_map_builder.php,
          include/help/es/help_alert_recovery.php,
          include/help/es/help_network_component.php,
          include/help/es/help_module_definition.php: Added some Spanish
          help files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1118 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-26 10:48:12 +00:00
Ramon Novoa c189cdb765 2008-09-25 Ramon Novoa <rnovoa@artica.es>
* general/pandora_help.php: Fixed bug #2119100.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-25 15:08:06 +00:00
Ramon Novoa 3f3767c234 2008-09-25 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_duplicateconfig.php,
          include/help/en/help_wminamespace.php: Added to repository. Help
          files.

        * godmode/agentes/module_manager_editor_wmi.php,
          godmode/agentes/manage_config_remote.php: Added help.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-25 14:26:36 +00:00
slerena 725a5345e8 2008-09-25 Sancho Lerena <slerena@artica.es>
* events.php: Forced a shorten agent name to avoid layout problems.
	Added a new combo to define a limit for pagination in event view.

--Esta línea y las que 
están debajo serán ignoradas--

M    ChangeLog
M    operation/events/events.php


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1115 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-25 13:15:15 +00:00
Ramon Novoa b032f7d7f0 2008-09-24 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_wmi.php: Added WMI namespace
          support.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-24 15:03:39 +00:00
guruevi 6287d8e5fb 2008-09-24 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Fixed a small bug in get_db_value and fixed 
        check_server_status () to return an int at all times

        * general/header.php: Removed my old table code. Fixed bug #2119102.

        * ChangeLog: Made Jorge's entry use tab instead of spaces

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-24 14:34:52 +00:00
Ramon Novoa 90337c8ef4 2008-09-24 Ramon Novoa <rnovoa@artica.es>
* extensions/update_manager/sql/update_manager.sql,
          extensions/update_manager/lib/libupdate_manager_client.php,
          extensions/update_manager/settings.php: Added proxy support to
          update manager.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-24 09:35:26 +00:00
jorgonzalez 049c2fb7dc 2008-09-23 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po: Updated Spanish translation, fixes a bug.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-23 13:20:44 +00:00
raulmateos deb2bb9277 2008-09-22 Raul Mateos <raulofpandora@gmail.com>
* pandora_console.spec: Changed URL. Added FMS to name. Updated version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-22 17:33:31 +00:00
raulmateos 1192e67cee 2008-09-22 Raul Mateos <raulofpandora@gmail.com>
* inlcude/languages/pt_br.mo: Deleted (conflict with pt_BR.mo)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-22 17:28:05 +00:00
marostegui b53ef765dd 2008-09-22 Manuel Arostegui <marostegui@artica.es>
* pandoradb_data.sql: Changed FTP module's TCP received string, set
	  to 220, 221 makes the module to does not know whether the service
	  is active or not.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-22 11:03:48 +00:00
jorgonzalez 1cef4026ce 2008-09-22 Jorge Gonzalez <jorgegonz@artica.es>
* pandora_console/pandoradb_data.sql: database modified to show the 
          new languages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-22 09:04:28 +00:00
jorgonzalez 942f8fa19c 2008-09-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/*: Updated translations from Launchpad. Thanks  
          to all contributors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-22 07:12:23 +00:00
guruevi 6974f7b8a7 2008-09-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/agentes/configurar_agente.php: Fixed small bug when renaming
        agent. Changed a string to a duplicate with the same meaning.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1104 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-19 18:39:24 +00:00
guruevi 6516651aa9 2008-09-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/styles/pandora.css: Removed some duplicate entries while 
        hunting down a specific tag

        * include/functions_html.php: Added class to print_select () and 
        removed the default 'select' display in case of empty

        * include/functions_db.php: Added comment to list_group so coders are 
        reminded to use the html functions instead. Fixed dame_nombre_real
        because a user_id is not an int. Added function list_users similar to
        list_group. Needed to fill input boxes with user selections.

        * include/functions.php: Adhered pagination to correcter HTML style
        removed single quotes and closed open tags

        * operation/incidents/incident_statistics.php: Correcter HTML

        * operation/incidents/incident_search.php: Style changes. Use new 
        functions for html objects

        * operation/incidents/incident_note.php: Inherited into 
        incident_detail.php

        * operation/incident_detail.php: Rewritten for style and security.
        Uses all the functions for html and sql. Added a bunch of security
        checks and made it look a little more consistent. Added virus scanner
        integration with the clamav library for PHP4 or PHP5 (autodetect)

        * operation/incident.php: Rewritten for style and security. Uses all 
        the functions for html and sql.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-19 16:08:59 +00:00
Ramon Novoa 6ade5177c9 2008-09-19 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php,
          godmode/agentes/module_manager_editor_wmi.php,
          godmode/agentes/module_manager_editor_plugin.php,
          godmode/agentes/module_manager_editor_prediction.php,
          godmode/agentes/module_manager_editor_data.php,
          godmode/servers/manage_export.php,
          godmode/servers/manage_export_form.php: Fixed some strings.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-19 10:49:31 +00:00
Ramon Novoa d54978d7fe 2008-09-18 Ramon Novoa <rnovoa@artica.es>
* include/config_process.php,
          include/functions_db.php: Small fixes.
        * godmode/servers/manage_export.php,
          godmode/servers/manage_export_form.php: Added to repository. Export
          target configuration.
        * godmode/menu.php,
          pandoradb.sql: Added support for export target configuration.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-18 12:06:21 +00:00
slerena 9d562c2e14 2008-09-18 Sancho Lerena <slerena@artica.es>
* install.php: Fixed a bad description string.

	* pandoradb.sql: Precission for the float in post_process was
	insignificant (2 decimals), not valid to transform from bytes
	to MB for example, altered to have 13 decimals. Thanks to 
	darkgate for this bug report.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-18 12:01:32 +00:00
guruevi a2a0bde820 2008-09-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/visual_console/render_view.php: Removed short tags.
        Used new functions for login check. Removed unnecessary global

        * operation/agentes/estado_alertas.php: Fixed a minor bug

        * godmode/reporting/map_builder.php: Removed short tags


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-17 17:04:52 +00:00
guruevi 7db29da666 2008-09-16 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/agentes/estado_alertas.php: Fixed a few bugs and made it 
        faster by switching to the general functions. Style update

        * include/functions_db.php: Made get_agents_in_group() function accept 
        array or a comma delimited list. This will allow us to get agents in
        multiple groups. Backwards compatible (single value passed). Set an 
        output check on empty (array or false) for get_alerts_in_group().

        * include/functions.php: Made get_alert_days() output translatable. 
        Made the little columns with info on alerts give more text (it does
        fit). Made show_alert_show_view() use the internal functions to
        retrieve name and id's. Style updates, better HTML output (tags).

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-16 18:16:09 +00:00
guruevi 668689cbe4 2008-09-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/agentes/configurar_agente.php: Style updates for create agent 
        and update agent. Fixed a bug where empty and duplicate names would
        be allowed when updating. Made some strings translatable and more
        extensive error messages.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-12 15:40:00 +00:00
guruevi c02fda3884 2008-09-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/groups/group_list.php, godmode/groups/configure_group.php:
        Fixed a bug where the group parent wouldn't be added to a group.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-11 15:35:35 +00:00
guruevi e313e514b5 2008-09-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/languages/pt_br.po: Removed the file from repository. The
        update named pt_BR.po (note capitalization) remains. The files were
        causing problems in local svn repositories based on filesystems
        that don't differentiate between the 2 files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-10 19:39:35 +00:00
jorgonzalez e0343fcdf2 2008-09-10 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/fr.mo, include/languages/pt_BR.po, include/languages/pl.mo, include/languages/eu.po, include/languages/sv.mo, include/languages/ru.po, include/languages/zh_TW.mo, include/languages/index.pot, include/languages/zh_CN.mo, include/languages/eu.mo, include/languages/pl.po, include/languages/ru.mo, include/languages/sv.po, include/languages/zh_TW.po, include/languages/zh_CN.po: Added new po and mo translations, imported from Rosetta.

        * operation/agentes/tactical.php: Added some strings for translation.

        * include/languages/Makefile: added new languages to compile.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-10 11:40:59 +00:00
jorgonzalez 0465ea8030 2008-09-10 Jorge Gonzalez <jorgegonz@artica.es>
* languages/es.po, languages/it.mo, languages/ca.mo, languages/ast.mo,          languages/de.mo, languages/index.pot. languages/gl.po, languages/es.mo,         languages/fr.po, languages/it.po, languages/ca.po, languages/ast.po,            languages/de.po, languages/gl.mo: New translations imported from                Rosetta, thanks to all contributors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-10 07:24:43 +00:00
guruevi d6a4c2bee9 2008-09-08 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Further updating of the queries for the
        godmode/db directories. Mainly making sure all data outputs (graph or
        text) have the same order for simple overview. Also fixed some minor
        issues like the one Sancho fixed (array_multisort). Made some strings 
        translatable

        * godmode/db/times_incl.php: This file is actually only relied on by
        db_info.php so I removed it and included the contents in db_info

        * godmode/db/db_purge.php: Since we went over the threshhold of 1,5M
        data entries on a P4, the page would timeout from the browser out. So
        I reworked the page to clarify the variables and adhere to style. Put
        the delete query in a transaction (since it might be that either
        timeouts or other errors don't clean the whole database up and then
        you have to do it manually. Code is also prettier now.

        * godmode/db/db_main.php: Made it display the actual numbers instead of
        repeating the string.

        * godmode/db/db_info_data.php: Moved into db_info.php

        * godmode/db/db_info.php: Introduced db_info_data.php as a hidden Div.
        This will allow quicker access without adding another menu. The query
        will come from cache anyway (SQL cache) so it's faster too

        * godmode/db/db_event.php: Removed reference to times_incl.php

        * godmode/db/db_audit.php: Removed reference to times_incl.php

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-08 20:32:23 +00:00
Esteban Sanchez f1c59ff544 2008-09-04 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager/lib/libupdatemanager_client.php: Updated
        to latest Update Manager version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-04 16:33:52 +00:00
Esteban Sanchez a88cdeaf36 2008-09-04 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager/main.php: Added option to update packages.

        * include/functions_db.php: Added default value to get_user_groups,
        so if no parameter is giving, it will asume running user.

        * include/languages/Makefile: Added missing options to add comments to
        index.pot file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-04 14:44:24 +00:00
slerena 68b90636a4 2008-09-03 Sancho Lerena <slerena@artica.es>
* reporting/fgraph.php: In grafico_eventos_grupo() array_multisort 
	was not working as expected. Using a SORT sentence in SQL that provides
	the same functionality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-03 16:43:25 +00:00
slerena f52b03b73a 2008-09-03 Sancho Lerena <slerena@artica.es>
* reporting/fgraph.php: URL passed should don't get slashes or 
	don't work, used unsafe_string() to remove it.

	* datos_agente.php: was not showing async string data. Now it
	uses a regexp to search for string types.

	* logon_ok.php: Was using a wrong variable on message counter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-03 16:27:28 +00:00
guruevi 73cbae494e 2008-09-03 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Fixed bug where a graph wouldn't return
        when free search was specified. Also made SQL safer against
        attacks since fgraph can be accessed by anyone. This should be
        fixed in later versions so there has to be no SQL query passed

        * operation/events/events_rss.php: Made RSS feed better. Now you can
        also pass a filter from events.php. Fixed direction of the links

        * operation/events/events.php: Added a filter on agent name. Updated
        for RSS feeds. Added filter on event id

        * install.php: A little bit of automatic field filling. Corrected some
        text for more correct English and update to the new URL specification


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-03 15:47:09 +00:00
Esteban Sanchez 1a79ab28ee 2008-09-03 Esteban Sanchez <estebans@artica.es>
* include/functions_html.php: Fixed a typo error in print_textarea 
        that cause not showing the value given.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-03 15:19:31 +00:00
slerena 77f3ff1ea1 2008-09-03 Sancho Lerena <slerena@artica.es>
* include/functions_reporting_pdf.php: Moved to contrib branch.

	* install.php: Update sample of use for homeurl variable. This should
	not contain HTTP:/x.x.x.x anymore.

	* operation/events/events_rss.php: Makes use of homeurl in the 
	correct way.

	* operation/agentes/estado_agente.php: Fixed a sprintf typo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-03 12:11:53 +00:00
Esteban Sanchez 42d5f1a011 2008-09-03 Esteban Sanchez <estebans@artica.es>
* include/config_process.php: Checks in homeurl config variable. Style 
        corrections.

        * include/help/en/help_date_format.php: Points to oficial PHP manual 
        on php.net.

        * godmode/agentes/modificar_agente.php: Escape quotes which was
        causing SQL errors.

        * godmode/reporting/map_builder.php: Fixed divs and tables widths.

        * include/functions.php, operation/agentes/datos_agente.php: Style 
        corrections.

        * include/functions_db.php: Style corrections. Added comments for 
        translators.

        * operation/extensions.php: Added login checking.

        * operation/reporting/reporting_viewer.php: Minor bug that was causing
        javascript failures.

        * operation/users/user.php: Use print_help_tip() to show contextual
        help.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-03 12:01:46 +00:00
guruevi b209513cb6 2008-09-02 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Updated graph_event_module and minor fix in switch

        * include/functions_reporting.php: Minor fix for uninitialized array()

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 20:11:46 +00:00
guruevi 79d2010ae2 2008-09-02 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: SQL passed wasn't being processed, so the graph
        was off for grafico_eventos_group. Updated that and the whole
        function. Simplified, it runs very fast now (practically no delay).

        * operation/events/events.php: Description wasn't being added to the
        audit log when deleting multiple items. Fixed

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 17:54:32 +00:00
Esteban Sanchez 802bf1b359 2008-09-02 Esteban Sanchez <estebans@artica.es>
* include/functions.php: Style correction.

        * general/footer.php: Fixed link to Firefox and make it
        translatable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 17:21:22 +00:00
slerena 9a4725dd3e 2008-09-02 Sancho Lerena <slerena@gmail.com>
* functions.php: Added function to clean SQL string.

	* setup/news.php: Fixed problem adding new news.

	* setup/link.php: Added mysql recheck to input var.

	* login_page.php: Removed "Welcome", added a blank line before title.

	* logon_failed.php: Was rending bad in IE.

	* footer.php: Added Firefox button and tooltip about best view in Firefox.

	* header.php: Old rendering was crazy in IE. New code to set render exactly
	equal on IE and Firefox. PLEASE DO NOT USE TABULAR phpp functions here, this is 
	pure HTML formatting.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 16:08:11 +00:00
Esteban Sanchez c8dc6f66e2 2008-09-02 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager/lib/*: Update Manager has its own license
        header which must be respected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 12:25:02 +00:00
slerena 91d493a8a9 2008-09-02 Sancho Lerena <slerena@gmail.com>
*  extensions/update_manager*: Updated GPL header. Added 
        more text about Update Manager anonymous information gathering.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 11:55:54 +00:00
Esteban Sanchez 14304892ba 2008-09-02 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager.php: Style correction. Removed force
        updating of the settings.

        * extensions/update_manager/load_updatemanager.php: Run the keygen if
        the user is not the free one.

        * extensions/update_manager/main.php: Show information message to free
        users.

        * extensions/update_manager/settings.php: Allow updating keygen and
        binary path settings.

        * extensions/update_manager/lib/*: Updated to latest version of Open
        Update Manager.

        * extensions/update_manager/sql/update_manager.sql: Set keygen path.

        * godmode/extensions.php: Bug solved that was avoiding to show defined
        extensions. Fixed ACL check.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 11:16:44 +00:00
Esteban Sanchez 14b7cd266a 2008-09-02 Esteban Sanchez <estebans@artica.es>
* reporting/fgraph.php: Rollback to r1049. It still needs some tests,
        will be readded in next Pandora major version.

        * reporting/pandora_graph.php, reporting/pearimage_graph.php: Deleted
        from repository.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-02 10:37:29 +00:00
Esteban Sanchez 3670d2d837 2008-09-01 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager/load_updatemanager.php: Typo error fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 13:03:47 +00:00
Esteban Sanchez 0e8a649e7c 2008-09-01 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager.php,
        extensions/update_manager/sql/update_manager.sql: Fixed update server 
        path typo error.

        * extensions/update_manager/load_updatemanager.php: Force values to be
        integer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 13:00:14 +00:00
raulmateos 4e13e77fa4 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* operation/snmp/snmp_console/snmp_view.php: File, not updated in last commit,
	my SVN client doesn't work well.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 11:37:42 +00:00
raulmateos 79973156fb 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* operation/snmp/snmp_console/snmp_view.php: Added style to buttons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 11:36:38 +00:00
Esteban Sanchez e38aa031ac 2008-09-01 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager.php: Get user key with the function 
        instead of the unexistent keygen.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 10:47:51 +00:00
Esteban Sanchez a04c80edd0 2008-09-01 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager/sql/update_manager.sql,
        extensions/update_manager.php: Updated server info to
        the final Update manager host.

        * extensions/update_manager/main.php: Added a information message
        about Update Manager extension.

        * update_manager/load_updatemanager.php: Get module count into user
        key.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 10:39:32 +00:00
raulmateos c97bc978fa 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* general/error_noconfig.php, error_perms: Updated pages title.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 09:43:32 +00:00
raulmateos a90f6aecdd 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* general/error_install.php: Forgot to submit the page.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 09:41:03 +00:00
raulmateos 64bb653da9 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* general/error_install.php: Updated page title.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 09:39:52 +00:00
slerena e78d2c2bbc 2008-09-01 Sancho Lerena <slerena@artica.es>
* pandora_logo.png: White background for IE6 users.

	* index.php: Updated version and develop bypass.

	* header.php, pandora.css: Better view in IE6.

	* estado_ultimopaquete.php: Fixes bad render for big numbers.

	* snmp_view.php: Fixes problems with IE6 render. Better view
	of custom OID (shortened and as tooltip).

	* stat_win.php: Fixed problem with slicer in IE6.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 08:51:04 +00:00
raulmateos 585bf4a0db 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* operation/snmp/smp_console/snmp_view.php: Show substring in custom value, when the mouse is over data, it shows all the custom value. Cosmetic change.
	* operation/events/events.php: Closed several html tags.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 08:16:39 +00:00
Esteban Sanchez 3c46a853aa 2008-09-01 Esteban Sanchez <estebans@artica.es>
* reporting/pandora_graph.php: Added to repository. New abstract class
	PandoraGraphAbstract to allow the change of the graphic engine easily.

	* reporting/fgraph.php: Rewritten to remove all the references to
	PEAR::Image and replaced by the new Pandora Graph abstract class.

	* reporting/pearimage_graph.php: Added to repository. Implements
	PandoraGraphAbstract class with the PEAR::Image functions.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 08:11:22 +00:00
jorgonzalez 5f58a412bd 2008-09-01 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: updated
        Spanish translation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1050 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 07:27:14 +00:00
slerena 4fa38d78e2 2008-09-01 Sancho lerena <slerena@artica.es>
* include/, fgraph.php: Moved licence of libraries to LGPL.

	* install.php: Added dependency check for several new includes
	from pear (xml_rpc and DB), also graphviz twopi binary and check
	in step1 for a writable config.php and ./include dir. Some other
	minor fixes (esthetic).

	* pandoradb.sql: Table tagent_data_image was still there. This
	comes with next version (I hope), not this one.

	* pandoradb_data.sql: db_scheme_build update and removed modules
	components without proper id_module.

	* networkmap.php: Another foreach() notice fixed.

	* upgrade.php: Moved to contrib branch in SVN.

	Old pandora SQL conversion files, deleted (was present in its branches).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1049 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 04:22:26 +00:00
guruevi 4bfb4c57e0 2008-08-28 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/events/events.php: Updated the queries and fixed some minor 
        bugs with the event selections. Style changes.

        * operation/agentes/networkmap.php: Style changes

        * pandora2ast: Removed hidden swapfile

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-29 16:05:08 +00:00
Esteban Sanchez 46ee66c2c3 2008-08-28 Esteban Sanchez <estebans@artica.es>
* extensions/update_manager.php: Added function to update Update
        Manager settings.

        * extensions/update_manager/load_updatemanager.php: Added user key
        generation function. Update manager free extension do not use a keygen
        binary file.

        * extensions/update_manager/main.php: Changes to key generation,
        because free extension do not use keygen.

        * extensions/update_manager/settings.php: Removed configuration of
        keygen and upgrading directory.

        * extensions/update_manager/lib/libupdate_manager.php,
        extensions/update_manager/lib/libupdate_manager_utils.php: Updated to
        latest version of Update Manager.

        * extensions/update_manager/lib/libupdate_manager_client.php: Removed
        debug flag and errors to be less intrusive for the user. Updated to
        latest version of Update Manager.

        * extensions/update_manager/sql/update_manager.sql: Changed default 
        settings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-29 07:54:17 +00:00
guruevi 853aecefb9 2008-08-28 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/extensions/update_manager.php: Check for an empty
        variable so it doesn't give a warning

        * pandora_console/extensions/update_manager/lib/libupdate_manager_utils.php,
        libupdate_manager_client.php: Removed referenced variables from
        function calls so it doesn't give a warning that it is deprecated.

        * pandora_server/util/pandora2ast: Pandora to Asterisk script. Check README 
	for how to install it and use it


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-28 16:21:21 +00:00
Esteban Sanchez a90d0865b5 2008-08-28 Esteban Sanchez <estebans@artica.es>
* include/functions_visual_map.php: Fixed an error when there were no
        elements in the map that cause Javascript failure and nothing works.
        Thanks Jorge for the advice.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-28 08:41:51 +00:00
raulmateos da3575c986 2008-08-27 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/status_monitor.php: Moved legend.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-27 11:34:59 +00:00
raulmateos 1f5dd564d5 2008-08-27 Raul Mateos <raulofpandora@gmail.com>
* Forgot again the files for last commit!

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-27 11:17:35 +00:00
raulmateos 3f4b4776fe 2008-08-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/menu.php, operation/menu.php: Updated to solve small ugly effects.
	* include/styles/op.css, god.css: Updated to solve small ugly effects. god.css needs to be changed to the new "version".

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-27 11:16:41 +00:00
raulmateos b9a9e47512 2008-08-27 Raul Mateos <raulofpandora@gmail.com>
* install.php: Forgot in the last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1039 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-27 10:13:25 +00:00
raulmateos 5e05607914 2008-08-27 Raul Mateos <raulofpandora@gmail.com>
* install.php: Solved small typos in language. Style correction.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-27 10:02:59 +00:00
slerena 0e8c7d513c 2008-08-25 Sancho Lerena <slerena@gmail.com>
Missing files for update_manager client



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1035 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 17:54:30 +00:00
slerena 4b3f3fcbbe 2008-08-25 Sancho lerena <slerena@artica.es>
* extensions/update_manager: Added update manager client for
        PandoraFMS.

        * operation/reporting/custom_reporting.php: Moved PDF link.

        * operation/reporting/reporting_viewer_pdf.php: Moved to enterprise
        version.

        * godmode/agentes/agent_disk_conf_editor.php: Moved to enterprise
        version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 17:51:52 +00:00
guruevi 314782918a 2008-08-25 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/agentes/modificar_agente.php: Updated delete routine to 
        include a transaction. This way the database consistency is
        guaranteed in case a query causes a problem as follow up on Bugs 
        item #2073383. Also some style updates

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 15:47:03 +00:00
jorgonzalez cf2c624b1b 2008-08-25 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* include/languages/es.po: Updated Spanish translation.

        * include/languages/index.pot: Updated strings.

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

        * godmode/reporting/graph_builder.php: Changed several hardcoded
          striings to make them translatable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 13:18:29 +00:00
Esteban Sanchez 85f13f208c 2008-08-25 Esteban Sanchez <estebans@artica.es>
* images/help.png: Updated to a bigger image with more quality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-25 09:01:05 +00:00
slerena 631f34eb33 2008-08-24 Sancho Lerena <slerena@gmail.com>
* include/functions_db.php: Fixed some warning messages
	due missing check before several foreachs.
	
	* index.php: Disabled development flag to detect config.

	* operation/agentes/networkmap.php: String too short for
	names, long IP address was being shortened.

	* operation/servers/view_server.php,
	operation/servers/view_server_detail.php
	godmode/servers/manage_recontask_form.php: Fixed some warnings
	and added proper message for empty screens.

	After this commit a beta1 package has been made.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-24 23:59:10 +00:00
slerena a1ccf34e56 2008-08-22 Sancho Lerena <slerena@gmail.com>
* Massive header update. We're now officially on Beta1.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-22 18:07:32 +00:00
slerena 404e43c9fc 2008-08-22 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Removed data for locale, added for new 
	date string format.

	* include/functions_html.php: Deletion of table properties 
	after calling it makes a bad render on several pages that uses 
	some properties for other things (width).

	* include/functions_reporting.php: Added several checks to avoid
	notices.

	* include/config_process.php: Removed locale code. Added code for
	new datetime string format.

	* include/locale.class.php: Removed.

	* include/functions.php: pandora_help() was not returning correct output.
	Added format_datetime() function to render date / time strings in user
	defined format.

	* include/functions_db.php: Added check in get_monitors_down() to avoid
	notice in void foreach.

	* operation/incidents/incident_detail.php: Solved problem with attachments.

	* operation/users/user.php: Solved problem with old help_lang[] array.

	* operation/messages/message.php: Sime minor fixes and style improvements.

	* operation/servers/view_server.php: Remove description.

	* operation/servers/view_server_detail.php: Removed bad field retrieval 
	from database and added format_datetime().

	* reporting/fgraph.php: Fixed small problem in monitors_health_pipe().
	 (changed parameters).

	* general/footer.php: Updated use of new functions. 

	* general/header.php: Added blank spaces between icons and texts.

	* godmode/setup/setup.php: Management of new string format for datetime.

	* godmode/profiles/profile_list.php: Submit button now uses div instead 
	tables.

	* godmode/reporting/reporting_builder.php: Added check before foreach() to
	avoid notice warnings. Changed div for buttons.

	* godmode/reporting/map_builder.php: Fixed div for submit button.

	* godmode/servers/modificar_server.php: Fixed typo in SQL sentence. 
	Removed usage of not-used-now locale format functions. Alter legend to use
	a plain-formatted table to avoid background color in legend.

	* /en/help_date_format.php: Added help for date format string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-22 14:28:00 +00:00
guruevi d3f93f9408 2008-08-22 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_html.php: Fixes the bug if the table is not unset by referencing & blanking out the object from within the function

        * godmode/servers/modificar_server.php: Removed the unset() since it isn't necessary anymore.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-22 12:53:20 +00:00
Esteban Sanchez 47e14f88b9 2008-08-21 Esteban Sanchez <estebans@artica.es>
* include/functions_html.php: Added an optional parameter to 
        print_input_text_extended() to allow password inputs. Replaced 
        print_input_password_extended() with print_input_password().

        * general/login_page.php: Replaced print_input_password_extended()
        with print_input_text_extended(). Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 21:57:11 +00:00
guruevi 3ac0eccf78 2008-08-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* index.php: Update HTML for unclosed tags and put everything in PHP
        Updated the HTTPS detection. Made sure the password doesn't get
        passed to other scripts (like 'evil' plugins)

        * include/functions_html.php: Added print_input_password_extended()

        * general/main_menu.php: Removed old code and header

        * general/login_page.php: Tried putting it in functions_html code but
        that didn't work (rowspan), so I just ended up with a smaller file and
        the input boxes getting printed

        * general/header.php: Updated to use functions_html

        * general/footer.php: Updated header and develop_bypass for the query
        counter

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1020 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 21:07:20 +00:00
slerena 5e653848b1 2008-08-21 Sancho Lerena <slerena@gmail.com>
* pandoradb*.sql: tplanned_downtime: Fixed a typo, changed timestamp 
	types, added executed field and removed id_agent_module.

	* manage_config.php:  (Problem copying keep_alive modules
	and alerts and solved bad message with no data supplied.

	* manage_config_remote.php: Solved BUG #2042788 Fixed, was missing 
	extension in filename check.

	* planned_downtime.php: Major rewrite. Now works with server model of
	planned downtimes based on select agents to disable in specific times.
	Using unixtime was a very nice idea, so the javascript controls are 
	fantastic to do this job!. Thanks Esteban and Evi!.

	* manage_recontask*: Some issues with styles, using new div for button.

	* modificar_server.php:  Some issues with styles, using new div for button

	* config.inc.php: By default, show errors, easy to debug first problems.

	* functions_db.php: Fixed problems detected in borrar_incidencia() function
	(this is delete_incident in spanish).

	* estado_agente.php: Added support to search by IP address in agent view.

	* networkmap.php: Regen on by default, Font label shortened.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 19:16:16 +00:00
guruevi ef16c37137 2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/profiles/profile_list.php: Update from yesterday. Fixes HTML generation.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 18:45:23 +00:00
guruevi 160c7ac3e3 2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/servers/modificar_server.php. 
        godmode/servers/manage_recontask_form.php, 
        godmode/servers/manage_recontask.php: HTML and SQL overhaul. Now uses 
        the new functions that are available in functions_html.php.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 16:57:37 +00:00
Esteban Sanchez 4c922ded73 2008-08-21 Esteban Sanchez <estebans@artica.es>
* general/pandora_help.php: Added a require of a functions file. Added
        missing HTML tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 14:13:58 +00:00
guruevi 54fcab7b74 2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu
* godmode/profiles/profile_list.php: HTML overhaul (close tags, put
        brackets and quotes in the right places. Now uses new functions
        instead of the old ones

        * include/locale.class.php: Updated and added functions. See internals
        for updated functions. It now allows to put a translated array of
        languages, countries and currency instead of the built-in english one

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-20 18:25:08 +00:00
Esteban Sanchez 9651e272ca 2008-08-19 Esteban Sanchez <estebans@artica.es>
* include/locale.class.php: Fixes in Translate_Locale() to work
        properly. Tab style correction in all the file, use tabs instead of
        blankspaces.

        * godmode/setup/setup.php: Added locale configuration option.

        * pandoradb_data.sql: Added locale to tconfig.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-20 09:19:27 +00:00
Esteban Sanchez 620c16d59e 2008-08-19 Esteban Sanchez <estebans@artica.es>
* include/locale.class.php: Check $ENV["TMPDIR"] existance to avoid
        PHP errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1012 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-20 08:17:52 +00:00
guruevi 20c7a00281 2008-08-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/locale.class.php: Locale class for number, time and money 
        formatting. Latest version, much corrections.

        * include/functions_db.php: HTML corrections (close tags)

        * include/config_process.php: Process $config['locale'] and init LOCALE 
        class. Still needs to be implemented in a "userspace" function 

        * general/footer.php: Updated footer to use locale class (not function) 
        to display the date and number. Just an example of the possibility


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-19 17:09:44 +00:00
Esteban Sanchez 5c730afad8 2008-08-18 Esteban Sanchez <estebans@artica.es>
* operation/menu.php: Fixes events submenu and link to CSV exporting.
        Style correction.

        * images/rss.png: Added to repository.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-18 15:12:20 +00:00
Esteban Sanchez 6d7ce4d60c 2008-08-12 Esteban Sanchez <estebans@artica.es>
* godmode/db/db_purge.php: Use print_help_tip() to show help tip.

        * godmode/profiles/profile_list.php: Use print_help_tip(). Removed
        deprecated $help_label.

        * godmode/users/configure_user.php: Better code to show user level
        radio buttons and help.

        * include/functions_db.php: Removed deprecated function
        load_lang_file().

        * operation/agentes/datos_agente.php, ajax.php,
        operation/reporting/reporting_viewer_pdf.php, reporting/stat_win.php,
        operation/agentes/exportdata.php: Removed inclusion of old
        language files.

        * include/languages/index.pot: Regenerated and added header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 14:41:53 +00:00
guruevi 8ccc09bad8 2008-08-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/menu.php: Made short tag, normal tag

        * include/functions.php: Got rid of references to language files

        * godmode/servers/plugin.php: Made proper english

        * godmode/servers/manage_recontask.php: Made proper HTML

        * godmode/profiles/profile_list.php: Translation of help strings

        * godmode/agentes/manage_config_remote.php: Fixed typo that generated errors

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 14:15:42 +00:00
guruevi 7746b03c5a 2008-08-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/menu.php: Fixed typo that prevented "Operation" from being displayed and included in the i18n.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 13:25:30 +00:00
Esteban Sanchez 145bc28f91 2008-08-12 Esteban Sanchez <estebans@artica.es>
* pandoradb_data.sql: Added default languages.

	* include/streams.php, include/gettext.php: Added to repository. New
	files to add gettext support of mo files.
	
	* include/functions_db.php: Function lang_string() functionallity
	changed to use gettext library.

	* include/languages/language_es_es.php,
	include/languages/language_gl.php, include/languages/language_en.php,
	include/languages/language_pt_br.php,
	include/languages/language_it.php,
	include/languages/language_ast_es.php,
	include/languages/language_es_la.php,
	include/languages/language_de.php, include/languages/language_fr.php,
	include/languages/language_ca.php: Files deleted, they are
	deprecated since we have moved to gettext.

	* lude/languages/pt_br.mo, include/languages/es.mo,
	include/languages/fr.po, include/languages/it.po,
	include/languages/ca.po, include/languages/ast.po,
	include/languages/de.po, include/languages/gl.mo: Gettext translations
	of the previous languages we have in language_*.php files.

	* include/languages/Makefile: Added to repository to generate
	index.pot and mo files of each translation.

	* include/functions_reporting_pdf.php,
	include/functions_reporting.php, include/config_process.php,
	include/functions.php, include/functions_visual_map.php, index.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_note.php,
	operation/incidents/incident_search.php,
	operation/incidents/incident_statistics.php,
	operation/snmpconsole/snmp_alert.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/events.php,
	operation/visual_console/render_view.php,
	operation/visual_console/index.php,
	operation/agentes/estado_alertas.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_grupo.php,
	operation/agentes/datos_agente.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/bulbs.php,
	operation/agentes/sla_view.php, operation/agentes/exportdata.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php, operation/agentes/estadisticas.php,
	operation/agentes/tactical.php, operation/agentes/networkmap.php,
	operation/messages/message.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/custom_reporting.php,
	operation/servers/view_server.php,
	operation/servers/view_server_detail.php, operation/menu.php,
	reporting/fgraph.php, reporting/stat_win.php, general/logoff.php,
	general/pandora_help.php, general/footer.php, general/noaccess.php,
	general/logon_failed.php, general/links_menu.php,
	general/login_page.php, general/logon_ok.php, general/header.php,
	general/main_menu.php, godmode/groups/configure_group.php,
	godmode/groups/group_list.php, godmode/setup/news.php,
	godmode/setup/links.php, godmode/setup/setup.php,
	godmode/users/user_list.php, godmode/users/configure_user.php,
	godmode/profiles/profile_list.php, godmode/admin_access_logs.php,
	godmode/db/db_info_data.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/agent_template.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/alert_manager.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/alert_manager_editor.php,
	godmode/agentes/manage_config.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/agent_disk_conf_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php,
	godmode/agentes/agent_manager.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/graph_builder.php, godmode/servers/plugin.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/modify_alert.php, godmode/alerts/configure_alert.php,
	godmode/menu.php: Replaced string parameters of __() callings to
	plain english. Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 12:06:25 +00:00
Esteban Sanchez f5f4164911 2008-08-11 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added __ as an alias of lang_string().

	* include/functions_reporting_pdf.php,
	include/functions_reporting.php, include/functions.php,
	include/functions_visual_map.php, index.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_note.php,
	operation/incidents/incident_search.php,
	operation/incidents/incident_statistics.php,
	operation/snmpconsole/snmp_alert.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/events.php,
	operation/visual_console/render_view.php,
	operation/visual_console/index.php, operation/extensions.php,
	operation/agentes/estado_alertas.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_grupo.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/bulbs.php,
	operation/agentes/status_events.php, operation/agentes/sla_view.php,
	operation/agentes/exportdata.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php, operation/agentes/estadisticas.php,
	operation/agentes/tactical.php, operation/agentes/networkmap.php,
	operation/messages/message.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/custom_reporting.php,
	operation/servers/view_server.php,
	operation/servers/view_server_detail.php, operation/menu.php,
	reporting/fgraph.php, reporting/stat_win.php, ajax.php,
	general/logoff.php, general/pandora_help.php, general/footer.php,
	general/noaccess.php, general/logon_failed.php,
	general/links_menu.php, general/login_page.php, general/logon_ok.php,
	general/header.php, general/main_menu.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/setup/news.php, godmode/setup/links.php,
	godmode/setup/setup.php, godmode/users/user_list.php,
	godmode/users/configure_user.php, godmode/profiles/profile_list.php,
	godmode/admin_access_logs.php, godmode/db/db_info_data.php,
	godmode/db/db_main.php, godmode/db/db_audit.php,
	godmode/db/db_sanity.php, godmode/db/db_refine.php,
	godmode/db/db_info.php, godmode/db/db_event.php,
	godmode/db/db_purge.php, godmode/extensions.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/alert_manager.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/alert_manager_editor.php,
	godmode/agentes/manage_config.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/agent_disk_conf_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php,
	godmode/agentes/agent_manager.php,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/graph_builder.php, godmode/servers/plugin.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/modify_alert.php, godmode/alerts/configure_alert.php,
	godmode/menu.php: Replaced $id_user with $config['id_user']. Use __a
	instead of $lang_label to future use of gettext. Style
	corrections.

	* godmode/agentes/planned_downtime.php: Rewritten to use Pandora
	functions and adopt the UI style. Replaced lang_string with __().

	* pandoradb.sql: Fields in tplanned_downtime renamed to fit
	guidelines.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-11 10:59:07 +00:00
slerena b16aac61f6 2008-08-05 Sancho Lerena <slerena@gmail.com>
* AUTHORS: Added Evi to AUTHORS file.

	* pandoradb.sql: MAJOR UPDATE and normalization of database
	structure. trecon_task table has changed from previous 2.0 version.

	* pandoradb_data.sql: Minimal updates.

	* reporting_builder.php: Fixed bug #2035570 (Two weeks instead one 
	week in combo to select SLA period).
	.
	* manage_config_remote.php: Fixed bug #2032889: Show configurations
	not present in disk and fail to copy them.

	* manage_recontask.php: Show OS, and some stetical changes and code
	optimization. Removed old code for assigned network servers and so on.

	* manage_recontask_form.php: Removed old fields, added new fields, fixed
	old bugs (create incident combo).

	* config_inc.php: Code cleanup, updated variables.

	* config_process.php: Updated version info.

	* estado_ultimopaquete.php: Added refresh icon.

	* view_server.php: Added missing link to view_server_detail.php for
	recon servers. Somebody take it prisoner :-)

	* view_server_detail.php: Code stype update, and some fixes and new 
	column information.

	* modificar_agente.php, configurar_agente.php: Fixed use of $id_user.

	* index.php: Temporal workaround to use $id_user as global. Need to fix.
 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-05 11:42:08 +00:00
Esteban Sanchez 6173f0bf72 2008-08-05 Esteban Sanchez <estebans@artica.es>
* include/functions_extensions.php: Added function to call login
        functions of the extensions. Functions renamed.

        * include/styles/pandora.css: Added style to notify bubble.

        * general/logon_ok.php: Added extensions login functions call. Style
        correction.

        * include/functions.php: Fixed array values cleanup on safe_input(). 
        Documentation added to clean_output_breaks().

        * index.php: Renamed functions fix.

        * operation/menu.php: Style correction.

        * ChangeLog: Added comment about commit #1000.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-05 10:47:40 +00:00
Esteban Sanchez 00bb3be3f1 2008-08-04 Esteban Sanchez <estebans@artica.es>
* index.php: Set id_user in config array when login. This fixes errors
        and notices on login screen.

        * operation/menu.php: Replaced use of id_user on SESSION array with
        config.

        * general/logon_ok.php: Replaced lang_label with lang_string(). Use
        id_user on config array. Style correction and code cleanup.

        * godmode/extensions.php: It was showing main functions of extensions 
        instead of godmode ones.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-04 14:29:41 +00:00
Esteban Sanchez af105fa845 2008-08-04 Esteban Sánchez <estebans@artica.es>
* extensions/hello.php: Fixed old function name. Activate the 
        extension by default. Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-04 08:53:10 +00:00
Esteban Sanchez 2c8375ed0f 2008-08-04 Esteban Sánchez <estebans@artica.es>
* godmode/extensions.php, operation/extensions.php: Added to
        repository. Extensions interface to operation and godmode modes.

        * images/extensions.png: Added to repository. Extensions icon for the
        menu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-04 08:47:20 +00:00
Esteban Sanchez d2891eb1c8 2008-08-04 Esteban Sánchez <estebans@artica.es>
* AUTHORS: Added myself.

        * include/functions_extensions.php: Added to repository. Implements
        extensions functions. Extensions are some kind of plugins to the
        console to add functionallity in a modular way. More work and 
        documentation is needed.

        * godmode/reporting/reporting_builder.php, include/functions.php,
        operation/agentes/networkmap.php, operation/agentes/ver_agente.php:
        Style correction.

        * include/functions_db.php: Added load_lang_file() to load the 
        languages file (useful in extensions l10n). Style correction.

        * index.php: Load extensions and call them in cases.

        * godmode/menu.php, operation/menu.php: Style correction, code 
        cleanup. Added extension menu and submenus. Use of CSS more efficient.

        * include/config_process.php: Added extensions support.

        * extensions/, extensions/hello.php: Added to repository, extensions
        dir and example.

        * include/functions.php: Style correction.

        * include/styles/op.css: Cleanup and rewritten the CSS hell it was 
        before.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-04 08:15:16 +00:00
marostegui c657f95ba3 2008-08-01 Manuel Arostegui <marostegui@artica.es>
* include/help/en/help_plugin_definition.php: Language corrections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-01 06:17:34 +00:00
guruevi 9f37723042 2008-07-30 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/db/db_purge.php: A quick fix to the bug I introduced in a previous version of this.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 17:17:28 +00:00
slerena 2f2ec46b1c 2008-07-31 Sancho Lerena <slerena@gmail.com>
* include/help/en/help_plugin_definition.php: New help page for 
	plugin register section.

	* include/javascript/pandora.js: Help window now shows scrollbar.

	* general/pandora_help.php: Better layout for help system.

	* godmode/servers/plugin.php: Fixed position / menu issues and other
	menor bugs in plugin editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 16:14:04 +00:00
Ramon Novoa 73ef5ae856 2008-07-31 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_wmiquery.php,
          include/help/en/help_wmifield.php,
          include/help/en/help_wmikey.php: Added to repository. WMI help pages.
        * include/languages/language_en.php, pandoradb.sql,
          pandoradb_data.sql,
          godmode/agentes/agent_template.php,
          godmode/agentes/module_manager_editor_network.php,
          godmode/agentes/module_manager_editor_wmi.php,
          godmode/agentes/module_manager_editor.php,
          godmode/modules/manage_network_components_form.php,
          godmode/modules/manage_network_components.php: Added support for WMI
          modules, including components and templates.
        * godmode/modules/manage_network_components_form_network.php,
          godmode/modules/manage_network_components_form_wmi.php: Added to
          repository. Component editors.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 11:26:02 +00:00
slerena 627e1187ad 2008-07-30 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Some changes in structure for new export server. Removed
	and extra comma in tplanned_downtime.

	* pandoradb_data.sql: Deleted some stuff from Gigabit module templates, 
	too much.

	* logon_ok.php: Header update.

	* menu.php: Plugin editor moved under server section.

	* modificar_agente.php: Added icon to agent config editor from manage
	agents view.

	* links.php: Some code cleanup.

	* pandora.ico: New .ICO file for web, this will be official one for
	2.0 version.

	* functions_db.php: Fixed a problem in audit_db() where parameters
	was not properly cleaned and with ' chars this makes an SQL error.
	Fixed BUG #2032885, in function get_monitors_in_agent () where a 
	bad SQL forced an error in report.

	* estado_agente.php, estado_generalagente.php: Added link to group 
	view from group icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 18:39:40 +00:00
guruevi 6f8feafda3 2008-07-30 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb.sql: Updated schema for tplanned_downtime

	* include/functions_db.php: Small bug that gave a warning in case there were no events for an agent

	* godmode/agentes/planned_downtime.php: You can now create planned downtime schedules. This 
	won't work yet as the server doesn't support it yet. So I didn't integrate it in the menu either, but it can be.

	* general/links_menu.php: The first link will also show up. It wasn't showing up because the mysql function
	that was used moved the internal pointer ahead while checking if it existed. Used new functions.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 18:19:58 +00:00
guruevi c0c84eb2c5 2008-07-29 Evi Vanoost <vanooste@rcbi.rochester.edu>
* functions_db.php: Quick fix. Used wrong function.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-29 17:10:28 +00:00
guruevi 12efa658cf 2008-07-29 Evi Vanoost <vanooste@rcbi.rochester.edu>
* functions_db.php: Style changes, updated process_sql so it can return other
        interesting stuff on INSERT. No functions have direct mysql functions anymore

        * logon_ok.php: Style changes. Made it use the DB functions


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-29 16:50:17 +00:00
slerena 6460832fc3 2008-07-27 Sancho Lerena <slerena@gmail.com>
* events_marquee.php: Small improvement, show agent name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-28 17:40:33 +00:00
slerena 4acf215dc0 2008-07-27 Sancho Lerena <slerena@gmail.com>
* events_marquee.php: I forget to commit this file in my prev. 
        commit. This is a new file because I lost it :-(

        * planned_downtime.php: It is LOST :(. I need to code from scratch, 
         probably this stuff don't see the light in weeks. Server code works.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-28 11:31:23 +00:00
raulmateos 26fa4599dc 2008-07-26 Raul Mateos <raulofpandora@gmail.com>
* Commited again the files due to failure in my svn client (no recursive)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-26 16:25:12 +00:00
raulmateos 6f155a19fd git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2008-07-26 16:24:01 +00:00
raulmateos d629a4bb47 2008-07-26 Raul Mateos <raulofpandora@gmail.com>
* general/error_noconfig.php, error_install.php, error_perms.php: Updated headers, solved english language typos, deleted includes not used. Better coding style.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-26 16:23:24 +00:00
slerena 33e3cfd3cc 2008-07-25 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Added new tables for planned downtimes.
	
	* godmode/menu.php: Added entry for manage downtimes.

	* group_list.php: Stetic changes in table.

	* modificar_server.php: Fixed timestamp render for start/update 
	timestamp of each server.

	* functions.php: Minimal estetic changes in help function.

	* functions_db.php: Change header (Flexible <- Free)

	* functions_html.php: Now select admits multiselect option. Default
	class for table render is now databox not databox_color.

	* AUTHORS: Update list of authors and make a reference to contributors.

	* function_reporting.php: Header change, updated datetime string format.

	* language_en.php, language_es_es.php: Changed FREE for Flexible.

	* pandora.css: Minimal changes. Update color of Monitor count in tactical.

	* menu.php: Added some new event options: CSV Export, RSS and new marquee
	event visualizer. 

	* estado_ultimopaquete.php: Header update.

	* tactical.php: Added link to data module alerts. 

	* ver_agente.php: Fixed a problem in ajax code that was rending bad 
	count of down monitors. Using boolean comparation on result of function
	get_db_sql(). This kind problem could be in more lines of code.

	* events.php: New quicklinks to RSS, CSV and Marquee in event viewer.

	* export_csv.php, events_rss.php: Fixed duped call to function includes. 

	* graph_viewer.php: I hope this fix FINALLY the annoying bug of graph
	type selector.

	* visual_console/index.php: Updated header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-25 18:37:32 +00:00
guruevi 46e1452ea7 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/messages/message.php: Rewrote large parts.
        Simplified functions. Fixed a bug where group messages sent a message
        only to one member of a group. Also fixed a bug where it only displayed
        your own group(s), right now it will display all users and groups a user
        has rights to (using get_user_groups ()) so that you can send messages
        to everyone. - This commit is only for adherence to style

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-22 16:41:19 +00:00
guruevi 78376dc3c5 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/messages/message.php: Rewrote large parts.
        Simplified functions. Fixed a bug where group messages sent a message
        only to one member of a group. Also fixed a bug where it only displayed
        your own group(s), right now it will display all users and groups a user
        has rights to (using get_user_groups ()) so that you can send messages
        to everyone.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-22 16:30:20 +00:00
slerena 4aa5247d94 2008-07-22 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Some changes for types not implemented in 2.0

	* module_manager_editor.php: Added help, more space in textareas for
	tcp recv/send. Better layout.

	* help.png: Smaller icon.

	* view_server.php: Fixed problem with lastupdate render. This was using
	and incorrect function to render data



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-22 16:21:05 +00:00
guruevi 58f26727ed 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/include/functions_reporting.php: Latest commit forgot a semicolon after return which resulted in an error on the front page. Fixed.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-21 14:03:39 +00:00
Esteban Sanchez a4c010ce4b 2008-07-21 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/graph_builder.php,
        operation/snmpconsole/snmp_alert.php: Applied patch from Kato
        Atsushi.

        * include/functions_reporting.php,
        operation/reporting/reporting_viewer.php,
        godmode/reporting/reporting_builder.php: Adopted to changes in
        get_db_* functions.

        * include/functions_db.php: Removed quotes sorrounding %d characters
        in sprintf. Returned empty array on get_simple_alerts_in_agent() and
        get_combined_alerts_in_agent(). Style correction. Return all fields on
        get_db_all_fields_in_table().

        * ChangeLog: Updated previous commit message format and date.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-21 13:43:33 +00:00
guruevi c7ae3bd073 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/general/logon_ok.php: Fixed bug, the latest update failed in the middle (SourceForge SVN problems) and didn't include this file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-21 13:08:25 +00:00
guruevi eb6398fa59 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/godmode/db/*.php
        -require_once for config might already have loaded
        -Changed mysql_real_escape_string in favor of get_parameter_post
        -Process the DELETE SQL queries through process_sql()
        -Changed comprueba_login() for check_login()
        -Adhered some things to preferred style
        -Compounded SQL queries into joins, subqueries or functions
        -Removed mysql_close() from db_purge.php since the select
        after the delete wouldn't work anymore (database closed)

        * pandora_console/godmode/reporting/reporting_builder.php
        -Fixed a bug that was introduced when the SQL functions returned false

        * pandora_console/include/functions_db.php
        -Made foreach instead of while loops for simpler functions
        -Fixed get_reports that failed since SQL function return false
        -All SQL functions now return false in case of empty
        -New SQL function process_sql that can handle DELETE. Returns
        affected rows in case of a changing query or an array in case
        it was a selecting query or false in case of error

        * pandora_console/include/functions.php
        -Simplified safe_input function

        * pandora_console/index.php
        -Updated SQL queries, style changes

        * pandora_console/operation/agentes/*.php
        -Style changes and updates to use check_login


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-21 12:23:28 +00:00
Esteban Sanchez 2106d763ff 2008-07-17 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/map_builder.php: Check background existance to
        avoid warnings.

        * include/functions.php: Added Giga magnitude in format_for_graph(),
        thansk to tono user in openideas.

        * include/functions_db.php: Check database result on
        return_status_layout(). Deleted "LIMIT 1" on get_previous_data() which
        was causing SQL failures. Style correction.

        * include/functions_reporting.php: Check database result on
        get_agent_module_sla().

        * operation/agentes/datos_agente.php: Removed useless code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 12:21:17 +00:00
raulmateos bbd9552345 2008-07-17 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/status_monitor.php: Closed html tags.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 09:16:30 +00:00
Esteban Sanchez 081ca73ba7 2008-07-17 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php,
        godmode/reporting/map_builder.php: Check if all_agents were set to 
        avoid warning on foreach.

        * include/functions_db.php: Fixed typo in return_status_layout().
        Return false on get_db_all_rows_sql().

        * include/functions_visual_map.php: Check layouts_data to avoid
        warning on foreach. Removed ugly comments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 07:38:02 +00:00
Esteban Sanchez 34797317a3 2008-07-17 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Removed debug output to check use of
        deprecated function. Please don't add message like this since there
        are many people who use Pandora trunk and may find strange messages
        like that.

        * operation/agentes/networkmap.php: Removed warning message if file 
        doesn't exists on checking cache system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 06:51:22 +00:00
Esteban Sanchez 3a96085c9a 2008-07-17 Esteban Sanchez <estebans@artica.es>
* include/functions.php: Minimal style correction.

        * include/functions_db.php: Check sql_cache with empty() to avoid
        notices.

        * operation/agentes/status_monitor.php: Tab style correction.

        * general/logon_ok.php: Added missing field to SQL sentence which was 
        causing PHP notices.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 06:41:39 +00:00
guruevi fa1fc24dd8 2008-07-16 Evi Vanoost <vanooste@rcbi.rochester.edu>
* Phasing out comprueba_login() across the board

	* Optimizing queries and php script. Fixing small bugs.

	* ChangeLog is coming, this is just a WiP commit so I don't lose all the changes by tomorrow.
		I'm still busy analyzing some queries in the godmode/db directory so this revision might be unusable, use the previous revision for a 'stable' version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-16 21:04:31 +00:00
Esteban Sanchez 0bb314ff41 2008-07-15 Esteban Sanchez <estebans@artica.es>
* ChangeLog: Fixed some indentation and lines length issues. Fixed
        also some filepaths.

        * include/functions_db.php: Tab and blankspaces correction. Limit the
        query to one result in get_db_value() and get_db_row().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@954 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-15 21:29:28 +00:00
guruevi 086ec57b3c 2008-07-13 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/general/logon_ok.php: Made the query use sprintf (for security purposes)

        * pandora_console/include/functions_db.php: Made all the database queries relying on a single query function for simpler management
                Also made sure that no functions returned NULL because NULL is a valid database value. It will return an empty value or something
                Also made a simple query cache array so that duplicate queries to generate a single page won't be repeated (ACL queries)
                Also updated some other queries and functions (see the diff) and removed some old code

        * pandora_console/estado_grupo.php: Now with working agents counter!

        * pandora_console/general/footer.php: Just made a fancy counter that displays how much queries weren't duplicated (90 on some pages!!)


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@953 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-15 20:19:30 +00:00
guruevi 15283d4b31 2008-07-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/agentes/networkmap.php: Some minor bugfixes introduced with my changes yesterday

        * pandora_console/general/links_menu.php: 2 queries for a menu? Changed it to a single query. This list will likely never be empty - if it is, Links section won't be generated

        * pandora_console/general/logon_ok.php: Updated the queries to go faster. Changed the timestamp calculation to an indexed query using utimestamp and UNIXTIME(NOW())-604800

        * pandora_console/images/networkmap/8.png: Added the Mac OS X icon.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-14 18:00:54 +00:00
guruevi 0f64af2274 2008-07-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_server/pandora_network
        * pandora_server/pandora_recon
        * pandora_server/pandora_plugin
        * pandora_server/pandora_prediction: Updated the queries it performs. Made the MASTER server query a nested query, that way you don't join thousands of records (it was up to 6000 in my environment) wh
ile you only need a few records. It won't log as a slow query (indexes are used)

        * pandora_console/operation/agentes/estado_grupo.php: Fixed the issue where all data was 0-ed out. There was an if-then-else construction that wasn't working well

        * pandora_console/operation/agentes/networkmap.php: Made more extensive error messages that explains WHY it wasn't generating. Then also made it so the image is cached instead of regenerated every tim
e (currently hardcoded at 5 min.). 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@951 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-11 20:20:43 +00:00
guruevi 4aee8792e8 2008-07-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/agentes/estado_grupo.php: Fixed some extra spaces that made the URL look ugly

        * pandora_console/operation/agentes/status_monitor.php: Made a nested SQL query out of the flagging operation, much faster now.
                There is still a bug here that I was trying to fix. Everything is 0-ed on this page. I will find out why tomorrow

        * pandora_console/images/console/background: Added some backgrounds

        * pandora_server/pandora_server_installer: Some typos that made some things fail and fixed the wheel/root thing for debian/non-debian distro's


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-10 21:24:37 +00:00
slerena d2377f9f09 2008-07-10 Sancho Lerena <slerena@gmail.com>
* include/styles/pandora_red.css: Updated.

	* include/styles/pandora_black.css: New style with BLACK blackground.

	* include/styles/pandora.css: Updated.

	* include/functions_db.php: Added auto order combos and queries.
	
	* include/functions_visual_map.php: Added overlap on down elements if
	there are more than one in the same position (This could allow to cluster
	elements to shown the down status first). Removed unused code.

	* operation/events/events.php: Added tooltip for group name.

	* operation/visual_console/render_view.php: Adjusted controls position.

	* operation/agentes/status_monitor.php: Added status for unknown monitors.
	Added some database search improvement.

	* operation/agentes/sla_view.php: Sorted list of items.

	* operation/agentes/ver_agente.php: Updated AJAX code for network map
	detail view of an agent. Added alert data.

	* operation/agentes/tactical.php: Removed 'fixed' styles, now using CSS.

	* operation/agentes/networkmap.php: Added ransep and font selectors. 
	Added alert under yellow color. Minor improvements.

	* operation/reporting/graph_viewer.php: Style update.

	* operation/menu.php: Visual console maps sort by name

	* images/background-li.gif: This sould replace <li> image.

	* general/login_page.php: Added build version on develop mode.

	* godmode/reporting/map_builder.php: Sorted lists, and shown module name 
	instead description.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-10 11:58:40 +00:00
guruevi 5403c96f09 2008-07-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/pandoradb.sql: Updated indexes

        * pandora_agents/mac_osx: Updated pieces here and there including the installer and startup scripts to make them more compatible and reliable

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-09 16:41:13 +00:00
slerena 8d36a5d045 2008-07-09 Sancho LErena <slerena@gmail.com>
* include/functions_html.php, include/functions_db.php,
        operation/agentes/ver_agente.php, operation/reporting/graph_viewer.php
        operation/reporting/custom_reporting.php, 
        godmode/reporting/reporting_builder.php: Some issues with ordered list
        resolved. Some strings are now converted to lowercase to have a real
        ordered (alphabetical) list.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-09 16:33:28 +00:00
guruevi 14c4d62a57 2008-07-08 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_agents/ChangeLog: Added my recent modifications

        * pandora_console/ChangeLog: Added my recent modifications

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 21:01:39 +00:00
slerena 54263a3a1a 2008-07-08 Sancho Lerena <slerena@artica.es>
*  include/functions_reporting.php: Basic support for async modules.
        General stats (tactical), do not shown async modules as uknown anymore.

        * operation/agentes/estado_agente.php,
        operation/agentes/estado_ultimopaquete.php: Support for async modules.

        * godmode/agentes/modificar_agente.php: Fixed stupid bug in search
        field in last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 20:30:15 +00:00
slerena dae75937fb 2008-07-08 Sancho Lerena <slerena@artica.es>
* operation/reporting/graph_viewer.php: Added controls to view in the
        new combined graphic mode (lines), and to change size to three pre-
        defined sizes.

        * reporting/fgraph.php: Stacked mode support was missing by unknown
        reason. Reactivated. Added a mode to view combined graphs in "wired"
        mode (lines only).

        * godmode/agentes/modificar_agente.php: Disabled agents was not shown,
        so was unable to activate again. Fixed.

        * godmode/reporting/graph_builder.php: Added support for line mode.
        Disabled agents don't shown in combo. Some other minor fixes. Changed
        to show the name of the module, instead of description.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 20:06:44 +00:00
slerena e46ed7d89b 2008-07-08 Sancho Lerena <slerena@artica.es>
* include/config.php: Deleted. This file should not be included in SVN

        * images/so_aix.png: New icon for AIX systems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@941 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 19:29:26 +00:00
guruevi 00451a0cbd 2008-07-07 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora/console/install.php:  Added mysql_error debugging that can be uncommented when something goes wrong for clearer troubleshooting

        * pandora_console/pandoradb_data.sql: Fixed a line that had an extra semicolon (;) which caused the installer to fail

        * pandora_console/index.php: Fixed the code that displays the custom CSS code. Now the Console looks good.

        * pandora_console/general/header.php: Fixed the Autorefresh code. Now the Autorefresh link switches correctly between grey and white instead of staying white. Also fixed the autorefresh in case that there is no correct $_SERVER['REQUEST_URI'] so that it doesn't go 404.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-07 17:33:31 +00:00
Esteban Sanchez 0daf8ebf1d 2008-07-07 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/graph_builder.php: Tab style correction.

        * godmode/reporting/reporting_builder.php: Button label renamed.

        * include/functions_db.php: Added functions from
        functions_reporting.php.

        * include/functions_reporting.php: Added missing documentation. Added
        check to avoid division by zero on alert_reporting(). Avoid $return
        flag as parameter in some functions.

        * include/functions_reporting_pdf.php: Avoid $return flag when calling 
        some functions.

        * operation/reporting/reporting_viewer.php: Do not use a span with 
        font-size when showing sla report.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-07 13:16:13 +00:00
Esteban Sanchez f744aa788d 2008-07-04 Esteban Sanchez <estebans@artica.es>
* operation/reporting/reporting_viewer.php: Added a loading div that
        appears while the page is loading and dissapear once it's completed.

        * include/styles/pandora.css, include/styles/pandora_minimal.css,
        include/styles/pandora_width.css: Added style to loading div.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-04 10:52:27 +00:00
Esteban Sanchez a4450bcd7f 2008-07-04 Esteban Sanchez <estebans@artica.es>
* operation/reporting/reporting_viewer.php: Fixed error when showing
        final SLA result.

        * include/functions_reporting_pdf.php: Added final SLA result.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@933 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-04 08:56:11 +00:00
Esteban Sanchez 52ebf8ee50 2008-07-02 Esteban Sanchez <estebans@artica.es>
* operation/agentes/estado_grupo.php: Fixed missing variable on lag
        calculation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@932 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-03 15:48:08 +00:00
Esteban Sanchez 89c0602b58 2008-07-02 Esteban Sanchez <estebans@artica.es>
* include/functions_html.php: Fixed a typo in print_table() that was
        causing to show nothing on IE.

        * include/styles/pandora.css: Rollback to #909 since it was not
        working properly in IE. Need more discusion.

        * include/styles/pandora_width.css: Added to repository. Testing style
        to have porcentual widths.

        * operation/agentes/estado_grupo.php: Rewritten to make the code
        cleaner and a bit smarter. Future work will be required to make the
        tooltips or the table better.

        * reporting/stat_win.php: Replaced include with require_once to
        speed up the code parsing, besides it was not working with the
        includes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-03 15:13:14 +00:00
Esteban Sanchez 83ba482bd1 2008-07-02 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Removed extra "#" in
        javascript.

        * godmode/reporting/map_builder.php: Changes to try working in
        Internet Explorer (not completed yet, it's really hard).

        * include/functions_db.php: Changed sever_status() It won't longer 
        return all the modules in pandora, since it's not need in this 
        function, also replaced a strange SQL which was using MAX() with a more
        logical DISTINCT(). Style correction.

        * include/styles/pandora.css: Removed #main width, so it's as wider as
        the parent. Fixed menu_tab_fram and menu_tab_frame_view divs to the
        new template, aligned to the right. Tab and blankspaces correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-03 11:47:53 +00:00
slerena 5c36d4115a 2008-07-01 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Added several indexes, patch from Guruevi.

	* configurar_agente.php: Default "public" for snmp_community
	was causing a fail on blank communities (snmp community is used
	on WMI modules as filter key). Default value is now "" due the way
	get_parameter works, and don't want to change a global function.

	* module_manager_editor_wmi.php: Added two new fields: filter key
	for WMI output (using snmp_community to store it) and WMI response
	field number (using tcp_port to store it).

	* setup.php: Added global "sla_period" item to setup page.

	* sla_view.php: Fixed code to be more close on our coding standards. 
	Need to improve and uses the global table functions on functions_html.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 19:48:27 +00:00
Esteban Sanchez 2a4b624826 2008-07-02 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Fixed typo in event_insert().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@918 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 12:44:18 +00:00
Esteban Sanchez a5c5c127d7 2008-07-02 Esteban Sanchez <estebans@artica.es>
* include/styles/pandora.css: Removed width on header div.

        * include/functions_db.php: Use id_user parameter in logon_db().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 12:40:58 +00:00
Esteban Sanchez bcd04b2130 2008-07-02 Esteban Sanchez <estebans@artica.es>
* general/logon_ok.php: Style correction.

	* include/languages/language_en.php: Added a couple of strings.
	
	* include/styles/pandora.css: Container div has now variable width, so
	Pandora console is wider now.

	* include/config.php: Replaced default values from last commit. Change
	homeurl variable, which now points to base url directory.

	* include/config_process.php: Style correction. Use pandora functions
	and indent the code properly.

	* reporting/fgraph.php, include/functions.php, ajax.php: Use
	require_once instead of require which speeds up the code parsing.
	
	* index.php: Use require_once instead of require which speeds up the
	code parsing. Add all GET and POST variables when refreshing a page.
	Style corrections. Use $_SERVER instead getenv.

	* include/functions_db.php: Avoid including config.php and use global
	instead. Replaced some id_user with the respective variable holds in
	config array. Replaced SQL syntax, removed an undeclared variable and
	renamed to english in event_insert(). Renamed
	return_moduledata_*_value() to get_agent_module_value_*(). Fixed an
	error in the sumatory when the module is incremental.

	* include/functions_reporting.php: Renamed return_module_SLA() to
	get_agent_module_sla().

	* include/functions_reporting_pdf.php: Tabs and blankspaces
	correction. Style correction. Added new reports rendering, and fixed
	images references. Removed old and deprecated functions.

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

	* operation/agentes/sla_view.php, reporting/stat_win.php: Use renamed
	functions.

	* operation/reporting/reporting_viewer.php: Table reports width are
	now wider. Fixed some colspan problems. Generate custom graph ids
	better. Added agent and module name to SLAs. Style correction in the
	use of rowclass structure since now each content has its own table.

	* operation/reporting/custom_reporting.php: Removed unused variable
	for PDF reporting generation link.

	* operation/reporting/reporting_viewer_pdf.php: Rewrite the code to
	make style corrections and use pandora functions.

	* operation/menu.php: Tabs and blankspaces correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@916 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 12:30:56 +00:00
slerena 5da9c1aa90 2008-07-01 Sancho Lerena <slerena@gmail.com>
* include/config_process.php: Default back to 1 week.

        * estado_monitores.php: Removed SLA check from there. Too slow for a 
        main view.

        * operation/agentes/ver_agente.php: Modified tabs to have SLA view.

        * operation/agentes/sla_view.php: New SLA specific view, show all
        automatic SLA coming from monitor data and add's individual items
        from a SLA report defined for any module of this agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-01 19:47:17 +00:00
jorgonzalez 5622792872 2008-07-01 Jorge Gonzalez <jorgegonz@artica>
* images/help.png: new help image.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@914 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-01 14:21:24 +00:00
jorgonzalez e5273aca0f 2008-07-01 Jorge Gonzalez <jorgegonz@artica.es>
* godmode/agentes/agent_manager.php: changed $lang_label () to function
        lang_string (); modified tooltips and inline help.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-01 12:47:25 +00:00
jorgonzalez ca2703ef6c 2008-07-01 Jorge Gonzalez <jorge.gonzalez@artica.es>
* include/help/en/help_plugin_parameters.php,
        include/help/en/help_alert_recovery.php,
        include/help/en/help_prediction_source_module.php,
        include/help/en/help_snmpwalk.php,
        include/help/en/help_alert_type.php,
        include/help/en/help_network_component.php: Added new help pages.

        * include/help/en/help_map_builder.php,
        include/help/en/help_postprocess.php,
        include/help/en/help_recontask.php, include/help/en/help_alerts.php,
        include/help/en/help_manage_alerts.php: modified HTML tag.

        * godmode/agentes/module_manager_editor_network.php,
        godmode/agentes/module_manager_editor_plugin.php,
        godmode/agentes/module_manager_editor_prediction.php,
        godmode/agentes/alert_manager_editor.php,
        godmode/agentes/module_manager_editor_data.php,
        godmode/agentes/modificar_agente.php,
        godmode/agentes/agent_manager.php, godmode/alerts/configure_alert.php:
        Added/modified help support.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@912 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-01 11:26:17 +00:00
jorgonzalez 155c4f4bf9 2008-06-30 Jorge Gonzalez <jorge.gonzalez@artica.es>
* include/help/en/help_recontask.php: Added help page for Recon tasks.

        * include/languages/language_en.php: Added some strings.

        * godmode/agentes/module_manager_editor_wmi.php,
        godmode/servers/manage_recontask_form.php: Added support for inline
        help.

        * godmode/agentes/module_manager_editor_plugin.php, 
        godmode/agentes/module_manager_editor_data.php: Fixed buggy table,
        modified previously.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 16:42:19 +00:00
slerena e0fe5d3b27 2008-06-30 Sancho Lerena <slerena@artica.es>
* config_process.php, pandoradb_data.sql, setup.php: Added global 
	"sla_period" for default Monitor SLA calculation (in sec).
	
	* estado_monitores.php: By default now shows a SLA based on "sla_period"
	period. 

	* networkmap.php: Fixed layout to use overlap in all modes using different
	techniques, depending on graph type. Tested with different map layouts in
	size, topology and dimension.

	* agent_manager.php: Agent names are now show in order.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@910 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 16:38:26 +00:00
jorgonzalez 08389b349d 2008-06-30 Jorge Gonzalez <jorge.gonzalez@artica.es>
* include/styles/pandora.css: Added cursor style for inline help.

        * include/help/en/help_manage_alerts.php: Added help page for Alert
        management.

        * include/help/en/help_snmpcommunity.php: Added help page for SNMP
        community.

        * include/help/en/help_map_builder.php: Added help page for map
        builder.

        * include/help/en/help_postprocess.php: Checked spelling.

        * include/help/en/help_module_type.php: Added help page for Module
        type.

        * include/help/en/help_snmpoid.php: Added help page for SNMP OID.

        * include/help/en/help_alerts.php: Added help page for Alert
        configuration.

        * include/help/en/help_module_definition.php: Added help page for
        Module definition.

        * include/functions.php: Added cursor style for inline help.

        * include/languages/language_en.php: Added new strings.

        * operation/agentes/estado_grupo.php: Fixed wrong link and text, it is
        a group, not an agent.

        * operation/agentes/tactical.php: Fixed bug for empty values.

        * godmode/agentes/module_manager_editor_network.php,
        godmode/agentes/module_manager_editor_wmi.php,
        godmode/agentes/module_manager_editor_plugin.php,
        godmode/agentes/module_manager_editor_prediction.php,
        godmode/agentes/alert_manager_editor.php,
        godmode/agentes/module_manager_editor_data.php,
        godmode/agentes/agent_manager.php,
        godmode/modules/manage_network_components_form.php,
        godmode/reporting/map_builder.php, godmode/alerts/plugin.php,
        godmode/alerts/configure_alert.php: Added suppot for inline help.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 15:46:36 +00:00
Esteban Sanchez f357e3b0c0 2008-06-30 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Removed debug output.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@908 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 15:04:42 +00:00
Esteban Sanchez cb9cadd524 2008-06-30 Esteban Sanchez <estebans@artica.es>
* godmode/groups/configure_group.php: Complete rewritten. Use Pandora
        functions and added javascript support.

        * godmode/groups/group_list.php: Rewrite to use Pandora functions.
        Code cleanup.

        * godmode/reporting/map_builder.php: Added width and height support to
        graphics layout items type.

        * godmode/reporting/reporting_builder.php: Style correction.

        * operation/agentes/networkmap.php: Unused code cleanup. Style
        correction. Use hex color codes instead of names, because graphviz was
        complaining about them. Avoid a warning on graphviz about "color" in a
        TD. Replaced lang_label with lang_string(). Show error if map could
        not be generated.

        * operation/reporting/reporting_viewer_pdf.php: Style correction and
        code cleanup.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 14:54:56 +00:00
slerena bb39747631 2008-06-30 Sancho Lerena <slerena@artica.es>
* agent_manager.php: Agent names are now show in order.

	* functions.php: Added a blank space in Help icon.

	* tactical.php: Added a few links in tactical view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@906 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 12:34:23 +00:00
Esteban Sanchez 33992fd9e9 2008-06-30 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Renamed get_db_all_rows_sqlfree() to
        get_db_all_rows_sql(). Replaced all occurrences of old function name.

        * general/logon_ok.php, godmode/reporting/reporting_builder.php,
        operation/reporting/reporting_viewer.php, reporting/fgraph.php,
        include/functions_reporting.php: Replaced all occurrences
        ofget_db_all_rows_sqlfree() with get_db_all_rows_sql().

        * include/config_process.php: Do not add a slash to attachment_store 
        config variable.

        * include/functions.php: Style correction.

        * operation/agentes/estado_agente.php: Reduced one indentation level
        by using comprueba_login() propperly.

        * include/javascript/jquery.cluetip.js: Added to repository. jQuery 
        plugin to add cute tips support.

        * images/darrowdown.gif, images/darrowright.gif, images/darrowup.gif,
        images/darrowleft.gif, images/wait.gif, include/styles/cluetip.css: 
        Added to repository. Cute tips styling.

        * operation/agentes/networkmap.php: Added support to pretty tips to
        each node of the network map. Use a variable to define the name of 
        Pandora FMS node (maybe it would be a nice idea to let the user 
        configure it). Added an extra check for file existance when generating  
        the graphic. Use pandora functions in some cases. Style correction.

        * operation/agentes/ver_agente.php: Added AJAX support to get the
        current status of an agent to suit in a tooltip.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 08:11:10 +00:00
Esteban Sanchez 079c147e8b 2008-06-27 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Renamed variable from spanish.

        * include/functions_reporting.php: Splitted 
        agents_detailed_reporting() into agent_detailed_reporting() so now
        it's possible to get the report of a single agent. Also the table
        width of this report was reduced a bit to fit well in the console.

        * include/styles/pandora.css: Added style to agent reportings,
        basically a border.

        * operation/reporting/reporting_viewer.php: Separate each report into
        its own table. Flush the result to improve speed. Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-27 08:06:28 +00:00
Esteban Sanchez 935e13dfe6 2008-06-26 Esteban Sanchez <estebans@artica.es>
* images/console/background/africa.jpg,
        images/console/background/asia.jpg,
        images/console/background/europe.jpg,
        images/console/background/north_america.jpg,
        images/console/background/south_america.jpg,
        images/console/background/world.jpg,
        images/console/background/oceania.jpg: Resized to fit better in
        Pandora default theme.

        * operation/visual_console/index.php: Delete view column and use a
        link in the name instead.

        * operation/visual_console/render_view.php: Replaced id_usuario with
        config variable.

        * operation/menu.php: Changed default option in reporting menu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@901 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-26 15:37:06 +00:00
Esteban Sanchez 39dcecd957 2008-06-26 Esteban Sanchez <estebans@artica.es>
* general/logon_ok.php: Use pandora functions to show last sessions.

        * index.php: Tab and blankspaces style correction.

        * godmode/reporting/map_builder.php: Fixed field name when inserting a
        layout_data. Fixed group icon on list.

        * operation/visual_console/render_view.php: Deleted firebug debug
        which was causing not to work on browsers without that extension.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@900 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-26 14:57:11 +00:00
Esteban Sanchez e28ac09264 2008-06-26 Esteban Sanchez <estebans@artica.es>
* ajax.php: Sed id_user in config array.

	* godmode/menu.php, general/header.php, operation/menu.php: Replaced
	lang_label with lang_string().

	* general/logon_ok.php: Reduced one indentation level.

	* godmode/agentes/agent_manager.php: Replaced lang_label with
	lang_string(). Use pandora functions.

	* include/functions_html.php, godmode/agentes/configurar_agente.php:
	Tab and blankspaces style correction.

	* godmode/reporting/map_builder.php: Complete rewritten to provide an
	intuitive way of build the maps. It's cool, useful and very simple.

	* godmode/reporting/reporting_builder.php: Deleted an output debug.

	* godmode/setup/setup.php: Rewritten to use pandora functions. Added a
	colorpicker for color settings.

	* include/config.php: Reset pandora password. We must solve things
	with this file...

	* include/functions.php: Check if input is an array on safe_input().
	Use filename as id in array returned by list_files().

	* include/functions_db.php: Renamed return_coordinate_* functions.
	Style correction.

	* include/javascript/jquery.js: Updated to 1.2.6.

	* include/javascript/jquery.ui.datepicker.js: Code minimized.
	
	* include/javascript/pandora.js: Style correction.

	* include/javascript/wz_jsgraphics.js: Added a class to the elements
	of a line, so it can be modified using javascript.

	* /include/styles/pandora.css: Added style to some tables dropdowns.
	Added new styles relative to visual map editor.

	* operation/reporting/reporting_viewer.php: Style correction. Added
	jQuery UI.

	* operation/visual_console/index.php: Use Pandora functions.

	* operation/visual_console/render_view.php: Drawing the map is now on
	functions_visual_map.php. Added a countdown if a refresh time is set.
	Use pandora functions. Style correction.

	* reporting/fgraph.php: Style correction. Use graphic_error() if
	there's no data on grafico_modulo_sparse().

	* images/trash.png: Added to repository. Image used on trash area on
	visual map editor.

	* images/console/background/africa.jpg,
	images/console/background/asia.jpg,
	images/console/background/europe.jpg, 
	images/console/background/north_america.jpg, 
	images/console/background/oceania.jpg, 
	images/console/background/shouth_america.jpg, 
	images/console/background/world.jpg: Added to repository. Useful and
	cool map backgrounds.

	* include/functions_visual_map.php: Added to repository. Implements
	visual map functions like drawing the map.

	* include/javascript/jquery.colorpicker.js: Added to repository.
	Implements a color picker widget.

	* /include/javascript/jquery.countdown.js: Added to repository.
	Implements a countdown widget.

	* include/javascript/jquery.ui.core.js: Added to repository. jQuery UI
	core.

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

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

	* include/javascript/pandora_visual_console.js: Added to repository.
	Function useful to visual map interface.

	* include/languages/countdown_*.js: Added to repository. Countdown
	localization.

	* include/languages/date_es_la.js, include/languages/date_gl.js,
	include/languages/time_es_la.js, include/languages/time_gl.js: Added
	to repository. Missing localizations.

	* include/styles/color-picker.css: Added to repository. Colorpicker
	style sheet.

	* include/styles/countdown.css: Added to repository. Countdown style
	sheet.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@899 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-26 13:26:48 +00:00
slerena 104cf0aa06 2008-06-24 Sancho Lerena <slerena@gmail.com>
* include/functions_db.php: Fixed typo.

        * include/languages/language_es_es.php: Too long string fixed.

        * operation/agentes/tactical.php: Div0 fixed.

        * godmode/agentes/agent_disk_conf_editor.php: Check should be done 
        after reading (when updating file, because binary reads don't be afected
        by magic_quotes. This SHOULD fix the problem.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-24 12:28:34 +00:00
Esteban Sanchez ea487ad3cd 2008-06-23 Esteban Sanchez <estebans@artica.es>
* include/functions_reporting.php: Do not show alert tables if there's
        no fired alerts in the alert report. Use get_agents_in_group() in
        general_group_reporting() and agents_detailed_reporting().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@897 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-23 16:20:54 +00:00
Esteban Sanchez 82ab3f85aa 2008-06-23 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Deleted a debug output. list_group2 marked
        as deprecated function. Added get_user_groups(). Fixed an undefined 
        variable in return_moduledata_sum_value().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-23 16:07:00 +00:00
slerena 1bd3b7c38a 2008-06-23 Sancho Lerena <slerena@gmail.com>
*  include/functions.php, 
	agent_disk_conf_editor.php: FINALLY, fixed problem with slashes due
	to MAGIC_QUOTES. Some special input will be processed with new 
	function "unsafe_string" that detect MAGIC_QUOTES status and run
	stripslashes over string. Could be interesting to pass over some
	"safe" inputs (on godmode section only), where possible conflicting
	characters like "\" or "" can be passed as parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@895 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-23 15:50:19 +00:00
slerena 2fdf0e435b 2008-06-23 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Removed table "tquicksession". Not ever used.

	* pandoradb_data.sql: Updated Scheme build.

	* agent_manager.php: Removed a debug "echo".

	* db_sanity.php: Added feature to delete id_module 0 modules.

	* 3.png: Added image for AIX in network maps.

	* functions_db.php: Fixed a div0 in return_moduledata_avg_value(). 
	Added server_status() that calculate modules for each server kind,
	and return a consistent LAG calculation.

	* menu.php: Better Server view menu visualization.

	* estado_ultimopaquete.php: Don't show disabled modules anymore.

	* vier_server.php,
	tactical.php: Removed old server status code, and used server_status()
	function to get all data.

	* graph_viewer.php: Added ACL checks for each graph element.

	* fgraph.php: Negative values are now rendered in single graphs.

	* pandoradb*.sql (1.3 to 2.0, and 1.3 to 2.0): Deleted, not working.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@894 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-23 14:36:22 +00:00
Esteban Sanchez f5a7114a87 2008-06-20 Esteban Sanchez <estebans@artica.es>
* functions_db.php: Fixed get_agents_in_group() to handle "All" group
        properly and make it capable to get disabled agents or not. Style
        correction. Fixed a typo in agent_add_address().

        * godmode/reporting/reporting_builder.php: Use get_agents_in_group()
        to get the agents in the group of the report, specially group "All".
        Added agent and module column to report content list when applies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-23 11:50:11 +00:00
slerena 76a4ac5f0b 2008-06-20 Esteban Sanchez <estebans@artica.es>
* include/functions_reporting.php: Deleted reference to localhost. Align 
        times fired colum. Show priority string instead on alerts.

        * include/functions.php: Show only one decimal by default on 
        format_numeric() and format_for_graph(). Cut alert name, agent name 
        and module name. Style correction.

        * include/functions_db.php: Function give_moduleinterval() renamed to
        get_module_interval() and fixed a typo with variable name. On 
        get_previous_data() get the data if it's not older than the interval.
        Order datas on min, max and sum calculation by the timestamp. Fixed and
        improved the sumatory calculation.

        * operation/agentes/status_monitor.php: Ignore disabled modules.

        * operation/reporting/reporting_viewer.php: Do not use format_for_graph(),
        but format_numeric() instead.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-20 12:13:35 +00:00
slerena dc6e7d6fe2 2008-06-19 Sancho Lerena <slerena@gmail.com>
* Fixed some typos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 16:01:54 +00:00
slerena f4757999f4 2008-06-19 Sancho Lerena <slerena@gmail.com>
* Fixed bad conflict resolution commit in functions_db.php



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@886 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 14:38:18 +00:00
slerena af5113e0dd 2008-06-19 Sancho Lerena <slerena@gmail.com>
* include/functions_reporting.php
	include/config.php
	include/functions.php
	include/functions_db.php
	operation/agentes/estado_grupo.php
	operation/agentes/estado_agente.php
	operation/agentes/estado_monitores.php
	operation/agentes/tactical.php
	operation/agentes/networkmap.php
	godmode/agentes/module_manager.php
	godmode/agentes/agent_manager.php: Several fixes for module disabled issue



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 14:34:04 +00:00
Esteban Sanchez 088ba4200b 2008-06-18 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Fixed an error on
        get_db_all_rows_sqlfree().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 13:58:23 +00:00
Esteban Sanchez 897f5f3ece 2008-06-18 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added documentation to all the functions
        using javadoc style. Deleted unused and useless functions. Style
        correction. User pandora database functions in functions that getss
        simples values. Replace lang_label with lang_string().

        * include/functions_reporting_pdf.php,
        operation/reporting/reporting_viewer_pdf.php,
        operation/visual_console/render_view.php,
        include/functions_reporting.php: Replaced deprecated functions with 
        equivalents.

        * godmode/agentes/agent_manager.php: Fixed a bug with parent dropdown
        select.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 13:50:52 +00:00
Esteban Sanchez f42b3c6003 2008-06-18 Esteban Sanchez <estebans@artica.es>
* functions.php: Added documentation to all the functions in JavaDoc
        format, which is an facto-standard. Deleted unused functions. Improved
        the code of some functions. Tab and blankspaces style correction.
        Replaced old lang_label with lang_string(). Some functions to print
        selects were replaced with a functio to get an array with all the
        possible values so the caller will use print_select() with them.

        * godmode/agentes/agent_manager.php: Use print_select() instead of
        deleted function.

        * godmode/agentes/alert_manager_editor.php: Use print_select() instead
        of deleted function. Use print_checkbox(). Style correction

        * godmode/reporting/map_builder.php, operation/agentes/ver_agente.php,
        operation/messages/message.php,
        operation/reporting/reporting_viewer_pdf.php:
        Replaced deleted functions with their equivalents.

        * include/functions_db.php: Documented some functions, some work is
        still required. Added get_reports() to get all the reports a user can
        see. Deleted unused functions. Replaced deleted functions with their
        equivalents. Added get_db_row_sql(), get_previous_data(). Fixed errors
        when calculating average, max, min and sum values of an agent module.

        * include/functions_reporting.php: Fixed errors when calculating SLA.

        * operation/events/events.php: Tab and blankspaces correction.
        Replaced form_priority with print_select(). Style correction.

        * operation/reporting/custom_reporting.php: Show all the reports a
        user can see. Use Pandora functions.

        * operation/reporting/reporting_viewer.php: Show unknown label if SLA
        can not be calculated.

        * operation/snmpconsole/snmp_alert.php: Avoid an extra indentation
        level by using check_login() properly. Tab and blankspaces correction.

        * index.php, operation/users/user_edit.php: Adopted to renamed
        function.

        * godmode/db/db_sanity.php, reporting/fgraph.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 09:01:12 +00:00
slerena b6e45a9d99 2008-06-18 Sancho Lerena <slerena@gmail.com>
* pandoradbdata_13_to_20.sql: prototype. not functional.

    * operation/events/export_csv.php: Event export to CSV. Support
    passed filters.

    * images/networkmap/*.png: Updated icons for network map.

    * godmode/menu.php,
    * godmode/db/db_sanity.php: New sanity tool for database in interactive
    mode using console (ported from pandora_db.pl).

    * reporting/fgraph.php: Added graphs for string data types. Fixed
    event by agent/module graph for system events.

    * general/logon_ok.php, tactica.php: Fixed a div0.

    * godmode/agentes/manage_config.php: Several fixes, and added a new
    option to mass-deletion of agents.

    * godmode/agentes/agent_manager.php,
    godmode/agentes/modificar_agente.php: Delete of remote configuration
	when delete an agent and manually, by user. 

    * operation/servers/view_server_detail.php: Added refresh option and 
    fixed layout.

    * status_monitor.php: Added new filter by state, most code rewritten.
    Added pagination fixes, and corrected labels and legends.

    * operation/agentes/networkmap.php: Several fixes and modification to 
    render small maps and huge (>200 agents) maps. This should be fine by
    now. Need "Group/Section" drawing /by click into section line/.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 00:24:05 +00:00