Commit Graph

258 Commits

Author SHA1 Message Date
juanmanuelr 630d4800d8 2012-12-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_ui.php
	include/javascript/jquery.pandora.controls.js
	godmode/groups/configure_group.php
	godmode/groups/group_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_commands.php
	godmode/users/configure_user.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_nc_groups_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_components_form_wmi.php
	godmode/modules/manage_network_components.php
	godmode/modules/manage_nc_groups.php
	godmode/modules/manage_network_components_form_plugin.php: New
	editors for metaconsole: alerts, components, users and groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 19:37:35 +00:00
juanmanuelr cba92b1a08 2012-12-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/ajax/agent.php
	include/functions_ui.php
	include/javascript/pandora.js
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.php
	godmode/alerts/alert_list.builder.php
	godmode/users/user_list.php
	godmode/users/profile_list.php
	godmode/users/configure_user.php
	godmode/users/configure_profile.php: Added user and alert editor
	in metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-11 17:39:48 +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
zarzuelo 07553720f2 2012-12-10 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	godmode/agentes/module_manager_editor_common.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Added tags support
	to the network components



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-10 18:04:27 +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
zarzuelo a728401b83 2012-12-07 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Added id_category
	to network components and module editors



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-07 14:25:40 +00:00
zarzuelo 98aaeea0a7 2012-10-30 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_alerts.js
	godmode/alerts/configure_alert_action.php: Fix some bugs in
	the action form (jquery headache)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 16:52:56 +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
zarzuelo 97373f2eb2 2012-10-29 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	include/javascript/pandora_alerts.js
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.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/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_commands.php: Added 7 more fields to 
	alert actions and adapted templates to this feature (recovery
	included). Add the feature of custom the label and the possible
	data (to use textarea or select) from the command



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-29 08:45:06 +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
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
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 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 75b7a13c91 2012-09-20 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, include/functions_api.php: cleaned
	source code style. And erased deprecated functions.
	
	* include/functions_ui.php: I hope that is finished the changes for
	the function "ui_print_agent_autocomplete_input" (at the moment) and
	added a huge header doc on the function.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-20 13:45:23 +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 fd7a76859c 2012-09-14 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js,
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: cleaned source code
	style.
	
	* godmode/agentes/module_manager_editor_prediction.php,
	godmode/reporting/visual_console_builder.elements.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	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@6975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-14 17:54:33 +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
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
zarzuelo acce7617fa 2012-09-11 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js: Fixed the reset of the
	form of local modules after select a module component and
	unselect it



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-11 10:51:23 +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 84c5345e2d 2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php
	 include/javascript/pandora.js
	 include/functions_ui.php: Fixes in global, exception and sla
	 metaconsole reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 13:38:05 +00:00
juanmanuelr a67f4bc3d8 2012-09-10 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora.js: Fix over agent_module_autocomplete
	function due to problems with Chrome.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 12:54:02 +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
zarzuelo 0c83c40a55 2012-08-29 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora_legacy.css
	include/styles/pandora.css
	include/javascript/pandora_modules.js
	godmode/agentes/module_manager_editor_common.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php
	godmode/servers/plugin.php: Add macros to the local modules like
	the wizard or plugin modules. Fix some little bugs of interface




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6920 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-29 11:58:36 +00:00
mdtrooper d14eeb3887 2012-08-29 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
	include/db/mysql.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/planned_downtime.list.php,
	godmode/agentes/planned_downtime.editor.php, godmode/menu.php,
	include/ajax/planned_downtime.ajax.php: refactoriced the code for
	planned downtime, now this have new feature such as set a downtime
	with a periodicity each week, each month and set the agents and
	the modules with Quiet state instead the old form (but the old still
	is). And the page is more easy and quickly to set or config a
	planned downtime.
	
	* godmode/alerts/configure_alert_template.php,
	include/javascript/pandora.js: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-29 09:46:05 +00:00
