Commit Graph

1079 Commits

Author SHA1 Message Date
mdtrooper 5ab8eef006 2010-10-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_io.php: fixed the function "safe_input" when the
	parameter is a array.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-19 10:28:26 +00:00
slerena d57418949d 2010-10-16 Sancho Lerena <slerena@artica.es>
* pandoradb_migrate_v3.1_to_v3.2.sql: Variable for SQL custom reports has
    more size now (custom SQL reports could be huge SQL sentences).

    * godmode/reporting/reporting_builder.php, 
    godmode/reporting/reporting_builder.item_editor.php: Added suppor for the 
    new SQL graph reports (vbar, hbar and pie).

    * include/fgraph.php: Support for new SQL graphs, with new function 
    graph_custom_sql_graph().

    * include/functions_reporting.php:  Support for new SQL graphs.

    * operation/reporting/reporting_xml.php: Fixed some problems and added
    support for graphs using session_id.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-16 10:47:21 +00:00
zarzuelo 8be9dfa6c1 2010-10-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	godmode/agentes/module_manager.php
	godmode/agentes/configurar_agente.php: Added clone module
	into an agent to the manage modules view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 17:07:50 +00:00
mdtrooper e2edbcb416 2010-10-14 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added in the
	table "tagente_modulo" the field "policy_adopted" for to set a module
	pre exist in policy as adopted.
	
	*operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager.php: show the icon of "adopted" or "adopted 
	but unlinked" in the list of modules.
	
	Pending tasks: #3083123
	

	
	* include/functions_modules.php: cleaned source code style in function
	"update_agent_module".
	
	* godmode/agentes/module_manager_editor_network.php: fixed warning messages
	when use this file in policies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 15:09:29 +00:00
zarzuelo e70f434eb7 2010-10-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/functions_io.php
	include/functions_ui.php
	godmode/agentes/module_manager.php: Created a new safe input
	function more soft than safe_input() for html code. Applied this
	function (safe_input_html()) in few functions like print_image
	or print_page_header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 12:27:09 +00:00
zarzuelo 2f30a24b49 2010-10-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Fixed a SQL query with
	the safe_output function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-13 15:40:51 +00:00
mdtrooper de4790ace6 2010-10-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleaned source code style.
	
	* extensions/system_info.php: first version of extension for extract system
	info of Pandora System, at the moment run as PHP script shell, the source
	code for console is commented because I will change for new source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3385 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-11 14:44:25 +00:00
Ramon Novoa 783aeb75b2 2010-10-11 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Search history DB if necessary for module charts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-11 12:37:53 +00:00
mdtrooper fb5e20eced 2010-10-11 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: fixed the execution in as script.
	
	* include/fgraph.php: fixed in the "graphic_combined_module" when is empty.
	And cleaned source code style.
	
	* include/functions_extensions.php: cleaned source code style.
	
	* extensions/pandora_logs.php: cleaned source code style. And set to
	translation a string.
	
	* extras/pandora_diag.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-11 10:37:34 +00:00
slerena 47aed1bfc1 2010-10-11 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Fixed problem with SQL custom reports
        because the SQL html encoding. Added a SQL check for secure user-input
        SQL code.

        * include/functions.php: Added check_sql() function to do a basic
        safety check on SQL code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-11 10:14:03 +00:00
darode 2b5ec9c4f2 2010-10-11 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_io.php: Added \s character in decode HTML entities
	function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-11 07:44:49 +00:00
slerena d9490249ca 2010-10-08 Sancho Lerena <slerena@artica.es>
* include/functions_io.php: Added \s character to list of HTML decoded/encoded
    items to be converted from user entries (Safety for XSS and SQL Injection).

    * pandoradb_data.sql: Added more default templates, actions and commands. 
    This is for remote agent management (refresh).
    


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 17:00:28 +00:00
darode c550c2a1a3 2010-10-08 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_io.php: Added functions ascii_to_html and html_to_ascii. 
	Also use this functions to convert no printing chars in function safe_input 
	and to revert the conversion in function safe_output.
	* include/functions_db.php: Added function escape_string_sql, is a
	wrapper db indepenten function to do the same that function mysql_real_escape_string
	* index.php: Use function escape_string_sql with login parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 11:35:18 +00:00
