Commit Graph

154 Commits

Author SHA1 Message Date
mdtrooper f39fdfcff1 2012-10-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_networkmap.php: fixes and changes for the new
	form to set the urls and url images.
	
	* include/functions_html.php: fixed the "html_print_image" for the
	relative urls images (uses in the networkmap).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-10 14:49:03 +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
juanmanuelr adca78f659 2012-10-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Fixed print_image when source image 
	doesn't exists on metaconsole then try to search it in normal 
	console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 16:21:27 +00:00
juanmanuelr 0d5ebd12d7 2012-10-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Fixed path to images in metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 09:12:01 +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 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
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
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
mdtrooper 9087beb4de 2012-09-07 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, include/functions_ui.php,
	include/functions_html.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 15:51:47 +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 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
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
mdtrooper 5614af7385 2012-08-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: fixed into the function
	"html_print_select" when pass a grouped array and try to sort.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-20 18:50:10 +00:00
zarzuelo 6a35a3a9f6 2012-08-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_users.php
	include/functions_html.php
	include/constants.php
	godmode/modules/manage_network_components_form_plugin.php: order 
	functions to use from enterprise side, fix little interface bug in
	components form



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-06 08:40:31 +00:00
mdtrooper 7ec8ce0f85 2012-07-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/alerts/alert_list.php, godmode/menu.php,
	godmode/snmpconsole/snmp_filters.php, godmode/tag/edit_tag.php,
	include/functions_alerts.php, include/functions_html.php,
	pandoradb.sql, index.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-30 08:45:40 +00:00
zarzuelo dfca96e341 2012-07-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Change the sort function
	of the html_print_select to use natural order (merging 
	lower and upper case chars)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6813 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-26 09:28:00 +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
mdtrooper 104bc62283 2012-07-06 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php,
	include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	include/functions_visual_map_editor.php: uploaded some fixes and
	changes for the visualmap, for example refactored some part of
	print the visualmap in operation.
	
	* include/functions_html.php: fixed when included from standarlone
	file from enterprise structure directory.
	
	* include/constants.php: added constants for avoid magic numbers
	into the code of Visualmaps.
	
	* include/graphs/functions_gd.php, include/functions.php,
	include/functions_io.php, include/functions_modules.php,
	include/functions_ui.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-06 11:45:02 +00:00
juanmanuelr f30b0dac38 2012-07-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Changed path to image in 
	html_print_image function if metaconsole is being using.
	
	* include/javascript/jquery.pandora.js: Added checks for jquery
	 dialog messages that avoid js warnings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-05 09:31:12 +00:00
zarzuelo d48d55cb04 2012-07-05 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora_modules.js
	include/javascript/pandora.js
	godmode/agentes/module_manager_editor_common.php
	godmode/modules/manage_network_components_form_common.php: 
	Fixed several bugs of the network/local components javascript
	code and added new fields to local components
	Add new code on advanced select for time to update it from
	javascript and a workaround to do it from code loaded through 
	ajax



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6736 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-05 09:16:57 +00:00
mdtrooper d067f972ef 2012-07-03 Miguel de Dios <miguel.dedios@artica.es>
* ajax.php: added support for the enterprise, because some case
	this file can't call enterprise functions.
	
	* godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.constans.php (delete),
	include/functions_visual_map_editor.php,
	include/ajax/visual_console_builder.ajax.php,
	include/functions_visual_map.php: some parts of code had been
	refactored because it is necesary for to add enterprise feature to
	Visual map.
	
	* include/constants.php: cleaned source code style and added and
	reordened the constants for visual maps.
	
	* include/functions_html.php, include/styles/pandora.css,
	include/functions_ui.php, include/functions.php, index.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-03 15:39:37 +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
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
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
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
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
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
mdtrooper 14f5937b2f 2012-04-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, extensions/net_tools.php: cleaned
	source code style.
	
	* include/functions_networkmap.php: into the functions
	"networkmap_generate_dot" and "networkmap_create_agent_node"
	added new parameter $relative for set the url of icons as relative.
	It is used in networmap enterprise.
	
	* include/functions_ui.php: fixed into the function
	"ui_print_message" lost the javascript code when the first messages
	are without close button. And into the function "ui_print_os_icon"
	added new parameter $relative for set the url of icons as relative.
	It is used in networmap enterprise.
	
	Merged from the branch "pandora_4.0".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-17 13:08:08 +00:00
