Commit Graph

122 Commits

Author SHA1 Message Date
zarzuelo 417dcbbe28 2012-11-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php
	include/functions_networkmap.php
	operation/agentes/status_monitor.php
	operation/netflow/nf_live_view.php: Improve the 
	performance of networkmap with the new status counts.
	Modify some common code between console and metaconsole



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



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 16:14:45 +00:00
mdtrooper 16a8340e1d 2012-10-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: fixed the order of vars in the
	asignation into the code of function "agents_get_modules".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-10-11 17:24:41 +00:00
mdtrooper 9b0ac6ed2e 2012-10-11 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/networkmap.ajax.php: added the code for the
	metaconsole in the call "get_networkmap_summary" and added the
	call "get_networkmap_summary_pandora_server" for the tooltips in
	the metaconsole networkmap in the pandoras children nodes.
	
	* include/functions_agents.php: improve the execution time and
	cleaned the code for the function "agents_get_modules".




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




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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-25 09:59:03 +00:00
juanmanuelr a986c601eb 2012-07-24 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 include/functions_tags.php: Support for metaconsole tree counts.



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




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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-23 14:58:33 +00:00
juanmanuelr f9cd9a04d1 2012-07-20 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/db/mysql.php
	 include/functions_groups.php
	 include/functions_agents.php: Added functions to count global 
	 elements (groups or agents), counting disabled elements too. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-20 12:07:16 +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
juanmanuelr 51d54b7321 2012-07-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 operation/tree.php: Fixed some bugs in policy tree view. 
	 And cleaned source code.



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




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

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



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

	Merged from 4.0.2



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

	MERGED FROM 4.0.2



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


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



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

	MERGED FROM 4.0.2



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

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 12:57:53 +00:00
zarzuelo 417b31ab46 2012-05-09 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Merged from 4.0 the extra_sql
	get code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-09 16:13:31 +00:00
zarzuelo 957d8c679e 2012-05-09 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_alert_macros.php
	include/help/es/help_alert_macros.php
	include/functions.php
	include/functions_agents.php: Fixing some missing or wrong macros
	into help and added Minor and Major severities to alerts 
	and clean some code



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



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




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 12:56:14 +00:00
zarzuelo feda0edaa2 2012-04-12 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed pendigdelete
	rename of the modules when the agent is erased for
	bug 3509327



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-12 09:08:08 +00:00
zarzuelo 00eac177c5 2012-04-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed an error when try
	to retrieve policy acl's without agents choosed



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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5825 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-24 12:15:18 +00:00
juanmanuelr 2d43f001f8 2012-03-13 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_graph.php: Removed legend in 
	graphic_module_events function due to attachment overload.
	* include/functions_agents.php: Non-init count was bad because 
	normal modules are counted too.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-13 11:29:13 +00:00
