Commit Graph

130 Commits

Author SHA1 Message Date
darode 1706c1f9fd 2013-04-02 Dario Rodriguez <dario@artica.es>
* include/functions_api.php: New function to create a tag
        via API.
        * include/functions_tags.php: Create tag only if not exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7916 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-02 16:49:43 +00:00
hkosaka 86efc9c40e 2013-03-15 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Improved performance of
	get_tree_agents() API by omitting unnecessary data copies and
	queries when output fields are explicitly specified.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-15 06:30:26 +00:00
mdtrooper a9c29eb474 2013-03-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/setup_netflow.php,
	include/help/ja/help_snmp_trap_types.php,
	include/functions_extensions.php,
	include/functions_snmp_browser.php, include/functions_events.php,
	include/functions_api.php: improved the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-04 14:41:26 +00:00
darode ef8efa9938 2013-02-28 Dario Rodriguez <dario@artica.es>
* include/functions_api.php: Added new API function to
        create custom field and to get custom field ID by name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 14:41:26 +00:00
mdtrooper 696700f0ef 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: added code to set the config options
	for the history actions.
	
	Fixes: #3606285
	
	* include/functions_api.php: improved the source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 09:46:39 +00:00
darode f6f7bbcaeb 2013-02-27 Dario Rodriguez <dario@artica.es>
* include/functions_events.php: Added new fields to events_create_event 
	function: critical warning and unknown instructions, source and tags.
	* include/functions_api.php: Reimplemented api_create_event API function, 
	the behaviour was completly wrong from documented and events_create_event
	function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 16:03:22 +00:00
mdtrooper 5413b96d55 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/setup_general.php, godmode/setup/setup_netflow.php,
	godmode/setup/setup.php, godmode/setup/performance.php,
	godmode/setup/setup_visuals.php, include/functions_config.php: added
	check of update the options in the setup and show the message to
	success or not the operation for the user.
	
	Fixes: #3605972
	
	* include/functions_api.php,
	operation/agentes/estado_generalagente.php: fixed the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 14:25:24 +00:00
mdtrooper 5b6c2a43fb 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js, include/functions_api.php:
	improved the source code style.
	
	* operation/agentes/estado_generalagente.php: fixed the set name
	style for the agent.
	
	Fixes: #3606134




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 10:22:51 +00:00
mdtrooper de78e7da9d 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/agent_manager.php: updated the code to module
	constants.
	
	* include/javascript/pandora_modules.js: fixed the set the
	module_data from to the json.
	
	* include/functions_api.php: cleaned source code style.
	
	* include/constants.php: addded lost constant for the module
	prediction.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 09:51:48 +00:00
mdtrooper eb145f1d29 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, operation/agentes/alerts_status.php:
	improved the style code.
	
	* include/functions_alerts.php: in function "get_group_alerts" fixed
	the get all alerts, sometimes set empty the return array.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 13:21:24 +00:00
mdtrooper 24e1fe692e 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form_common.php,
	godmode/massive/massive_edit_modules.php,
	include/functions_api.php: improved the form of modules the part
	of critical and warning widgets.
	
	Fixes: #3605482




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 10:29:52 +00:00
mdtrooper 43d7cac813 2013-02-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, include/functions_agents.php,
	include/functions_config.php, include/ajax/reporting.ajax.php,
	include/functions_snmp_browser.php,
	operation/agentes/status_monitor.php: improved code style.
	
	* include/functions_graph.php, include/graphs/fgraph.php,
	include/graphs/flot/jquery.flot.pie.js,
	include/graphs/flot/jquery.flot.pie.min.js,
	include/graphs/flot/pandora.flot.js,
	include/graphs/functions_flot.php: fixed the pie graphs, added the
	expanded version of flot pie js file with some changes for the
	last version of jQuery.
	
	Fixes: #3604555




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7675 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 10:35:04 +00:00
zarzuelo 9becfa4231 2013-02-14 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql: Fixed the macros of the
	default plugin MySQL

	* include/functions_groups.php
	include/functions_api.php
	include/functions_ui.php
	include/functions_agents.php
	include/functions_modules.php
	include/constants.php
	operation/agentes/estado_ultimopaquete.php
	godmode/db/db_sanity.php
	godmode/agentes/agent_template.php
	godmode/agentes/configurar_agente.php
	godmode/servers/plugin.php: Create a function to disable
	modules fixing the status counts and replace the old way of
	do it in all the console. Fixin a lot of old way of create 
	and delete modules too to use the centralized function and 
	dont break counts. BUG 3604463



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 12:55:53 +00:00
mdtrooper 3b22a943a8 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/group_list.php, include/ajax/events.php,
	include/functions_api.php: improved the style code.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 18:03:08 +00:00
vgilc bf84c30269 2013-01-16 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added 'agent_name' and
	'module_name' in option 'create_event'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-16 15:55:50 +00:00
zarzuelo 7e6afb0696 2013-01-16 Sergio Martin <sergio.martin@artica.es>
* include/ajax/events.php
	include/functions_graph.php
	include/functions_events.php
	include/javascript/pandora_events.js
	include/functions_config.php
	operation/events/events_list.php
	operation/events/events.php: Create a new
	event visor to metaconsole history events

	* include/functions_api.php: Added a new API function
	to create netflow filters



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-16 12:57:11 +00:00
vgilc 95b2d22285 2013-01-16 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Change 'add comments' and
	'owner user' in create events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-16 12:33:45 +00:00
