Commit Graph

1696 Commits

Author SHA1 Message Date
mdtrooper eaee64f417 2012-12-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/file_manager.php, include/functions_filemanager.php:
	some fixes and added support for the metaconsole.
	
	* include/get_file.php: fixed lost check "is_user".
	
	* operation/netflow/nf_live_view.php: cleaned source code style.
	
	* include/functions_config.php: added check the flag of "is_admin"
	when try to change some config from setup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 13:44:28 +00:00
zarzuelo eadc5d5749 2012-12-14 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php: Disable the events view
	when event replication is enabled



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-14 08:26:50 +00:00
slerena 40a209bfee 2012-12-10 Sancho Lerena <slerena@artica.es>
* datos_agente.php, snapshot.php: Seems some browsers
        doesnt like mono, added monospace to style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 19:09:59 +00:00
mdtrooper 1bc4868132 2012-12-13 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: fixed lost var id_server.
	
	* operation/agentes/ver_agente.php: fixed call of get modules for
	to get modules.
	
	* godmode/reporting/visual_console_builder.php: fixed lost var.
	
	* godmode/reporting/visual_console_builder.editor.js: fixed check
	the var metaconsole in firefox.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 18:40:30 +00:00
ramonn a86b2c5adb 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Style improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 18:12:17 +00:00
ramonn 25062d6da9 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  operation/netflow/nf_live_view.php: Fixes to the metaconsole part of
	  the viewer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 14:49:05 +00:00
slerena 834edfad33 2012-12-13 Sancho Lerena <slerena@artica.es>
* operation/agentes/datos_agente.php: Uses "mono" instead
        "lucida console" because CSS doesn't speak proper font language :)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7274 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 12:29:13 +00:00
ramonn 76b9db40cd 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Further improved netflow
	  performance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 11:04:12 +00:00
mdtrooper 3d8c0cd2a8 2012-12-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map_editor.php: increased the size of
	agent autocomplete widget.
	
	* include/functions_visual_map.php: in the function
	"visual_map_print_visual_map" changed for to print corretly the
	urls in public view in metaconsole.
	
	* include/ajax/agent.php: restore the search for any string in
	the autocomplete agent.
	
	* operation/reporting/reporting_xml.php,
	operation/search_results.php,
	operation/visual_console/public_console.php,
	godmode/setup/setup_auth.php, godmode/servers/modificar_server.php:
	cleaned source code style.
	
	* godmode/reporting/visual_console_builder.editor.js: fixed when
	finish a resize action or put the grid, before these actions
	was make a corrupt data of items.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 13:51:45 +00:00
ramonn e0bd5f334f 2012-12-12 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql,
	  include/functions_config.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  pandoradb.data.postgreSQL.sql,
	  pandoradb.data.oracle.sql,
	  godmode/setup/setup_netflow.php: Added the maximum netflow chart
	  resolution to the setup. Added byte and byteperseconds units.
	  Small improvements.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 12:10:16 +00:00
ramonn 16e038ff15 2012-12-11 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php: Added a new way of retrieving netflow
	  data using multiple calls to nfdump that vastly improves the
	  performance of netfow data charts.

	* operation/netflow/nf_live_view.php: Check that the nfdump binary
	  exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 16:43:29 +00:00
mdtrooper ada9da21e4 2012-12-11 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: in the table
	"tlayout_data" added the column "id_metaconsole" for to show
	visualmaps in the metaconsole.
	
	* operation/visual_console/render_view.php,
	include/functions_visual_map.php, operation/agentes/ver_agente.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.data.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/map_builder.php,
	include/ajax/visual_console_builder.ajax.php,
	include/ajax/agent.php, include/functions_visual_map_editor.php,
	
	
	* operation/agentes/datos_agente.php,
	include/functions_netflow.php: cleaned source code style.
	
	* include/functions_ui.php: in function 
	"ui_require_javascript_file_enterprise" fixed when need a
	enterprise javascript instead metaconsole enterprise path.
	
	* include/javascript/pandora.js: fixed the function
	"agent_changed_by_multiple_agents" that needs in the metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 15:01:45 +00:00
slerena 0adbeddb32 2012-12-09 Sancho Lerena <slerena@artica.es>
Ported new feature (Command Snapshot) from 4.0.3 code.

        *  include/javascript/pandora.js: Added new javascript function
        to open a generic URL with custom width / height.

        * operation/agentes/snapshot_view.php: New feature for command
        snapshot rendering.

        * operation/agentes/datos_agente.php,
        operation/agentes/estado_monitores.php: Changes for new feature
        command snapshot monitoring.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-09 22:31:29 +00:00
ramonn 3705b8b925 2012-12-07 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_reporting.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Aesthetic fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 14:03:00 +00:00
mdtrooper c422f1a9b5 2012-12-06 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php,
	operation/integria_incidents/incident.php,
	godmode/massive/massive_delete_modules.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_plugin.php,
	godmode/agentes/fields_manager.php,
	godmode/agentes/module_manager.php, godmode/users/profile_list.php,
	godmode/events/event_filter.php: cleaned source code style.
	
	* operation/tree.php: fixed the url to childrem consoles from the
	metaconsole tree.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-06 12:52:01 +00:00
ramonn 2dcd884f15 2012-12-05 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql,
	  include/functions_config.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  pandoradb.data.postgreSQL.sql,
	  pandoradb.data.oracle.sql,
	  godmode/setup/setup_netflow.php,
	  godmode/netflow/nf_edit_form.php: Performance improvements. Use csv
	  output to avoid using regular expressions. Removed byte, flow and
	  packet unit and added kilobyte, megabyte, kilobytes per second and
	  megabytes per second.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 17:29:06 +00:00
mdtrooper 1b4ab4b9a6 2012-12-05 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/update_manager/lib/libupdate_manager.php,
	operation/agentes/ver_agente.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_agente.php,
	operation/integria_incidents/incident.php,
	operation/reporting/reporting_xml.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.elements.php,
	include/functions_visual_map.php,
	include/functions_visual_map_editor.php: uploaded the changes of
	source code style previous to my next commit for to make the next
	commit more easy.
	
	* godmode/reporting/visual_console_builder.php: set empty string
	for the new visualmap.
	
	* include/ajax/visual_console_builder.ajax.php: fixed the regular
	expresion to extract the url for the graph.
	
	* include/functions_html.php: fixed into the function
	"html_print_select_groups" lost code for to show the selectbox.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-05 14:20:47 +00:00
mdtrooper c840569e80 2012-12-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.data.php,
	include/functions_visual_map_editor.php,
	operation/reporting/reporting_xml.php,
	operation/agentes/exportdata.excel.php,
	operation/agentes/ver_agente.php,
	operation/agentes/status_monitor.php,
	operation/agentes/alerts_status.php,
	operation/agentes/exportdata.csv.php: uploaded the changes of source
	code style previous to my next commit for to make the next commit
	more easy.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-04 12:21:39 +00:00
juanmanuelr 28659d81b4 2012-12-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Added agent statistics for 
	batch statistic branch in function reporting_get_group_stats. 
	 operation/agentes/status_monitor.php: Cleaned code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 13:23:30 +00:00
ramonn 36111a928e 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* operation/tree.php: Fixed the icon of the last element of a sub-tree.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-03 11:04:34 +00:00
juanmanuelr 5f71419dab 2012-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/status_monitor.php: Added check in group filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 18:27:37 +00:00
juanmanuelr 27528249d8 2012-11-29 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	 operation/agentes/status_monitor.php: New metaconsole monitor view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7206 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 17:34:51 +00:00
ramonn 2368e9ee9d 2012-11-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php,
	  include/config_process.php,
	  operation/tree.php,
	  godmode/setup/setup.php: Manually defined DateTimeZone constants
	  since they don't seem to be available in certain PHP versions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 15:14:08 +00:00
zarzuelo 90a0c45ea7 2012-11-29 Sergio Martin <sergio.martin@artica.es>
* operation/netflow/nf_live_view.php
	godmode/netflow/nf_edit_form.php
	godmode/netflow/nf_edit.php: Pass the parameter pure 
	to keep full screen



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-29 10:30:46 +00:00
zarzuelo 420f1dfbb6 2012-11-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	include/functions_graph.php
	include/functions_reporting.php
	include/functions_networkmap.php
	operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php: Fix a lot of bugs of reports and
	networkmap like foreach problems and filter issues




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 18:29:24 +00:00
darode 1fd479f66e 2012-11-28 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/netflow/nf_edit.php,
	operation/netflow/nf_live_view.php: Added title 
	for metaconsole sections.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 15:04:27 +00:00
ramonn 8b7c5b8e7f 2012-11-28 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  include/functions_tags.php,
	  operation/tree.php: Small fixes to the treeview.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 13:04:11 +00:00
zarzuelo 53d8d65271 2012-11-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_treeview.php
	operation/tree.php: Fix some bugs of treeview



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-28 09:58:42 +00:00
ramonn 4110c7c954 2012-11-27 Ramon Novoa <rnovoa@artica.es>
* include/functions_treeview.php,
	  operation/tree.php: Added support for agent and module navigation
	  from the metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 19:11:55 +00:00
darode 49f125468b 2012-11-27 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/status_monitor.php: Added  title for metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 18:59:31 +00:00
zarzuelo b836781406 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/reporting/reporting_viewer.php: Fix some bugs of
	reports on metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7191 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 18:20:38 +00:00
zarzuelo af6087e37d 2012-11-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php: Performance improvements
	in networkmaps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-27 11:53:02 +00:00
zarzuelo 417dcbbe28 2012-11-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php
	include/functions_networkmap.php
	operation/agentes/status_monitor.php
	operation/netflow/nf_live_view.php: Improve the 
	performance of networkmap with the new status counts.
	Modify some common code between console and metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-26 18:38:09 +00:00
ramonn 1f25998d49 2012-11-26 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_agents.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  include/functions_tags.php,
	  operation/tree.php: Added metaconsole support to the tree view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-26 16:44:41 +00:00
zarzuelo dfb75a1496 2012-11-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
	operation/events/events_list.php
	operation/events/events.php
	operation/search_results.php
	godmode/netflow/nf_edit.php: Fix paths problems



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-26 10:27:16 +00:00
darode 2a123e5788 2012-11-21 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.php: Fixed a bug in integration
	between Integria and Pandora on Incident management.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-21 16:18:55 +00:00
ramonn 4b5566d01f 2012-11-20 Ramon Novoa <rnovoa@artica.es>
* include/functions_groups.php,
	  include/functions_agents.php,
	  include/functions_modules.php,
	  include/functions_treeview.php,
	  include/functions_os.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  install.php,
	  pandoradb.oracle.sql,
	  operation/tree.php,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Improved tree
	  view performance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 16:14:45 +00:00
darode 70e7f441c1 2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.list.php: Fixed a problem with
	incident search, in incident integrated with Integria.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:59:59 +00:00
darode 9dedf000e3 2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.php: Fixed several fields of manage
	incident form.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:09:52 +00:00
darode 8f198cebab 2012-11-20 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.php: Fixed an error printing messages
        which appear before the header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 08:29:27 +00:00
darode 92301209b7 2012-11-19 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/integria_incidents/incident.list.php,
	operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.php,
	operation/integria_incidents/incident.files.php,
	operation/integria_incidents/incident.workunits.php: Fixed several errors
	in behavior, added messages about operation result and added style to buttons.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 18:10:48 +00:00
mdtrooper 3973c62408 2012-11-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php, include/functions_tags.php: cleaned
	source code style.
	
	* godmode/events/event_edit_filter.php: fixed the lost vars in
	the javascript code for the none elements in the tag select widgets.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-08 12:24:27 +00:00
mdtrooper 760271a0c0 2012-11-07 Miguel de Dios <miguel.dedios@artica.es>
* index.php: cleaned source code style.
	
	* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: added the field
	"tag_with" and "tag_without", and removed the field "tags" in the
	table "tevent_filter".
	* operation/events/events_list.php,
	godmode/events/event_edit_filter.php: added widgets for to filter
	the events by tags with the events or and tags without the
	events.
	
	* include/functions_tags.php: cleaned source code style, and
	clarifity the function "tags_search_tag".
	
	* include/functions_html.php: into the function
	"html_print_input_hidden" fixed when the value have double quotes or
	single quotes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-07 17:49:31 +00:00
mdtrooper c7e071f853 2012-11-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_command.php, index.php: cleaned
	source code style.
	
	* godmode/alerts/alert_commands.php: fixed the check the name of
	command that it did not make the update the data.
	
	MERGED FROM THE BRANCH PANDORA_4.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-07 15:15:18 +00:00
mdtrooper 76d09bfcaf 2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_list.php: fixed the lost tag span (with
	styles) in the Event description.
	
	* operation/events/events.php: fixed the default value for id_agent
	set 0 (as All) in the filter of events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 18:31:18 +00:00
mdtrooper 32fd0fd87c 2012-11-05 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: cleaned source code style.
	
	* operation/events/events_list.php: cleaned source code style and
	fixed the lost id_agent when reload.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 12:52:26 +00:00
vgilc cdabd8f2fd 2012-11-05 Vanessa Gil <vanessa.gil@artica.es>
* operation/reporting/reporting_xml.php: Moved functions
	to functions_xml.php
	* include/functions_xml.php: Added file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-05 12:41:13 +00:00
mdtrooper 6d86616e7a 2012-11-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: improved the page status
	monitor, show in another column the tags and added a select box with
	the tags in user in the filter form.
	
	Pending task: #3581578




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-04 19:10:19 +00:00
vgilc 28f0a31717 2012-11-02 Vanessa Gil <vanessa.gil@artica.es>
* operation/reporting/reporting_xml.php: Removed html entities.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-02 11:00:00 +00:00
vgilc 36c30c2f73 2012-10-30 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_reporting.php: Changed format of agent 
	and group configuration reports.
	*operation/reporting/reporting_xml.php: Added custom field
	to xml report.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 10:31:03 +00:00