mdtrooper 2c6041eaa1 2012-02-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php,
	godmode/agentes/module_manager_editor_common.php: cleaned source code style.

	* include/styles/dialog.css: fixed the bad comment lines.
	
	* include/styles/pandora.css: fixed the bad comment lines and added the
	style for the button to save in visual console editor.
	
	* images/file.disabled.png: added image file for the button save in the
	visual console editor.
	
	* images/config.disabled.png: fixed the image, now the side is equal to
	enabled image.
	
	* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php: added feature the save
	the movements of items when user want, and added feature the snap to grid
	the items in visual map, fixed the resize background (in some oldcases
	didn't run fine).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-21 14:05:57 +00:00
mdtrooper dc37bda382 2012-02-13 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_monitores.php, operation/agentes/ver_agente.php:
	cleaned source code style.
	
	* include/functions_agents.php: refixed the query to extract modules for the
	ACL policies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-13 12:54:41 +00:00
mdtrooper 10eac16b37 2012-02-10 Miguel de Dios <miguel.dedios@artica.es>
* * extensions/module_groups.php, include/functions_modules.php,
	godmode/agentes/module_manager_editor_prediction.php: cleaned
	source code style.

	* godmode/agentes/configurar_agente.php: cleaned source code style and fixed
	the duplication of module.
	
	* include/functions_agents.php: fixed the get modules into function
	"agents_get_modules", before the function return ever the policy modules
	without apply filter.
	
	Fixes: #3482260



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-10 13:23:12 +00:00
vgilc 561a5cc018 2012-01-25 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_agents.php: Bad behavior group filter
	in massive operations and policies management.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-25 12:40:11 +00:00
vgilc ec4c91e693 2012-01-25 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_agents.php: Fixed bug: Don't show
	good agents modules.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-25 09:58:21 +00:00
juanmanuelr 7ea01805e4 2012-01-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Removed Php warning in function 
	agents_get_agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5406 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-23 17:08:45 +00:00
juanmanuelr e1ea2d84ce 2012-01-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 operation/incidents/incident.php
	 operation/incidents/incident_detail.php
     operation/agentes/ver_agente.php
	 godmode/agentes/agent_incidents.php
	 godmode/agentes/configurar_agente.php: Added the possibility to add
	 agent to an incident and added new tab in agent view if the agent
	 has incidents associated.
  
	 * pandoradb.postgreSQL.sql
	 pandoradb.oracle.sql
	 pandoradb.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: modified 
	 table tincidencia.
	 
	 Pending task: # 3472447
	 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-23 17:01:00 +00:00
vgilc 7d6ab5a944 2012-01-23 Vanessa Gil <vanessa.gil@artica.es>
* operation/agentes/estado_agente.php
	  include/functions_agents.php: Simplify code estado_agente
	and fix bug in search filter.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-23 16:28:22 +00:00
juanmanuelr cc4bbbc2a5 2012-01-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_api.php
	 include/functions_agents.php
	 include/functions_alerts.php: New functionality for the Api.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-19 17:45:59 +00:00
vgilc f5eb6a24f0 2012-01-18 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_agents.php
	  operation/agentes/estado_monitores.php: Counter modified to ignore
	disabled modules.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-18 10:09:58 +00:00
vgilc 985083d10d 2012-01-17 Vanessa Gil <vanessa.gil@artica.es>
* include/functions_agents.php
	  extensions/module_groups.php: Fixed bug: sql error in
	extension "Module Groups" and popup alert.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-17 10:20:53 +00:00
juanmanuelr 07b7b9bdc1 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Fixed call to agents_get_modules
	with id_agent = 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 16:31:09 +00:00
juanmanuelr 77db5e5cc5 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Fixed bad sql sintax in 
	agents_get_agents function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 15:04:43 +00:00
juanmanuelr 629961b40d 2011-11-30 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Fixed bad sql sintax in 
	agents_get_agents funtion.
	
	Fixes: #3445995




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-30 14:55:08 +00:00
zarzuelo be011c85d3 2011-11-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed filter of the operation
	agents view for bug 3445244



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-29 17:09:51 +00:00
juanmanuelr c7f5f33f69 2011-11-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Changed parameter in 
	policies_get_modules_sql_condition function call. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-28 08:23:28 +00:00
juanmanuelr edb3b2e485 2011-11-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php
	 operation/menu.php
	 operation/gis_maps/render_view.php
	 operation/gis_maps/index.php
	 godmode/gis_maps/index.php: Fixed a problem with agent groups in 
	 gis maps.
	 
	 Fixes: #3438313



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5173 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-25 11:55:13 +00:00
juanmanuelr 765f78ee12 2011-11-25 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Fixed sql error in agents_get_agents
        function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-25 11:11:36 +00:00
zarzuelo 119d01fd6c 2011-11-24 Sergio Martin <sergio.martin@artica.es>
* include/functions_api.php
	include/functions.php
	include/functions_agents.php
	operation/search_modules.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/estado_monitores.php
	operation/agentes/ver_agente.php
	operation/search_agents.php
	operation/search_alerts.php
	godmode/agentes/module_manager.php
	godmode/agentes/modificar_agente.php
	godmode/agentes/configurar_agente.php
	godmode/alerts/alert_list.list.php
	godmode/users/configure_user.php: Reconstruct policy acl
	system to allow in enterprise version get extra access for 
	a user in a policy



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5168 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-24 18:19:09 +00:00
juanmanuelr 863a8c3047 2011-09-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_agents.php: Avoid bad syntax sql query
        in agents_get_modules_data_count() function when an agent doesn't
        have modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-16 10:22:21 +00:00