mdtrooper 7c4571ac25 2012-04-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added into function "html_debug_print" the
	equal output to log file, this is with more data.
	
	* include/functions_db.php: cleaned source code style.
	
	* extensions/update_pandora/functions.ajax.php,
	extensions/update_pandora/functions.php,
	extensions/update_manager/lib/libupdate_manager.php,
	extensions/update_pandora.php: added extension to update pandora from the
	targz of Sourceforge.
	
	Merged from the branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 15:57:48 +00:00
mdtrooper d68b6be81e 2012-03-22 Miguel de Dios <miguel.dedios@artica.es>
& Sergio Martin <sergio.martin@artica.es> using Gobby collaborative
	real-time editor http://obby.0x539.de
	
	* include/functions.php: changed into the function "get_report_types" the
	array types to tree for show better the select box, and changed into the
	function "get_report_name".
	
	* include/functions_forecast.php: fixed into the function
	"forecast_projection_graph" when zero data and change to user the user conf
	style for the dates.

	* include/functions_html.php: the function "html_debug_print" was improved
	to show type and sizes.

	* include/functions_reporting.php: renamed the function "header_content" to
	"reporting_header_content" and in this function change to use the user conf
	style for the dates.
	
	* include/functions_networkmap.php: cleaned source code style.
	
	Merged from the branch pandora_4.0
	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-22 12:14:15 +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
zarzuelo f7864144db 012-03-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	include/functions.php
	include/functions_alerts.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_list.builder.php: Improved the
	periods control and added it to the alerts action threshold 
	and alert template threshold



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-21 10:58:52 +00:00
mdtrooper 1047be10a4 2012-03-20 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: now the function
	"html_print_input_text_extended" accept a script code as string for event
	"keyup" or as array where the index is string for each event where you want
	add javascript code. And make more pretty the page of report and cleaned
	source code style. 

	* include/functions_reporting.php,
	godmode/reporting/reporting_builder.list_items.php,
	godmode/reporting/reporting_builder.php: changed the old method to order
	items in a report for the method with checks and move the block of items.

	* godmode/reporting/reporting_builder.preview.php: removed this file, now
	it use the html view in operation. 
	
	Merged from the branch pandora_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 11:46:24 +00:00
zarzuelo 4ce050d774 2012-03-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js: Fixed problem with two 
	or more time controls at the same time adding uniq id
	to selects

	* godmode/agentes/module_manager_editor_common.php
	godmode/reporting/reporting_builder.item_editor.php: Clean
	code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-16 12:03:59 +00:00
zarzuelo 3b633261c6 2012-03-16 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	images/pencil.png
	images/default_list.png: Improved the usability
	of the periods advanced control toggling between
	manual and default mode



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5784 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-16 09:23:09 +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
mdtrooper ff2d9b1ded 2012-03-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: into the function "html_print_select" removed
	the hardcode style for the selectbox.
	
	* godmode/reporting/visual_console_builder.wizard.php: force the style of
	content table of form.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-12 18:53:32 +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
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
mdtrooper b174a1064e 2012-02-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: cleaned source code style, and into the
	function "html_print_select" fixed when the data hasn't "optgroup" items.
	
	* include/functions_reports.php: cleaned source code style, and into the
	function "reports_get_report" fixed empty arrays of reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-09 14:38:57 +00:00
slerena a0c8b8019e 2011-11-03 Sancho Lerena <slerena@artica.es>
* include/functions_html.php:  Skip config.php loading after load 
        the first one.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-03 19:55:24 +00:00
zarzuelo b52b55b323 2011-10-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Deleted problematic name change
	into textarea function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-25 08:41:30 +00:00