ramonn b09cfacf69 2012-10-29 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  include/javascript/pandora_modules.js,
	  include/functions_network_components.php,
	  include/functions_api.php,
	  include/functions_netflow.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  extensions/resource_registration.php,
	  extensions/plugin_registration.php,
	  operation/menu.php,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php,
	  godmode/servers/plugin.php,
	  godmode/menu.php,
	  godmode/modules/manage_network_components_form.php,
	  godmode/modules/manage_network_templates.php,
	  godmode/modules/manage_network_components_form_wmi.php,
	  godmode/modules/manage_network_components.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Added support for
	  custom timeout and retries to remote modules.

	* operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_report_item.php,
	  godmode/netflow/nf_report.php,
	  godmode/netflow/nf_report_form.php,
	  godmode/netflow/nf.php: Deleted from repository. Netflow reports are
	  now integrated into custom reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 10:13:49 +00:00
ramonn c340567b3a 2012-10-26 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  operation/reporting/reporting_xml.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Integrated
	  XML and PDF netflow reports into custom reports. Fixed some broken
	  links.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-26 09:48:32 +00:00
ramonn cf971e3762 2012-10-25 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,
	  include/functions_netflow.php,
	  include/functions.php,
	  include/functions_reports.php,
	  operation/reporting/reporting_xml.php,
	  godmode/reporting/reporting_builder.php,
	  godmode/reporting/reporting_builder.item_editor.php: Integrated
	  netflow reports into custom reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 18:34:53 +00:00
mdtrooper e33cebbd8e 2012-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_extensions.php, extensions/pandora_logs.php,
	extensions/update_manager.php, extensions/resource_registration.php,
	extensions/resource_exportation.php, extensions/module_groups.php,
	extensions/plugin_registration.php, extensions/snmp_explorer.php,
	extensions/system_info.php, operation/menu.php: cleaned source code
	style.
	
	* include/functions_menu.php: fixed the hidden icons the extensions
	in  menu.
	
	Fixes: #3568966




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 16:46:52 +00:00
vgilc 6f27f7ec28 2012-10-25 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_reporting.php
	  include/functions_report.php
	  operation/reporting/reporting_xml.php
	  operation/reporting/reporting_viewer.php
	  godmode/reporting/reporting_builder.item_editor.php
	  godmode/reporting/reporting_builder.php: Changed XML reports
	and added two new types of report.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 15:03:18 +00:00
zarzuelo 34eb90e1dc 2012-10-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	operation/visual_console/render_view.php
	operation/gis_maps/render_view.php
	operation/search_maps.php: Fixed some ACL Enterprise bugs
	merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 12:38:08 +00:00
mdtrooper bbc75f1e97 2012-10-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: added two parameters
	(flag metaconsole, id_server) into the functions
	"networkmap_create_group_node" and "networkmap_create_networkmap"
	for to extract data in the metaconsole enviroments. And in the
	function "networkmap_create_module_node" fixes the default value of
	flag for metaconsole and the links and url tooltips for the
	metaconsole networkmap.
	
	* operation/agentes/ver_agente.php: in the request for the
	"get_agentmodule_status_tooltip" added code for get data in the
	metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-25 08:53:44 +00:00
ramonn 4fb3f07a42 2012-10-23 Ramon Novoa <rnovoa@artica.es>
* include/functions_cron.php: Added to repository. Cron related
	  functions.

	* include/functions_html.php, pandoradb.sql,
	  pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php: Added support for remote
	  cron modules.

	* godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php,
	  operation/netflow/nf_view.php,
	  include/functions_netflow.php: Added a description to report items.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-23 10:45:25 +00:00
vgilc 7af1746c77 2012-10-16 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_events.php
	  operation/reporting/reporting_xml.php: XML reports: graphs, events
	and modules.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-16 13:38:09 +00:00
ramonn 3679d7db92 2012-10-16 Ramon Novoa <rnovoa@artica.es>
* include/db/postgresql.php, include/db/mysql.php,
	  include/db/oracle.php, include/functions_db.php,
	  operation/agentes/datos_agente.php: Merged from 4.0 branch. Fixed
	  history database connection when the main database and the history
	  database are on the same host. Allow switching between the main
	  database and the history database to retrieve module data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-16 11:49:13 +00:00
darode 9a8bd91e86 2012-10-15 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/extensions.php,
	godmode/extensions.php,
	include/functions_extensions.php,
	extensions/insert_data.php,
	extensions/snmp_explorer.php,
	extensions/system_info.php,
	extensions/net_tools.php,
	extensions/extension_uploader.php,
	extensions/pandora_logs.php,
	extensions/agents_modules.php,
	extensions/update_manager.php,
	extensions/ssh_gateway.php,
	extensions/dbmanager.php,
	extensions/vnc_view.php,
	extensions/resource_registration.php,
	extensions/users_connected.php,
	extensions/resource_exportation.php,
	extensions/module_groups.php,
	extensions/plugin_registration.php: Modified extension to 
	show versions.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-15 10:23:31 +00:00
zarzuelo 1ee1923efb 2012-10-11 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/javascript/pandora_events.js
	include/ajax/events.php
	include/constants.php
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php: Change the validation events 
	system to validate passing the ids searialized avoiding a lot
	of operations. Improve counts and fix several bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 17:49:17 +00:00
ramonn 8d46ff6ccf 2012-10-11 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_view.php: Small fixes to netflow reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 15:52:26 +00:00
juanmanuelr d6b43d845d 2012-10-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora.js
	 operation/agentes/ver_agente.php: Fixed multiselect in wizards 
	 of Pandora Console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-10 18:04:57 +00:00
zarzuelo d0c85e24b2 2012-10-09 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/styles/jquery-ui-1.8.23.custom.css
	include/javascript/pandora_events.js
	include/ajax/events.php
	operation/events/events_list.php
	operation/events/events.php
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	godmode/menu.php
	godmode/events/event_responses.list.php
	godmode/events/custom_events.php
	godmode/events/event_responses.php
	godmode/events/events.php
	godmode/events/event_responses.editor.php: Added several changes on
	events system as responses editor and performer, and several
	fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-09 16:05:32 +00:00
mdtrooper c6b977c0a5 2012-10-09 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added flag field
	"pandoras_children" into the table "tnetwork_map".
	
	* extras/check_other_languages.sh, include/functions_agents.php,
	operation/agentes/networkmap_list.php: cleaned source code style.
	
	* include/functions_networkmap.php: a lot of fixes for the
	metaconsole, and other changes now generate a graphviz code more
	clean and human readble (good for maintenaince).
	
	* include/ajax/networkmap.ajax.php: into the ajax call
	"get_networkmap_summary" started to adapt to call from the
	metaconsole (WIP).
	
	* include/functions_ui.php: fixes for metaconsole links to images in
	the functions "ui_print_message", "ui_print_group_icon" and
	"ui_toggle". And added the parameter $return in the function
	"ui_toggle" for to return the html code as string.
	
	* operation/agentes/ver_agente.php: into the ajax call
	"get_agent_status_tooltip" adapt to call from the metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-09 15:51:33 +00:00
ramonn 57cedf5d55 2012-10-08 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_html.php,
	  include/graphs/fgraph.php,
	  include/functions_ui.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php: Small improvements and fixes.
	  Added support for PDF netflow reports (enterprise only).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-08 19:19:58 +00:00
ramonn 24c33577d8 2012-10-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_html.php,
	  include/functions_netflow.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php,
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	  godmode/netflow/nf_edit_form.php,
	  godmode/netflow/nf_item_list.php,
	  godmode/netflow/nf_report_item.php,
	  godmode/netflow/nf_report_form.php,
	  godmode/netflow/nf_edit.php: Added metaconsole integration to netflow
	  reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 10:49:11 +00:00
darode 7ef446d008 2012-10-03 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_graph.php,
        operation/agentes/stat_win.php: Replaced baseline
        graph by compare graph feature.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-03 11:07:21 +00:00
darode 6c6a3fb0ec 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_graph.php,
        operation/agentes/stat_win.php: Fixed a problem with
        max and min in boolean graph. This graphs don't have
        max and min series.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 15:54:22 +00:00
ramonn 0fda5870f6 2012-10-02 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_reporting.php,
	  operation/netflow/nf_view.php: Added XML netflow reports and many
	  changes to enable metaconsole integration.

	* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Updated
	  migration scripts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 11:11:58 +00:00
darode 052c8ade2b 2012-10-02 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/setup/setup_visuals.php
	include/functions_config.php
	include/functions_graph.php
	operation/agentes/stat_win.php: Fixed some problesm
	with graphs (visual and statistics)

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 09:07:20 +00:00
zarzuelo f5008e68ca 2012-10-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	general/header.php 
	include/functions_modules.php
	include/javascript/pandora_events.js
	include/ajax/events.php
	include/functions.php
	operation/events/events_list.php
	operation/events/events.php: Change the event details view
	to modal window

	* include/styles/pandora_legacy.css
	include/styles/pandora.css
	images/status_sets/default/severity_major_pixel.png
	images/status_sets/default/severity_minor_pixel.png
	images/status_sets/default/severity_major.png
	images/status_sets/default/severity_minor.png: Change the 
	major/minor icons and colors



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-01 11:15:31 +00:00
mdtrooper 04635d711d 2012-09-28 Miguel de Dios <miguel.dedios@artica.es>
* install.php, operation/agentes/stat_win.php, general/footer.php,
	include/config_process.php, include/functions_ui.php,
	include/functions_graph.php, include/graphs/functions_flot.php,
	include/functions_visual_map.php: change the $config['home_url'],
	now it is generated dinamicly.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-28 14:06:20 +00:00
mdtrooper f701cdc957 2012-09-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php, operation/agentes/tactical.php: cleaned
	source code style.
	
	* include/functions_reporting.php: fixed the ACL into the function
	"reporting_get_group_stats".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-27 15:17:50 +00:00
zarzuelo 5d4df358e6 2012-09-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php
	index.php
	operation/menu.php
	godmode/agentes/modificar_agente.php
	godmode/menu.php: Fixed some pages to ACL Enterprise
	and the full screen pages loading menu structure when is not
	shown
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-27 13:02:16 +00:00
zarzuelo f3ad8d629d 2012-09-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php
	operation/agentes/estado_agente.php: Add a manually list of the
	pages (sec2) not accessibles from menu to link it to the
	section where appear (sec). Fix a bad section
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-26 16:54:25 +00:00
mdtrooper 316228d9f2 2012-09-25 Miguel de Dios <miguel.dedios@artica.es>
* general/login_page.php, general/logoff.php, general/header.php,
	general/login_help_dialog.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/agentes/planned_downtime.editor.php,
	godmode/alerts/alert_list.list.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	include/styles/jquery-ui-1.8.23.custom.css,
	include/javascript/jquery.jquery-ui-1.8.17.custom.min.js,
	include/javascript/jquery.timeentry.js,
	include/javascript/jquery.ui.droppable.js,
	include/javascript/jquery.ui.draggable.js,
	include/javascript/jquery.ui-timepicker-addon.js,
	include/javascript/jquery.ui.resizable.js,
	include/javascript/jquery.autocomplete.js,
	include/javascript/jquery.ui.core.js,
	include/javascript/jquery-1.8.2.js,
	include/javascript/jquery.ui.dialog.js,
	include/javascript/jquery.jquery-ui-1.8.23.custom.min.js,
	include/functions_ui.php, index.php,
	extensions/update_manager/update_pandora.php,
	extensions/insert_data.php, operation/agentes/datos_agente.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/reporting_viewer.php: updated the jquery and
	jquery.ui, and removed old useless files. And added the jquery
	library to timepicker and implemented the calls into the code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-25 15:34:36 +00:00
mdtrooper dd48690877 2012-09-24 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: added the fields
	"text_filter" and "dont_show_subgroups" for to new filters to
	generate the networkmap. 
	
	* operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php,
	include/functions_networkmap.php, include/functions_servers.php:
	added the new filters for free text for agents and hidden the
	subgroups of any group in the group networkmap.
	
	* extensions/resource_registration.php,
	operation/agentes/networkmap.php, general/header.php,
	godmode/netflow/nf_report_form.php,
	godmode/agentes/module_manager.php, include/functions_groups.php,
	include/auth/ldap.php, operation/agentes/estado_ultimopaquete.php,
	include/functions.php, include/functions_db.php: cleaned source code
	style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-24 11:59:05 +00:00
ramonn 3f0f929fa0 2012-09-21 Ramon Novoa <rnovoa@artica.es>
* include/functions_netflow.php,
	  operation/netflow/nf_view.php,
	  godmode/netflow/nf_item_list.php: Added netflow traffic summary
	  reports. Small performance improvements. Fixed a bug in the
	  scale of area charts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-21 13:42:13 +00:00
mdtrooper 624c8b64a6 2012-09-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_monitores.php: added the small form to
	filter the modules/monitors in the agent general view and of course
	pagination.
	
	* include/functions_html.php, operation/events/events.php,
	operation/events/export_csv.php, operation/events/sound_events.php,
	operation/events/events_list.php,
	operation/netflow/nf_live_view.php, operation/tree.php,
	operation/agentes/ver_agente.php, operation/agentes/stat_win.php:
	cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-21 11:24:16 +00:00