zarzuelo ec5776bfce 2010-10-08 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	include/functions_agents.php
	operation/agentes/ver_agente.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_delete_alerts.php: Improved the 
	addition/deletion of alerts in massive operations to 
	select not only the agents (the modules too) for pending
	task 3082862



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 11:16:57 +00:00
zarzuelo f5f859faff 2010-10-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Fixed the function get_agentmodule_id
	to avoid the pending_delete modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3369 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 07:22:54 +00:00
jsatoh 73f475bb04 2010-10-08 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_delete_action_alerts.php: Added simple and
	compound alerts selections.

	* include/functions_alerts.php: Added new function, get_alert_compounds().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 03:26:49 +00:00
mdtrooper cb40f1c091 2010-10-07 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/calendar.js, include/javascript/jquery.colorpicker.js:
	fixed end of sentences with lost semicolons, the Eclipse IDE warned me some
	this bugs.
	
	* include/javascript/jquery.timeentry.js, include/help/en/help_wmiquery.php,
	include/help/en/help_tcp_send.php, include/help/en/help_web_checks.php,
	include/help/es/help_date_format.php, include/help/es/help_tcp_send.php,
	include/help/es/help_agent_status.php, include/help/es/help_eventview.php,
	include/help/es/help_configure_gis_map.php,
	include/help/es/help_web_checks.php,
	include/help/es/help_plugin_definition.php,
	include/help/es/help_alert_macros.php, include/help/ja/help_wmiquery.php,
	include/help/ja/help_date_format.php,
	include/help/ja/help_alert-matches.php, include/help/ja/help_tcp_send.php,
	include/help/ja/help_agent_status.php, include/help/ja/help_eventview.php,
	include/help/ja/help_configure_gis_map.php,
	include/help/ja/help_map_builder.php, include/help/ja/help_web_checks.php,
	include/help/ja/help_plugin_definition.php,
	include/help/ja/help_alert_macros.php,
	include/help/ja/help_gis_setup_map_connection.php: cleaned html and fixed
	unclose html tags in source code, the Eclipse IDE warned me some this bugs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 10:50:04 +00:00
mdtrooper 6756003525 2010-10-07 Miguel de Dios <miguel.dedios@artica.es>
* include/calendar.js, include/FusionCharts/FusionCharts.js: fixed end of
	sentences with lost semicolons, the Eclipse IDE warned me some this bugs.
	
	* include/help/en/help_date_format.php,
	include/help/en/help_agent_status.php, include/help/en/help_eventview.php,
	include/help/en/help_configure_gis_map.php, include/help/en/help_alerts.php,
	include/help/en/help_plugin_definition.php,
	include/help/en/help_alert_macros.php,
	include/help/en/help_gis_setup_map_connection.php,
	general/license/pandora_info_en.html,
	general/license/pandora_info_pt_BR.html,
	general/license/pandora_info_es.html, general/license/pandora_info_ja.html,
	general/pandora_help.php: cleaned html and fixed unclose html tags in source
	code, the Eclipse IDE warned me some this bugs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 10:08:38 +00:00
zarzuelo c8fc9ddd90 2010-10-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/functions_visual_map.php
	operation/reporting/graph_viewer.php
	godmode/reporting/graph_builder.preview.php: Fixed the setting
	of width and height on custom graphs setup. Increased the height 
	of the graph in few sections to fix the rise of the leyend



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 09:27:38 +00:00
zarzuelo f44c87b975 2010-10-07 Sergio Martin <sergio.martin@artica.es>
* include/fgraph.php: Fixed crash when try to render 
	a graph without data



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 08:46:13 +00:00
mdtrooper ca42767944 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: added in function "process_config" added
	lines code to check unset 'autoupdate' in $config.
	
	* operation/incidents/incident_statistics.php, godmode/users/user_list.php:
	cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 14:37:33 +00:00