juanmanuelr f206da951a 2011-09-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/help/en/help_visual_console_editor_editor_tab.php
        include/help/en/help_reporting_list_items_tab.php
        include/help/en/help_alert_template.php
        include/help/en/help_alert_action.php
        include/help/en/help_alert_command.php
        include/help/en/help_alert_compound.php
        include/help/en/help_reporting_wizard_sla_tab.php
        include/help/en/help_reporting_wizard_tab.php
        include/help/en/help_graph_view.php
        include/help/en/help_module_linking.php
        include/help/en/help_visual_console_editor_list_elements_tab.php
        include/help/en/help_visual_console_editor_data_tab.php
        include/help/en/help_policy_agent.php
        include/help/en/help_profile.php
        include/help/en/help_visual_console_editor_wizard_tab.php
        include/help/en/help_graph_builder.php
        include/help/en/help_event_alert.php
        include/help/en/help_external_alert.php
        include/help/en/help_visual_console_editor_preview_tab.php
        include/help/en/help_reporting_item_editor_tab.php
        include/help/en/help_snmp_alert_custom.php
        include/help/en/help_reporting_preview_tab.php
        include/help/en/help_policy_queue.php
        include/help/en/help_snmp_alert.php
        include/help/en/help_graph_editor.php
        include/help/en/help_reporting_global_tab.php
        include/help/es/help_visual_console_editor_editor_tab.php
        include/help/es/help_reporting_list_items_tab.php
        include/help/es/help_alert_template.php
        include/help/es/help_alert_action.php
        include/help/es/help_alert_command.php
        include/help/es/help_alert_compound.php
        include/help/es/help_reporting_wizard_sla_tab.php
        include/help/es/help_reporting_wizard_tab.php
        include/help/es/help_graph_view.php
        include/help/es/help_module_linking.php
        include/help/es/help_visual_console_editor_list_elements_tab.php
        include/help/es/help_visual_console_editor_data_tab.php
        include/help/es/help_policy_agent.php
        include/help/es/help_profile.php
        include/help/es/help_visual_console_editor_wizard_tab.php
        include/help/es/help_graph_builder.php
        include/help/es/help_event_alert.php
        include/help/es/help_external_alert.php
        include/help/es/help_visual_console_editor_preview_tab.php
        include/help/es/help_reporting_item_editor_tab.php
        include/help/es/help_snmp_alert_custom.php
        include/help/es/help_reporting_preview_tab.php
        include/help/es/help_policy_queue.php
        include/help/es/help_snmp_alert.php
        include/help/es/help_graph_editor.php
        include/help/es/help_reporting_global_tab.php: New help pages.

        * godmode/alerts/alert_list.list.php
        godmode/alerts/alert_compounds.php
        godmode/alerts/alert_templates.php
        godmode/alerts/alert_actions.php
        godmode/alerts/alert_list.builder.php
        godmode/alerts/alert_commands.php
        godmode/snmpconsole/snmp_alert.php
        godmode/users/profile_list.php
        godmode/modules/manage_network_templates.php
        godmode/reporting/graph_builder.php: Added contextual alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-15 18:52:54 +00:00