zarzuelo bc916ea0ab 2012-09-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	operation/agentes/stat_win.php: Fix several bugs of the 
	event graph and event special features on flot graphs when
	compare periods



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 14:59:31 +00:00
mdtrooper 02a119099f 2012-09-19 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php, extensions/system_info.php,
	extensions/update_manager/lib/libupdate_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_list.list.php,
	godmode/massive/massive_add_profiles.php,
	godmode/massive/massive_edit_modules.php,
	godmode/servers/manage_recontask.php,
	godmode/setup/setup_visuals.php, include/functions_api.php,
	include/functions_graph.php, include/functions_messages.php,
	include/graphs/functions_flot.php,
	include/graphs/flot/pandora.flot.js, operation/tree.php,
	operation/agentes/status_events.php,
	operation/agentes/ver_agente.php, operation/events/events_list.php,
	operation/events/events_marquee.php,
	operation/events/events_rss.php: cleaned source code style.
	
	* godmode/reporting/reporting_builder.item_editor.php,
	include/functions_ui.php, include/ajax/agent.php: continue to change
	to the new function "ui_print_agent_autocomplete_input" to make more
	easy (and standar) the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 14:45:59 +00:00
mdtrooper 4f629c08e5 2012-09-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,
	godmode/alerts/alert_list.builder.php,
	godmode/alerts/alert_list.list.php,
	godmode/gis_maps/configure_gis_map.php,
	include/functions_visual_map_editor.php, include/functions_ui.php,
	operation/tree.php, operation/agentes/exportdata.excel.php,
	operation/agentes/exportdata.php, operation/agentes/ver_agente.php,
	operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
	operation/gis_maps/ajax.php, operation/events/events_validate.php,
	operation/messages/message_edit.php,
	operation/messages/message_list.php,
	operation/reporting/reporting_viewer.php,
	operation/netflow/nf_live_view.php,
	operation/incidents/incident.php, operation/search_modules.php:
	started to use the new function "ui_print_agent_autocomplete_input"
	to make more easy (and standar) the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 11:28:09 +00:00
zarzuelo 7ff81bd1dd 2012-09-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	operation/agentes/stat_win.php  
	include/functions_modules.php: Added unknown status
	to graphs and improve some little aesthetic things of
	flot graphs

	* include/functions.php
	include/functions_html.php: Fixed html checkbox issue
	with get_parameter_checkbox function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 09:02:49 +00:00
vgilc b793755cc0 2012-09-17 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php
	  extensions/plugin_registration.php
	  operation/agentes/status_monitor.php
	  godmode/agentes/agent_template.php
	  godmode/massive/massive_edit_modules.php
	  godmode/modules/manage_network_templates.php
	  include/javascript/pandora_modules.js
	  include/functions_network_components.php: Added instructions to modules,
	events, policies, massive operations...


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-17 16:03:38 +00:00
ramonn fdb73fb29f 2012-09-17 Ramon Novoa <rnovoa@artica.es>
* include/javascript/pandora_modules.js,
	  include/functions_network_components.php,
	  pandoradb.sql,
	  extensions/plugin_registration.php,
	  operation/agentes/status_monitor.php,
	  godmode/agentes/agent_template.php,
	  godmode/agentes/module_manager_editor_common.php,
	  godmode/agentes/module_manager.php,
	  godmode/agentes/configurar_agente.php,
	  godmode/agentes/module_manager_editor.php,
	  godmode/massive/massive_edit_modules.php,
	  godmode/modules/manage_network_components_form.php,
	  godmode/modules/manage_network_components_form_common.php,
	  godmode/modules/manage_network_components.php: Added inverse intervals for
	  warning and critical limits.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-17 14:29:45 +00:00
mdtrooper 1fdbcd86f6 2012-09-13 Miguel de Dios <miguel.dedios@artica.es>
* operation/incidents/incident_detail.php,
	operation/agentes/exportdata.php, operation/events/events_list.php,
	operation/events/events.php, godmode/events/event_edit_filter.php,
	godmode/massive/massive_edit_agents.php, include/functions_api.php,
	include/constants.php, include/javascript/pandora.js,
	include/functions_ui.php: started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 17:47:21 +00:00
zarzuelo 7099768cc7 2012-09-13 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora_legacy.css
	include/styles/pandora.css
	include/functions.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	operation/events/events_list.php
	images/skin/skin_default/include/styles/pandora.css
	images/status_sets/default/severity_major_pixel.png
	images/status_sets/default/severity_minor_pixel.png
	images/status_sets/default/severity_major.png
	images/status_sets/default/severity_minor.png
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added images and styles
	for minor and major criticities



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 14:06:08 +00:00
vgilc 9c42cdf8cc 2012-09-13 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php: Display instructions for
	the event criticity.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 13:26:57 +00:00
mdtrooper 6649b8ad85 2012-09-12 Miguel de Dios <miguel.dedios@artica.es>
* extensions/insert_data.php,
	operation/incidents/incident_detail.php: started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.
	
	* godmode/agentes/agent_manager.php: erased unused source code for
	old ajax call, and started to use the new function
	"ui_print_agent_autocomplete_input" to make more easy (and standar)
	the autocomplete agent input.
	
	* operation/agentes/exportdata.php: erased duplicated source code
	for call ajax, and rewrote some javascript to use same page to
	ajax.
	
	* godmode/alerts/alert_list.builder.php,
	godmode/events/event_edit_filter.php,
	godmode/reporting/visual_console_builder.editor.js: rewrote some
	javascript to use same page to ajax.
	
	* include/ajax/agent.php: cleaned source code style.
	
	* include/functions_ui.php: removed the old unused code as
	the functions "ui_print_ui_agents_list" and "ui_popup_help". And
	added the first version of "ui_print_agent_autocomplete_input", and
	this function maybe will be changing for a some time.
	
	* include/functions_html.php: into the function
	"html_print_input_text_extended" added code to use the $alt
	parameter (never it have been used before) and added the function
	"html_print_input_hidden_extended" with more parameters than the
	simple "html_print_input_hidden" function.
	
	* include/javascript/pandora.js: marked as Deprecated the function
	"agent_module_autocomplete".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-12 15:53:58 +00:00
juanmanuelr 823f66da25 2012-09-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	 include/javascript/pandora.js
	 include/functions_ui.php
	 operation/reporting/reporting_viewer.php
	 godmode/reporting/reporting_builder.php
	 godmode/reporting/reporting_builder.item_editor.php: Urls 
	 compatible with reverse proxy functionality.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-11 19:16:11 +00:00
mdtrooper fc9477a47d 2012-09-10 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php: fixed the link to logout when the Pandora
	run across inverse proxy.
	
	* include/functions.php: update the function "check_refererer" for
	situations when the Pandora runs across the inverse proxy.
	
	* include/functions_html.php: function "html_print_image" fixed when
	use the metaconsole across the inverse proxy.
	
	* include/functions_reporting.php,
	operation/reporting/reporting_viewer.php: fixed some links for the
	Pandora runs across inverse proxy.
	
	* include/functions_ui.php: fixed the function "ui_get_full_url"
	when pass a empty url in a Pandora into a inverse proxy.
	
	* extensions/dbmanager.php, operation/agentes/ver_agente.php:
	cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 16:30:42 +00:00
vgilc ed20d818ee 2012-09-10 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	  godmode/agentes/configurar_agente.php
	  godmode/agentes/module_manager_editor.php
	  godmode/agentes/module_manager_editor_common.php
	  godmode/modules/manage_network_components.php
	  godmode/modules/manage_network_components_form.php
	  godmode/modules/manage_network_components_form_common.php
	  include/functions_alerts.php
	  include/functions_events.php
	  operation/events/events_list.php: Added several fields to modules
	and events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 16:00:14 +00:00
juanmanuelr a40d5f0272 2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	 operation/reporting/reporting_xml.php: Some fixes on CSV and XML
	 report exportation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6941 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 10:32:05 +00:00
juanmanuelr 75fde73952 2012-09-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
	include/graphs/fgraph.php
	include/functions_reporting.php
	include/javascript/pandora.js
	include/ajax/reporting.ajax.php
	include/ajax/agent.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	operation/agentes/ver_agente.php
	operation/reporting/reporting_viewer.php
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	general/header.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Integration of reports
	in metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-07 12:01:23 +00:00
mdtrooper d6cf6e4785 2012-09-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: fixed the ui_get_full_url function,
	because sometimes added two times the php script name.
	
	* operation/events/events_rss.php: avoid to lost the url with the
	actual fixes into the function ui_get_full_url.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-07 11:04:58 +00:00
mdtrooper ef582166ec 2012-09-06 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, general/login_page.php,
	godmode/setup/setup.php, include/functions_ui.php,
	include/functions_graph.php, include/functions_html.php,
	include/graphs/fgraph.php, include/graphs/functions_pchart.php,
	include/graphs/functions_flot.php, include/functions_reporting.php,
	include/functions_visual_map.php, include/functions_config.php,
	operation/reporting/reporting_viewer.php,
	operation/visual_console/render_view.php,
	operation/agentes/tactical.php, operation/menu.php,
	operation/events/events.php: added the feature to set a
	public url for inverse proxy or for example mod_proxy of Apache.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-06 17:01:22 +00:00
juanmanuelr 9fb1c6bbe2 2012-09-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	 include/graphs/fgraph.php: Fixed minor bugs.
	
	* operation/agentes/stat_win.php: Url built with ui_get_full_url
	function.
	 	
	 godmode/reporting/reporting_builder.list_items.php
	 godmode/reporting/reporting_builder.php: Fixed bug in list element
	 view due to bad js action of the form.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6932 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-04 15:58:48 +00:00
mdtrooper 9bea1609e1 2012-09-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/graph_builder.php,
	include/functions_modules.php, operation/agentes/ver_agente.php:
	cleaned source code style.
	
	* include/functions_html.php: fixed the function "html_print_select"
	when pass the selected as array
	(for example in multiple select box).
	
	* godmode/reporting/reporting_builder.item_editor.php,
	include/functions_reports.php: into the function "get_report_name"
	added parameter $template to get type for content template. And the
	function "get_report_types" renamed for "reports_get_report_types"
	and added the same parameter $template.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-04 14:04:46 +00:00
zarzuelo 5278364618 2012-08-31 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	operation/agentes/stat_win.php: Added double mode to 
	time compare graphs modes. Separated and overlapped.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-31 11:59:46 +00:00
zarzuelo 69b52ba421 2012-08-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	operation/agentes/stat_win.php: Added time compare mode
	to boolean module graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6923 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-30 15:50:18 +00:00
zarzuelo 476bf9fcc0 2012-08-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	operation/agentes/stat_win.php: Added time compare mode
	to sparse module graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-30 09:22:03 +00:00
mdtrooper def4b397d8 2012-08-22 Miguel de Dios <miguel.dedios@artica.es>
* operation/tree.php, godmode/massive/massive_edit_modules.php,
	godmode/massive/massive_edit_agents.php,
	include/functions_treeview.php: added the view of quiet agents and
	modules in treeview, and added in massive operations for agents
	and modules to set the quiet for these.
	
	* operation/menu.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 14:09:05 +00:00
mdtrooper 42e86caa45 2012-08-21 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/module_manager_editor.php, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php: added in the modules the same
	feature to set agent in "Quiet" mode.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-21 18:57:48 +00:00
mdtrooper aeed0dd592 2012-08-21 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.oracle.sql, operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php,
	operation/agentes/ver_agente.php,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
	godmode/agentes/agent_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php, pandoradb.sql,
	pandoradb.postgreSQL.sql: added the feature to set a agent in
	"Quiet" mode.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-21 17:12:02 +00:00
darode 45f56cdfdf 2012-08-21 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/ver_agente.php: Added code to support new
        RHEV enterprise extension.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6895 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-21 15:45:29 +00:00
mdtrooper 5c42c87962 2012-08-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.main.php,
	godmode/reporting/reporting_builder.php,
	include/functions_reports.php, pandoradb.sql,
	pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	operation/reporting/reporting_xml.php,
	operation/reporting/reporting_viewer.php,
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: now the reports
	can set the group can edit or private edition.
	
	* include/functions_users.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-20 13:12:53 +00:00
mdtrooper 2694f6bd73 2012-08-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the error messages althought you
	have event data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 11:39:25 +00:00
zarzuelo 6157e3bf4c 2012-08-14 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	include/ajax/module.php
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	godmode/agentes/module_manager_editor_plugin.php
	godmode/agentes/configurar_agente.php
	godmode/servers/plugin.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_network_components_form_plugin.php: Change all the
	manage plugins form adding the dynamic macros in this side. Change the 
	network components form to put the macro fields in this side.

	* operation/users/user_edit.php: Change the "Flash chart" string
	by "Interactive chart"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-14 12:52:29 +00:00
mdtrooper 26320dddfc 2012-08-02 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql, pandoradb.data.postgreSQL.sql,
	pandoradb.data.oracle.sql, include/functions_config.php: fixed the
	"list_ACL_IPs_for_API" update.
	
	* operation/events/events_marquee.php, godmode/setup/setup.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/map_builder.php, godmode/reporting/graphs.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/alerts/configure_alert_compound.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/configure_alert_special_days.php,
	include/functions_api.php, include/functions_ui.php,
	include/functions_netflow.php, include/functions_alerts.php,
	include/functions_menu.php, include/functions_messages.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-03 12:48:09 +00:00
hkosaka 049cba2166 2012-07-30 Hirofumi Kosaka <kosaka@rworks.jp>
* operation/reporting/graph_viewer.php: replace 'Period' with
	'Time range' to be translated. This is for consistency of
	labels between single graphs and custom graphs.

	Merged from 4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-30 08:29:05 +00:00
juanmanuelr 53d5d99b51 2012-07-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/stat_win.php: Fixed bug when popup is updated
	from hash connection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-26 16:49:35 +00:00
juanmanuelr 1cd4668eab 2012-07-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/stat_win.php: Added hash login to graph module
	popup.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6815 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-26 16:06:52 +00:00
