Commit Graph

410 Commits

Author SHA1 Message Date
jorgonzalez 96a91c2c2a 2009-01-12 Jorge Gonzalez <jorgegonz@artica.es>
include/help/en/help_alert-matches.php,
        include/help/en/help_time_stamp-comparation.php: Added help files.

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

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

        godmode/setup/setup.php, godmode/agentes/alert_manager.php: Added
        help functions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 17:03:24 +00:00
jorgonzalez 829bd47629 2009-01-12 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation. 

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

        * include/functions_alerts.php, godmode/menu.php,                   
          godmode/agentes/module_manager_editor_network.php,                
          godmode/alerts/alert_templates.php,                               
          godmode/alerts/configure_alert_template.php,                      
          godmode/setup/setup.php, operation/agentes/estado_alertas.php:
          Modified strings to improve i18n infrastructure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1334 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 15:58:32 +00:00
Esteban Sanchez b55f4af721 2009-01-12 Esteban Sanchez <estebans@artica.es>
* include/javascript/pandora_alerts.js: Added to repository.
        Javascript functions for alerts.

        * pandoradb_data.sql: Added missing field in a talert_commands row.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 15:17:19 +00:00
Esteban Sanchez fed437f321 2009-01-12 Esteban Sanchez <estebans@artica.es>
* include/functions_alerts.php: Removed debug output. Show no SQL
        error on delete_alert_* functions.

        * index.php: Added missing jQuery script.

        * godmode/alerts/alert_templates.php: Added a missing br. Show "empty"
        string if no value was set.

        * godmode/alerts/alert_commands.php: Added a check to avoid internal 
        commands removal.

        * pandoradb.sql: Removed talerta table.

        * pandoradb_data.sql: Data from talerta moved to talert_commands.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 15:09:10 +00:00
Esteban Sanchez 1b98e797a2 2009-01-12 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Complete rewritten of the alert
	system when assigned alerts to an agent.

	* pandoradb.sql: New tables for alert system. These are:
	talert_commands, talert_actions, talert_templates,
	talert_template_modules, talert_template_module_actions. No migration
	tool is available yet.

	* godmode/alerts/configure_alert_template.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php: Added to repository. Administration
	interface to new alert system.

	* godmode/alerts/modify_alert.php: Deleted from repository.

	* godmode/setup/setup.php: Added an example of the date format. Main
	table has now percentage width.

	* godmode/menu.php, operation/menu.php: Added new alert options.
	Removed refr value when it's not neccesary.

	* include/styles/pandora.css: Added width to textarea elements. Style
	correction and cleanup. Tables doesn't have a odd-even pattern, but
	the hovered row now changes its colour. New styles for alert pages.

	* include/functions_custom_graphs.php: Added to repository. custom
	graphs functions moved here.

	* include/functions_incidents.php, include/functions_events.php: Moved
	to LGPL. Style comment corrections.

	* include/functions_html.php: Documentation style correction. Added
	print_input_file() and print_label().

	* include/functions_ui.php: Doc style correction.

	* operation/reporting/graph_viewer.php: Include new function file with
	custom graphs. Use generic functions.

	* index.php: Unset pass from POST and REQUEST arrays.
	
	* include/functions_db.php: Some documentation updated to new format.
	Added format_array_to_update_sql() to generate SQL sentences for
	updates. Style correction.

	* godmode/agentes/configurar_agente.php: Variables renamed to have a
	meaning.

	* extensions/update_manager/main.php: Mark an string translatable.

	* extensions/update_manager/lib/libupdate_manager_client.php,
	godmode/alerts/configure_alert.php, include/functions.php,
	godmode/agentes/module_manager.php, operation/agentes/networkmap.php,
	operation/reporting/reporting_viewer.php, 
	godmode/agentes/manage_config.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 14:31:01 +00:00
