Commit Graph

2171 Commits

Author SHA1 Message Date
mdtrooper 88f94ce7ef 2010-11-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/exportdata.php: fixed the work_period to extract
	data when the default work_period is greater than period between the
	date to start and date to end.
	
	Fixes: #3119467



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-26 12:44:18 +00:00
darode 2f55896783 2010-11-26 Dario Rodriguez <dario.rodriguez@artica.es>
* extensions/plugin_registration.php: Fixed a bug related with html
	entities in plugin registration



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-26 09:12:43 +00:00
raulmateos 83e2441032 2010-11-25 Raul Mateos <raulofpandora@gmail.com>
* pandora_console_install: spaces to tabs. Small version correction.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 19:26:54 +00:00
mdtrooper 946a8ea867 2010-11-25 Miguel de Dios <miguel.dedios@artica.es>
* trunk/pandora_agents/unix/ChangeLog,
	trunk/pandora_agents/unix/pandora_agent.spec,
	trunk/pandora_console/ChangeLog,
	trunk/pandora_console/pandora_console.redhat.spec:
	re-upload changes lost in previous commit.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 17:46:50 +00:00
slerena b8322cbcc5 2010-11-25 Sancho Lerena <slerena@artica.es>
* include/config_process.php: Version update.

        * pandora_console.spec: Version update.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 16:18:45 +00:00
mdtrooper d97e5f7ba3 2010-11-25 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: erase the problematic
	foreign key in trecon_task.
	
	Fixes: #3118273
	
	* godmode/servers/recon_script.php: when I readed source code for
	to check that when delete a recon_script delete recon task that use
	this. Cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 10:15:41 +00:00
raulmateos dc695eb64c 2010-11-23 Raul Mateos <raulofpandora@gmail.com>
* operation/events/events.php: Use "back not normal" icon in full screen.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 19:43:55 +00:00
mdtrooper a804adf875 2010-11-23 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: erased the deprecated function
	"grafico_modulo_sparseOLD" and deprecated function
	"grafico_modulo_sparse_mobile". And in the function added new
	parameter $show_title with default value true for to show or no
	the title. And when Pandora mobile for the graph now use the
	function "grafico_modulo_sparse".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 15:18:33 +00:00
mdtrooper 3bf75815ba 2010-11-23 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/OpenLayers/OpenLayers.js: backport to previous
	version in SVN, the library has a dumb mistakes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 13:27:17 +00:00
mdtrooper 7258d0de88 2010-11-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php: cleaned source code style.
	
	* include/functions_ui.php: fixed in the function
	"print_page_header" the check if the option is a separator that it
	was true when the key was zero.
	
	Fixes: #3115621



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 12:38:08 +00:00
mdtrooper 8038b1b8b1 2010-11-23 Miguel de Dios <miguel.dedios@artica.es>
* extensions/extension_uploader.php: add first version of extension
	to upload other extensions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 11:40:24 +00:00
raulmateos ec625e3613 2010-11-22 Raul Mateos <raulofpandora@gmail.com>
* gomode/agentes/module_manager.php: Closed HTML tags.
	* images/status_sets/default/agent_no_monitors*.png: Added forgotten files.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 15:12:43 +00:00
mdtrooper 0c7fa1a7a5 2010-11-22 Miguel de Dios <miguel.dedios@artica.es>
* include/help/en/help_operation_visual_console.php,
	include/help/es/help_operation_visual_console.php: added first
	version of help file for the operation main page of Visual Console,
	these have a explain for the especial name for visual consoles.
	
	* operation/visual_console/index.php: added link to help in header.
	
	operation/menu.php: added filter to hide the "Visual Console items"
	in submenu that haven't first letter as "_", "," , "[" , "(". And
	fixed the show name with safe_input entities.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 13:43:54 +00:00
mdtrooper 43e4675d05 2010-11-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/extensions.php: fixed a lost javascript trace, and fixed
	when all extensions is disabled.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 10:56:41 +00:00
zarzuelo 18c362cf99 2010-11-19 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_generalagente.php: Fixed the
	shows of IP in the agent view for bug 3111807



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 12:45:18 +00:00
mdtrooper d0834c18bc 2010-11-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_extensions.php: added functions
	"get_disabled_extensions" and "getExtensionInfo".

	* operation/extensions.php: erased the delete extension option.

	* images/dot_green.disabled.png, images/dot_red.disabled.png: added files
	for the table of features extension.
	
	* godmode/extensions.php: show a table of extension with features and
	action to disable and delete.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-19 12:08:18 +00:00
mdtrooper 7db030ba63 2010-11-17 Miguel de Dios <miguel.dedios@artica.es>
* extensions/vnc_view.php: added first version of extension of to VNC view
	tab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3598 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 16:01:31 +00:00
raulmateos 0608b5e27c 2010-11-17 Raúl Mateos <raulofpandora@gmail.com>
* operation/reporting/reporting_viewer.php, operation/reporting/graph_viewer.php:
	Added full screen mode and other minor changes.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 15:09:53 +00:00
mdtrooper f661ccd92d 2010-11-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/map_builder_wizard.php: deleted old file of old visual
	console editor. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 14:53:57 +00:00
raulmateos 47e763d77f 2010-11-17 Raúl Mateos <raulofpandora@gmail.com>
* include/functions_events.php: Deleted old code. Simplify.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 11:43:48 +00:00
mdtrooper 696181859f 2010-11-17 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console.redhat.spec: re-enabled the check dir "data_in" in
	spec file for package redhat-centos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 11:13:00 +00:00
raulmateos d691be73c3 2010-11-16 Raul Mateos <raulofpandora@gmail.com>
* operation/menu.php, operation/events/sound_events.php: Undo last commit

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3592 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-16 15:56:26 +00:00
raulmateos c4c89b452d 2010-11-16 Raul Mateos <raulofpandora@gmail.com>
* operation/menu.php, operation/events/sound_events.php: Change string.
	Use events in lower case, according with the menu criteria.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-16 10:38:21 +00:00
raulmateos 887810725f 2010-11-15 Raúl Mateos <raulofpandora@gmail.com>
* include/functions_events.php: Show text in Agent detail when no events
	found. Commented old code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 17:07:30 +00:00
mdtrooper 96de9ef5b8 2010-11-15 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_ultimopaquete.php: fixed the single quote instead
	double quote.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 13:40:33 +00:00
mdtrooper 1abd59cfb9 2010-11-15 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/tiny_mce/plugins/table/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advlink/editor_plugin.js,
	include/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js,
	include/javascript/tiny_mce/plugins/template/editor_plugin.js,
	include/javascript/tiny_mce/themes/advanced/editor_template.js: fixed end of
	lines that it haven't semicolon end char.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3586 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 13:37:47 +00:00
mdtrooper 30593beede 2010-11-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_extensions.php: added functions
	"add_extension_godmode_tab_agent" and "add_extension_opemode_tab_agent" to
	add the extensions tab in the header in operation and godmode.
	
	* operation/agentes/ver_agente.php,
	godmode/agentes/configurar_agente.php: added hook for to add the extension
	tabs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 13:36:01 +00:00