mdtrooper a0026ced53 2012-07-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/users/user_edit.php,
	operation/events/events_validate.php, operation/search_graphs.php,
	godmode/events/event_filter.php, godmode/events/custom_events.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/massive/massive_copy_modules.php, godmode/tag/tag.php,
	godmode/netflow/nf_report.php, godmode/agentes/configure_field.php,
	godmode/agentes/agent_manager.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/fields_manager.php,
	godmode/servers/recon_script.php, godmode/servers/plugin.php,
	include/functions_modules.php: improved the source structure.
	
	* operation/search_modules.php: fixed the search when the modules
	haven't inicialiced.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-26 11:05:05 +00:00
mdtrooper 57f5db749a 2012-07-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/messages/message_edit.php,
	operation/reporting/reporting_xml.php,
	operation/reporting/graph_viewer.php,
	operation/agentes/exportdata.php, operation/agentes/group_view.php,
	operation/agentes/status_monitor.php,
	godmode/agentes/configurar_agente.php, include/functions_agents.php:
	cleaned source code style.
	
	* godmode/agentes/module_manager.php: fixed the messages for to
	delete multiple modules.
	
	Fixes: #3543532




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-25 09:59:03 +00:00
mdtrooper 22fa90d004 2012-07-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/file_manager.php, godmode/setup/news.php,
	godmode/users/configure_user.php, godmode/users/user_list.php,
	godmode/massive/massive_copy_modules.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_delete_action_alerts.php,
	godmode/massive/massive_delete_alerts.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_nc_groups.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/netflow/nf_edit.php, godmode/netflow/nf_edit_form.php,
	godmode/netflow/nf_item_list.php,
	godmode/netflow/nf_report_item.php, godmode/netflow/nf.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/agentes/estado_agente.php, operation/agentes/sla_view.php,
	operation/agentes/tactical.php,
	operation/agentes/estado_generalagente.php,
	operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
	operation/integria_incidents/incident_detail.php,
	operation/gis_maps/index.php, operation/events/events_list.php,
	operation/events/events.php, operation/messages/message_edit.php,
	operation/messages/message_list.php,
	operation/reporting/graph_viewer.php, operation/search_reports.php,
	operation/netflow/nf_view.php: cleaned source code.
	
	* godmode/massive/massive_operations.php,
	godmode/massive/massive_edit_modules.php: fixed the massive edition
	of "any" module in agents.
	
	Fixes: #3543484




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 16:38:48 +00:00
darode 4071876f27 2012-07-24 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Added comment to insert tag based
	ACL function in the future.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 10:10:34 +00:00
darode 77486d5c64 2012-07-24 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_networkmap.php
	operation/agentes/networkmap_list.php: Fixed several problems with
	network maps

	MERGED FROM 4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 10:09:25 +00:00
mdtrooper 79e34957cc 2012-07-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/manage_recontask_form.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/modules/manage_network_components.php,
	include/functions_ui.php, include/functions_incidents.php,
	include/functions_agents.php, include/functions_alerts.php,
	include/functions_messages.php, include/db/mysql.php,
	include/functions_reporting.php, include/functions_filemanager.php,
	include/auth/ldap.php, operation/events/events.php,
	operation/incidents/incident_detail.php, operation/tree.php,
	operation/agentes/estado_agente.php, operation/agentes/sla_view.php,
	operation/users/user_edit.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 08:54:40 +00:00
mdtrooper 9892515199 2012-07-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_prediction.php,
	include/functions_modules.php,
	include/functions_agents.php, operation/tree.php,
	operation/agentes/estado_agente.php: fixed typo bug in the name of
	"agetns_tree_view_status_img" for "agents_tree_view_status_img".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-23 14:58:33 +00:00
mdtrooper 50efd4d4a1 2012-07-19 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: fixed the doc header for the
	function "agent_autocomplete" that was very wrong, and now in this
	function when call with the id_server_name equal to false, the
	function doesn't save the id_server in hidden input.
	
	* include/functions_agents.php: added function
	"agents_check_agent_exists" that check if any agent exists into the
	DB (of course you can check if exist and it is enabled).
	
	* operation/search_agents.php: fixed the link to manage the agents
	show in the search.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-19 13:42:51 +00:00
mdtrooper 08cf7253f8 2012-07-18 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php,
	extensions/update_manager/lib/libupdate_manager.php,
	extensions/plugin_registration.php,
	operation/incidents/incident.php,
	mobile/operation/agents/monitor_status.php,
	mobile/operation/agents/view_agents.php: cleaned source code style.

	* operation/tree.php: improve the code for to set more readble.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-18 14:31:58 +00:00
mdtrooper ed1c79730c 2012-07-18 Miguel de Dios <miguel.dedios@artica.es>
* general/logon_ok.php, godmode/db/db_event.php,
	godmode/db/db_purge.php, include/functions_config.php,
	include/functions_ui.php, include/functions_netflow.php,
	include/functions.php, include/constants.php,
	include/functions_graph.php,
	operation/agentes/estado_ultimopaquete.php: clean source code style
	and kill some unicorns and magical numbers.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-18 13:25:51 +00:00
mdtrooper 8c3d85b507 2012-07-18 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, include/functions_agents.php,
	include/functions_db.php, include/functions_html.php,
	include/db/postgresql.php, include/db/mysql.php,
	include/db/oracle.php: cleaned source code style and killed some
	unicorns and magical numbers.
	
	* operation/agentes/stat_win.php: a lot fixes, cleaned source code
	style, added magical widget for times for refresh. And yes I fixed
	the bug with jquery that failed with new graphs.
	
	Fixes: #3520966
	
	* operation/agentes/estado_ultimopaquete.php: fixed the links to
	window graph popup, now all the links have 10 minutes for the
	refresh.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6787 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-18 09:34:10 +00:00
juanmanuelr 51d54b7321 2012-07-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 operation/tree.php: Fixed some bugs in policy tree view. 
	 And cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 17:02:54 +00:00
darode 872de3bc13 2012-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Fixed a bug which shows agents with
        not init modules when they must be hidde.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 15:20:56 +00:00
juanmanuelr 1d59916018 2012-07-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/constants.php
	 operation/tree.php: Fixed filters, counts and info displayed
	 in monitor and policy tree view. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 13:48:59 +00:00
darode bb8186b219 2012-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_groups.php: Included void agents on
        normal status.
        include/functions_os.php: Included void agents on
        normal status.
        operation/tree.php: Fixed OS, groups and included void agents
        in groups and OS views.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 13:17:30 +00:00
darode 0fd6adf599 2012-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Fixed all views: deleted alert fired
        when module is disabled.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 10:36:21 +00:00
juanmanuelr 44ea56e7d5 2012-07-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/tree.php: Fixed module view: agents and modules disabled
	are hidden. Also fixed broken footer when an empty filter is 
	selected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 10:27:16 +00:00
mdtrooper 23cccf20ed 2012-07-16 Miguel de Dios <miguel.dedios@artica.es>
* extensions/agents_modules.php, extensions/users_connected.php,
	extensions/agents_alerts.php,
	operation/visual_console/render_view.php,
	operation/visual_console/public_console.php,
	operation/agentes/networkmap.groups.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/networkmap.topology.php, general/header.php,
	godmode/db/db_refine.php, godmode/agentes/configurar_agente.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/setup/setup_visuals.php, godmode/snmpconsole/snmp_alert.php,
	godmode/modules/manage_network_components_form_wmi.php,
	include/functions_config.php, include/functions_api.php,
	include/functions_agents.php, include/functions_forecast.php:
	cleaned source code style and change magic numbers for time
	constants.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 09:24:04 +00:00
juanmanuelr a437aba1c0 2012-07-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/tree.php: Removed trace.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-16 08:46:20 +00:00
mdtrooper f704670749 2012-07-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/snmpconsole/snmp_alert.php,
	godmode/servers/manage_recontask_form.php,
	include/functions_filemanager.php, include/functions_networkmap.php,
	include/constants.php, include/graphs/functions_gd.php,
	include/graphs/functions_pchart.php,
	operation/events/events_list.php, operation/agentes/graphs.php,
	operation/agentes/networkmap.php, operation/agentes/stat_win.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.groups.php,
	operation/gis_maps/render_view.php: cleaned source code style and
	change magic numbers for time constants.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-13 10:59:40 +00:00
juanmanuelr 5950c09e08 2012-07-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php
		 include/functions_groups.php
		 include/functions_os.php
		 include/functions_tags.php
		 operation/tree.php: Fixes in tree view counts.
		 
		* operation/agentes/status_monitor.php: Fixed module group 
		filter.
		 
		 Pending to port to branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-12 18:10:44 +00:00
juanmanuelr e844ca60e0 2012-07-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 operation/agentes/estado_agente.php: Modified changed 
	 agents_get_agents function to accomplish agent status general 
	 conditions (like in functions_groups.php). Also status constants
	 where changed to standard.

	* operation/menu.php: Don't hide any menu entry when metaconsole is
	activated (new metaconsole has a different entry point).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 15:18:00 +00:00
mdtrooper 9411b1bd79 2012-07-10 Miguel de Dios <miguel.dedios@artica.es>
* include/constants.php: added more constants into the constants
	block of time conversion to seconds.
	
	* godmode/alerts/alert_commands.php, godmode/setup/performance.php,
	include/help/en/help_date_format.php, include/functions_netflow.php,
	include/functions_tags.php, include/graphs/functions_pchart.php,
	include/functions_modules.php, extensions/agents_modules.php,
	extensions/update_manager.php, extensions/resource_exportation.php,
	extensions/module_groups.php,
	extensions/update_manager/lib/libupdate_manager_client.php,
	extensions/system_info.php, operation/events/events_rss.php,
	operation/events/export_csv.php, mobile/operation/events/events.php,
	mobile/include/system.class.php: used the new constants time instead
	the magic numbers, and cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 13:31:34 +00:00
mdtrooper 2cbd2b69bf 2012-07-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php, include/functions_netflow.php,
	extensions/snmp_explorer.php, operation/netflow/nf_live_view.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/networkmap.php,
	godmode/netflow/nf_report_form.php,
	godmode/netflow/nf_edit_form.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 11:03:00 +00:00
mdtrooper f2c0c0762f 2012-07-10 Miguel de Dios <miguel.dedios@artica.es>
* install.php, operation/reporting/reporting_xml.php,
	operation/netflow/nf_live_view.php, operation/netflow/nf_view.php,
	operation/tree.php, operation/agentes/gis_view.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/networkmap.php,
	operation/agentes/datos_agente.php,
	operation/agentes/alerts_status.php, operation/menu.php,
	operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
	godmode/groups/configure_group.php,
	godmode/groups/configure_modu_group.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/servers/manage_recontask.php,
	godmode/alerts/alert_compounds.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_special_days.php, godmode/setup/links.php,
	godmode/setup/os.php, godmode/users/configure_profile.php,
	godmode/events/events.php,
	godmode/massive/massive_delete_modules.php,
	godmode/massive/massive_edit_modules.php,
	godmode/massive/massive_standby_alerts.php,
	godmode/massive/massive_add_action_alerts.php,
	godmode/massive/massive_enable_disable_alerts.php,
	godmode/massive/massive_operations.php,
	godmode/massive/massive_delete_profiles.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_menu.php, include/functions_visual_map.php,
	include/functions_db.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 10:38:02 +00:00
zarzuelo f5ac7cc261 2012-07-09 Sergio Martin <sergio.martin@artica.es>
* operation/extensions.php
	operation/menu.php
	godmode/extensions.php
	godmode/menu.php: Show the hidded menus and 
	extensions when metaconsole is enabled



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-09 15:51:32 +00:00
zarzuelo 6fc5ad1b25 2012-07-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php
	operation/agentes/estado_monitores.php
	operation/snmpconsole/snmp_view.php
	operation/users/user_edit.php
	images/skin/skin_default/include/styles/pandora.css
	general/header.php: Fixes of missed "sec" changes in the new
	menus and a little hack of the classify of retrieved menus



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6734 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-04 10:47:04 +00:00
juanmanuelr a614700114 2012-07-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/jquery.pandora.js: Changed size of modal 
	windows to avoid scroll.

	* include/functions_ui.php
	 include/functions.php: Changes in autorefresh. When user is not 
	 logged then don't autorefresh (except public url of visual console)
	 
	 index.php: Restrict get_parameter to post when password in renewed
	 in login.
	 
	 operation/visual_console/public_console.php: Fixed jquery path in
	 this view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-02 11:11:21 +00:00
juanmanuelr 358a07c7ed 2012-06-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events.php: Url tag compatible with IE9.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-26 09:08:27 +00:00
mdtrooper 0b3bc4b342 2012-06-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_graph.php, include/functions_reporting.php,
	operation/agentes/status_monitor.php: cleaned source code style.
	
	* extensions/update_manager/load_updatemanager.php,
	extensions/update_manager/lib/functions.ajax.php,
	extensions/update_manager/main.php: now the function "get_key"
	returns more info about error to get user key from execution of
	keygen, and the calls of this function show more info about the
	kind errors.
	
	Merged from 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-25 13:17:05 +00:00
slerena 8f387818ba 2012-06-25 Sancho Lerena <slerena@artica.es>
* operation/menu.php: Changed order of treeview in menu.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6690 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-25 11:03:08 +00:00
vgilc 5e4cecdc65 2012-06-22 Vanessa Gil <vanessa.gil@artica.es>
* operation/users/user_edit.php
	  godmode/users/configure_user.php: Apply password policy
	on users edition.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-22 11:11:42 +00:00
zarzuelo ace0d45022 2012-06-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php
	operation/search_modules.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_monitores.php
	operation/search_agents.php
	operation/search_alerts.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/users/configure_user.php: Cleaned some old
	code of policy ACL to fix and prevent important bugs

	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6660 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 13:27:37 +00:00