zarzuelo 9c42aaad7d 2012-08-20 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: 

	* include/javascript/pandora_modules.js: Fixed
	the bad order of the fields when put it on the 
	form via ajax



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-20 10:42:24 +00:00
zarzuelo b2b23c7cb0 2012-08-17 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	godmode/agentes/module_manager_editor_plugin.php
	godmode/modules/manage_network_components_form_plugin.php: Fix some
	little issues in the interface of new plugin system

	* include/functions_visual_map.php: Fix a problem that the simple
	values didnt appear in view screen




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 12:18:00 +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
zarzuelo 60fc295dc9 2012-08-09 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php
	include/functions_groups.php
	include/javascript/pandora.js: Fix minor issues
	in the select for time advanced control. Improve some
	functions to use from metaconsole



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6852 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-09 11:45:33 +00:00
juanmanuelr e35c763b07 2012-07-27 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_groups.php:Removed trace.
	
    * include/javascript/pandora.js: Added modification to ajax call
	  when it's called form metaconsole.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-27 10:09:04 +00:00
zarzuelo daf16f2d83 2012-07-24 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_plugin.php: Put back the
	dynamic macros to open version



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 13:25:30 +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 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
zarzuelo 0a50fbcb1d 2012-07-17 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.scrollTo.js: Added jquery 
	library to do smooths and customized scrolls



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-17 12:54:24 +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
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
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
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
vgilc 3f7003c6a3 2012-05-30 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  pandoradb_data.sql
	  pandoradb.data.oracle.sql
	  pandoradb.data.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
	  index.php
	  godmode/users/configure_user.php
	  include/functions_config.php
	  include/auth/mysql.php
	  include/javascript/jquery.pandora.js: Added admin users to password policy
	and added password history.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 12:07:26 +00:00
zarzuelo a72abd8fc5 2012-05-21 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_alerts.js
	godmode/alerts/configure_alert_action.php: Added descrption of
	the selected command under the combo when select one in 
	the action editor to help user.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6328 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-21 10:28:35 +00:00
vgilc 77d040df63 2012-05-17 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  pandoradb_data.sql
	  pandoradb.data.oracle.sql
	  pandoradb.data.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
	  index.php
	  godmode/users/configure_user.php
	  include/functions_config.php
	  include/javascript/jquery.pandora.js: Added password policy.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-17 11:08:11 +00:00
zarzuelo a60652739e 2012-05-10 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js
	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
	godmode/agentes/module_manager_editor_common.php
	godmode/modules/manage_network_components_form.php
	godmode/modules/manage_network_components_form_common.php
	godmode/modules/manage_network_components.php: Fix some layout
	little bugs in module editor and added unit parameter
	to network components for pending task #3520706



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-10 15:35:28 +00:00
juanmanuelr e739de9f8a 2012-04-26 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/pandora.css
	 include/javascript/jquery.pandora.js
	 index.php
	 general/login_help_dialog.php: Added input for license in blocking
	 license modal windows.

	Merged from branches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 20:46:38 +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 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
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
juanmanuelr c88ead7e99 2012-04-12 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/jquery.pandora.js
	 extensions/update_manager.php
	 extensions/update_manager/settings.php: Added modal window with UM
	 license info.
	
	* extensions/update_license_info.php: Added extension with UM 
	license info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 14:43:26 +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
juanmanuelr 7b17039ff6 2012-04-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora.js
	 include/ajax/agent.php: Fixed autocomplete agent functionality when
	 metaconsole is activated.
	 
	 Fixes: #3514539



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-09 14:09:13 +00:00
zarzuelo bd27990f49 2012-04-09 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.pandora.controls.js
	godmode/groups/group_list.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_add_action_alerts.php: Improved the 
	template actions sections into massive operations 
	deleting compound deprecated alerts and showing only the
	agents with templates in the combos



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-09 11:09:40 +00:00
juanmanuelr ccefa59888 2012-04-04 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora_modules.js
	 include/functions.php
	 extensions/snmp_explorer.php
	 godmode/agentes/module_manager_editor.php: Fixed several errors in
	 snmp walk and snmp explorer functionality.
	 
	 Fixes: #3514508



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-04 12:30:11 +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
juanmanuelr 7403288064 2012-04-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/styles/dialog.css
	 include/javascript/jquery.pandora.js: Changed style in license 
	 advises to new appearance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-02 14:40:55 +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