jsatoh 6d867c0c42 2010-11-14 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/status_monitor.php: Fixed unnecessary strings
	(a part of html entities) are shown in module name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3581 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-14 01:32:21 +00:00
mdtrooper ebea027f79 2010-11-11 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.ui.datepicker.js,
	include/javascript/pandora_modules.js,
	include/javascript/tiny_mce/plugins/autoresize/editor_plugin.js,
	include/javascript/tiny_mce/plugins/example/editor_plugin.js,
	include/javascript/tiny_mce/plugins/emotions/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advhr/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advlist/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advimage/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advimage/js/image.js,
	include/javascript/tiny_mce/plugins/directionality/editor_plugin.js,
	include/javascript/tiny_mce/plugins/visualchars/editor_plugin.js,
	include/javascript/tiny_mce/plugins/wordcount/editor_plugin.js,
	include/javascript/tiny_mce/plugins/autosave/editor_plugin.js,
	include/javascript/tiny_mce/plugins/advlink/editor_plugin.js,
	include/javascript/tiny_mce/plugins/fullpage/editor_plugin.js,
	include/javascript/tiny_mce/plugins/contextmenu/editor_plugin.js,
	include/javascript/tiny_mce/plugins/bbcode/editor_plugin.js,
	include/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin.js,
	include/javascript/OpenLayers/OpenLayers.js,
	include/javascript/jquery.ui.resizable.js: fixed end of lines that it
	haven't semicolon end char.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 13:23:27 +00:00
mdtrooper 751f987ade 2010-11-11 Miguel de Dios <miguel.dedios@artica.es>
* extensions/insert_data.php: fixed to force include the "autocomplete"
	library javascript.
	
	Fixes: #3103590



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 13:12:44 +00:00
zarzuelo da2a47670e 2010-11-11 Sergio Martin <sergio.martin@artica.es>
* include/fgraph.php: Fixed session auth for 
	external access



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 11:19:37 +00:00
raulmateos c80d6420b7 2010-11-11 Raúl Mateos <raulofpandora@gmail.com>
* general/error_install.php, general/error_perms.php, general/header.php,
	general/logon_menu.php, general/logon_ok.php, include/functions_menu.php, 
	include/functions_ui.php, extensions/agents_modules.php, 
	operation/menu.php, godmode/menu.php, operation/estado_agente.php,
	operation/agentes/estado_agente.php, operation/agentes/status_monitor.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_generalagente.php, pandoradb_data.sql: Closed
	some HTML tags, autoclose others, added alt to images, and changed some 
	& to "&amp;" to help validation for XHTML 1.0 Transitional. Tested and
	not error found, but needs more tests...

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 11:16:09 +00:00
jsatoh 9e1a220245 2010-11-11 Junichi Satoh <junichi@rworks.jp>
* godmode/setup/gis_step_2.php: Added UTF-8 charset to htmlentities().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-11 01:26:38 +00:00
slerena d06c113bee 2010-11-10 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql,
        DEBIAN/control,
        DEBIAN/make_deb_package.sh,
        include/config_process.php,
        pandora_console.redhat.spec: Last updates on version and
        spec files for release.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 13:15:59 +00:00
zarzuelo bc3e49a54c 2010-11-10 Sergio Martin <sergio.martin@artica.es>
* include/functions.php: Check de enterprise version to
	show the baseline graph option in reports



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 11:33:23 +00:00
zarzuelo 62c33abaf0 2010-11-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/functions.php
	operation/reporting/reporting_xml.php
	godmode/reporting/reporting_builder.item_editor.php: Added the
	simple baseline graph to the html and xml report exports



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-10 11:17:29 +00:00
slerena 0bea6001e7 2010-11-08 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Updated version/build.

        * extensions/update_manager/sql/update_manager.sql: Change URL of 
        update manager to 3.2

        * pandora_console.redhat.spec: Updated version/build



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 14:57:49 +00:00
raulmateos d885b9a73f 2010-11-08 Raúl Mateos <raulofpandora@gmail.com>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated database schema
	version when updating database.

	* extras/pandora_diag.php: Small update.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 14:37:51 +00:00
raulmateos adee2af5fe 2010-11-08 Raul Mateos <raulofpandora@gmail.com>
* pandora_console_install: Updated year/version and link to update script
	* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated news to 3.2 version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 12:14:25 +00:00
raulmateos f7018895af 2010-11-08 Raúu Mateos <raulofpandora@gmail.com>
* pandoradb.sql. pandoradb_data.sql, pandora_console_install: Updated
	year/version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 11:50:51 +00:00