zarzuelo f9e13f960f 2010-10-06 Sergio Martin <sergio.martin@artica.es>
* include/fgraph.php
	operation/incidents/incident_statistics.php: Fixed the incident
	statistics for bug 3078118



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 12:16:24 +00:00
mdtrooper d5a6f363f3 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php: force the absolute path when include the
	languages translation files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 10:06:34 +00:00
slerena 01fff80dc7 2010-10-05 Sancho Lerena <slerena@artica.es>
* include/config_process.php: Remove config['debug'] from prev.
    commit.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-05 18:12:02 +00:00
slerena ade8a0b6c2 2010-10-05 Sancho Lerena <slerena@artica.es>
* include/config_process.php: Set to 0 $config['debug'] by default to avoid
    debug messages on normal operation mode, developers should setup debug
    mode in their config.php file.

    * pandoradb_data.sql: Added default template and action as sample.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-05 17:33:11 +00:00
mdtrooper 649d9dbf83 2010-10-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style and optimize
	some parts (deleted redundant if sentences).
	
	* include/functions_db.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-05 11:44:14 +00:00
zarzuelo 9272484086 2010-10-04 Sergio Martin <sergio.martin@artica.es>
* include/languages/cs.po
	include/languages/et.mo
	include/languages/pt_BR.po
	include/languages/nl.mo
	include/languages/es.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/ro.po
	include/languages/pt.mo
	include/languages/ast.mo
	include/languages/en_AU.mo
	include/languages/bg.mo
	include/languages/index.pot
	include/languages/bn.po
	include/languages/ar.po
	include/languages/cs.mo
	include/languages/pt_BR.mo
	include/languages/es.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/en_GB.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/el.po
	include/languages/gl.po
	include/languages/te.mo
	include/languages/eu.mo
	include/languages/en_GB.mo
	include/languages/et.po
	include/languages/nl.po
	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/en_AU.po
	include/languages/bg.po
	include/languages/el.mo
	include/languages/gl.mo: Updated the po files



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3340 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 17:35:39 +00:00
zarzuelo 676d7f23a6 2010-10-04 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	operation/agentes/ver_agente.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_edit_modules.php: Restructured
	the massive module editor to increase the power of the tool
	adding multiple selection methods



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 15:58:05 +00:00
mdtrooper c1e181cd0f 2010-10-4 Miguel de Dios <miguel.dedios@artica.es>
* include/pChart/pChart.class: merge bugfixes from the proyect
	"Babel Enterprise" fixing by Dario Rodriguez <dario.rodriguez@artica.es>.
	
	* include/fgraph.php: fixed undefined var $max_value in function
	"graphic_combined_module".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3334 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 11:49:55 +00:00
mdtrooper ed9d45af65 2010-10-4 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: fixed typo tiny error in function
	"grafico_modulo_sparse" when use $show_event instead $show_events.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 10:50:29 +00:00
mdtrooper 1d7cd7d9fd 2010-09-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: cleaned source code style.
	
	* mobile/include/system.class.php: fixed when include this file in other
	parts of pandora, as when unlogin try generate pdf file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3330 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 12:43:31 +00:00
mdtrooper 784fc724b0 2010-09-30 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "checklogin" fixed the include of
	file "user.class.php". In function "__" fixed when try translate a empty
	string. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3329 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 12:12:12 +00:00
mdtrooper 4baf2f829a 2010-09-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: erased deprecate function "comprueba_login".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3328 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 11:29:40 +00:00
zarzuelo 48e8cbd985 2010-09-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed SQL errors in
	alerts view with not administrator users for bug: 3078113



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 07:57:34 +00:00
mdtrooper 1759e7b808 2010-09-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_groups.php: added first version of file with the
	function "checkUsedGroup".
	
	*include/Image/Canvas.php, include/Image/Canvas/GD.php,
	include/functions.php, mobile/operation/agents/view_agents.php: cleaned
	source code style.

	* godmode/groups/group_list.php: fixed the check if the group to delete is
	empty.
	
	Fixes: #3074223



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 17:16:34 +00:00
zarzuelo 1940382424 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php
	operation/messages/message.php: Fixed the ACLs 
	to show only the user group users in the destination
	users combo for bug: 3077857



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 16:02:13 +00:00
zarzuelo 52e705862c 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php: Change to the new status 
	images and names to the events on the tactical view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 10:35:47 +00:00