zarzuelo 82ab548e37 2012-06-21 Sergio Martin <sergio.martin@artica.es>
* operation/users/webchat.php: Changed a string to 
	be translated



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 11:14:30 +00:00
vgilc e692f99275 2012-06-20 Vanessa Gil <vanessa.gil@artica.es>
* operation/tree.php: Fixed bug: Missing text in tree view title.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 15:50:15 +00:00
juanmanuelr dc550e758f 2012-06-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/graphs/pChart/pPie.class.php: ixed a bug in pie3d graph
	function when graph data only has one element.
	
	 include/functions_reporting.php
	 operation/reporting/reporting_viewer.php: Fixed a visualization 
	 problem in agent_modules report item.
	 
	 godmode/users/profile_list.php: Fixed a bug when profile creation
	fails.
	
	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 11:45:12 +00:00
vgilc 5c22b6b962 2012-06-20 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/module_manager.php
	  operation/agentes/estado_agente.php
	  operation/agentes/status_monitor: Changed interval format.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 10:56:40 +00:00
zarzuelo 811abfecb4 2012-06-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php
	operation/agentes/estado_agente.php: Fixed sort actions
	of agents operation view

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 10:17:09 +00:00
mdtrooper e9abfff98e 2012-06-20 Miguel de Dios <miguel.dedios@artica.es>
* extensions/net_tools.php: cleaned source code style.
	
	* extensions/module_groups.php,
	operation/agentes/status_monitor.php: fixed the lost "module group"
	"unasigned".
	
	Fixes: #3532075
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 09:43:14 +00:00
mdtrooper 5e2b2f59e1 2012-06-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions.php: cleaned source
	code style.
	
	* extensions/extension_uploader.php: fixed the upload enterprise
	extension.
	
	Fixes: #3532208
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 08:28:34 +00:00
darode 6e49325c75 2012-06-18 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Fixed a bug which shows groups
        that only have empty agents.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 15:58:41 +00:00
zarzuelo b7aa4f7a3c 2012-06-18 Sergio Martin <sergio.martin@artica.es>
* include/functions_menu.php
	index.php
	operation/menu.php
	godmode/menu.php: Added functions to manage sec and sec2 to control
	access in ACLs. Rename variables in menu construction to can get 
	all the sata structures in other sections
	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 15:16:17 +00:00
mdtrooper fde91c5ff1 2012-06-18 Miguel de Dios <miguel.dedios@artica.es>
* include/auth/ldap.php, include/javascript/pandora.js,
	include/functions_incidents.php: cleaned source code style.
	
	* include/functions_users.php, operation/users/webchat.php: a lot of
	fixes, the "error connection" don't appear when timeout the
	connection for to get new messages, fixed empty messages, and
	fixed when make freak actions with user connect in webchat for
	example delete. And the most important the chat files (logs and
	others) now Pandora save this files in attachment dir instead the
	tmp system dir.
	
	* godmode/users/user_list.php: added to call to delete from the
	chat user list when delete a user.
	
	MERGED from 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 12:36:18 +00:00
juanmanuelr 190485c9a8 2012-06-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
	 godmode/agentes/module_manager_editor_common.php: Modified width
	 of module type select in module editor when you are 
	 editing/creating a network module.
	 
	* include/functions.php
	 godmode/reporting/visual_console_builder.php: Fixed autorefresh
	 functionality.

	* include/functions_ui.php
	 godmode/massive/massive_edit_modules.php 
	 operation/agentes/ver_agente.php: Several Php warnings
	 fixed over console code.

	* godmode/reporting/reporting_builder.list_items.php: Fixed broken 
    view due to a bad sintax statement.

	Merged fro branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 11:22:13 +00:00
juanmanuelr d1ba15aa83 2012-06-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_config.php
	 operation/users/user_edit.php
	 godmode/massive/massive_add_action_alerts.php
	 godmode/reporting/reporting_builder.php
	 godmode/reporting/graphs.php: Fixed Php warning due to pass by
	 references variables and improvement in skins update.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-18 10:45:00 +00:00
vgilc f08ff7c80e 2012-06-15 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events.php: Show success message
	when you delete an event.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-15 10:46:40 +00:00
mdtrooper d7435de974 2012-06-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions_reporting.php,
	include/functions_groups.php, include/functions_visual_map.php,
	include/ajax/reporting.ajax.php, include/functions_ui.php,
	extensions/agents_modules.php, extensions/module_groups.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_agente.php,
	operation/agentes/ver_agente.php,
	operation/snmpconsole/snmp_view.php.
	operation/integria_incidents/incident.incident.php,
	mobile/operation/agents/monitor_status.php,
	mobile/operation/agents/view_agents.php,
	mobile/operation/agents/view_alerts.php,
	mobile/operation/events/events.php,
	godmode/groups/modu_group_list.php, godmode/groups/group_list.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php,
	godmode/alerts/alert_list.list.php, godmode/setup/os.list.php,
	godmode/users/configure_user.php,
	godmode/modules/manage_network_templates.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/tag/tag.php: changed the calls of "ui_print_truncate_text"
	now we are trying that more easy and standar, now the string name of
	agent have the equal number of characters in all code...but there
	are two styles, small and medium size for agents text name, modules
	text name, but description is only size. You can set this sizes in
	the visual setup page into your Pandora.
	
	MERGED from 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-14 16:23:23 +00:00
vgilc 345971e7e6 2012-06-14 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_agents.php
	  godmode/agentes/modificar_agente.php
	  operation/agentes/estado_agente.php: Fixed bug: sort doesn't work.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-14 16:10:10 +00:00
mdtrooper 0e6b9dad98 2012-06-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/ver_agente.php: cleaned source code from  merge
	some cosmetic changes in the trunk and this branch.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-13 16:59:36 +00:00
mdtrooper a84e7f6267 2012-06-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions_reporting.php,
	include/functions_groups.php, include/functions_visual_map.php,
	include/ajax/reporting.ajax.php, include/functions_config.php,
	include/functions_ui.php, include/functions.php,
	extensions/agents_modules.php, extensions/module_groups.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php,
	operation/agentes/ver_agente.php,
	operation/snmpconsole/snmp_view.php,
	operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.php: a lot of fixes in
	relation with entities and clean source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6537 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-13 15:29:00 +00:00
juanmanuelr ff67a91b76 2012-06-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_agente.php: Lost lines from my last 
	commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-13 09:58:13 +00:00
juanmanuelr 4a8e9bbbda 2012-06-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_agente.php: Improved user feedback when
	user delete an agent in this view.
	* operation/agentes/tactical.php: Removed empty links in tactical 
	view.
	
	Merged from branches.
	
	* godmode/setup/performance.php: Added enterprise_include_once to
	avoid a PHP error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-13 09:56:20 +00:00
hkosaka d59580c30a 2012-06-13 Hirofumi Kosaka <kosaka@rworks.jp>
* operation/agentes/estado_ultimopaquete.php: Merged from 4.0.x:
	Fixed string truncation problem for multi-byte characters.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-13 04:35:51 +00:00
juanmanuelr 4ac482f3c4 2012-06-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php
	 include/functions_agents.php: Fixed problem when modules are 
	 repeated in source and target agents. 
	 
	* operation/events/events_list.php: Delete double confirmation when
	an event is deleted.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 15:45:37 +00:00
darode 2912785692 2012-06-12 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/estado_agente.php: Improved
        performance using new functions.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 11:45:24 +00:00
darode 7b89476f12 2012-06-12 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Fixed some errors with tree view
	for policies.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6503 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-12 11:02:36 +00:00
darode b86459d841 2012-06-11 Dario Rodriguez <dario.rodriguez@artica.es>
* operatoin/tree.php: Fixed a bug related to html tag id
                with strange characters.

        MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 15:48:49 +00:00
darode 27028ba81a 2012-06-11 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php,
	include/functions_agents.php,
	operation/tree.php: Improved performance for
	tree view module tab.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 15:08:25 +00:00
darode 81981fe709 2012-06-11 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php,
	include/functions_agents.php,
	operation/tree.php: Improved tree view for module groups.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 12:57:53 +00:00
vgilc 0c3d6c3305 2012-06-11 Vanessa Gil <vanessa.gil@artica.es>
* godmode/users/configure_user.php
	  operation/users/user_edit.php: Removed 'add extra policies'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 11:24:46 +00:00
darode 7f640bfcdd 2012-06-11 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Include functions_gis.php file that
	was missing.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6473 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 09:46:57 +00:00
juanmanuelr 9e90a7e60f 2012-06-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	 operation/reporting/reporting_xml.php: Fixed XML items exportation
	 and item editor for alert agent and alert event.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 07:27:14 +00:00
darode afc7a2e9d6 2012-06-08 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Improved performance of
	sub tree for policies tree view.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6464 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 15:13:19 +00:00
darode ec82a6cfe2 2012-06-08 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Improved performance of tree
	view for policies.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 14:14:40 +00:00
ramonn c05e8c9f98 2012-06-08 Ramon Novoa <rnovoa@artica.es>
* include/db/postgresql.php,
	  include/db/mysql.php,
	  include/db/oracle.php,
	  include/config_process.php,
	  include/functions_db.php,
	  operation/agentes/datos_agente.php: Merged from 4.0 branch. Fixed and
	  improved the history database feature.

	* include/graphs/fgraph.php: Merged from 4.0 branch. Protect against
	  accidental output that might corrupt an image.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 12:18:03 +00:00
darode ac01678efb 2012-06-08 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php,
	include/functions_groups.php,
	include/functions_os.php,
	operation/tree.php: Fixed a problem with unknown agent
	counting.
	
	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 12:11:58 +00:00
darode 023a834036 2012-06-07 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php,
        operation/tree.php: Improved performance of tree
        view for modules, its not very good but now works...

	MERGED FROM 4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-07 14:29:00 +00:00
juanmanuelr 463f0feb6d 2012-06-07 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora_minimal.css
	 operation/extensions.php
	 operation/menu.php
	 general/header.php
	 godmode/extensions.php: Hide not valid sections with metaconsole 
	 activated.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-07 14:22:38 +00:00
darode 3541c59e9a 2012-06-07 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_os.php: Created this file.
        include/functions_groups,
        operation/tree.php: Fixed a bug related to search
        improved performance of OS tab for tree view.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-07 11:44:08 +00:00
darode 3356ea7904 2012-06-07 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php,
	include/functions_groups.php: Fixed some errors and 
	improved performance of group tree view.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-07 09:24:05 +00:00
juanmanuelr 5afc1612a4 2012-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/ver_agente.php
	 pandora_console/godmode/alerts/alert_list.builder.php: Fixed alert
	 creation when metaconsole is activated.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-06 16:22:37 +00:00
vgilc 0e33d1f857 2012-06-06 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/exportdata.php: Fixed bug:
	If the data type of module is string, don't export the data in format: table, Excel or CSV.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-06 16:13:12 +00:00
vgilc 46c286b8ea 2012-06-06 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/exportdata.php
	  operation/agentes/exportdata.csv.php
	  operation/agentes/exportdata.excel.php: Fixed bug export
	data: If you choose first the type of export, the chosen 
	agent modules are not loaded into the page.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-06 12:05:33 +00:00
darode 75fa702e45 2012-06-05 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/tree.php: Fixed a missing group icons
	
	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-05 12:49:17 +00:00
slerena ab85d4e95a 2012-05-30 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php
	include/functions_groups.php: Group/tactical stats
	are now done with functins in function_group. This
	method is also used in the server for the batch
	stats system.

	* operation/agentes/estado_ultimopaquete.php: Fixed
	view on non-init policy modules, shown in the data tab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6379 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 17:20:55 +00:00
juanmanuelr 5c94c720ac 2012-05-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/export_csv.php: Fixed csv events exportation 
	query.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 17:16:11 +00:00
zarzuelo 744c5a0dcd 2012-05-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/ajax/agent.php
	include/functions_io.php
	include/constants.php
	operation/agentes/ver_agente.php
	godmode/groups/group_list.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/reporting_builder.item_editor.php: Change the
	metaconsole error controls to adapt the calls to last changes
	Clean code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6334 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-22 12:23:49 +00:00
slerena 94d081176d 2012-05-22 Sancho Lerena <slerena@artica.es>
* include/functions_ui.php: Added definition for module unknown.

        * operation/agentes/status_monitor.php: unknown modules are always
        drawn in grey. Fixed inconsistent behaviour.

        * images/status_sets/color_text/module_unknown.png: Missing image.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-22 10:00:21 +00:00
jsatoh 5dcbcaa745 2012-05-22 Junichi Satoh <junichi@rworks.jp>
* operation/messages/message_edit.php,
	operation/messages/message_list.php: Changed words for sender and
	destination.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6330 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-22 02:53:51 +00:00
zarzuelo a7669dc80c 2012-05-14 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_ultimopaquete.php
	godmode/agentes/module_manager.php: Added string filter
	to modules view in the operation and godmode views for
	pending #3482262



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-14 14:24:29 +00:00
slerena c60fa7b089 2012-05-08 Sancho Lerena <slerena@artica.es>
* operation/agentes/datos_agente.php: Fixed search, was
        not working due html encoding in the SQL. Alter some layout
        issues (centering data in columns)

        * extensions/ssh_gateway*: New extension to connect SSH/Telnet
        servers from the console, using external anytermd daemon running
        in the pandora server.

        * pandora.css: Fix title height.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-08 15:43:45 +00:00
juanmanuelr 3dd1ca8580 2012-05-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/ver_agente.php: Changed way of truncate agent 
	name in header due to bad visualization if agent name has entities.
		
	* include/styles/pandora.css
	images/header_f2.png: Modified header image with 3000px width. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-04 08:43:26 +00:00