raulmateos d6e9d6f99d 2010-11-07 Raul Mateos <raulofpandora@gmail.com>
* DEBIAN/makde_deb_package.sh, DEBIAN/control: Updated year/version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-07 18:33:28 +00:00
zarzuelo 778221e78a 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* include/languages/nb.po
	include/languages/en.po
	include/languages/mr.po
	include/languages/nb.mo
	include/languages/en.mo
	include/languages/mr.mo: Added few new language
	po and mo files



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3537 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 11:05:46 +00:00
zarzuelo cdc718b3d2 2010-11-05 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 languages
	from launchpad



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3536 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 10:58:52 +00:00
zarzuelo 75ee2e364a 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* operation/search_agents.php: Fixed the last contact
	information in the agents search view for bug 3103501



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 09:57:53 +00:00
zarzuelo 2d5c090a81 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js: Changed the enable
	condition to the snmp walk button in the network to improve
	the usability for bug 3102823



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 09:23:13 +00:00
zarzuelo 4f14f41206 2010-11-05 Sergio Martin <sergio.martin@artica.es>
* include/fgraph.php: Fixed event graphs by user for
	bug 3102830



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 08:50:22 +00:00
ramonn 6cd5e537ce 2010-11-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_ui.php: Check that the alert has a 'standby' column
	  (compound alerts don't have it).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:31:37 +00:00
mdtrooper 352a517351 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/db/db_purge.php: fixed old value "1" for "All" groups.
	
	Fixes: #3102844



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:28:55 +00:00
mdtrooper 073a66329c 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* extensions/users_connected.php: fixed call to operation function.
	
	Fixes: #3102855



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:23:40 +00:00
mdtrooper 1895c5a16d 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed warning in foreach loop.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:18:58 +00:00
zarzuelo 1933e68de6 2010-11-04 Sergio Martin <sergio.martin@artica.es>
* operation/incidents/incident.php: Fixed incidents filter



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:15:10 +00:00
mdtrooper 9c24822fe8 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed empty spaces the list of ACL IP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 18:01:58 +00:00
ramonn dc0d2e144a 2010-11-04 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Do not propagate compressed data to dates in the
	  future in any charts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 17:48:56 +00:00
mdtrooper 2bd122e423 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function __ fixed when the Pandora don't
	have extensions.
	
	* operation/events/events_rss.php: cleaned source code.
	
	* operation/events/events_list.php: added more info in the hidden expanded
	row.
	
	Fixes: #3102826



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 17:41:37 +00:00
mdtrooper c287cece2d 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* extensions/module_groups.php: fixed a unset $fired var.
	
	Fixes: #3102791



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 16:35:29 +00:00
mdtrooper 4b9aeba05b 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_marquee.php: fixed the error SQL message and
	save corretly the audit.
	
	Fixes: #3102788



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3520 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 16:28:16 +00:00
ramonn c53168f835 2010-11-04 Ramon Novoa <rnovoa@artica.es>
* godmode/servers/manage_export.php,
	  godmode/servers/manage_export_form.php: Moved to Pandora FMS
	  Enteprise.

	* godmode/menu.php: Removed the export targets menu entry.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 16:15:41 +00:00
mdtrooper 555404f875 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: fixed lost lines deleted in previous
	commits (sorry).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 16:02:44 +00:00
mdtrooper e570207d5e 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* extensions/system_info.php: change the funcionality of extension, now
	generate a zip file in Pandora Console mode, and fixed the execution in the
	term, and move to setup menu.
	
	Fixes: #3102834
	
	* include/config_process.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 15:43:17 +00:00
raulmateos 2424fbec59 2010-11-04 Raul Mateos <raulofpandora@gmail.com>
* general/login_page.php: Fixed validation for XHTML 1.0 Transitional.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-04 15:01:25 +00:00
raulmateos 2ded23a694 2010-11-03 Raul Mateos <raulofpandora@gmail.com>
* index.php: Updated year :-D
	* general/footer.php, header.php: Updated year. Fixed some HTML strings to improve W3C validation. A lot of work to do in this area.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:56:20 +00:00
mdtrooper 7957ca1e07 2010-11-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added the function
	"print_autocomplete_modules". This function is same to magic-select box for
	agents instead this for modules.
	
	* include/javascript/jquery.ui.datepicker.js,
	include/javascript/jquery.ui.droppable.js: fixed end of lines that it
	haven't semicolon end char.
	
	* include/ajax/module.php: fix version of file that responds to ajax
	request for the magic-select box for modules.
	
	* include/functions_ui.php: in function "format_alert_row" use new call
	for the "isAlertInPolicy2".
	
	* include/functions_db.php: added in function "get_agent_modules" for the
	parameter $filter, the posibility to search with the "like" mysql operator.
	
	* images/lightning_blue.png: blue lighting for new magic-select box agents.
	
	* godmode/agentes/configurar_agente.php: cleaned source code style.
	
	* godmode/alerts/alert_list.list.php:  use new call for the
	"isAlertInPolicy2". And fixed the column align for policies and actions.
	
	* godmode/reporting/reporting_builder.list_items.php: erased old source
	code lines comments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:45:39 +00:00
slerena 9ddf97bf61 2010-11-03 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Updated build

        * include/config_process.php: Updated build.

        * include/functions_db.php: Fixed the way takes agent status for visual maps,
        was a wrong filter on remote_contact timestamp, that info is not used to
        calculate agent unknown status !.

        * index.php: develop mode set to 0

        * operation/snmpconsole/snmp_view.php: Removed a notice for a noninit var (again)

	* images/*: New images for visual maps, old ones are moved to another dir



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 15:19:07 +00:00
ramonn 4c916bbce5 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Order results before calculating
	  the SLA.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3503 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 13:35:39 +00:00
zarzuelo 55b12db3ad 2010-11-03 Sergio Martin <sergio.martin@artica.es>
*  include/functions_modules.php
	include/functions_reporting.php
	include/functions.php
	include/functions_db.php
	operation/agentes/ver_agente.php
	godmode/massive/massive_delete_modules.php: Fixed 
	several html entities codifications with safe_input/safe_output



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 12:18:33 +00:00
zarzuelo fdf2ea31c0 2010-11-02 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql: Changed several spaces and parentheses
	in the insert data script to their html entities.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 17:28:41 +00:00
raulmateos 3dc1c0f563 2010-11-02 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Updated build to prepare 3.2 RC1 release.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 12:07:34 +00:00
mdtrooper c5e4ea00bf 2010-11-02 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.ui.datepicker.js,
	include/javascript/jquery.ui.dialog.js,
	include/javascript/jquery.ui.draggable.js,
	include/javascript/jquery.timeentry.js: fixed end of lines that it haven't
	semicolon end char.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 11:40:30 +00:00
raulmateos 511a07b606 2010-11-02 Raul Mateos <raulofpandora@gmail.com>
* extensions/pandora_logs.php: Fixed html typos.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3491 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-02 11:17:37 +00:00
mdtrooper 72318ac63e 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "format_array_to_where_clause_sql"
	added lines for test when is a string start with % for check with LIKE
	operator.
	
	Fixes: #3098170



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 16:38:44 +00:00
mdtrooper 5403878dff 2010-11-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: cleaned source code style. And added line
	comments for to explain obfuscated $$ operation in function
	"print_input_text_extended".
	
	* godmode/agentes/module_manager_editor_plugin.php: set the field
	"plugin_parameters" with unlimited size. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-01 12:02:00 +00:00
ramonn f6e06da369 2010-10-29 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Do not propagate compressed data to dates in the
	  future to make the baseline clearer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 13:30:56 +00:00
mdtrooper 4c5e817aff 2010-10-29 Miguel de Dios <miguel.dedios@artica.es>
* extensions/dbmanager.php, godmode/agentes/module_manager_editor.php,
	godmode/massive/massive_add_alerts.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_operations.php,
	godmode/massive/massive_delete_profiles.php,
	godmode/massive/massive_edit_agents.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_add_profiles.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/massive/massive_edit_modules.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/massive/massive_add_action_alerts.php:  now in the source code pick
	more info in the audit for actions.
	
	Pending tasks: #3089687



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3480 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 12:35:34 +00:00
mdtrooper ca2b11c3ec 2010-10-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/massive/massive_delete_profiles.php: fixed result message of
	operation. And cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 11:55:17 +00:00
mdtrooper b4b42cdd94 2010-10-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php, godmode/alerts/alert_actions.php,
	godmode/alerts/alert_commands.php: now in the source code pick more info in
	the audit for actions to create, update and delete profiles and user, and
	for action to add and remove profiles to user.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3478 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-28 11:55:55 +00:00
mdtrooper 2ccb89dbd5 2010-10-28 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.ui.datepicker.js, include/javascript/jquery.js,
	include/javascript/jquery.ui.core.js,
	include/javascript/tiny_mce/tiny_mce_popup.js,
	include/javascript/OpenLayers/OpenLayers.js,
	include/javascript/jquery.ui.resizable.js,
	include/javascript/jquery.timeentry.js: : delete unpacked source code of js.
	
	* include/functions_alerts.php: added header comment to function
	"create_alert_action".
	
	* godmode/alerts/alert_list.php: fixed the return status for message status
	in actions "delete_alert", "add_action" and "delete_action".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-28 11:35:56 +00:00
zarzuelo 86209e7fea 2010-10-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_custom_graphs.php
	godmode/reporting/graph_builder.preview.php: Fixed various bugs when
	you try to render a custom graph without modules for bug 3096434



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-28 11:31:12 +00:00
zarzuelo 419d35fb54 2010-10-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_io.php
	include/functions_ui.php: Fixed the html setting in the header 
	for the dashboard bug 3094692 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-28 11:06:30 +00:00
mdtrooper 31d8593fe6 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.ui.datepicker.js,
	include/javascript/jquery.ui.core.js: fixed end of lines that it haven't
	semicolon end char.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3473 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 17:46:40 +00:00
mdtrooper 6e843db971 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php:  now in the source code pick more
	info in the audit for actions to create, update and delete agent, and in
	other hand for the actions to create, update, duplicate and delete module.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 17:38:39 +00:00
mdtrooper 5f818eec3f 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php,
	godmode/massive/massive_edit_agents.php: erased the calls "debugPrint" found
	in source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 17:28:05 +00:00
mdtrooper b0b231688f 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "pandora_audit" added new parameter
	$info for to set more info in the audit. Cleaned source code style.
	
	* godmode/users/configure_user.php, godmode/users/configure_profile.php: now
	in the source code pick more info in the audit for actions to create,
	update and delete profiles and user, and for action to add and remove
	profiles to user.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 16:02:53 +00:00
mdtrooper a0b29acf00 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "pandora_audit" clean source code
	style, use the Pandora DB interface and now return id the row in tsesion.
	 
	* index.php: fixed when login failed the audit.
	
	* godmode/users/user_list.php: clean source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 11:33:17 +00:00
mdtrooper 2cc17edf55 2010-10-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/admin_access_logs.php: added hooks to enterprise code, and added
	new filter with more options.

	* include/functions_db.php: erase the deprecated function "audit_db", and
	added in function "pandora_audit" two new parameters $user_id, $ip for
	pass this values when it are differents to the default values. Finally
	replaced the depecrated "audit_db" for "pandora_audit".
	
	* include/functions_events.php, include/functions_filemanager.php, 
	include/ajax/reporting.ajax.php,
	include/ajax/visual_console_builder.ajax.php,
	include/ajax/alert_list.ajax.php, include/help/es/modu_group_list.php,
	include/functions_incidents.php, index.php, extensions/agents_modules.php,
	extensions/insert_data.php, extensions/system_info.php,
	extensions/dbmanager.php, extensions/update_manager/settings.php,
	extensions/pandora_logs.php, extensions/plugin_registration.php,
	operation/incidents/incident.php, operation/incidents/incident_detail.php,
	operation/incidents/incident_statistics.php, operation/extensions.php,
	operation/visual_console/render_view.php,
	operation/agentes/status_monitor.php, operation/agentes/export_csv.php,
	operation/agentes/datos_agente.php, operation/agentes/alerts_status.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/custom_fields.php, operation/agentes/estado_agente.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php, operation/agentes/sla_view.php,
	operation/agentes/gis_view.php, operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php, operation/agentes/graphs.php,
	operation/agentes/agent_fields.php, operation/agentes/tactical.php,
	operation/agentes/group_view.php, operation/agentes/networkmap.php, 
	operation/servers/view_server.php,operation/servers/view_server_detail.php,
	operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
	operation/gis_maps/render_view.php, operation/events/event_statistics.php,
	operation/events/sound_events.php, operation/events/events_validate.php,
	operation/events/events_list.php, operation/events/events_marquee.php,
	operation/events/events.php, operation/reporting/reporting_xml.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php,
	mobile/operation/agents/view_agents.php, mobile/index.php,
	godmode/groups/modu_group_list.php, godmode/groups/configure_group.php,
	godmode/groups/configure_modu_group.php, godmode/groups/group_list.php,
	godmode/extensions.php, godmode/db/db_main.php, godmode/db/db_audit.php,
	godmode/db/db_sanity.php, godmode/db/db_refine.php, godmode/db/db_info.php,
	godmode/db/db_event.php, godmode/db/db_purge.php,
	godmode/agentes/fields_manager.php, godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php, godmode/agentes/configurar_agente.php,
	godmode/agentes/configure_field.php, godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php, godmode/agentes/agent_manager.php,
	godmode/servers/manage_export.php, godmode/servers/recon_script.php,
	godmode/servers/manage_export_form.php, godmode/servers/plugin.php,
	godmode/servers/manage_recontask.php, godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/alert_list.list.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php, godmode/alerts/alert_list.builder.php,
	godmode/alerts/alert_commands.php, godmode/snmpconsole/snmp_alert.php,
	godmode/snmpconsole/snmp_filters.php, godmode/setup/file_manager.php,
	godmode/setup/os.list.php, godmode/setup/news.php,
	godmode/setup/gis_step_2.php, godmode/setup/links.php,
	godmode/setup/setup.php, godmode/setup/os.php,
	godmode/setup/performance.php, godmode/setup/setup_auth.php,
	godmode/setup/gis.php, godmode/setup/os.builder.php,
	godmode/setup/setup_visuals.php, godmode/users/user_list.php,
	godmode/users/configure_user.php, godmode/users/configure_profile.php,
	godmode/gis_maps/configure_gis_map.php, godmode/gis_maps/index.php,
	godmode/massive/massive_add_alerts.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_operations.php,
	godmode/massive/massive_delete_profiles.php,
	godmode/massive/massive_edit_agents.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_add_profiles.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/massive/massive_edit_modules.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/massive/massive_add_action_alerts.php,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_components_form_common.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/graph_builder.main.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/reporting_builder.preview.php,
	godmode/reporting/reporting_builder.main.php,
	godmode/reporting/visual_console_builder.data.php,
	godmode/reporting/map_builder_wizard.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/visual_console_builder.preview.php,
	godmode/reporting/graph_builder.graph_editor.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/reporting/graphs.php, godmode/reporting/graph_builder.preview.php:
	Replaced the depecrated "audit_db" for "pandora_audit".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 10:47:07 +00:00
ramonn 6843ffdf15 2010-10-26 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/stat_win.php: Hide baseline checkbox when not
	  available.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-26 13:18:34 +00:00
jsatoh 2af21ff6d9 2010-10-26 Junichi Satoh <junichi@rworks.jp>
* godmode/db/db_info.php: Fixed uninitialized variable is used.
	Fixed "get database information as text" does not work.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-26 02:04:22 +00:00
mdtrooper dcc81cd63a 2010-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/tiny_mce/plugins/media/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/pagebreak/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/insertdatetime/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/noneditable/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/inlinepopups/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/autoresize/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/example/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/emotions/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/iespell/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/save/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/advhr/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/tabfocus/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/advlist/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/layer/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/advimage/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/preview/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/directionality/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/visualchars/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/wordcount/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/legacyoutput/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/table/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/autosave/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/advlink/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/print/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/nonbreaking/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/fullpage/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/style/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/searchreplace/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/fullscreen/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/spellchecker/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/contextmenu/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/template/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/paste/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/bbcode/editor_plugin_src.js,
	include/javascript/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js,
	include/javascript/tiny_mce/themes/advanced/editor_template_src.js,
	include/javascript/tiny_mce/themes/simple/editor_template_src.js,
	include/javascript/tiny_mce/tiny_mce_src.js: delete unpacked source code of
	js.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 16:45:20 +00:00
mdtrooper da22943171 2010-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.pandora.controls.js,
	include/javascript/tiny_mce/plugins/media/js/media.js,
	include/javascript/tiny_mce/plugins/table/editor_plugin.js,
	include/javascript/tiny_mce/plugins/table/js/cell.js,
	include/javascript/tiny_mce/plugins/xhtmlxtras/js/element_common.js,
	include/javascript/tiny_mce/themes/advanced/js/color_picker.js,
	include/javascript/tiny_mce/themes/advanced/js/image.js,
	include/javascript/jquery.pandora.js,
	include/javascript/jquery.tablesorter.js,
	include/javascript/OpenLayers/OpenLayers.js,
	include/javascript/jquery.form.js, include/javascript/jquery.timeentry.js,
	include/javascript/jquery.countdown.js,
	godmode/reporting/visual_console_builder.editor.js: fixed end of lines that
	it haven't semicolon end char.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 16:06:37 +00:00
mdtrooper 3c7fe22f1a 2010-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: clean source style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 15:58:28 +00:00
mdtrooper 13dd0e4ae5 2010-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, godmode/agentes/modificar_agente.php,
	godmode/alerts/alert_list.list.php: clean source style.
	
	* godmode/servers/manage_export_form.php: fixed a unclose parentheses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 15:55:16 +00:00
mdtrooper c1c8dbcb15 2010-10-21 Miguel de Dios <miguel.dedios@artica.es>
* extensions/module_groups.php: show color for when the alert fired, and
	added cluetip for more details.
	
	Pending task: #3041855



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3458 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 15:49:56 +00:00
ramonn db208e67a4 2010-10-25 Ramon Novoa <rnovoa@artica.es>
* include/pchart_graph.php, include/fgraph.php: Added baseline support
	  to image charts (Enterprise).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3456 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 14:36:21 +00:00
raulmateos f43f25cf7b 2010-10-25 Raúl Mateos <raulofpandora@gmail.com>
* images/control*.png: Added two small images for sound control in setup.
	* godmode/setup/setup.php: Use added images.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3455 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 12:38:31 +00:00
jsatoh 62b3005c43 2010-10-25 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/module_manager_editor_network.php: Added enterprise
	check before isModuleAdopt(). It is not in opensource version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-25 02:30:46 +00:00
ramonn d70abfb645 2010-10-22 Ramon Novoa <rnovoa@artica.es>
* include/styles/pandora_minimal.css, include/fgraph.php,
	  include/functions_fsgraph.php, operation/agentes/stat_win.php: Added
	  support for chart baseline (Enterprise).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-22 17:55:54 +00:00
raulmateos 8b78261f2e 2010-10-22 Raul Mateos <raulofpandora@gmail.com>
* godmode/db/db_refine.php, godmode/agentes/manage_config_remote.php,
	godmode/admin_access_logs.php, godmode/snmpconsole/snmp_filters.php,
	godmode/snmpconsole/snmp_alert.php: Updated year, close html tags, put pixel
	in tables, center some icons, small cosmetics changes.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-22 13:01:25 +00:00
jsatoh 2d94259276 2010-10-22 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_standby_alerts.php: Improved template
	selection to be selected more than one. Added agent selection. (It can
	also be selected more than one.)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3447 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-22 08:21:28 +00:00
mdtrooper 421e51537c 2010-10-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: fixed the change the flag tconfig
	"can_block_policies", now the operation is between policy semaphore.
	
	Fixes: #3091940

	* include/functions_db.php: fixed the save user IP when the $config don't
	load this var yet.
	
	* include/functions_networkmap.php: fixed the translation call function when
	the pandora don't load the function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-21 16:39:10 +00:00
mdtrooper e1c7c0d2ef 2010-10-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: added check tconfig parameter
	"can_block_policies" in functions.
	
	Pending task: #3080762
	
	* operation/agentes/ver_agente.php: added hook enterprise the tab policy.
	
	Pending task: #3080762

	* include/functions_ui.php, operation/agentes/estado_monitores.php: cleaned
	source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-21 15:06:53 +00:00
zarzuelo 4268600cb3 2010-10-20 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/manage_export_form.php
	godmode/servers/manage_recontask.php
	godmode/servers/manage_recontask_form.php: Improved and fixed
	little bugs into the custom recon scripts interface



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 16:32:15 +00:00
zarzuelo 46e9ffceb0 2010-10-20 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Clean the code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 16:23:24 +00:00
slerena e6607821b8 2010-10-20 Sancho Lerena <slerena@artica.es>
* pandoradb.sql
        extras/pandoradb_migrate_v3.1_to_v3.2.sql: TEXT type for some
        fields with small length now with the HTML encoding.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 14:11:42 +00:00
darode 444a03c1b3 2010-10-20 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/servers/modificar_server.php: Disable change name of server
	because it will be trouble updating server status.

	Fixes: #3091297



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 13:50:18 +00:00
zarzuelo 03cd6f1a4c 2010-10-20 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Fixed jquery clone 
	function incompatibility with iexplorer for bug 3090389



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 11:05:26 +00:00
jsatoh 9f823e9fea 2010-10-20 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_enable_disable_alerts.php: Improved template
	selection to be selected more than one. Added agent selection. (It can
	also be selected more than one.)

	* godmode/include/functions_alerts.php: Added a argument, $id_agents
	array, to get_agents_with_alert_template(). It is used to select
	specific agents in the function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-20 04:58:22 +00:00
zarzuelo 7484afec02 2010-10-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	include/ajax/visual_console_builder.ajax.php
	godmode/reporting/visual_console_builder.php: Added the html support
	in the label type items of the visual consoles for pending
	task 3063404



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-19 15:57:07 +00:00
mdtrooper ace84dc4b0 2010-10-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: added hook for "user translation" in function
	"__".
	
	Pending task: #3057674



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-19 12:23:05 +00:00
zarzuelo c5d7120674 2010-10-19 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_edit_modules.php: Fixed a jquery typo
	for iexplorer browser



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-19 11:04:20 +00:00
mdtrooper a955da9bdb 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 b12fb03fdd 2010-10-18 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Alter some trecon_task info to avoid problems on new
	custom script items (due the referencial integrity).
	
	* pandoradb_data.sql: Octopods instead octopus.
	
	* godmode/menu.php,
	* godmode/servers/recon_script.php: Added new option to manage recon scripts
	
	* godmode/servers/manage_recontask.php,
	godmode/servers/manage_recontask_form.php: Changes to manage the new recon
	tasks using custom-defined scripts to detect and monitor things (neeed some
	Javascript improvements).
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-18 18:16:45 +00:00
mdtrooper 4b05e2df64 2010-10-18 Miguel de Dios <miguel.dedios@artica.es>
* extensions/insert_data.php: added first version of extension to added
	data in any module in any agent, by form or csv.
	
	Pending tasks: #3063417



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-18 12:38:02 +00:00
ramonn 4a0b5df5ce 2010-10-18 Ramon Novoa <rnovoa@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added support for recon scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-18 10:15:35 +00:00
slerena b29201c111 2010-10-16 Sancho Lerena <slerena@artica.es>
* DEBIAN/control: Removed apache and apache php mod from deps, giving
        user chance to use another HTTP server.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-16 13:25:00 +00:00
slerena c7200075b2 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
ramonn bced419f7e 2010-10-15 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Added support for recon scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 13:03:03 +00:00
zarzuelo abf7bc65ff 2010-10-15 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Improved the size of the
	alert view columns



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3410 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 12:11:23 +00:00
zarzuelo d5fb8b4d2b 2010-10-15 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.builder.php: Fixed the ugly layout of 
	the alert views



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 11:47:43 +00:00
mdtrooper 70f09fccb4 2010-10-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_network.php: added lines to unblock
	SNMP community when the module is adopt.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-15 08:28:37 +00:00
zarzuelo 9738bbd51b 2010-10-14 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/ver_agente.php: Safe output the list of
	modules from an agent in the ajax control



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 17:09:26 +00:00
zarzuelo 12a12d5959 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
zarzuelo c802715dc3 2010-10-14 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/exportdata.php: Safe output the autocomplete
	of magic inputs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 17:04:19 +00:00
mdtrooper 0aedfa3a38 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 edebaa4bc2 2010-10-14 Sergio Martin <sergio.martin@artica.es>
* images/policies_not_brick.png: Added a module-not-policy
	icon



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 14:34:24 +00:00
zarzuelo d051dc23c1 2010-10-14 Sergio Martin <sergio.martin@artica.es>
* images/policies_brick.png: Added a module-policy
	icon



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 14:19:21 +00:00
zarzuelo 9027c6bf5b 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
mdtrooper 9d44dc6afd 2010-10-14 Miguel de Dios <miguel.dedios@artica.es>
* extensions/system_info.php: add TODO.
	
	* godmode/agentes/module_manager_editor.php: fixed the ajax with the new
	safe_ouput function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 10:31:30 +00:00
jsatoh 413397b9e0 2010-10-14 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_standby_alerts.php: Fixed alert listing is not
	affected by group selection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-14 03:24:05 +00:00
zarzuelo a3f0288fe1 2010-10-13 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/ver_agente.php: Fixed a SQL 
	query with safe_output function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-13 15:42:29 +00:00
zarzuelo f3c4e7c401 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
jsatoh 5056c4e8db 2010-10-12 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_add_alerts.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_edit_agents.php: Fixed action URLs.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-12 01:32:05 +00:00
mdtrooper 72077738d6 2010-10-11 Miguel de Dios <miguel.dedios@artica.es>
* extensions/system_info.php: finally I finished (I hope) the extension of
	get system info, now the console part run.
	
	Pending task: #3065357



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-11 15:37:04 +00:00
mdtrooper e4294b4883 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
ramonn 0110a44d28 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 371776a4b6 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 ce2b24da8f 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 4712cb4c35 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 6aee8a02a5 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
raulmateos 149093bcd8 2010-10-08 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/estado_monitores.php: Center status icon.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 15:37:45 +00:00
darode c18bb7daee 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 4b37c28c1d 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 d8e5baf90e 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
zarzuelo e32bd8a345 2010-10-08 Sergio Martin <sergio.martin@artica.es>
*  godmode/agentes/module_manager_editor_common.php
	 godmode/agentes/module_manager_editor.php: Fixed SQL 
	 error when try to create a module called 0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-08 07:20:40 +00:00
jsatoh 2a5bf6ea34 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
slerena 7109acb41a 2010-10-07 Sancho Lerena <slerena@artica.es>
* godmode/alerts/alert_list.list.php: Another ugly warning fixed due 
        an undefined array. PLEASE dont use foreach on arrays non-checked !




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 15:18:51 +00:00
slerena b89bcbd9c1 2010-10-07 Sancho Lerena <slerena@artica.es>
* godmode/agentes/configurar_agente.php: Added custom fields to the global
        edit/insert code. Not really used here, but for the future.

        * godmode/modules/module_list.php: Show ID of modules, useful information.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 12:00:16 +00:00
mdtrooper dc63e7553f 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 c2fad0ced1 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 7c640c5032 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 304b165ddc 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
zarzuelo 0f614e8f63 2010-10-07 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_edit_agents.php: Removed the IP 
	address field from the agent massive edition



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-07 08:13:36 +00:00
mdtrooper a8707e71b8 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php: fixed the source code, now when you
	create a agent, the agent have not a any module.
	
	Fixes: #3077024



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 15:43:26 +00:00
zarzuelo dcb33813df 2010-10-06 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.php
	godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.editor.php: Fixed the
	bad icon change in visual console editor when update an item
	for bug 3078016



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 15:35:49 +00:00
mdtrooper 82c18ebd12 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: added default sound events in
	tconfig, fixed bug that found Raul. Thanks for the tips, Raul.
	
	Fixes: #3073370



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 14:56:17 +00:00
mdtrooper 85724ac1e0 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
mdtrooper 76d03875e7 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php, godmode/agentes/module_manager.php:
	fixed the icon of policy in list of modules, now show when the module is
	unlinked. And cleaned source code style.
	
	Fixes: #3078716



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 12:24:21 +00:00
zarzuelo 38d1a56a3e 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
darode e77fb4b6b6 2010-10-06 Dario Rodriguez <dario.rodriguez@artica.es>
*operation/agentes/estado_agente.php, ver_agente.php: Fixed some problems 
	processing the input



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 11:04:16 +00:00
mdtrooper cd6d102fe4 2010-10-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-06 10:30:11 +00:00
mdtrooper e4e288c30c 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 db9f5da826 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 8f3acf6420 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 acc02b912c 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 7af53909dc 2010-10-05 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_monitores.php: Added the policy
	column to the monitors in agent view and improve the header
	of force execution in few monitors view for bug: 3078713



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-05 10:53:44 +00:00
zarzuelo bdcd0bce3f 2010-10-05 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_ultimopaquete.php: Added the policy
	column to the monitors list for bug 3078713



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-05 09:33:08 +00:00
zarzuelo 96c54d6b01 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 d2bc1129dc 2010-10-04 Sergio Martin <sergio.martin@artica.es>
* mobile/include/user.class.php: Fixed empty translated
	string



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 17:09:07 +00:00
zarzuelo 1dbc8de2ab 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 8a34a54df0 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
ramonn d542152c15 2010-10-04 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/estado_generalagente.php: Properly initialize the
	  custom field array.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 11:28:31 +00:00
mdtrooper cbcf7fe357 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
zarzuelo c309884ea6 2010-09-30 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.builder.php: Fixed an error of 
	table width declaration for bug 3078730



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 14:15:15 +00:00
mdtrooper ab4c1ba0fc 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 1e32858550 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 82fa5dbadf 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
raulmateos a763f3f306 2010-09-30 Raúu Mateos <raulofpandora@gmail.com>
* godmode/users/*.php: Removed reference to gperfiles sec.
	* godmode/profiles/: Deleted no more used folder.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 10:40:23 +00:00
raulmateos 7f0cbb99ee 2010-09-30 Raul Mateos <raulofpandora@gmail.com>
* operation/menu.php: Changed sound_events.php page size.

	* operation/events/sound_events.php: Added some missing HTML tags.
	Added style.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3323 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 09:35:42 +00:00
zarzuelo d76d84247f 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 434f9d5dc1 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 36f22d429c 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 eb1cde16dd 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_copy_modules.php: Fixed the
	massive modules copy for bug 3078010



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 15:25:59 +00:00
zarzuelo 1fcac1ef17 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Fixed the
	ugly layout of the alerts list in godmode section
	for bug 3077999 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 15:11:51 +00:00
zarzuelo 8f5f998fd4 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* operation/visual_console/render_view.php: Fixed the
	missing full screen tab in the visual console section
	for bug: 3078003



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3315 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 14:44:03 +00:00
zarzuelo b38febb6f9 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/tactical.php: Hide the server
	and global data in the tactical view to not
	administrator users



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 14:42:42 +00:00
zarzuelo afae8a8abe 2010-09-29 Sergio Martin <sergio.martin@artica.es>
*  operation/agentes/tactical.php: Allowed to show
	in process events in tactical view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 10:41:17 +00:00
zarzuelo d42205f3e3 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 5652203421 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 2c888f7fb3 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/fields_manager.php: Fixed the custom fields 
	section notice where is empty



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 09:23:12 +00:00
zarzuelo 18eca4fd62 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 c6a9695ea7 2010-09-27 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/sound_events.php: fixed the ajax check for when start
	with empty list of events. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 12:50:29 +00:00
mdtrooper 054ba8e5d9 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
raulmateos e75e98a9f3 2010-09-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/modificar_agente.php: Vertical aligned some icons.
	TO DO: The table should be "migrated" to new table code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 10:31:21 +00:00
zarzuelo 42123bccc3 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/graph_builder.preview.php: Fixed few
	foreach loops to avoid notices setting empty array to 
	false variables



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 10:23:04 +00:00
raulmateos e7601bc9e7 2010-09-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/users/user_list.php, godmode/users/configure_user.php:
	change the sec url variable to show the menu highlighted.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 09:52:22 +00:00
zarzuelo d3f82277fa 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* operation/events/events_list.php: Added confirm popup
	to delete event button



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 08:12:57 +00:00
zarzuelo a05d88d184 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.php: Fixed typo bug



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 08:04:13 +00:00
zarzuelo 8493f7ed3e 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.main.php: Set default
	value to id_group to avoid notices



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 07:48:14 +00:00
slerena fddf232849 2010-09-26 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Updated some missing deps.

        * operation/agentes/estado_generalagente.php: Fixed
        notice on empty array.

        * pandora_console.redhat.spec: Specific SPEC for redhat.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-26 16:07:28 +00:00
slerena a17b2586eb 2010-09-24 Sancho Lerena <slerena@artica.es>
* install.php: Updated version and build

        * pandoradb_data.sql: Updated database schema versioN/build



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-24 11:05:57 +00:00
mdtrooper f8b1e5f949 2010-09-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: fixed the lost $url var, recovered from the
	last version of SVN.
	
	Fixes: #3071767



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3288 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-24 10:41:52 +00:00
raulmateos e84d4d981c 2010-09-23 Raul Mateos <raulofpandora@gmail.com>
* extensions/users_connected.php: Show text to admin if no other
	user connected.
	TO DO: This extension gives non-accurate information due to the use 
	of timestamp in one hour since the login event. It should be
	improved to check logout events in table.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 13:35:59 +00:00
raulmateos 5d13aaaa9e 2010-09-23 Raul Mateos <raulofpandora@gmail.com>
* Changelog: Forgotten file

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3286 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 12:41:14 +00:00
mdtrooper 125346c658 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
mdtrooper 781dd918fe 2010-09-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: fixed the re-include two time the file.
	
	Fixes:  #3073577



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 09:59:34 +00:00
slerena 3c80d95a29 2010-09-22 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Spec for SUSE updated. Version, and some dep
        names updated.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 17:44:54 +00:00
mdtrooper ea31a214c6 2010-09-22 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: fixed previous commit of jobmate that erase some lines of
	ChangeLog. 
	
	* index.php: cleaned source code style.
	
	* mobile/include/style/main.css: added style for the login mobile page.
	
	* mobile/include/user.class.php: the "loginShow" function have a nice
	login box with some style.
	
	* mobile/images/transparent_pixel.gif, mobile/images/key.gif: added image
	files for the login page. The key image is created for "barretr" in
	http://www.openclipart.org/detail/3330.
	
	* mobile/index.php: changes for to show logout and new login box.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 16:52:29 +00:00
slerena 7fa3301e84 2010-09-22 Sancho Lerena <slerena@artica.es>
* godmode/reporting/visual_console_builder.elements.php,
        godmode/reporting/visual_console_builder.editor.php: Fixed bug 
        #3073239: bad intervals in combo for period selection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 14:15:28 +00:00
zarzuelo 5007239cd4 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 14383d0303 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 5a214fd09b 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 b8fdb1be26 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 dffeaa1dfe 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
raulmateos 5eec66a7c0 2010-09-20 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/customfields.php: Add code to show text when no
	fields defined.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 17:35:59 +00:00
slerena 4c76e4589b 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
mdtrooper 19259419e1 2010-09-17 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: cleaned source code style.
	
	* mobile/operation/events/events.php: added page to show list of events in
	the last day.

	* mobile/include/functions_web.php: added link to events list page.
	
	* mobile/index.php: added the hook to link the event.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 14:00:49 +00:00
zarzuelo 10d7f07771 2010-09-20 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_generalagente.php: Fixed a 
	false value into foreach



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 09:30:35 +00:00
zarzuelo 49d3d0bb39 2010-09-20 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql: Changed the english language from
	en to en_GB to use the british english translation to 
	fix mistakes in the english strings



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 08:07:56 +00:00
zarzuelo 66659442dd 2010-09-20 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Fixed a
	two lines ALTER statment to one line for bug 3065850



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 07:16:35 +00:00
zarzuelo 4f7fb22103 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 815adff2a4 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
jsatoh 2dabdfb82b 2010-09-17 Junichi Satoh <junichi@rworks.jp>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added missing ';'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 01:35:30 +00:00
mdtrooper 6b6d2c12e9 2010-09-15 Miguel de Dios <miguel.dedios@artica.es>
* images/status_sets/default/server_down_ball.png,
	images/status_sets/default/server_ok_ball.png: added small image (for to
	use in Pandora Mobile) for server status.
	
	* mobile/operation/servers/view_servers.php: added first version page to
	show server status in Pandora Mobile.
	
	* mobile/index.php: added hook for the server status page.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3247 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-15 17:20:13 +00:00
mdtrooper 481ff650b3 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
ramonn 91c34be254 2010-09-15 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3245 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-15 09:54:48 +00:00
ramonn 704a67db79 2010-09-13 Ramon Novoa <rnovoa@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a
          new column to talert_template_modules to support standby alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-13 14:21:05 +00:00
mdtrooper 4ab2ec22f2 2010-09-13 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: added the tab to show all graphs in a
	one page about modules in the agent.
	
	* operation/agentes/graphs.php: the page to show all graphs of agent
	modules.
	 
	* operation/agentes/stat_win.php: cleaned html and closed some open html
	tags.

	Pending task: #3060349



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-13 10:26:33 +00:00
zarzuelo 0001103f48 2010-09-13 Sergio Martin <sergio.martin@artica.es>
* include/languages/cs.po
	include/languages/et.mo
	include/languages/nl.mo
	include/languages/pt_BR.po
	include/languages/es.po
	include/languages/pl.mo
	include/languages/ko.po
	include/languages/it.mo
	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/de.po
	include/languages/sv.po
	include/languages/ja.po
	include/languages/zh_TW.po
	include/languages/he.po
	include/languages/bn.mo
	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 mo files, 
	template file and added estonian, bulgarian
	australian english and british english to
	the languages



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-13 08:12:25 +00:00
zarzuelo 4586412e68 2010-09-13 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/configurar_agente.php: Added local module
	deletion in conf file to another place where the modules can
	be deleted. Clean the code too



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-13 07:41:06 +00:00
zarzuelo 4e57ccf83c 2010-09-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php: Added the local module
	deletion in conf file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-13 07:38:56 +00:00
zarzuelo 5bd3ff3a3d 2010-09-13 Sergio Martin <sergio.martin@artica.es>
* operation/reporting/custom_reporting.php: Center an
	icon into the reports table



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-13 07:37:18 +00:00
mdtrooper e3f2834fa5 2010-09-09 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/os.list.php, godmode/setup/os.builder.php,
	godmode/setup/os.php: changed the source code and added "os.builder.php" and
	"os.list.php" for to change the management page for to be a "tab page".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-09 14:07:21 +00:00
mdtrooper bec87360a2 2010-09-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: cleaned source code.
	
	* include/functions_ui.php: in function "print_os_icon" change the
	directory to search os icon because it change for new feature.
	
	* images/os_icons, images/os_icons/*: copied the icons image files into this
	dir for to use in new feature.
	
	* godmode/menu.php: added new item in submenu "Setup" for the management
	the OS.
	
	* godmode/setup/os.php: added the page to management the list OS of agents.
	
	Pending task: #3057663



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-09 12:19:11 +00:00
slerena 73ccc00ad4 2010-09-09 Sancho Lerena <slerena@artica.es>
* fgraph.php: Graph "Modules per agent" was not working properly
        due a invalid reference to array. Fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-09 05:16:36 +00:00
mdtrooper 594dd43d7a 2010-09-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.list.php: fixed the pagination when the list of
	alerts show into alert tab in agent config page.
	
	Fixes: #3055920
	
	* godmode/alerts/alert_list.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-08 16:41:05 +00:00
ramonn 60e384ed21 2010-09-08 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
          operation/reporting/reporting_xml.php: Improved error detection in
          reports.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-08 12:00:34 +00:00
slerena aee7cc85f3 2010-09-07 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Fixed typo in data SQL.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3225 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-08 10:56:48 +00:00
mdtrooper 0d0c1d61a1 2010-09-06 Miguel de Dios <miguel.dedios@artica.es>
* extensions/plugin_registration.php: fixed the translation string previous
	to form.
	Fixes: #3053312



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-07 15:33:04 +00:00
mdtrooper 5b5c69808d 2010-09-06 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/sound_events.php: fixed the location of image in the
	header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-07 13:17:28 +00:00
mdtrooper f90dc26798 2010-09-06 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: upload lost lines. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-06 12:21:23 +00:00
zarzuelo 8e54a17230 2010-09-03 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_operations.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_add_profiles.php: Added the 
	addition an deletion of profiles to users into 
	massive operations



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-03 07:20:39 +00:00
slerena 65cba41abd 2010-09-03 Sancho Lerena <slerena@artica.es>
* include/sounds/*.wav: New sounds for the fancy sound
        alert console feature Miguel is working on :-). All sounds
        are free (cc) and taken from http://www.freesound.org/.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-03 00:15:38 +00:00
zarzuelo e51847ce72 2010-09-02 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_operations.php
	godmode/massive/massive_enable_disable_alerts.php: Added
	the disable/enable alerts massive operation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-02 11:03:47 +00:00
zarzuelo 330449d290 2010-09-01 Sergio Martin <sergio.martin@artica.es>
* operation/menu.php
	operation/events/events_rss.php: Added url parameters
	to the event rss to authenticate the user and fix the ACLs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-01 13:34:15 +00:00
zarzuelo 71976b83e5 2010-09-01 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/alerts_status.php
	operation/search_alerts.php: Fixed the search of 
	alerts in alerts view and in main search



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-01 08:03:20 +00:00
zarzuelo d8e6c20dee 2010-08-31 Sergio Martin <sergio.martin@artica.es>
* operation/events/export_csv.php: Fixed ACLs to avoid
	to export system events to not administrators for bug 
	3053486



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-31 16:42:45 +00:00
raulmateos 350508d03e 2010-08-31 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/reporting_builder.php,
	godmode/gis_maps/configure_gis_mao.php, include/functions_filemanager.php:
	Fixed some misspelled strings

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-31 14:23:59 +00:00
zarzuelo 0beeb00c0e 2010-08-31 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/status_monitor.php: Fixed the 
	modules combo in the status monitor screen to 
	show only the visible agents modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-31 10:53:10 +00:00
zarzuelo 377838a814 2010-08-31 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Added support to '<>'
	comparation in the format_array_to_where_clause_sql
	function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-31 10:48:11 +00:00
zarzuelo f1d034fa02 2010-08-31 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/networkmap.php: Fixed the groups
	combo into the options of networkmaps to show only
	visible groups



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-31 09:39:58 +00:00
zarzuelo 6ff4d641b0 2010-08-31 Sergio Martin <sergio.martin@artica.es>
* extensions/update_manager.php: Removed the update
	manager extension from the menu if the user
	doesnt have PM permissions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-31 09:21:45 +00:00
zarzuelo 08ae1e76dd 2010-08-31 Sergio Martin <sergio.martin@artica.es>
* extensions/users_connected.php: Clean code and added
	additional ACL condition



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-31 08:51:49 +00:00