vgilc fa04824354 2012-03-22 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 'operation'
	to treport_content_item table.

	* godmode/reporting/reporting_builder.item_editor.php
	  include/functions_reporting.php
	  include/ajax/reporting.ajax.php
	  include/javascript/pandora.js: Added operation: sum,max,min or avg to
	global reports.

	* images/sum.png
	  images/avg.png
	  images/min.png
	  images/max.png: Added icons.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-22 16:05:42 +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
zarzuelo ec8ea7dff9 2012-03-20 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.editor.php: add
	new period control to the visual console graph item editor




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-20 10:03:22 +00:00
zarzuelo 84b8b300c7 2012-03-16 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js: Fixed typo bug from last
	commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-16 12:08:10 +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 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 3ce5a68cff 2012-03-15 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	godmode/agentes/module_manager_editor_common.php: Added 
	advanced select for time to modules create/update form,
	improve layout of this form and add default value of 
	5 minutes to select



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-15 17:30:13 +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 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
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
mdtrooper b3335a3240 2012-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery-1.7.1.js,
	include/javascript/jquery-1.7.1.min.js, include/functions_ui.php: changed
	the library the version compress to readable version.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-08 13:01:23 +00:00
mdtrooper b41cf30286 2012-03-07 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.mousewheel.min.js: removed old version this
	library incompatible with the last version of jquery.
	 
	* include/javascript/jquery.mousewheel.js: added the last version (3.0.6) of
	this library for jquery.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-07 14:13:49 +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 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
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
juanmanuelr d100f24635 2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora_modules.js: "snmpwalk" button is 
	disabled after click on that button to avoid duplicate requests.
	
	Fixes: #3476128



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-29 11:56:26 +00:00
juanmanuelr 1e4179e57b 2012-02-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php	
	 include/javascript/pandora.js
	 operation/agentes/stat_win.php: Added new graph for module events
	 in the module popup graph window.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-13 10:54:45 +00:00
koichirok b695968809 2012-02-13 Koichiro Kikuchi <koichiro@rworks.jp>
* include/javascript/pandora_alerts.js: Removed double quotes which encolse
	  substituted field[1-3] from command preview.  pandora_server doesn't add
	  double quotes to enclose these fields.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-13 10:23:30 +00:00
juanmanuelr 91c4279ace 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_generalagente.php
	include/javascript/jquery.ui.dialog.js
	general/header.php: Fixed ui_dialog when graphs are displayed 
	behind.
	
	Fixes: #3441058



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 14:47:19 +00:00
juanmanuelr 9ed7d35b05 2011-11-14 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/pandora.js: Added ajax callback for metaconsole
	event search.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5133 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-14 22:16:47 +00:00
zarzuelo ab8cd93114 2011-09-28 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.pandora.controls.js: Moved part
	of the solution of last commit to the enterprise



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-28 09:54:32 +00:00
zarzuelo 188c0d6fd4 2011-09-28 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.pandora.controls.js: Fixed module 
	select refresh from jquery controls to fix the graph widget
	on dashboard



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-28 09:06:19 +00:00
jsatoh 43d7e32e05 2011-09-21 Junichi Satoh <junichi@rworks.jp>
* include/javascript/jquery.pandora.controls.js: Fixed disabled agents
	are shown as blank. Contributed by Yusuke Arai. Thanks!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-21 04:23:28 +00:00
mdtrooper c308960751 2011-09-06 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css,
	images/skin/skin_default/include/styles/pandora.css: added items to set the
	style of calendar tooltip.
	
	* include/calendar.js, include/javascript/calendar.js: erased the styles
	for the calendar.
	
	Fixes: #3371449



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-06 13:43:44 +00:00
juanmanuelr a2def9d355 2011-09-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/javascript/jquery.pandora.controls.js: Filter keycount variable
        in pandoraSelectGroupAgent javascript function.
        * godmode/massive/massive_add_action_alerts.php: Added 'Any' label to
        agents combo in this view and correct a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 11:14:46 +00:00
jsatoh f43fa31ec7 2011-08-22 Junichi Satoh <junichi@rworks.jp>
* include/javascript/jquery.pandora.controls.js,
	godmode/groups/group_list.php,
	godmode/massive/massive_delete_agents.php,
	godmode/massive/massive_edit_agents.php,
	godmode/massive/massive_delete_modules.php,
	include/functions_modules.php: Added group recursion feature,
	it allows to search agents in child groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-22 05:42:55 +00:00