juanmanuelr 14082b25dc 2012-05-03 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora_legacy.css
	 include/styles/pandora.css
	 images/skin/skin_default/include/styles/pandora.css: Fixed 
	 information messages in other css files different than the default
	 css file. Also resized header image to 100% width.
	 
	* operation/agentes/tactical.php: Fixed print_cells_temp function 
	when it has not color like argument.

	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-03 10:44:07 +00:00
slerena c80c10d0b5 2012-04-30 Sancho Lerena <slerena@artica.es>
All changes (except a small patch on function_groups) are
	ported from 4.0.2 development branch. 

	* include/help/en/help_main_help.php: Added new general
	introduction help file. Need work.

	* include/functions_events.php: Fixed link colors and other 
	aesthetic improvements.
	
	* include/styles/pandora_legacy.css
	include/styles/pandora_black.css
	include/styles/pandora.css
	include/styles/pandora_bluenavy.css
	include/styles/pandora_minimal.css
	include/styles/pandora_blackmetal.css
	include/styles/pandora_green.css:
	
	
	* extensions/agents_modules.php,
	include/functions_groups.php: now colors uses CSS instead
	fixed codes in code. In function_groups also I've also applied a missing
	patch from the 4.0 with corrections on the Group extration from the DB.
	
	* operation/events/sound_events.php: Fixed small format problem.
	
	* operation/events/events_list.php: Link on event now "zoom it" instead
	filter for the same events (nosense since agrupatio is the default view!). 
	Fixed a	lof of aesthetic issues, now uses CSS for most issues.

	* operation/agentes/tactical.php
	operation/agentes/estado_generalagente.php: more work in the visual
	aspect of the information.
	
	* images/status_sets/default/agent_ok.png
	images/status_sets/default/module_warning.png
	images/status_sets/default/module_ok.png
	images/status_sets/default/agent_warning.png: Replaced colors with
	more contrast, easier to view for operators!.
	
	* images/header_f2b.png
	images/header_f2.png: new style headers.
	
	* general/header.php: New icon for general help.
	
	* godmode/agentes/agent_manager.php: Removed ugly visualization for GIS
	agent icons. Now it's much better :)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-30 19:22:07 +00:00
vgilc 6b8959dc28 2012-04-30 Vanessa Gil <vanessa.gil@artica.es>
* operation/reporting/graph_viewer.php
	  operation/events: Fixed calendar.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-30 14:54:25 +00:00
vgilc 4bb6c612dd 2012-04-30 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/datos_agente.php: Fixed: bad layout in view data and
	changed calendar.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6231 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-30 14:07:23 +00:00
mdtrooper ffad6bb505 2012-04-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.php: fixed when the
	module have a spaces or other entities in the name when try to
	create a items with the wizzard.
	
	* godmode/reporting/visual_console_builder.wizard.php: changed the
	style of form to show more horizontality.
	
	Fixes: #3521724
	
	
	
	* include/functions_reporting.php: fixed the "Top-N".
	
	Fixes: #3521724
	
	* include/functions_agents.php: cleaned source code style.
	
	* operation/agentes/ver_agente.php: return more data in the ajax
	request for the modules.
	
	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-30 12:44:26 +00:00
zarzuelo f250a7a61e 2012-04-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_groups.php
	include/functions_ui.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_monitores.php
	godmode/reporting/visual_console_builder.elements.php: Fixed several 
	title text in force icon (green donut)

	* operation/menu.php: Fixed missed "Edit my user" option



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6206 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-27 11:13:03 +00:00
mdtrooper a69c3e0fa3 2012-04-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/exportdata.php,
	operation/events/events_list.php: cleaned source code style.
	
	* include/functions_events.php,
	include/functions_network_components.php,
	include/functions_api.php: fixed some things, the function
	"events_validate_event" when can't update as validate any event
	return false, into the file "functions_network_components" added
	$config['homedir'] for situations where include in a other path that
	index. And show error when make a bad validate event.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 14:42:48 +00:00
vgilc c589006552 2012-04-26 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list.php: The column to validate events 
	is shown for an Operator (only read) user.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 12:14:16 +00:00
mdtrooper 63cc161751 2012-04-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, operation/agentes/exportdata.php:
	cleaned source code style.
	
	* include/functions_api.php: fixed prevent the empty string in the
	status into the search events.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 10:03:53 +00:00
slerena e758a1dbcb 2012-04-25 Sancho Lerena <slerena@artica.es>
* general/error_emptyconfig.php,
	general/error_authconfig.php,
	general/error_dbconfig.php: minimal changes on text to fit the error
	window message.

	* godmode/modules/manage_network_templates_form.php: Fixed description.
	
	* godmode/modules/manage_network_components.php: minimal layout changes.

	* pandoradb_data.sql: New "default" values for network components, tags,
	network (group) templates, ant agent custom fields.

	* operation/agentes/estado_monitores.php: More size for the description 
	in the agent main view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 19:54:40 +00:00
juanmanuelr be556244e2 2012-04-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/menu.php
	 operation/events/events.php: SoundEvent popup now it's resizable in
	 IE.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 12:31:38 +00:00
vgilc 687a354165 2012-04-25 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/exportdata.php: Fixed several bugs.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 09:12:42 +00:00
vgilc 57b8904d27 2012-04-24 Vanessa Gil <vanessa.gil@artica.es>
* operation/tree.php: Added units to modules.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 16:53:11 +00:00
mdtrooper 355933a461 2012-04-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/sound_events.php, godmode/setup/setup.php: fixed
	the audio, now it uses the html5 tag.
	
	Fixes: #3472957
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6137 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 14:46:00 +00:00
mdtrooper 8c5de64b91 2012-04-24 Miguel de Dios <miguel.dedios@artica.es>
* install.php: cleaned source code style.
	
	* include/functions_graph.php: added into the src attribute the
	$config['homeurl'] in the functions "progress_bar" and
	"progress_bubble" to show the images in other paths that usually
	path.
	
	* include/functions_ui.php: fixed into the function
	"ui_process_page_head" when try to use in others paths that usually
	path (like as homeurl) and this bug have been for js and css.
	
	* operation/visual_console/public_console.php: fixed and re-design
	the page.
	
	Fixes: #3520670
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 13:45:02 +00:00
juanmanuelr c2e58c9d49 2012-04-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php
	 operation/agentes/stat_win.php: Added units to Y axis in static 
	graphs. Also changed layout of launcher module graph window. 
	
	Fixes: #3520728



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 11:20:27 +00:00
darode 6c3dae49dd 2012-04-24 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/estado_agente.php,
	operation/agentes/ver_agente.php,
	operation/menu.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/fields_manager.php,
	godmode/agentes/agent_conf_gis.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/agent_manager.php,
	godmode/menu.php: Fixed some problems with links and new menu structure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 10:02:06 +00:00
darode 224c8501a4 2012-04-24 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/menu.php: Moved submenu "SNMP trap generator" to a second
        level menu inside "SNMP console" submenu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 07:48:59 +00:00
zarzuelo 1a1f9607bc 2012-04-23 Sergio Martin <sergio.martin@artica.es>
* operation/menu.php: Changed the order of the reporting 
	subsections and set reports view to default target in the 
	reporting section link



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 16:04:29 +00:00
mdtrooper 64eaaf4927 2012-04-23 Miguel de Dios <miguel.dedios@artica.es>
* index.php: fixed notice message php.
	
	* extensions/update_manager/lib/libupdate_manager.php: fixed into
	the function "um_db_load_settings" the cache of DB, and set to
	translate some untranslate text.
	
	* include/config_process.php: added for a long time the setting the
	$develop_bypass as global.
	
	* extensions/update_manager/settings.php, operation/menu.php,
	operation/search_agents.php: cleaned source code style.
	
	* include/functions_config.php: fixed php noticie message of the
	var "$config['update_manager_installed']" in the first execution
	after intallation.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 14:29:34 +00:00
zarzuelo e1cab9b8b4 2012-04-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	include/ajax/networkmap.ajax.php
	operation/agentes/networkmap.topology.php: Fixed several
	errors in the apache log when generate networkmap and add
	to the root node a little map summary



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 14:21:54 +00:00
mdtrooper 207cc9717b 2012-04-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_users.php, operation/users/webchat.php: added
	list users in chat.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 12:36:53 +00:00
vgilc fd483742b2 2012-04-23 Vanessa Gil <vanessa.gil@artica.es>
* operation/menu.php
	  operation/agentes/exportdata.php: Fixed bug: Error exporting
	data to excel or csv.

	operation/agentes/exportdata.csv.php
	operation/agentes/exportdata.excel.php: Added files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 11:52:41 +00:00
juanmanuelr 2511b63667 2012-04-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_networkmap.php
	 operation/agentes/networkmap_list.php
	 operation/menu.php: Added new view with a list of networkmaps.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 11:37:17 +00:00
mdtrooper c6a2e14e04 2012-04-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/javascript/jquery.pandora.js,
	include/functions_db.php: cleaned source code style.
	
	* include/functions_users.php, index.php, operation/menu.php,
	operation/users/webchat.php, include/javascript/webchat.js,
	general/header.php: added first version of webchat.
	
	* include/functions.php: into the function "check_login" added the
	parameter $output for some cases don't want see the error page like
	as the ajax querys.
	
	MERGED FROM 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 11:20:28 +00:00
darode 9294f23fd0 2012-04-23 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/search_reports.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/reporting_builder.item_editor.php: Fixed some issues
	with reportin usability related to new menu structure.

	MERGED FROM 4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6086 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 11:07:26 +00:00
darode 74facd9b6c 2012-04-23 Dario Rodriguez <dario.rodriguez@artica.es>
*extensions/snmp_explorer.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php,
	operation/snmpconsole/snmp_view.php,
	operation/gis_maps/render_view.php,
	godmode/agentes/fields_manager.php,
	godmode/agentes/configure_field.php,
	godmode/agentes/planned_downtime.php: Fixed a problem with agent sec
	param changed from gagente to estado in order to display new menus properly

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 07:56:23 +00:00
jsatoh 1f1b2c8003 2012-04-21 Junichi Satoh <junichi@rworks.jp>
* index.php: Fixed bug home screen is not shown when default language
	is set to non-English.

	* operation/users/user_edit.php: Fixed 'Default' in home screen menu
	is not translated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-21 09:06:22 +00:00
zarzuelo eff00638ed 2012-04-20 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_network_map.php
	include/help/es/help_network_map.php
	operation/agentes/networkmap.php: Fixed bug changing the
	map name and improved the usability of the settings form



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 11:09:43 +00:00
slerena 9b6bb7419c 2012-04-19 Sancho Lerena <slerena@artica.es>
* operation/agentes/estado_monitores.php: Put units in module view. 
	Fixed a Postgrest missing ")" in SQL.

	* operation/agentes/status_monitor.php: Put units in module view.

	* operation/agentes/alerts_status.php: better layout on alert 
	tabular view, now using dynamic width.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 18:48:35 +00:00
juanmanuelr 15c0d1fb56 2012-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/gis_maps/render_view.php: Resize GIS map on normal view.
	
	Bugfix merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 18:16:40 +00:00
juanmanuelr 8c0f71d643 2012-04-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/gis_maps/render_view.php: Resize GIS map on fullscreen.
	
	Bugfix merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 17:26:15 +00:00
vgilc cbf2fc44c4 2012-04-19 Vanessa Gil <vanessa.gil@artica.es>
* operation/tree.php: Changes in tab os.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 09:54:03 +00:00
slerena 515c98a920 2012-04-18 Sancho Lerena <slerena@artica.es>
* operation/servers/recon_view.php: Fix	column header.

        * godmode/agentes/module_manager_editor_plugin.php: Now	plugin description
        is shown formatted (\n -> <br>). Some fields have better layout.

        * godmode/servers/plugin.php: Ajax load	of description is now formatted.

        * godmode/servers/manage_recontask.php:	Fix link to show recon server.

        * godmode/servers/manage_recontask_form.php: Wider textarea.

        * pandoradb_data.sql: New defaults (4 plugins, 2 recon scripts).

        * include/functions_events.php:	More space visible in event info, smaller
        font.

        * include/config_process.php: Updated version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 18:28:08 +00:00
juanmanuelr eccfc0c400 2012-04-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora_minimal.css
	 include/javascript/pandora.js
	 operation/agentes/stat_win.php: Changed layout of interactive graph
	 menu.
	
	* images/graphmenu_arrow.png
	 images/graphmenu_arrow_hide.png: Added images for interactive 
	 graph menu.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 16:08:48 +00:00
mdtrooper d7f5a9d320 2012-04-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: into the function
	"agents_get_agent_id" the parameter "$io_safe_input" for transform
	the names if true, by default false.
	
	* operation/agentes/networkmap.topology.php,
	operation/agentes/networkmap.php, include/functions_ui.php: cleaned
	source code style.
	
	Merged from th branch "pandora_4.0".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 12:56:14 +00:00
juanmanuelr 4cc9bda89b 2012-04-18 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
	 include/styles/pandora.css
	 include/javascript/jquery.pandora.js
	 include/functions_config.php
	 include/functions_ui.php
	 extensions/update_manager.php
	 extensions/update_manager/load_updatemanager.php
	 extensions/update_manager/lib/functions.ajax.php
	 extensions/update_manager/settings.php
	 operation/system_alert.php
	 general/login_page.php
	 godmode/setup/setup.php: Changed layout in modal windows for 
	 license information also changed several styles.
	 
	 Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 08:08:04 +00:00
vgilc 508d7fe648 2012-04-16 Vanessa Gil <vanessa.gil@artica.es>
* operation/tree.php
	  operation/menu.php
	  operation/tree/no_branch.png
	  operation/tree/branch.png
	  operation/tree/closed.png
	  operation/tree/expanded.png
	  operation/tree/first_closed.png
	  operation/tree/first_expanded.png
	  operation/tree/last_closed.png
	  operation/tree/last_expanded.png
	  operation/tree/last_leaf.png
	  operation/tree/leaf.png
	  operation/tree/one_closed.png
	  operation/tree/one_expanded.png. Changed path.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-16 17:26:01 +00:00