zarzuelo 618d4ede28 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.pandora.controls.js
	godmode/groups/group_list.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_edit_agents.php: Added the massive
	agent editor to the massive operations for pending task
	#3057662



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3311 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 10:28:10 +00:00
zarzuelo 6cd20eebe5 2010-09-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Added style parameter to the 
	print_extended_select_for_time function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-28 09:08:30 +00:00
mdtrooper 7d1bc48cb9 2010-09-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_menu.php, operation/events/events_list.php: cleaned
	style source code.

	* operation/menu.php: added subentry in "View events" for "Sound Events".
	
	* operation/events/events_rss.php: added source code for the $id_agent equal
	-2 (this mean that get the agent by text name) and added new check for new
	status.
	
	* operation/events/events.php: added source code for the $id_agent equal -2
	(this mean that get the agent by text name).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 11:24:43 +00:00
mdtrooper b07a40eade 2010-09-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: added function "set_module_data" for to hook
	call to create module data across web api.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 11:52:07 +00:00
zarzuelo 053ef37f6d 2010-09-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php: Fixed bad call to 
	enterprise function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 08:21:08 +00:00
mdtrooper ca167bd423 2010-09-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: in function "print_select_groups" and function
	"print_select_from_sql" added source code to check $config['text_char_long']
	for show small text in this widgets.
	
	* include/functions.php: in function "get_event_types" and "get_priorities"
	added source code to check $config['text_char_long'] for show small text in
	this widgets. And in function "get_priority_class" cleaned source code.
	
	* operation/agentes/status_monitor.php, operation/events/events.php: cleaned
	source code style.

	* images/pandora.ico.gif: added image file for to use in the mobile footer.
	
	* mobile/operation/agents/monitor_status.php,
	mobile/operation/agents/view_agents.php,
	mobile/operation/agents/tactical.php,
	mobile/operation/agents/group_view.php, mobile/operation/events/events.php,
	mobile/include/style/main.css, mobile/include/functions_web.php,
	mobile/index.php, general/footer.php: continued the develop, yep the
	Pandora Console Mobile is complete (only rest the bugs).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 18:02:11 +00:00
zarzuelo d69c2ece08 2010-09-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php
	godmode/agentes/modificar_agente.php: Added the calls
	to enterprise to delete an agent to all their policies
	when we delete it for bug 3072471



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 12:09:04 +00:00
mdtrooper 63a7d6730c 2010-09-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: fixed the width by default in the function
	"print_table", now there isn't a default width (before it was 80%).
	
	* include/pchart_graph.php: fixed in the function "add_events" when tryed
	to add a event out the data. 
	
	* include/fgraph.php: check the user with the mobile methods.
	
	* include/functions_db.php: in function "check_login" check the user with
	the mobile methods.
	
	* images/status_sets/default/severity_warning_pixel.png,
	images/status_sets/default/severity_normal_pixel.png,
	images/status_sets/default/severity_informational_pixel.png,
	images/status_sets/default/severity_maintenance_pixel.png,
	images/status_sets/default/severity_critical_pixel.png: added the image
	files for to show in the event mobile's page.
	
	* mobile/operation/agents/view_agents.php,
	mobile/operation/agents/tactical.php,
	mobile/operation/agents/view_alerts.php, mobile/operation/events/events.php,
	mobile/operation/servers/view_servers.php, mobile/include/user.class.php,
	mobile/include/system.class.php: changed the style the some pages to show
	more clearly the pages in old m$-mobiles.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 08:59:01 +00:00
jsatoh 933e50b145 2010-09-21 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_delete_action_alerts.php: Fixed
	addition/deletion for compound alerts does not work.

	* include/functions_alerts.php: To fix above problem, added a function,
	delete_alert_compound_action().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-21 04:26:46 +00:00