mdtrooper e6f6ab5497 2011-08-18 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: fixed get the parameters
	snmp3_auth_method and snmp3_privacy_method.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 15:07:21 +00:00
zarzuelo c5d23bc9f4 2011-07-15 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora.js
	operation/agentes/ver_agente.php: Add hack to send to the ajax
	a custom condition of modules in the agent_changed_by_multiple_agents



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-15 12:45:23 +00:00
slerena e2790a2b75 2011-06-16 Sancho Lerena <slerena@artica.es>
* include/styles/install.css,
    include/styles/pandora.css,
    install.php: Yeeeha!, new look & feel for 4.0 version ! :-)

    * index.php: Minimal changes in session close (after the header
    render).

    * images/greyback.gif: New background for 4.0 (included the
    installer)

    * COPYING: removed bad carriage returns.

    * general/login_page.php: Small modifications to have a better
    style.

    * operation/system_alert.php,
    include/javascript/jquery.pandora.js,
    general/header.php: Implemented a "alert" icon who shows the general
    problems, instead naggin the user in each page. Incorporated the new 
    feature to warn user when he doesn't change the default password :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-16 19:26:45 +00:00
javilanz 7ab6d52403 2011-05-30 Javier Lanz <javier.lanz@artica.es>
* include/functions_reporting.php: Edited "render_report_html" function
	to work with metaconsole printing metaconsole elements
	* include/javascript/pandora.js: Modified autocomplete javascript to use
	with metaconsole
	* include/ajax/reporting.ajax.php: Edited to work with metaconsole
	* include/ajax/agent.php: Edited autocomplete to work with metaconsole
	* operation/agentes/ver_agente.php: Modified to get the agent's modules
	using metacofacensole
	* godmode/reporting/reporting_builder.list_items.php: Edited to display
	agents & modules in metaconsole. Edited top filters to work with
	metaconsole
	* godmode/reporting/reporting_builder.php: Added getting parameter
	server_name & fixed deleting items
	* godmode/reporting/reporting_builder.item_editor.php: Edited to send
	the host when metaconsole is active


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-30 17:04:34 +00:00
vgilc 5e9bbc1be5 2011-05-11 Vanessa Gil <vanessa.gil@artica.es>
* godmode/agentes/module_manager_editor.php
	include/javascript/pandora_modules.js: Fixed bug: Is possible to create a module plugin without module associated.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-11 13:53:24 +00:00
mdtrooper 355e1e89e6 2011-02-23 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: fixed the disabled button snmp when
	change any parameter of snmp.
	
	Fixes: #3168685



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-23 11:22:47 +00:00
mdtrooper 9c3cdfa3aa 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, operation/agentes/ver_agente.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php: fixed when the agent haven't
	any module and fixed when to try to create items without modules selected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 19:07:23 +00:00
mdtrooper 8e924c79f4 2011-01-31 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js, pandoradb.sql,
	extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components.php: added the "post process"
	parameter to network component and use in network component editor and
	module editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-31 09:23:05 +00:00
mdtrooper 8daf748030 2011-01-21 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js, operation/agentes/exportdata.php,
	operation/agentes/ver_agente.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php: fixed to show by ajax
	the disabled modules and the disabled agents.
	
	Fixes: #3155701




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-24 12:11:17 +00:00
juanmanuelr 9ba7a5ae72 2010-01-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/reporting/visual_console_builder.editor.js: Label parameter is now coded 
	in base 64 format when pgraph.php page is requested. 
	
	* godmode/reporting/visual_console_builder.editor.php: Added a javascript include.

	* include/javascript/encode_decode_base64.js: Added new javascript function for base 64 encoding/decoding.  

	Fixes bug #3152661, #3147119



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-01-13 17:32:44 +00:00
ramonn af18b475f8 2010-12-23 Ramon Novoa <rnovoa@artica.es>
* include/javascript/pandora.js: Translate space HTML entities.
	  Fixes bug #3142670.

	* godmode/alerts/configure_alert_action.php: Added a link to the
	  macro help page.



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 13:27:17 +00:00