zarzuelo e69ebbcc9a 2012-04-16 Sergio Martin <sergio.martin@artica.es>
* operation/menu.php: Switched the visual console and custom reports
	order in the menu and change the main Reporting section link 
	to give more important to reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-16 16:59:27 +00:00
juanmanuelr f582477c0d 2012-04-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/dialog.css
	 include/styles/pandora.css
	 operation/system_alert.php
	 include/functions_config.php
	 general/login_page.php: Modified style in UM license advises, also
	 modified style in system alerts dialog. 

	* include/functions_ui.php: Modified function ui_print_message to 
	allow force the style.
	
	* include/styles/pandora_legacy.css: New css style with Pandora old
	style "legacy". New style has 100% page width.

	* images/spinner.gif
	 images/spinner.png: Added new spinners with transparency.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-16 11:24:47 +00:00
jsatoh b8fffb6f4d 2012-04-14 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/stat_win.php: Fixed i18n support. Changed
	the description for reloading and the name of the submit button.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-14 02:30:59 +00:00
ramonn 7ae4606d7f 2012-04-12 Ramon Novoa <rnovoa@artica.es>
* operation/servers/recon_view.php: Fixed a broken link.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5953 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 10:12:38 +00:00
zarzuelo 85cfe1aa1b 2012-04-11 Sergio Martin <sergio.martin@artica.es>
* operation/events/sound_events.php: Fixed bad name in 
	the windows title



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-11 15:55:29 +00:00
darode 3f20b012c0 2012-04-11 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/estado_agente.php: Added columns to edit agent
	from operaion view. Only for admins



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-11 09:22:22 +00:00
darode 99e36dbe34 2012-04-10 Dario Rodriguez <dario.rodriguez@artica.es>
*operation/menu.php,
	godmode/menu.php: Fixed a bug showing extensions with new menu structure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-10 15:35:13 +00:00
zarzuelo 80472fa14b 2012-04-10 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	operation/agentes/ver_agente.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_add_action_alerts.php: Improve some parts
	of massive operations section as add ALL/COMMON switch in the
	agents/modules selectors, allow to select multiple alert actions 
	in the delete/add operations, add the period advanced control to
	the modules edition section and improve this period control



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-10 11:28:36 +00:00
zarzuelo b4539066b3 2012-04-03 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	operation/agentes/ver_agente.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_edit_modules.php: Added the same
	extended form of the massive edit modules to massive
	delete modules section. Added to both a new combo to 
	select the behavior of the multi select of agents/modules
	selecting all or common for the result.
	Fixed some bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-03 16:33:38 +00:00
darode b5425ae5aa 2012-04-03 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/estado_agente.php,
	operation/menu.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/agent_conf_gis.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php,
	godmode/menu.php: Changed Manage agent menu to Agent detail inside 
	Monitoring menu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-03 16:05:44 +00:00
vgilc a59ec1c48f 2012-04-03 Vanessa Gil <vanessa.gil@artica.es>
* operation/messages/message_edit.php: Show user name
	instead id and send messages for all group.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-03 15:31:20 +00:00
darode 8608d4ad03 2012-04-03 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_menu.php: Deleted extension icon on menus.

	* extensions/extension_uploader.php: Fixed wrong link to menu for this
	extension.

	* operation/menu.php,
	godmode/menu.php: Fixed duplicated extension links on menus.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-03 13:26:22 +00:00
darode 80e35f30ac 2012-04-02 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/menu.php,
	operation/snmpconsole/snmp_view.php,
	godmode/menu.php,
	godmode/snmpconsole/snmp_trap_generator.php,
	godmode/snmpconsole/snmp_alert.php,
	godmode/snmpconsole/snmp_filters.php: Merged changes in menus from 4.0.2
	SNMP menu now is inside Monitoring menu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 16:45:08 +00:00
darode ab355c6ba3 2012-04-02 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/menu.php: Fixed an error selecting the correct menu option
	in workspace menu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 14:52:11 +00:00
darode e410f3c6cc 2012-04-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_menu.php
	extensions/users_connected.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_statistics.php,
	operation/menu.php,
	operation/integria_incidents/incident.incident.php,
	operation/integria_incidents/incident.files.php,
	operation/integria_incidents/incident.list.php,
	operation/messages/message_edit.php,
	operation/messages/message_list.php: Create new menu item called 
	workspace.
	* godmode/reporting/map_builder.php
	operation/visual_console/render_view.php: Fixed some errors related to
	new menu structure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 14:33:34 +00:00
zarzuelo 0af021c7b8 2012-04-02 Sergio Martin <sergio.martin@artica.es>
* operation/reporting/reporting_xml.php: Added xml export
	feature to the new report items of inventory and inventory changes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 13:55:27 +00:00
darode 710564659e 2012-04-02 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_menu.php
	operation/menu.php
	godmode/menu.php: Finish changes in reporting menu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 09:49:12 +00:00
zarzuelo 6cf54a13b9 2012-04-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	include/functions.php: Fixed little bugs
	of the inventory reports and translation strings

	* operation/reporting/reporting_viewer.php: Added fixed
	configuration line of the pickdate jquery control



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 09:43:58 +00:00
darode a256ef5fc3 2012-04-02 Dario Rodriguez <dario.rodriguez@artica.es>
*operation/visual_console/render_view.php,
	operation/visual_console/index.php,
	operation/agentes/networkmap.php,
	operation/servers/view_server.php,
	operation/servers/recon_view.php,
	operation/servers/view_server_detail.php,
	operation/menu.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php,
	general/header.php,
	godmode/servers/modificar_server.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/graph_builder.main.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/graph_builder.graph_editor.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/graphs.php: Merged changes in menu structure
	from 4.0.2 to trunk version



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 07:53:24 +00:00
jsatoh 8ada52ed44 2012-03-31 Junichi Satoh <junichi@rworks.jp>
* operation/incidents/incident.php: Fixed SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-31 02:37:47 +00:00
jsatoh 27b5432c10 2012-03-31 Junichi Satoh <junichi@rworks.jp>
* operation/incidents/incident_statistics.php: Removed obsolete
	function call.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-31 01:53:26 +00:00
slerena 0a0ca4350c 2012-03-28 Sancho Lerena <slerena@artica.es>
* operation/agentes/estado_agente.php: Fixed several usability problems.
        Fixed search problem with html entities (blank spaces, etc).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-28 16:56:45 +00:00
vgilc a3bcb57bca 2012-03-28 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql,
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: added 'created_by'
	to tusuario table and modify 'mensaje' field to tmensajes.

	* general/header.php
	  godmode/users/configure_user.php
	  include/functions_groups.php
	  include/functions_messages.php
	  include/javascript/jquery.pandora.js
	  operation/menu.php: Added operation: Fixed several bugs and
	modify sending and receiving messages.

	* images/email_go.png
	  images/email_edit.png
	  operation/messages/message_list.php
	  operation/messages/message_edit.php: Added files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-28 14:54:27 +00:00
zarzuelo 5e6595b4bb 2012-03-28 Sergio Martin <sergio.martin@artica.es>
* include/styles/images/ui-bg_gloss-wave_35_f6a828_500x100.png
	include/styles/images/ui-bg_flat_10_000000_40x100.png
	include/styles/images/ui-bg_diagonals-thick_20_666666_40x40.png
	include/styles/images/ui-icons_228ef1_256x240.png
	include/styles/images/ui-icons_ffd27a_256x240.png
	include/styles/images/ui-bg_diagonals-thick_18_b81900_40x40.png
	include/styles/images/ui-icons_ffffff_256x240.png
	include/styles/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
	include/styles/images/ui-bg_glass_65_ffffff_1x400.png
	include/styles/images/ui-icons_222222_256x240.png
	include/styles/images/ui-icons_ef8c08_256x240.png
	include/styles/images/ui-bg_glass_100_fdf5ce_1x400.png
	include/styles/images/ui-bg_glass_100_f6f6f6_1x400.png
	include/functions_ui.php
	include/languages/datepicker
	include/languages/datepicker/jquery.ui.datepicker-eo.js
	include/languages/datepicker/jquery.ui.datepicker-bs.js
	include/languages/datepicker/jquery.ui.datepicker-fo.js
	include/languages/datepicker/jquery.ui.datepicker-ta.js
	include/languages/datepicker/jquery.ui.datepicker-cs.js
	include/languages/datepicker/jquery.ui.datepicker-es.js
	include/languages/datepicker/jquery.ui.datepicker-eu.js
	include/languages/datepicker/jquery.ui.datepicker-ko.js
	include/languages/datepicker/jquery.ui.datepicker-is.js
	include/languages/datepicker/jquery.ui.datepicker-no.js
	include/languages/datepicker/jquery.ui.datepicker-hu.js
	include/languages/datepicker/jquery.ui.datepicker-sk.js
	include/languages/datepicker/jquery.ui.datepicker-vi.js
	include/languages/datepicker/jquery.ui.datepicker-uk.js
	include/languages/datepicker/jquery.ui.datepicker-ms.js
	include/languages/datepicker/jquery.ui.datepicker-hy.js
	include/languages/datepicker/jquery.ui.datepicker-ro.js
	include/languages/datepicker/jquery.ui.datepicker-de-CH.js
	include/languages/datepicker/jquery.ui.datepicker-zh-HK.js
	include/languages/datepicker/jquery.ui.datepicker-sq.js
	include/languages/datepicker/jquery.ui.datepicker-ru.js
	include/languages/datepicker/jquery.ui.datepicker-af.js
	include/languages/datepicker/jquery.ui.datepicker-id.js
	include/languages/datepicker/jquery.ui.datepicker-fr-CH.js
	include/languages/datepicker/jquery.ui.datepicker-el.js
	include/languages/datepicker/jquery.ui.datepicker-ar.js
	include/languages/datepicker/jquery.ui.datepicker-sr-SR.js
	include/languages/datepicker/jquery.ui.datepicker-fr.js
	include/languages/datepicker/jquery.ui.datepicker-et.js
	include/languages/datepicker/jquery.ui.datepicker-nl.js
	include/languages/datepicker/jquery.ui.datepicker-zh-TW.js
	include/languages/datepicker/jquery.ui.datepicker-hr.js
	include/languages/datepicker/jquery.ui.datepicker-az.js



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-28 11:55:23 +00:00
jsatoh 8f56a29064 2012-03-25 Junichi Satoh <junichi@rworks.jp>
* include/functions_graph.php, operation/events/events_list.php: Fixed
	SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-25 12:32:18 +00:00
jsatoh 205bcf8e0a 2012-03-24 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/status_monitor.php: Fixed SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-24 13:03:58 +00:00
jsatoh 0ade546b40 2012-03-24 Junichi Satoh <junichi@rworks.jp>
* include/functions_agents.php, include/functions_config.php,
	include/db/postgresql.php, operation/agentes/estado_agente.php: Fixed
	SQL error with PostgreSQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-24 12:15:18 +00:00
zarzuelo 8cc38eed0a 2012-03-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	operation/agentes/stat_win.php: Fixed period control
	in the popup graph menu (stat_win) merged from 4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-22 11:22:07 +00:00
juanmanuelr c0120cf9e5 2012-03-21 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php: Toggle arrow control changes
	orientation onclick event. Aesthetic fix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-21 12:17:09 +00:00
zarzuelo dfca5db6da 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php: Improved period form in the
	report view and navegability merged from 4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 15:17:44 +00:00
zarzuelo 0d12b9f38a 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	operation/visual_console/public_console.php: Fixed the
	public visual console graphs adding homeurl



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 11:03:06 +00:00
zarzuelo b29485f3af 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* operation/visual_console/render_view.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/visual_console_builder.php
	godmode/reporting/visual_console_builder.preview.php: Removed
	preview section from visual map in godmode. Now is a link
	to operation mode.
	Change the link from op to godmode, now is to edition view,
	not to main setup.
	Added advanced period control to visual map setup



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 10:44:03 +00:00
zarzuelo 5262c214fd 2012-03-16 Sergio Martin <sergio.martin@artica.es>
* operation/reporting/graph_viewer.php: Added ACL control
	to Setup tab



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-16 12:44:25 +00:00
zarzuelo 975d31d87e 2012-03-15 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js: Fix a little bug
	of default value in time advance control

	* operation/reporting/graph_viewer.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.preview.php: Remove 
	the preview graphs and replace it by link of the
	operation mode



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 18:35:23 +00:00
zarzuelo b7fe0fe3dc 2012-03-15 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	include/functions_custom_graphs.php
	include/functions.php
	operation/agentes/datos_agente.php
	operation/agentes/gis_view.php
	operation/agentes/graphs.php
	operation/agentes/stat_win.php
	operation/reporting/graph_viewer.php
	mobile/operation/agents/view_agents.php
	godmode/agentes/agent_manager.php
	godmode/massive/massive_edit_agents.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/reporting_builder.item_editor.php
	godmode/reporting/graph_builder.preview.php: changed the 
	html_print_extended_select_for_time function to select
	easily the custom period and do it genericly.
	Clean all the calls to this function and unify the 
	combo periods.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 16:03:51 +00:00
