Commit Graph

106 Commits

Author SHA1 Message Date
Pablo de la Concepción Sanz f32a754c9c 2009-12-07 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* include/functions_api.php, include/functions.php,
    extensions/plugin_registration.php, operation/events/events.php,
    operation/agentes/exportdata.php, operation/agentes/stat_win.php,
    godmode/setup/setup.php, godmode/agentes/configurar_agente.php,
    godmode/agentes/agent_manager.php, godmode/reporting/reporting_builder.php,
    godmode/reporting/map_builder.php, godmode/reporting/graphs.php,
    godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: English
    text strings updated to be more clear.

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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-07 18:48:59 +00:00
mdtrooper 773111c54c 2009-12-4 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_templates.php: use the function to translate the
	seconds time to "human time" for time threshold.
	Fixes: 2905968



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-30 17:28:08 +00:00
slerena b8d839b5c7 2009-11-27 Sancho lerena <slerena@artica.es>
* operation/menu.php: User section has no ACL check, always can be seen.

	* index.php: Added suppor for user-defined custom language (this code was
	on my disk for 3 months, pending to be commited!).

	* include/functions_db.php,
	* include/functions_agents.php,
	* godmode/alerts/alert_list.php,
	* godmode/agentes/modificar_agente.php, 
	* godmode/agentes/configurar_agente.php: Added audit calls to several 
	management operations who don't have or have insufficient audit info.

	* godmode/users/configure_user.php: Fixed several annoyings bugs. Added
	custom language support, and added more audit info on management operations.

	* godmode/users/user_list.php: More audit info.

	* include/config_process.php: Add new debug option to render error log to
	/pandora_console.log. Also set timezone if not defined (this makes warnings
	on several PHP 5.x setups). Added user custom language support.

	* include/functions_events.php: More audit info. Fixed problems with HTML
	encoding render.

	* functions_io.php: Some cleaning.

	* include/functions_messages.php: Fixed problems with HTML
	encoding render.

	* functions_ui.php: Fixed problems with HTML encoding render in 
	print_string_substr() function.

	* auth/mysql.php: is_user_admin() functions seems to be broken ¿?¿!. Fixed.

	* styles/pandora.css: removed green colored left border in default style.

	* message.php, incident*:  Fixed problems with HTML encoding render.

	* user.php: Better ACL check before let user to view/edit another user.

	* user_edit: Removed some un-used form fields, some arrangements in layout,
	and FIXED forever problems with password change (new code written).  

	* users/user_statistics.php: Now user can see its own audit records.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-27 20:02:12 +00:00
mdtrooper 8ac8f10ee1 2009-11-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_alerts.php: add more values into function
	"get_alert_template_threshold_values", values as 1 week, 2 weeks, 1 month
	and 6 months.
	* godmode/alerts/configure_alert_template.php: change the default value
	to 1 day.
	Fixes: 2902458



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-25 11:00:59 +00:00
mdtrooper a0bc3c235f 2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: add column status of alert in alert
	management view in agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-25 08:56:45 +00:00
raulmateos a7eac0541b 2009-11-22 Raul Mateos <raulofpandora@gmail.com>
* images/spinner.png, images/background-li.png: New images converted
	from gif.

	* *.php: Changed several files from spinner.gif to spinner.png.

	* extensions/update_manager/settings.php: Changed header.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-22 13:55:20 +00:00
raulmateos 037d2461ee 2009-11-21 Raul Mateos <raulofpandora@gmail.com>
* godmode/alerts/alert_list.php, operation/events/events.php,
	operation/snmpconsole/snmp_view.php: Use down icon instead wand icon, 
	due to wand is reserved for creation purposes.

	* godmode/agentes/module_manager_editor.php: Added header and down icon.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-21 14:39:04 +00:00
mdtrooper a3e666440d 2009-11-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: fix the
	bug that show the modules "pending delete" in more select box in some forms.
	Fixes: 2894921



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



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

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

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

	*  Changelog: Added missed change.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-04 17:11:12 +00:00
mdtrooper 3fe5a883e7 2009-11-03 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: fix notice alert php describe in the
	tracker of sourceforge.
	* godmode/alerts/alert_compounds.php: fix the SQL query bug in PHP when
	load this page without agent in Pandora.
	Fixes: 2891215



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-03 18:01:07 +00:00
raulmateos ef03620ab9 2009-11-03 Raul Mateos <raulofpandora@gmail.com>
* godmode/alerts/configure*.php: Improving integrity of 
	appareance in title.

	* godmode/alerts/alert_actions.php, godmode/alerts/alert_templates.php: 
	Added text if no action, list or template defined.

	* godmode/alerts/alert_list.php: Small fix

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-03 11:13:47 +00:00
Ramon Novoa ef7b127da5 2009-10-26 Ramon Novoa <rnovoa@artica.es>
* extensions/update_manager.php,
          operation/incidents/incident.php,
          operation/menu.php,
          godmode/setup/links.php,
          godmode/users/configure_user.php,
          godmode/agentes/planned_downtime.php,
          godmode/agentes/agent_manager.php,
          godmode/reporting/reporting_builder.php,
          godmode/reporting/map_builder.php,
          godmode/reporting/graphs.php,
          godmode/reporting/graph_builder.php,
          godmode/alerts/alert_templates.php,
          godmode/menu.php: Several ACL related fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-26 18:51:29 +00:00