mdtrooper 194eca91d8 2011-08-17 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php, include/functions_networkmap.php,
	include/functions_ui.php: fixed to use the name of file in tconfig_os
	instead the id for icon networkmap.

	* images/networkmap/*: renamed the image files to use the names of
	tconfig_os.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-17 16:22:29 +00:00
juanmanuelr 4d5f2fc6cc 2011-08-08 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
        include/functions_networkmap.php
        include/functions_ui.php: Fixes warnings in apache log due to
wrong
        parameters on graphviz node definitions.

        Fixes: #3375357



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4683 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-08 15:41:52 +00:00
zarzuelo 8ed140be3a 2011-07-27 Sergio Martin <sergio.matin@artica.es>
* include/functions_html.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Fixed several
	warnings of undeclared variables and use of not supported parameter
	of function strstr in php 3.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-27 10:04:55 +00:00
zarzuelo 13d4cd30b3 2011-07-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Fixed check when no 
	agents for bug 3371316



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4586 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-19 13:30:39 +00:00
juanmanuelr 1f4787ea4f 2011-07-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
	include/functions_networkmap.php
	include/functions_ui.php: Several fixes in networkmap.
	
	Fixes: #3297487



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 15:47:29 +00:00
juanmanuelr 7f064d069c 2011-07-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php: Fixed function print_select_groups()
	to retrieve subgroups with parent distinct than "group All". 
	
	Fixes: #3365845
		
	* godmode/agentes/modificar_agente.php: Fixed call to 
	print_select_groups() to check user ACLs.
	
	* ChangeLog: fixed date of my last commit.
	
	* general/logoff.php: Changed logout splash screen.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4557 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-13 16:39:35 +00:00
juanmanuelr a206db6db7 2011-07-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_html.php
	include/styles/dialog.css
	include/styles/pandora_blackmetal.css
	include/styles/menu.css
	include/styles/pandora_black.css
	include/styles/pandora.css
	include/functions_ui.php
	extensions/update_manager/main.php
	operation/visual_console/index.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/alerts_status.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/gis_view.php
	operation/agentes/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/agentes/graphs.php
	operation/agentes/group_view.php
	operation/users/user_edit.php
	operation/events/events_list.php
	operation/messages/message.php
	operation/reporting/graph_viewer.php
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	images/agents_group.png
	images/application_double.png
	images/sitemap.png
	images/application_edit.png
	images/file.png
	images/page_white_text.png
	images/zoom.png
	images/page_refresh.png
	images/cog_del.png
	images/setup.png
	images/tag_red.png
	images/computer_error.png
	images/ok.png
	images/link_delete.png
	images/attachment.png
	images/god5.png
	images/god9.png
	images/down.png
	images/lightbulb.png
	images/help.png
	images/brick.png
	images/pill.png
	images/link_edit.png
	images/database_gear.png
	images/b_white.png
	images/wrench_orange.png
	images/up.png
	images/link_add.png
	images/chart_curve.png
	images/email_open.png
	images/page_white.png
	images/link2.png
	images/box.png
	images/clock.png
	images/note.png
	images/rss.png
	images/skin/skin_default/include/styles/pandora.css
	images/extensions.png
	images/flag_red.png
	images/database.png
	images/images.png
	images/cog.png
	images/b_yellow.png
	images/groups_small/clock.png
	images/groups_small/world.png
	images/groups_small/server_database.png
	images/groups_small/computer.png
	images/cancel.png
	images/add.png
	images/mouse.png
	images/server_database.png
	images/computer.png
	images/book_edit.png
	images/lupa.png
	images/heart.png
	images/database_lightning.png
	images/user.png
	images/link_break.png
	images/edit.png
	images/page_white_magnify.png
	images/normalscreen.png
	images/sitemap_color.png
	images/go.png
	images/config.png
	images/database_refresh.png
	images/link_go.png
	images/comments.png
	images/email.png
	images/lock.png
	images/os_icons/so_linux.png
	images/os_icons/android_small.png
	images/os_icons/android.png
	images/os_icons/so_linux_small.png
	images/error.png
	images/god3.png
	images/god7.png
	images/calendar_view_day.png
	images/data.png
	images/fullscreen.png
	images/server_web.png
	images/lupa_15x15.png
	images/lightning_go.png
	images/star.png
	images/user_suit.png
	images/upd.png
	images/application.png
	images/music_note.png
	images/lightbulb_off.png
	images/application_not_writable.png
	images/sort_down.png
	images/eye.png
	images/lightning.png
	images/header.jpg
	images/wrench.png
	images/mimetypes/unknown.png
	images/mimetypes/image.png
	images/mimetypes/zip.png
	images/mimetypes/directory.png
	images/mimetypes/text.png
	images/delete.png
	images/bricks.png
	images/world.png
	images/wand.png
	images/delete_modules.png
	images/disk.png
	images/group.png
	images/god8.png
	images/server.png
	images/bug.png
	images/page_lightning.png
	images/house.png
	images/log-out.png
	images/monitor.png
	images/information.png
	images/cross.png
	images/sort_up.png
	general/login_page.php
	general/logon_ok.php
	general/logoff.php
	godmode/groups/group_list.php
	godmode/admin_access_logs.php
	godmode/db/db_audit.php
	godmode/db/db_refine.php
	godmode/db/db_event.php
	godmode/agentes/agent_template.php
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/fields_manager.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/agent_manager.php
	godmode/servers/recon_script.php
	godmode/servers/plugin.php
	godmode/servers/manage_recontask.php
	godmode/servers/modificar_server.php
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_templates.php
	godmode/alerts/alert_actions.php
	godmode/alerts/alert_commands.php
	godmode/snmpconsole/snmp_alert.php
	godmode/snmpconsole/snmp_filters.php
	godmode/users/user_list.php
	godmode/users/profile_list.php
	godmode/gis_maps/index.php
	godmode/massive/massive_operations.php
	godmode/modules/manage_network_templates.php
	godmode/modules/manage_network_components.php
	godmode/reporting/reporting_builder.list_items.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/visual_console_builder.data.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/graph_builder.preview.php
	godmode/tag/tag.php
	godmode/tag/edit_tag.php: Improved Css styles.

	* images/splash_pandora.png
	images/black_red_header.png
	images/black_background.png: Added images for new styles. 
	
	*include/styles/pandora_red.css
	include/styles/pandora_width.css: Deleted old styles.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-06 11:57:27 +00:00