slerena dfb96c6ae3 2009-01-12 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Removed fields "timestamp" and "id_agente" (and altered
	some indexes) on tagente_datos, tagente_datos_string and 
	tagente_datos_inc.

	tagente_estado table: removed cambio, added status_changes, last_status.
	tagente_modulo: added five new fields (warning,critical mgmt., flipflop
	detection, history module and delete_pending bit.
	
	* agent_manager.php: Group ALL not shown anymore.

	* configurar_agente.php: Support for new options. Delete a module now
	mark for deletion the module, not delete data (It's VERY slow!).

	* modificar_agente.php: Delete agent now uses the global function, 
	minor fixes.

	* module_manager_editor.php: New fields initializacion.

	* module_manager_editor_network.php: At this time, the first module
	editor who implements the new fields and improve old ones (tcp data).

	* setup.php: Added support for new token: event_view_hr (Filter of max
	old (in hr) for the event viewer. Removed old tokens show_unknown and 
	show_lastalert.

	* functions.php: format_for_graph() has an important BUG that makes
	all units rendered without the "K" !!!!. Fixed.

	* delete_agent.php: Delete remote config (if present). Also mark 
	for deletion modules instead delete them (and let the data without
	being deleted, because it's a HUGE consuming time, and it's left
	for the daily db maintance process).

	* estado_agente.php: Updated code for view new status.

	* estado_generalagente.php: Total packets are removed from this view, 
	this was a huge time consuming SQL operation that don't give important 
	infomation. Groupname is now visualized.
	
	* estado_ultimopaquete.php,
	* estado_monitores.php,
	* estado_grupo.php: Rewritten much code to view new status and other
	minor changes.

	* ver_agente.php: Data view now works under the tabs and other minor
	changes.

	* events.php: Support for the new events and status. Added filter for
	username and for a max. hours old events. Some boxes are now hidden
	by default.

	* fgraph.php: Some graphs are now fixed and uses tagente_datos and 
	tagent_access with utimestamp and without id_agent index. Works faster

	* images/*: Updated icons (module types) and two new bulb colors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-12 03:53:33 +00:00
guruevi 1493bb66cd 2009-01-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/footer.php, operation/agentes/sla_view.php, 
	operation/agentes/estado_ultimopaquete.php: Replaced time 
	function with get_system_time
	
	* operation/reporting/reporting_viewer.php, 
	operation/reporting/reporting_xml.php, reporting/stat_win.php,
	godmode/agentes/configurar_agente.php: Function renaming
	
	* include/functions_reporting.php, include/functions_db.php, 
	operation/agentes/exportdata.php, 
	operation/agentes/estado_generalagente.php, reporting/fgraph.php,
	godmode/db/db_info.php, godmode/db/db_purge.php, 
	godmode/agentes/modificar_agente.php: Made tagente_datos.id_agente
	redundant by using the internal functions and separate queries.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-09 22:12:48 +00:00
guruevi c385a6b0cc 2009-01-08 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/footer.php: Made image link relative. It wasn't working for me.
	
	* include/functions.php, include/functions_exportserver.php,
	include/functions_incidents.php, include/functions_visual_map.php, 
	include/functions_db.php, include/functions_extensions.php,
	include/functions_reporting.php, include/functions_events.php,
	include/functions_html.php, include/functions_ui.php: 
	Updated documentation to adhere to PHPDoc and parses without errors
	
	* include/functions.php: Removed unsafe_string function (magic_quotes)
	Made pagination possible to return instead of print
	
	* include/functions_db.php: Removed give_modulecategory_name 
	(Module types etc. are now in database). Was unused.
	
	* reporting/fgraph.php: Removed unsafe_string usage

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1323 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-08 15:52:13 +00:00
Ramon Novoa 80e6fb75f1 2009-01-08 Ramon Novoa <rnovoa@artica.es>
* include/functions.php,
          pandoradb.sql,
          operation/agentes/estado_alertas.php,
          operation/agentes/estado_monitores.php,
          operation/agentes/ver_agente.php: Added support for forced alert
          execution.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-08 11:53:14 +00:00
guruevi d95cc86e82 2009-01-07 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions.php: Removed safe_sql_string. Cleaned documenation so
	it would be parsed without errors by phpdoc
	
	* include/functions_exportserver.php: Aggregate all exportserver functions
	here.
	
	* include/functions_db.php: Cleaned up documentation. Added 
	get_modulegroups and get_modulegroup_name.
	
	* godmode/db/db_refine.php: Fixed the selection box.

	* godmode/agentes/agent_disk_conf_editor.php: Added todo. Don't handle 
	the footer anymore
	
	* godmode/agentes/agent_template.php, 
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_wmi.php, 
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/alert_manager_editor.php,
	godmode/agentes/module_manager_editor_network.php, 
	godmode/agentes/module_manager.php, godmode/agentes/agent_manager.php,
	godmode/agentes/alert_manager.php: 
	Removed the ACL part since it was redundant due to the inclusion. 
	Just made sure that it was included (checking on $id_agente)
	
	* godmode/agentes/manage_config.php,
	godmode/agentes/manage_config_remote.php,
	godmode/agentes/planned_downtime.php: Style fix
	
	* godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor_prediction.php: Fixed prediction 
	module creation/update bugs
	
	* godmode/setup/links.php: No more relying on antique (PHP4) functions

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-07 15:57:33 +00:00
Esteban Sanchez fa69ce621b 2009-01-07 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/modificar_agente.php: Old functions replace with new
	ones. Removed one indentation level when there's no access rights.
	
	* include/functions_ui.php: Wrong variable was being used in
	print_group_icon() to store the output and an incosistent behaviour
	was happening.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-07 10:49:42 +00:00
Esteban Sanchez 976278eec0 2009-01-07 Esteban Sanchez <estebans@artica.es>
* include/functions_ui.php: Added to repository. Functions that prints
	UI elements for Pandora. Let's make functions_html.php a single HTML
	library instead of mixing it up with Pandora specific elements.

	* include/functions.php: Fixed inline doc. Added functions_ui.php.

	* include/functions_html.php: Functions moved to functions_ui.php.
	Fixed checkbox ids in print_checkbox_extended().

	* general/main_menu.php: Make refr attribute optional. Do not print
	class attribut tag if no class was given.

	* general/login_page.php: Show login error message if login fails.
	Put POST values into the form instead of the URL.

	* index.php: Cleaned up login code to become easier.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-07 10:42:38 +00:00
guruevi 22c0ec25da 2009-01-05 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/agentes/alert_manager_editor.php, 
	godmode/snmpconsole/snmp_alert.php, include/functions_reporting.php,
	include/functions_reporting.php:
	Function updates
	
	* include/functions.php: show_alert_show_view is now format_alert_row
	
	* include/functions_db.php: get_simple_alerts_in_agent is now 
	get_agent_alerts_simple; get_combined_alerts_in_agent is now 
	get_agent_alerts_combined; get_alerts_in_agent is now get_agent_alerts;
	dame_nombre_alerta is now get_alert_type; get_alerts_in_group is now
	get_group_alerts; dame_id_grupo set to deprecated; Added 
	process_alerts_validate to validate alerts passed to it.
	
	* index.php: Set UTF-8 encoding standard for multibyte functions
	
	* operation/agentes/estado_alertas.php: Rewritten
	
	* operation/agentes/ver_agente.php: Put alert validation in a function

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-05 18:41:14 +00:00
jorgonzalez 34c0b35eee 2009-01-05 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

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


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

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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-29 09:35:32 +00:00
guruevi bc221d3211 2008-12-24 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_reporting.php, include/functions_db.php, 
	include/functions_html.php, operation/agentes/datos_agente.php, 
	operation/agentes/estado_agente.php, 
	operation/agentes/estado_generalagente.php, 
	operation/agentes/estado_grupo.php, operation/agentes/estado_monitores.php,
	operation/agentes/networkmap.php, operation/agentes/status_monitor.php,
	operation/incidents/incident_detail.php, 
	operation/reporting/reporting_viewer.php, 
	operation/reporting/reporting_xml.php, reporting/fgraph.php, 
	godmode/db/db_audit.php, godmode/db/db_event.php, godmode/db/db_purge.php:
	Added get_system_time in favor of time ();

	* include/functions.php: Added get_system_time which gets the time from 
	a source based on user preference

	* include/help/en/help_timesource.php: Explanation of timesource.
	
	* godmode/setup/setup.php, include/config_process.php: Added timesource
	selection and preference

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-24 16:53:00 +00:00
guruevi 60168a5e92 2008-12-23 Evi Vanoost <vanooste@rcbi.rochester.edu
* include/functions.php: Fixed format_numeric in case there are characters
	in a number or the number is not a number. Fixes notices from fmod.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-23 14:22:14 +00:00
jorgonzalez fa335140ed 2008-12-22 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added Dutch to translations.

	* include/languages/Makefile: Added Dutch to translations.

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

	* include/languages/cs.po, include/languages/pt_BR.po, 
	include/languages/pl.mo, include/languages/it.mo, 
	include/languages/ko.po, include/languages/sl.mo, 
	include/languages/sk.po, include/languages/uk.po, 
	include/languages/pt.mo, include/languages/ro.po, 
	include/languages/ast.mo, include/languages/bn.po, 
	include/languages/cs.mo, include/languages/ar.po, 
	include/languages/pt_BR.mo, include/languages/ko.mo, 
	include/languages/fr.po, include/languages/sk.mo, 
	include/languages/uk.mo, include/languages/ro.mo, 
	include/languages/ca.po, include/languages/da.po, 
	include/languages/tr.po, include/languages/sv.po, 
	include/languages/de.po, include/languages/ja.po, 
	include/languages/zh_TW.po, include/languages/bn.mo, 
	include/languages/he.po, include/languages/fi.po, 
	include/languages/ar.mo, 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/da.mo, include/languages/tr.mo, 
	include/languages/sv.mo, include/languages/de.mo, 
	include/languages/ru.po, include/languages/ja.mo, 
	include/languages/zh_TW.mo, include/languages/he.mo, 
	include/languages/fi.mo, include/languages/hi.mo, 
	include/languages/zh_CN.mo, include/languages/el.po, 
	include/languages/gl.po, include/languages/te.mo, 
	include/languages/eu.mo, include/languages/hu.mo, 
	include/languages/pl.po, include/languages/it.po, 
	include/languages/sl.po, include/languages/pt.po, 
	include/languages/ru.mo, include/languages/ast.po, 
	include/languages/el.mo, include/languages/gl.mo

	* include/languages/nl.po, include/languages/nl.mo: Added Dutch 
	translation from Rosetta.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-22 10:21:21 +00:00
raulmateos 4111c0dfb8 2008-12-21 Raul Mateos <raulofpandora@gmail.com>
* index.php: Updated build, there were some changes in last month that make
	this build to change.
	* include/styles/link.css: updated and renamed to menu.css, more coherent.
	Updated header.
	* include/styles/pandora.css: updated header. Reduced height in
	administration and link menu titles.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-21 15:26:55 +00:00
guruevi 3034f01a5e 2008-12-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/footer.php: Updated print_timestamp to always print full.
	Removed the center tag (deprecated in HTML 4.01)
	
	* general/header.php: Fixed some CSS.
	
	* general/links_menu.php: Rewritten for new css style
	
	* general/main_menu.php: Rewritten for new css style and to avoid 
	repetition in writing tags uses an array and functions
	
	* godmode/menu.php: Rewritten for new css style and to avoid repetition
	writing tags
	
	* include/functions_html.php: Added option to override prominent time
	
	* include/styles/link.css: Rewritten the whole CSS. Now all menu options
	are directly available through slide-outs (pure CSS, no JS) and avoids div
	for each single item. The pages renders quite a bit faster too.
	
	* include/styles/pandora.css: Fixed some bad tags and removed stuff that 
	was for the rewritten menu.
	
	* index.php: Added &nbsp; to div. IE will in some situations not render 
	empty divs.
	
	* operation/menu.php: Rewritten for new CSS style
	
	* include/styles/god.css, include/styles/op.css: 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-19 21:45:20 +00:00
jorgonzalez ec794a1f31 2008-12-18 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql, pandoradb.sql: removed extra '-' which made the 
          file invalid for mysql population.   

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

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

        * general/footer.php: changed format_datetime to print_timestamp.

        * godmode/setup/setup.php: moved the enterprise hook so the table 
          fields show properly in both versions. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-18 11:41:20 +00:00
guruevi 05a5a32235 2008-12-16 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/logon_ok.php, godmode/agentes/modificar_agente.php, 
	godmode/agentes/planned_downtime.php, 
	godmode/agentes/manage_recontask.php, godmode/setup/news.php, 
	operation/agentes/datos_agente.php, operation/agentes/estado_agente.php,
	operation/agentes/status_events.php, operation/agentes/tactical.php, 
	operation/events/events.php, operation/incidents/incidents.php,
	operation/incidents/incident_detail.php, operation/messages/message.php:
	Function updates and new function definitions
	
	* include/functions.php: safe_input used utf_decode which gives problems
	with foreign chars since everything else is (or should be UTF-8) fixed.
	format_datetime is no longer necessary - use print_timestamp for output.
	Extended multibyte wrapper functions.
	
	* include/functions_db.php: give_server_name is now get_server_name; 
	dame_so_name is now get_os_name; dame_so_icon is now print_os_icon;
	show_icon_group is now print_group_icon; give_network_profile_name is now
	get_networkprofile_name; smal_event_table is now print_events_table
	
	* include/functions_events.php: print_events_table was moved here and 
	fixed. Now calculates the cutoff of event and agent text.
	
	* include/functions_html.php: Added title to print_table function and 
	updated documentation. print_timestamp now uses the new function 
	definitions (array) and handles 0-dates better. print_group_icon and 
	print_os_icon added and extended. Added print_agent_name. This function 
	fixes issues that show up when cutting off agent names with multibyte char
	
	* operation/servers/view_server.php: Rewrite with new functions

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-17 14:26:42 +00:00
Esteban Sanchez caf5492185 2008-12-16 Esteban Sanchez <estebans@artica.es>
* include/functions_html.php: Added missing documentation and fixed a
        bit more. Added print_image() to prints an image HTML element.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1293 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-16 10:20:33 +00:00
guruevi 3a1af9efde 2008-12-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/agentes/datos_agente.php: Rewrite. Uses new
	functions and better security and validation
	
	* pandora_console/include/functions_db.php: Renamed some functions and
	created agentmodule functions for consistency with documentation and to
	avoid searching for and typing certain function names: 
	get_agentmodules is now get_agent_modules; 
	dame_grupo is now get_group_name; 
	dame_nombre_agente is now get_agent_name; get_agentmodule_agent is new; 
	dame_nombre_agente_agentemodulo is now get_agentmodule_agent_name;
	dame_nombre_modulo_agentemodulo is now get_agentmodule_name;
	dame_id_tipo_modulo_agentemodulo is now get_agentmodule_type;
	dame_nombre_tipo_modulo is now get_moduletype_name; dame_nombre_grupo is
	now get_group_name; get_agentmodule_count is get_agent_modules_count;
	get_agentmodule_group is new; get_agent_group is new;
	
	* pandora_console/include/functions_reporting.php, 
	pandora_console/include/functions.php,
	pandora_console/operation/incidents/incident.php,
	pandora_console/operation/users/user.php,
	pandora_console/operation/users/user_edit.php,
	pandora_console/operation/events/events.php,
	pandora_console/operation/visual_console/index.php,
	pandora_console/operation/agentes/estado_grupo.php,
	pandora_console/operation/agentes/export_csv.php,
	pandora_console/operation/agentes/estado_agente.php,
	pandora_console/operation/agentes/estado_ultimopaquete.php,
	pandora_console/operation/agentes/estado_generalagente.php,
	pandora_console/operation/agentes/sla_view.php,
	pandora_console/operation/agentes/exportdata.php,
	pandora_console/operation/agentes/ver_agente.php,
	pandora_console/operation/agentes/tactical.php,
	pandora_console/operation/agentes/networkmap.php,
	pandora_console/operation/messages/message.php,
	pandora_console/operation/reporting/reporting_xml.php,
	pandora_console/operation/reporting/reporting_viewer.php,
	pandora_console/reporting/fgraph.php,
	pandora_console/godmode/groups/group_list.php,
	pandora_console/godmode/users/user_list.php,
	pandora_console/godmode/users/configure_user.php,
	pandora_console/godmode/db/db_refine.php,
	pandora_console/godmode/db/db_info.php,
	pandora_console/godmode/db/db_purge.php,
	pandora_console/godmode/agentes/manage_config.php,
	pandora_console/godmode/agentes/modificar_agente.php,
	pandora_console/godmode/agentes/configurar_agente.php,
	pandora_console/godmode/agentes/manage_config_remote.php,
	pandora_console/godmode/modules/manage_network_components_form_network.php,
	pandora_console/godmode/modules/manage_network_components_form_wmi.php,
	pandora_console/godmode/reporting/reporting_builder.php,
	pandora_console/godmode/reporting/map_builder.php,
	pandora_console/godmode/reporting/graph_builder.php: Renamed functions


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-12 21:54:40 +00:00
guruevi adc80c1247 2008-12-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions.php: format_for_graph is now much simpler and uses 
	format_numeric.
	
	* include/functions_db.php: give_note_author, give_incident_author, 
	dame_numero_notas, borrar_incidencia, event_insert and 
	return_event_description are now in their respective functions_*.php files
	but under a new name. Fixed delete_agent transaction error detection
	
	* include/functions_events.php: Added get_event_description and
	create_event (formerly return_event_description and event_insert)
	
	* include/functions_html.php: print_timestamp attributes should be default
	empty, not required. Added print_username for a consistent username print
	
	* operation/agentes/ver_agente.php: Function renaming (create_event)
	
	* operation/incidents/incident.php: Partial rewrite. Uses new functions. 
	Also added some of feature request #2264838
	
	* operation/incidents/incident_detail.php: Partial rewrite. Uses new 
	functions. Added some of feature request #2264838 functionality.
	
	* operation/incidents/incident_search.php, 
	operation/incidents/incident_statistics.php: Minor style update
	
	* pandoradb.sql: New tincidencia and tnota layout. No use for tnota_inc
	
	* include/functions_incidents.php: All incidents functions. Documentation
	will be online soon. Also includes an upgrade mechanism for SVN users. 
	Mechanism should be removed for a stable version and integrated into 
	install/upgrade tool.

	* lib/PandoraFMS/DB.pm: New table layout doesn't require timestamp anymore

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-10 20:15:38 +00:00
guruevi 523a9c8779 2008-12-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions.php: format_for_graph is now much simpler and uses 
	format_numeric.
	
	* include/functions_db.php: give_note_author, give_incident_author, 
	dame_numero_notas, borrar_incidencia, event_insert and 
	return_event_description are now in their respective functions_*.php files
	but under a new name. Fixed delete_agent transaction error detection
	
	* include/functions_events.php: Added get_event_description and
	create_event (formerly return_event_description and event_insert)
	
	* include/functions_html.php: print_timestamp attributes should be default
	empty, not required. Added print_username for a consistent username print
	
	* operation/agentes/ver_agente.php: Function renaming (create_event)
	
	* operation/incidents/incident.php: Partial rewrite. Uses new functions. 
	Also added some of feature request #2264838
	
	* operation/incidents/incident_detail.php: Partial rewrite. Uses new 
	functions. Added some of feature request #2264838 functionality.
	
	* operation/incidents/incident_search.php, 
	operation/incidents/incident_statistics.php: Minor style update
	
	* pandoradb.sql: New tincidencia and tnota layout. No use for tnota_inc
	
	* include/functions_incidents.php: All incidents functions. Documentation
	will be online soon. Also includes an upgrade mechanism for SVN users. 
	Mechanism should be removed for a stable version and integrated into 
	install/upgrade tool.

	* lib/PandoraFMS/DB.pm: New table layout doesn't require timestamp anymore

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-10 20:15:13 +00:00
raulmateos 61655acb25 2008-12-03 Raul Mateos <raulofpandora@gmail.com>
* include/functions_db.php: Now if no event, table shows "no event" text.
	Cosmetic table header change.
	* operation/agentes/tactical.php: Solve warning if no servers defined.
	Cosmetic table header change.
	* operation/events/events.php: Change "error" class to "not found" class.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-03 12:41:09 +00:00
jorgonzalez 0b95e7052a 2008-12-02 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/index.pot: Updated Spanish translation.

        * include/languages/fr.po, include/languages/fr.mo: Updated French  
          translation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-02 11:42:24 +00:00
jorgonzalez a6d37be77c 2008-12-02 Jorge gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added Bengali to translations.

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

        * include/languages/bn.po, include/languages/bn.mo: Added Bengali   
          translation from Rosetta and GNOME Translation Memory.

        * include/languages/Makefile: Added Bengali to translations.

        * include/languages/de.po, include/languages/de.mo: Updated German  
          translation from Rosetta.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-02 11:29:51 +00:00
jorgonzalez 9843334767 2008-12-01 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/index.pot: Updated po template.

        * include/languages/de.po, include/languages/de.mo: Updated German  
          translation from Rosetta translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-01 08:30:51 +00:00
jorgonzalez 453c3d534d 2008-11-27 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added Greek translation.

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

	* include/languages/Makefile: Added 'el' files for translation.

	* include/languages/cs.po, include/languages/pt_BR.po, 
	  include/languages/es.po, include/languages/pl.mo, 
	  include/languages/it.mo, include/languages/sl.mo, 
	  include/languages/sk.po, include/languages/uk.po, 
	  include/languages/pt.mo, include/languages/ro.po, 
	  include/languages/ast.mo, include/languages/cs.mo, 
	  include/languages/ar.po, include/languages/pt_BR.mo, 
	  include/languages/es.mo, include/languages/fr.po, 
	  include/languages/sk.mo, include/languages/uk.mo, 
	  include/languages/ro.mo, include/languages/ca.po, 
	  include/languages/da.po, include/languages/tr.po, 
	  include/languages/sv.po, include/languages/de.po, 
	  include/languages/ja.po, include/languages/zh_TW.po, 
	  include/languages/he.po, include/languages/fi.po, 
	  include/languages/ar.mo, 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/da.mo, include/languages/tr.mo, 
	  include/languages/de.mo, include/languages/sv.mo, 
	  include/languages/ru.po, include/languages/ja.mo, 
	  include/languages/zh_TW.mo, include/languages/he.mo, 
	  include/languages/fi.mo, include/languages/hi.mo, 
	  include/languages/zh_CN.mo, include/languages/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/pt.po, include/languages/ru.mo, 
	  include/languages/ast.po, include/languages/gl.mo, 
	  include/languages/ko.mo, include/languages/ko.po: Added Greek
	  translation, updated translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-27 14:40:55 +00:00
slerena 3d0b20a047 2008-11-26 Sancho Lerena <slerena@artica.es>
* godmode/agentes/configurar_agente.php: Fixed problem with agent module
        groups.

        * include/config_process.php: Fixed typo on prominent_time config token.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-26 16:52:09 +00:00
jorgonzalez 55cdcaefe2 2008-11-26 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added korean translation.

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

        * include/languages/Makefile: Added 'ko' files for translation.

        * include/languages/ko.mo, include/languages/ko.po: Added korean
          translation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-26 09:03:31 +00:00
jorgonzalez a3c4a4f5cc 2008-11-24 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/index.pot: Updated po template.

        * include/languages/es.po, include/languages/es.mo,
          include/languages/da.po, include/languages/da.mo: Updated
          translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-24 16:10:40 +00:00
guruevi cb3221be05 2008-11-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions.php: Added function_exists check for multibyte 
	functions. Thanks to Glen Eustace for bug report. mb_string extension

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-21 20:16:14 +00:00
guruevi 5e8d3fa275 2008-11-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/setup/setup.php: Added prominent_time value to configuration.
	Also made setup.php available for singular GET requests. Implements 
	feature request #2267582

	* include/config_process.php: Added prominent_time to configuration. Also
	made sure some values are inserted into the database. Implements 
	feature request #2267582
	
	* include/functions.php: Removed give_human_time(). Fixed 
	human_time_description_raw and human_time_comparation for 0 values
	
	* include/functions_db.php: Called safe_input in get_agentmodules
	
	* include/functions_html.php: Added print_timestamp for feature request
	#2267582. Timestamps should be printed using this function.
	
	* include/styles/pandora.css: Simplified CSS for f9 classes
	
	* operation/agentes/estado_monitores: Rewrite. Also implemented 
	Glen Eustace's (from Godzone) feature request.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-21 17:58:30 +00:00
guruevi 65d81fa325 2008-11-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/snmpconsole/snmp_view.php, godmode/snmpconsole/snmp_view.php:
	Added legend to satisfy feature request #2204169. Also made filters 
	persistent
	
	* operation/events/events.php: Usage of new function
	
	* operation/agentes/ver_agente.php,
	operation/agentes/estado_monitores.php: A bit of style update
	Fixed bug where $intervalo actually came from index.php
	
	* index.php: Put refresh in config (to prevent above bug)
	
	* include/styles/pandora_width.css, include/styles/pandora_red.css,
	include/styles/pandora_black.css, include/styles/pandora.css:
	Update so you can use datos_<color> in other things than td
	
	* include/functions_db.php: give_agentinterval is now get_agent_interval
	
	* include/functions.php: Added get_priority_class to find background 
	color classes		


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-20 21:26:59 +00:00
jorgonzalez eaf5660b4b 2008-11-20 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql: Added Hebrew and Slovak translations to the
          database.

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

        * include/languages/Makefile: added sk and he to translation.

        * include/languages/sk.po, include/languages/sk.mo,
          include/languages/he.po, include/languages/he.mo,
          include/languages/sl.mo, include/languages/pt.mo,
          include/languages/hi.po, include/languages/te.po,
          include/languages/hi.mo, include/languages/te.mo,
          include/languages/sl.po, include/languages/pt.po: Updated
          portuguese, slovenian, hindi, and telugu translations, added
          slovak and hebrew translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-20 18:30:37 +00:00
guruevi b184efd4d5 2008-11-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* reporting/fgraph.php: Updated for some faster processing
	and new functions.

	* operation/events/events.php,
	operation/agentes/estado_alertas,
	include/functions_reporting.php, 
	godmode/reporting/reporting_bulder.php, 
	godmode/reporting/map_builder.php, godmode/db/db_info.php: 
	Function name updates
	
	* include/functions_html.php: Small style update
	
	* include/functions_db.php: get_agents_in_group is now
	get_group_agents. Accepts array and specified case. 
	get_modules_in_agent is now get_agentmodules and accepts arrays
	of agents as well as which details to select. Deprecated 
	dame_nombre_agente in favor of get_agent_name which accepts case.
	Fixed get_agent_addresses for use in select boxes. Added filter
	to get_agentmodule_count
	
	* godmode/db/db_purge.php: Fixed queries and style updates
	
	* godmode/agentes/configurar_agente.php: Fixed IP select box
	
	* godmode/agentes/agent_manager.php: Style update and fixed a bug

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-20 14:09:26 +00:00
jorgonzalez 4ea1e37444 2008-11-19 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* pandoradb_data.sql: Added Arab and Turkish translations to the
          database. 

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

        * include/languages/Makefile: added ar and tr to translation.

        * include/languages/cs.po, include/languages/cs.mo,
          include/languages/ar.po, include/languages/da.po,
          include/languages/tr.po, include/languages/ja.po,
          include/languages/fi.po, include/languages/ar.mo,
          include/languages/eu.po, include/languages/da.mo,
          include/languages/tr.mo, include/languages/ru.po,
          include/languages/ja.mo, include/languages/fi.mo,
          include/languages/eu.mo, include/languages/ru.mo: Updated/added
          translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-19 16:42:45 +00:00
guruevi e352a0d0b9 2008-11-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operations/snmpconsole/snmp_view.php: Removed 
	lang_string references in favor of __ ()
	
	* index.php: Style updates and function name update
	
	* include/functions_db.php: Removed lang_string function
	
	* include/functions.php: parameter_extra_clean is now 
	safe_url_extraclean. Also updated it slightly
	
	* godmode/admin_access_logs: Updated for style and speed

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-17 15:49:29 +00:00
jorgonzalez b6ddade056 2008-11-17 Jorge Gonzalez <jorgegonz@svn.gnome.org>
* pandoradb_data.sql: Added Danish to available languages.

        * include/languages/da.po, include/languages/cs.po,
          include/languages/pt_BR.po, include/languages/es.po,
          include/languages/pl.mo, include/languages/it.mo,
          include/languages/sl.mo, include/languages/uk.po,
          include/languages/pt.mo, include/languages/ro.po,
          include/languages/ast.mo, include/languages/cs.mo,
          include/languages/pt_BR.mo, include/languages/fr.mo,
          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/fi.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/fi.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/pt.po, include/languages/ru.mo,
          include/languages/ast.po, include/languages/gl.mo: Updated
          languages and added Danish.

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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-17 09:42:28 +00:00
guruevi 34ca6bff42 2008-11-14 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/incidents/incident_detail.php, incident.php: Update ACL's
        to reflect IR rights instead of default AR

        * operation/events/events.php: Updated style and html for new
        functions. Fixes Bug #2267593

        * index.php: Put REMOTE_ADDR in $config as well. It's easier to
        globalize in functions.

        * include/functions_reporting.php: Updated event_reporting to accept
        any type of date. Style update. get_group_stats didn't need global

        * include/functions_html.php: Updated print_table documentation with
        pre-existing $table->id. Also added $table->headclass[] for classes
        in headers

        * include/functions_events.php: New-style function file to aggregate
        events functions.

        * include/functions_db.php: gime_idgroup_from_idevent is now in
        functions_events.php as get_events_group. Renamed get_events_in_group
        to get_group_events return_priority is now get_priority_name

        * include/functions.php: Added safe_int function to clean up and remove
        non-ints from either single values or arrays of values. Also has min
        and max limiters. Added $pagination in lieu of $config["block_size"]
        to pagination function. That way larger block sizes (eg in events)
        will display correctly. Added strtotime on format_datetime

        * godmode/db/db_event.php: After an ACL error, it's better to exit


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-14 15:37:32 +00:00
Esteban Sanchez 0873a78a4f 2008-11-14 Esteban Sanchez <estebans@artica.es>
* include/functions_reporting.php: Fixed an error when calculating
        working data modules that affects to strings modules. Thanks to Glen
        Eustace for the report and fix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-14 09:11:55 +00:00
guruevi 11f3b7ba26 2008-11-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/servers/view_server.php: Small language fix

        * operation/agentes/tactical.php: Rewrite using new functions and
        cleaner html. More understandable and outsourced calculations to
        get_group_stats

        * include/styles/pandora.css: Clean up CSS deprecated in other files

        * include/javascript/pandora.js: Noticed a small style difference

        * include/help/en/help_serverlag.php: Hopefully this makes server lag
        somewhat more understandable (I didn't know what it was)

        * include/functions_reporting.php: Renamed general_stats to
        get_group_stats and made it accept arrays. Also added ACL check and
        an easier output format. All calculations are now done here.

        * include/functions_html.php: print_table would always reset
        cellpaddings and cellspacing from 0 to 4. Fixed it

        * include/functions_db.php: Deprecated server_status for
        get_server_info. Added get_server_info which accepts single values or
        arrays of servers to be checked.

        * include/functions.php: Removed clean_output_breaks. Use built-in
        function nl2br() for that instead. They're faster and cross-platform

        * general/logon_ok.php: Same as tactical.php (both had to be updated)

        * ChangeLog: Somebody started using spaces instead of tabs?

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-11 14:24:34 +00:00
jorgonzalez b97fb13b91 2008-11-11 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/index.pot,
          include/languages/es.mo: Updated Spanish translation and template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-11 08:05:54 +00:00
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
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 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 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 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
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
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
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
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
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
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
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
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
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
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
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 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
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
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 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
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
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
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 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
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
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 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
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 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 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
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 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
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
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