juanmanuelr 478de7caf3 2012-12-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb_data.sql
	pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql: Added new column email to ttag table.


	* include/styles/pandora.css: Fixed loading class.

	* include/functions_api.php: Fixed get_all_agents api function. 
	 
	* include/functions_ui.php
	include/javascript/pandora.js: Improvement in agent_autocomplete
	function.
	
	* operation/reporting/reporting_viewer.php
	godmode/reporting/reporting_builder.php
	godmode/reporting/reporting_builder.item_editor.php: Fixes in report
	viewer for metaconsole.
	
	* godmode/tag/tag.php
	godmode/tag/edit_tag.php: Added email fields in editors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-31 08:01:28 +00:00
hkosaka 9a6378f694 2012-12-19 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Added function
	'api_get_pandora_servers'.

        * include/functions_servers.php: Fixed a type.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-19 08:48:12 +00:00
mdtrooper 276dc53b02 2012-12-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/alert_list.builder.php,
	operation/messages/message_edit.php, include/functions_api.php,
	operation/reporting/reporting_xml.php,
	godmode/reporting/graph_builder.graph_editor.php: cleaned source
	code style.
	
	* include/functions_io.php: improved the function "__" for to hook
	the translations from metaconsole.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 16:50:38 +00:00
Ramon Novoa 57ed0d5362 2012-12-13 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php: Further improved netflow
	  performance.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 11:04:12 +00:00
mdtrooper 2b0bcb6846 2012-11-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style.
	
	* include/functions_api.php: fixed typo error that stoped the
	execution of api.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-12 14:53:33 +00:00
zarzuelo c9d7920e6b 2012-10-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	include/ajax/events.php
	include/functions_api.php
	godmode/alerts/alert_commands.php: Fix some
	event viewer bugs and command editor little
	aesthetic issues

	* pandoradb.sql
	pandoradb.postgreSQL.sql
	pandoradb.oracle.sql: Delete ttag_event table




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 11:48:28 +00:00
hkosaka 0e91645349 2012-10-30 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: added 'description' parameter to
	'create_group' API.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-30 07:59:55 +00:00
Ramon Novoa 0841750413 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
mdtrooper 16324125b9 2012-10-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the function
	"api_set_apply_all_policies".
	
	Fixes: #3576289
	
	* include/functions.php, include/functions_filemanager.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-26 17:37:57 +00:00
vgilc 9cb42fd9f4 2012-10-15 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added function validate_event_
	by_id.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-15 08:44:40 +00:00
Ramon Novoa 7007a261e3 2012-10-11 Ramon Novoa <rnovoa@artica.es>
* include/functions_graph.php,
	  include/functions_api.php,
	  include/functions_netflow.php,
	  operation/netflow/nf_live_view.php,
	  operation/netflow/nf_view.php: Small fixes to netflow reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 15:52:26 +00:00
Ramon Novoa 3e884c74b8 2012-10-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_api.php:  Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-04 10:53:22 +00:00
vgilc a0fd16a060 2012-10-03 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Changed function create
	event.


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

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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-02 11:11:58 +00:00
mdtrooper f24f80c3b4 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 8772c67f13 2012-09-19 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added function: tactical
	view.


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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 14:45:59 +00:00
vgilc 9508511faf 2012-09-19 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added functions: event_info
	and create_event.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-19 11:28:57 +00:00
vgilc 70fdf849e7 2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added new
	functions to API.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 13:32:54 +00:00
vgilc a4e76728ac 2012-09-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Fixed bug creating
	new agent.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-18 09:08:21 +00:00
mdtrooper 8afc508476 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
vgilc 4a6653a89d 2012-06-31 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_api.php: Added functions to api.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-31 08:44:10 +00:00
mdtrooper 44ac0709ba 2012-08-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: fixed when the metaconsole is
	not set.
	
	* godmode/reporting/reporting_builder.php: cleaned source code
	style.
	
	* include/functions_reports.php: fixed into the function
	"reports_get_reports" to get reports in All group for users of
	others groups.
	
	* include/functions_api.php: fixed the confused error messages when
	there is data events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 15:28:55 +00:00
mdtrooper be61f4454a 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 982e5c0906 2012-08-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Force the static graphs in the 
	last added function to api



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-10 09:04:52 +00:00
zarzuelo 70c05df8d8 2012-08-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Add the missed function api_get_graph_module_data
	and update it to work with last graph system



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-10 08:33:48 +00:00
mdtrooper 3646e7b843 2012-08-02 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql, pandoradb.data.postgreSQL.sql,
	pandoradb.data.oracle.sql, include/functions_config.php: fixed the
	"list_ACL_IPs_for_API" update.
	
	* operation/events/events_marquee.php, godmode/setup/setup.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/map_builder.php, godmode/reporting/graphs.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_list.builder.php,
	godmode/alerts/configure_alert_special_days.php,
	include/functions_api.php, include/functions_ui.php,
	include/functions_netflow.php, include/functions_alerts.php,
	include/functions_menu.php, include/functions_messages.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-03 12:48:09 +00:00
zarzuelo 0c685638d4 2012-08-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Improve returns of 
	conf file operation to give more info



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-02 11:38:31 +00:00
zarzuelo f8833bb217 2012-08-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Fixed broken return of
	the get module from conf function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-02 10:46:43 +00:00
zarzuelo 7c56996a3a 2012-08-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Change the return of the
	functions recently added to numeric values to be 
	easily checkable



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-02 09:19:05 +00:00
zarzuelo 990da2e5f2 2012-07-31 Sergio Martin <sergio.martin@artica.es>
* pandora_console/include/functions_api.php: Added 
	a safe_input to fix entities problems in last feature



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-31 16:28:15 +00:00
zarzuelo d12c23c21c 2012-07-31 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Added API function to 
	get the module data info from the agent conf file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-31 15:58:35 +00:00
zarzuelo 3fc02a0571 2012-07-31 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php: Fix a unclosed key



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-31 10:34:33 +00:00