vgilc bbce8c546d 2012-03-14 Vanessa Gil <vanessa.gil@artica.es>
* godmode/alerts/alert_actions.php
	  godmode/alerts/alert_commands.php
  	  godmode/alerts/alert_templates.php
	  godmode/alerts/configure_alert_template.php
	  godmode/modules/manage_nc_groups.php
	  godmode/modules/manage_netwok_components.php
	  godmode/modules/manage_network_templates.php
	  godmode/modules/manage_network_templates_form.php
	  godmode/reporting/graph_builder.php
	  godmode/reporting/graphs.php
	  godmode/reporting/map_builder.php
	  godmode/reporting/reporting_builder.php
	  godmode/reporting/visual_console_builder.php
	  godmode/snmpconsole/snmp_alert.php
	  godmode/tag/edit_tag.php
	  godmode/tag/tag.php
	  include/functions_config.php
	  include/functions_events.php: Extended system audit log.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-14 17:51:39 +00:00
zarzuelo a159114060 2012-03-14 Sergio Martin <sergio.martin@artica.es>
* operation/reporting/reporting_viewer.php: Changed a bad
	translation string



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-14 16:42:18 +00:00
jsatoh ff54b98751 2012-03-14 Junichi Satoh <junichi@rworks.jp>
* operation/incidents/incident.php: Replaced substr() with
	ui_print_truncate_text().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-14 04:08:37 +00:00
mdtrooper afff585489 2012-03-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: fixed when the Pandora
	have not enterprise part and show "-1" instead empty string.

	* operation/reporting/reporting_viewer.php: added the enterprise posibility
	to generate PDF from this report. And added the posibility to go to edit the
	report from this page. Finally fixed the hidden first row of form, now show
	again the check to select method to calculate and the title and other
	things.

	* include/functions_ui.php: fixed into the function "ui_print_page_header"
	when the header have not any active tab.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-13 16:56:39 +00:00
mdtrooper d4edd1a05d 2012-03-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.preview.php: fixed the calendar js
	show, fixed the double update button and added the enterprise posibility to
	generate PDF from this report.
	
	* include/javascript/pandora.js: fixed the re-enable the module list widget
	when sometimes start as disabled.

	* include/functions_reporting.php, operation/reporting/reporting_viewer.php:
	cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-13 16:01:36 +00:00
mdtrooper 1f32205056 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/agent.php: added the query "get_agents_group" for getting the
	list of agents from a group pass as ajax parameter.
	
	* godmode/reporting/visual_console_builder.editor.php: fixed lost title for
	simple graph toolbox.
	
	* godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	include/functions_visual_map.php: added into the wizzard a field group to
	filter agents, and the feature to choose the item to create with the massive
	wizzard.

	* include/functions_graph.php, include/functions_ui.php,
	operation/reporting/reporting_viewer.php: cleaned source code style. 

	* include/javascript/pandora.js: into the function
	"agent_changed_by_multiple_agents" fixed the none text and any text, and
	the width of module form field.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 16:23:50 +00:00
vgilc 633bb9296b 2012-03-12 Vanessa Gil <vanessa.gil@artica.es>
* index.php: Fixed problem to display "sec2" in menu.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5736 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 14:53:20 +00:00
vgilc cc0192417e 2012-03-12 Vanessa Gil <vanessa.gil@artica.es>
* index.php
	  operation/users/user_edit.php: Customize home screen. 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5734 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 11:15:23 +00:00
mdtrooper c7b0698aa2 2012-03-09 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, extensions/snmp_explorer.php,
	operation/users/user_edit.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/setup/setup_auth.php, godmode/gis_maps/configure_gis_map.php,
	godmode/massive/massive_edit_modules.php,
	godmode/modules/manage_network_components_form.php,
	godmode/reporting/visual_console_builder.editor.js: fixed enable a widget in
	javascript (because the new jquery library is more html standar).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-09 11:47:56 +00:00
slerena 534aff6e2d 2012-03-08 Sancho Lerena <slerena@artica.es>
* operation/visual_console/public_console.php: I miss commit the file :)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 18:24:24 +00:00
slerena 4db6d2c80a 2012-03-08 Sancho Lerena <slerena@artica.es>
* include/functions_visual_map.php
	operation/visual_console/public_console.php
	operation/visual_console/render_view.php: Changes for new feature
	"Public Visual Console".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 17:55:31 +00:00
vgilc a1531c0fcf 2012-03-08 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.oracle.sql
	  pandoradb.postgreSQL.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Added fields
	'section' and 'data_section' to tusuario.

	* index.php
	  include/functions.php
	  operation/users/user_edit.php: Customize home screen.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 16:42:31 +00:00
zarzuelo 72cd763711 2012-03-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	operation/agentes/stat_win.php: Fixed some graph bugs, change the
	string graph from bars to area and added formatting to xAxis of
	area graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 16:32:11 +00:00
zarzuelo 4fa4605ca0 2012-03-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	operation/agentes/stat_win.php: Adapted events slice graph to
	the sparse/boolean/string graph. Fix some bugs on menu and legend 
	graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 12:32:59 +00:00
zarzuelo 05dae5868d 2012-03-07 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/flot/pandora.flot.js
	operation/agentes/stat_win.php: Fixed several sparse
	graph bugs and stabilize code with new jquery system
	of miguel work



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 17:58:15 +00:00
mdtrooper be037611d8 2012-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery-1.6.1.min.js: removed this file because the
	console use the last jquery library.
	
	* operation/search_agents.php: clean source code style.
	
	* include/graphs/functions_flot.php, include/graphs/flot/pandora.flot.js:
	fixed the lost unit in the style of the divs for the graphs, into the
	function "pandoraFlotArea" check the alerts.lenght for empty strings, into
	the function "updateLegend" check empty string for to var
	"item.series.label", into the function "get_event_details" check empty var
	"event_ids" and into the function "flot_area_graph" check empty var in
	$long_index.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 10:53:06 +00:00
mdtrooper f1bf725afc 2012-03-07 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php, operation/search_agents.php:
	fixed the style of name agent, now "text-transform: uppercase;".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 09:58:41 +00:00
zarzuelo e6e172613e 2012-03-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_pchart.php
	include/graphs/functions_flot.php
	include/graphs/flot/pandora.flot.js
	include/graphs/fgraph.php
	include/pchart_graph.php
	include/FusionCharts
	include/pChart
	include/functions_ui.php
	images/chart_curve_threshold.png: Clean graphs code 
	and add threshold (warning and critical min)

	* operation/reporting/reporting_viewer.php
	include/functions_reporting.php: Improve the top_n
	merged from 4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-06 17:23:46 +00:00
mdtrooper 013585da6a 2012-03-05 Miguel de Dios <miguel.dedios@artica.es>
* extensions/update_manager/main.php, general/shortcut_bar.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.preview.php, include/functions_api.php,
	include/functions_html.php, include/htmlawed.php, include/pchart_graph.php,
	operation/events/events_list.php, operation/netflow/nf_live_view.php:
	cleaned source code style.
	
	* godmode/menu.php, godmode/agentes/manage_config_remote.php: removed the
	enterprise feature that have been wrong for years.
	
	* general/header.php: changed to load the jquery-ui and jquery javascript
	library to last version.
	
	* extensions/insert_data.php, extensions/snmp_explorer.php,
	godmode/agentes/agent_manager.php, include/ajax/agent.php,
	include/javascript/pandora.js, operation/agentes/exportdata.php,
	operation/events/events.php: changed the unknow plugin autocomplete for
	the autocomple from jquery-ui.
	
	* include/functions_ui.php: cleaned source code style and into the function
	"ui_process_page_head" added the blacklist hardwrote for to use old jquery.
	
	* include/styles/jquery-ui-1.8.17.custom.css,
	include/javascript/jquery-1.7.1.min.js,
	include/javascript/jquery.jquery-ui-1.8.17.custom.min.js: added the last
	version of Jquery and Jquery-ui. 
	
	Merge from the branch "pandora_4.0"
	
	* godmode/reporting/visual_console_builder.constans.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php,
	include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	include/javascript/pandora_visual_console.js: changed the unknow
	plugin autocomplete for the autocomple from jquery-ui and added function to
	paint a Bubble Chart (http://en.wikipedia.org/wiki/Bubble_chart) with the
	name "progress_bubble".
	
	* images/percentile_item.disabled.png, images/percentile_item.png: added
	images for button of percentile item (new item in visual map).
	
	* include/styles/pandora.css: added the style for the new button percentile
	item.
	
	* include/functions_graph.php, include/graphs/fgraph.php,
	include/graphs/functions_gd.php: cleaned source code style, and added the
	params to set text and color in the function "progress_bar" and added
	function to paint a Bubble Chart (http://en.wikipedia.org/wiki/Bubble_chart)
	with the name "progress_bubble".
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5693 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-05 17:56:56 +00:00
vgilc 6104c80a98 2012-03-05 Vanessa Gil <vanessa.gil@artica.es>
* operation/search_alerts.php: Fixed sql error.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5692 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-05 12:10:02 +00:00
zarzuelo 77c33c75a9 2012-03-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/FusionCharts
	include/graphs/functions_fsgraph.php
	include/graphs/fgraph.php
	operation/agentes/estado_generalagente.php
	godmode/db/db_info.php: Removed FlashCharts library
	and clean graphs code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5691 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-05 10:26:34 +00:00
zarzuelo f7c0726660 2012-03-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/graphs/functions_flot.php
	include/graphs/flot
	include/graphs/flot/jquery.flot.resize.min.js
	include/graphs/flot/jquery.flot.min.js
	include/graphs/flot/pandora.flot.js
	include/graphs/flot/jquery.flot.symbol.min.js
	include/graphs/flot/jquery.flot.selection.min.js
	include/graphs/flot/jquery.flot.stack.min.js
	include/graphs/flot/jquery.flot.threshold.js
	include/graphs/flot/jquery.flot.pie.min.js
	include/graphs/flot/jquery.flot.crosshair.min.js
	include/graphs/fgraph.php
	include/graphs/functions_utils.php
	include/javascript/pandora.js
	include/javascript/jquery.mousewheel.js
	include/javascript/jquery-1.6.1.min.js
	include/ajax/events.php
	include/include_graph_dependencies.php
	operation/agentes/estado_generalagente.php
	operation/agentes/stat_win.php
	images/zoom_cross.png
	images/zoom_cross.disabled.png
	images/chart_curve_overview.png
	godmode/setup/setup_visuals.php
	godmode/users/configure_user.php: Added a new graphs engine (Flot) and
	replace the old flash charts by it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5685 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-01 16:41:02 +00:00
mdtrooper d15a6bfe30 2012-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: fixed into the function
	"networkmap_create_agent_node" the creation of url link for the node.

	* godmode/reporting/graphs.php, godmode/reporting/reporting_builder.php,
	include/functions_graph.php, include/functions_reporting.php,
	mobile/operation/agents/view_agents.php, operation/agentes/datos_agente.php,
	operation/incidents/incident_detail.php,
	operation/reporting/reporting_viewer.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5666 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 16:08:30 +00:00
mdtrooper aa49283379 2012-02-28 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php, operation/agentes/datos_agente.php,
	operation/agentes/custom_fields.php,
	operation/agentes/alerts_status.functions.php, operation/search_reports.php,
	operation/search_modules.php: : cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5662 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 12:17:57 +00:00
mdtrooper 435503360f 2012-02-27 Miguel de Dios <miguel.dedios@artica.es>
* operation/integria_incidents/incident.php: added error message when
	Pandora have a bad conf for the Integria API. And cleaned source code style.
	
	* general/footer.php, general/logon_ok.php, general/noaccess.php,
	general/shortcut_bar.php, general/ui/agents_list.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/reporting/map_builder.php, godmode/tag/edit_tag.php: cleaned source
	code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5660 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 11:48:45 +00:00
juanmanuelr 692e49c57b 2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_ultimopaquete.php: Fixed bug in this view
	When a module is in a unknown status shows "NeverUnknown" instead of 
	"Unknow".
	
	Fixes: #3487321



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 11:17:11 +00:00
juanmanuelr 9c49af839b 2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php
	 operation/events/events.php: Changed validation and set in process
	 to javascript code (pending fixes in this feature).
	 
	 Fixes: #3487339



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-28 10:49:33 +00:00
juanmanuelr a643fe6674 2012-02-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Added avg_only option to boolean 
	graphs, string graphs have more space between elements in legend,
	added units to all graphs.
	* include/graphs/functions_fsgraph.php: Added unit to flash chart
	of type 2D column.
	* include/graphs/fgraph.php: Added unit to static version.
	* include/functions_forecast.php: Fixed division by zero in 
	projection graphs when all data is zero.
	* operation/agentes/stat_win.php: Added avg_only option for boolean
	graph. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-27 16:20:28 +00:00
mdtrooper edf3b1cf9a 2012-02-24 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/include/functions_ui.php: changed the source code into the
	function "ui_get_full_url" for accept false for to return url with the home
	url or with any string (as query) return url with the php file.

	* pandora_console/include/functions_graph.php,
	pandora_console/include/functions_html.php,
	pandora_console/include/functions_events.php,
	pandora_console/include/functions_reporting.php,
	pandora_console/include/functions_api.php,
	pandora_console/include/functions.php, pandora_console/index.php,
	pandora_console/extensions/system_info.php,
	pandora_console/operation/agentes/stat_win.php,
	pandora_console/operation/menu.php,
	pandora_console/operation/events/events_rss.php,
	pandora_console/operation/events/events_marquee.php,
	pandora_console/operation/events/events.php: change in more part of source
	code to use "ui_get_full_url" instead the hard write method of $_SERVER
	vars, now Pandora Console run fine (in all actions I hope) with web servers
	in other ports instead the typical 80.

	Merged from branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-24 13:48:46 +00:00
juanmanuelr f3f9cbd5b9 2012-02-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php
	 operation/events/events.php: Changed functionality of state events
	 to javascript. Don't need to refresh all view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-23 19:24:07 +00:00
vgilc 5a905a1635 2012-02-16 Vanessa Gil <vanessa.gil@artica.es>
* operation/events/events_list: Changed extended info
	to event list.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-16 17:32:19 +00:00