mdtrooper 483f0d8c9b 2009-10-26 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/alerts/alert_list.php: fix bug that load ajax
	empty select of actions.
	Fixes: 2885901 
	


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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-21 20:25:26 +00:00
mdtrooper 8f657999db 2009-10-20 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/operation/menu.php,
	pandora_console/godmode/reporting/graphs.php,
	pandora_console/godmode/reporting/graph_builder.php: clean debug trace
	functions.
	* pandora_console/godmode/agentes/module_manager.php,
	pandora_console/godmode/alerts/alert_list.php: add the enterprise column
	that it has a icon when the alert or module is make for policy.
	* pandora_console/godmode/agentes/agent_manager.php: fix bug that when
	create a new agent and in the md5 dir has a file with the next name
	d41d8cd98f00b204e9800998ecf8427e, that name is a md5 of empty string. When
	you has this file, the form take as conf file.






git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-20 15:23:26 +00:00
mdtrooper c6284efdb9 2009-10-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: set default action in alert combo box when
	you make a new alert.



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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-13 18:59:48 +00:00
mdtrooper b426d2a0eb 2009-10-01 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/alerts/alert_list.php: fix small bug that throw
	notice message for a array uninitialize.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-10-01 19:13:43 +00:00
mdtrooper 7be6a8399c 2009-09-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_template.php:



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-29 19:46:18 +00:00
mdtrooper 065528bd94 2009-09-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_template.php: fix small typing bug.



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-16 15:38:44 +00:00
mdtrooper adbc90664f 2009-09-15 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_alerts.js: fix the id for access to jquery
	in the field3.
	* godmode/alerts/configure_alert_action.php: fix the id for access to jquery
	in the event keyup.
	Fixes: 2845692



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-15 14:51:09 +00:00
mdtrooper 8aaa4f5d04 2009-09-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: add function "get_db_value_sql" for use in
	alert_list.php and in futures uses. This function returns the first column
	and first row from a query pass as parameters.
	* godmode/alerts/alert_list.php: fix bug that you can't add new alerts.
	Fixes: 2859264



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-14 14:38:13 +00:00
mdtrooper 6d0fc39a96 2009-09-14 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css, godmode/alerts/alert_list.php: minor fixes
	for styles warnings.
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-14 09:29:45 +00:00
mdtrooper 7b294b0978 2009-09-11 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: fix bug in "Alerts » Manage alerts" when
	you choose the agent the module select did'nt change to enable.



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1929 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-10 17:55:44 +00:00
Ramon Novoa 61ac3d3ddd 2009-09-02 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_alert_macros.php,
          include/help/es/help_alert_macros.php: Added to repository. Alert
          macro help files.

        * godmode/alerts/configure_alert_template.php: Show alert macro help.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1908 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-02 15:53:05 +00:00
raulmateos 6682776297 2009-08-30 Raul Mateos <raulofpandora@gmail.com>
* extensions/update_manager/main.php: Change Pandora FMS text to 3.0

	* extensions/update_manager/settings.php, godmode/alerts/extensions.php,
	godmode/alerts/alert_list.php, godmode/servers/plugin.php,
	godmode/db/db_sanity.php, godmode/snmp_console/snmp_alert.php,
	godmode/setup/*.php: Unify titles improving integrity of appear

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-30 16:23:13 +00:00
raulmateos c117b93506 2009-08-29 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Update build after last changes

	* operation/events/event_statistics.php, operation/extensions.php,
	godmode/alerts/alert*.php, godmode/alerts/configure_alert_compound.php:
	Unify titles, adding parent and change from h1

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-29 15:56:14 +00:00
mdtrooper 6a6ee100e5 2009-08-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, godmode/alerts/configure_alert_compound.php:
	add function "get_agent_module_id" for optain id_agent from id_agent_module.
	And add new column in correlation condition that containts the name (and
	link) of agent. And change ajax of page for show this column in the search
	form in the bottom.
	Fixes: 2838000



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



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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-08-10 09:55:53 +00:00
mdtrooper be64e416b5 2009-07-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: clear and coment some parts of source
	code. Fix bug that send more data from other forms (I forget close
	the tag form). And change the combo box of agents to input text rich with
	ajax for source code is more light and I give more usability to form. 
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-07-29 10:54:44 +00:00
mdtrooper b2daa85ae5 2009-07-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php, include/functions_agents.php: changes
	for to add filter (and html form to set filter) in the list of alerts. 
	* include/styles/pandora.css, include/functions_html.php: minor changes to
	fix minor bug css and clean the source code.
	


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

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

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



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

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

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

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

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

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

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

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

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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-09 14:29:03 +00:00
slerena 023ee50466 2009-06-08 Sancho Lerena <slerena@artica.es>
* Massive header update.



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

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

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



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

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

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

	* images/application_not_writable.png: Added to repository.

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

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



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

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

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

	* general/header.php: Changed refresh icon.


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



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

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

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



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



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

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

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

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

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

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

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

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

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

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

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



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

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

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



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


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-04-02 19:16:59 +00:00