slerena 1cf0c48ff8 2010-09-20 Sancho Lerena <slerena@artica.es>
* include/config.inc.php: config_process.php is obtained from
        defined path in homedir variable.

        * godmode/agentes/module_manager_editor_network.php: Limit for
        OID lenght was too short, DB gets 255 chars, now input also gets 
        255 chars.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 14:14:55 +00:00
zarzuelo 428e4e0baf 2010-09-17 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	pandoradb.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php: Deleted several
	columns from the events view and adding a
	show/hide advanced fields feature. 
	Added a new state 'in process' to validation
	and an input comment when a status is changed.

	* include/fgraph.php: Fixed quotes
	in constant definition

	* include/functions_ui.php
	include/functions_agents.php
	include/functions_alerts.php
	operation/agentes/alerts_status.php
	operation/agentes/alerts_status.functions.php
	images/bell_pause.png
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_standby_alerts.php: Added
	the feature of set and set off on standby an alert
	in the alets management and view if an alert is in
	standby in the rest of views.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 12:34:11 +00:00
mdtrooper 4de9bf1991 2010-09-17 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: added function "grafico_modulo_sparse_mobile" for
	to paint a mobile graph.
	
	* include/functions_db.php: erased deprecate function "dame_grupo_icono".
	
	* include/functions_module.php: moved the functions "format_delete",
	"format_time", "format_data", "format_verbatim", "format_timestamp",
	"format_delete", "format_delete_string", "format_delete_log4x" from the
	file "operation/agentes/datos_agente.php" for to use in other source code
	places.
	
	* operation/agentes/datos_agente.php: extracted the functions
	"format_delete", "format_time", "format_data", "format_verbatim",
	"format_timestamp", "format_delete", "format_delete_string",
	"format_delete_log4x" to "include/functions_module.php" for to use in other
	source code.
	
	* operation/agentes/tactical.php: cleaned source code style.
	
	* operation/agentes/group_view.php: cleaned source code style.
	
	* mobile/operation/agents/view_agents.php: added class "viewGraph" to show
	graph and data of any module.
	
	* mobile/operation/agents/tactical.php: added first version of page to show
	tactical mobile page.
	
	* mobile/operation/agents/view_alerts.php: added first version of page to
	show alerts mobile page.
	
	* mobile/operation/agents/group_view.php: added first version of page to
	show group view mobile page.
	
	* mobile/operation/servers/view_servers.php: added first version of page to
	show servers mobile page.
	
	* mobile/include/style/main.css: added many new styles.
	
	* mobile/include/functions_web.php: added links into menu for new pages.
	
	* mobile/include/system.class.php: fixed scope of method "getConfig".
	
	* mobile/index.php: added hooks for new pages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 10:56:17 +00:00
mdtrooper b135a111d6 2010-09-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: in function "get_agent_module_info" added
	the return "status" and "alert_value".
	
	* include/auth/mysql.php: in function "process_user_login" cleaned the
	source code style.

	* include/functions_ui.php: in function "print_timestamp" added in the
	parameter $option the check of units ('large' and 'tiny' at the moment).
	Added the function "print_group_icon2" that it is the same of
	"print_group_icon" but it has a new parameter $path for to set the images
	path.
	
	* include/functions.php: in function "human_time_comparation" added the
	parameter $units to set the type return text for time unit (at the moment
	only "large" and "tiny"). And in the function "human_time_description_raw"
	added the paramter $units for to set the type of return text for units, at
	the moment only "large" and "tiny".
	
	* include/functions_db.php, operation/agentes/ver_agente.php: cleaned source
	code.
	
	* mobile/index.php, mobile/operation/agents,
	mobile/operation/agents/view_agents.php, mobile/include/db.class.php,
	mobile/include/style, mobile/include/style/main.css,
	mobile/include/user.class.php, mobile/include/functions_web.php,
	mobile/include/system.class.php, mobile/images/bricks.png,
	mobile/images/up.png, mobile/images/zoom.png, mobile/images/down.png: added
	first version of file for Pandora Mobile version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-15 15:54:59 +00:00