Commit Graph

3491 Commits

Author SHA1 Message Date
javilanz bdf1f1c5a0 2011-02-21 Javier Lanz <javier.lanz@artica.es>
* godmode/alerts/alert_templates.php: Truncated Group name
	* godmode/alerts/alert_actions.php: Truncated Group name


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 13:23:46 +00:00
Ramon Novoa 02f4027ff0 2011-02-21 Ramon Novoa <rnovoa@artica.es>
* godmode/massive/massive_edit_agents.php: Check for false instead of
	  the number of updated agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 13:10:31 +00:00
slerena 2c5be45868 2011-02-21 Sancho lerena <slerena@artica.es>
* DEBIAN/postinst: Fixed bad ownership for /inconming/* subdirs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 12:09:27 +00:00
mdtrooper 795f264cd0 2011-02-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.builder.php: added the conditional to hide the
	create template or action when the user haven't privileges for this action.
	
	Fixes: #3182535



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3936 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 11:42:14 +00:00
Ramon Novoa b73275af69 2011-02-21 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/alerts_status.php: Fixed ACL check for alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-21 11:26:42 +00:00
jsatoh 6a55c96223 2011-02-19 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/configurar_agente.php: Fixed bad layout when
	length of agent name is more than 25.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-19 05:58:21 +00:00
mdtrooper 2e0f01f00a 2011-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, operation/search_modules.php,
	operation/search_agents.php: sorry, I didn't think about the subgroups may
	have other subgroups (and this may be recursive), rewrite the SQL for
	search with groups, now the groups come from the PHP function to get
	all groups, children groups, grandchildren groups...



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 15:13:34 +00:00
mdtrooper 9990475faf 2011-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php, operation/search_modules.php,
	operation/search_agents.php: fixed SQL querys, this querys in previous
	version haven't lines SQL code for to search into subgroups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 14:41:52 +00:00
javilanz 79fbcd9b75 2011-02-18 Javier Lanz <javier.lanz@artica.es>
* operation/servers/view_server.php: Fixed ACL permissions
	* operation/servers/view_server_detail.php: Fixed ACL permissions
	* operation/menu.php: Let an "AR" user view 'Pandora servers' menu
	
	Fix: #3183477


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3923 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 13:28:13 +00:00
Ramon Novoa 4414864c68 2011-02-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Verify that there is a data server running
	  when computing server stats. Thanks to Tadashi Kaneda.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 11:42:56 +00:00
mdtrooper 1446e03579 2011-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.js: fixed bug that erase the
	label of items when moving in other position.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 11:31:09 +00:00
javilanz edb520afa4 2011-02-18 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/configure_gis_map.php: Adding layer, group combo only
	displays user's groups.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 10:35:07 +00:00
javilanz f3dd1100c5 2011-02-18 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/configure_gis_map.php: Group combo now only displays
	user's groups.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-18 09:50:09 +00:00
slerena 1760658573 2011-02-18 Sancho Lerena <slerena@artica.es>
* operation/agentes/gis_view.php: Fixed ACL Problems in operation
        view (Was looking for PM instead AR!). Fixed search by date in data
        view for GIS data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3914 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 23:50:57 +00:00
juanmanuelr 1ef03ea5b1 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reports.php
	godmode/reporting/reporting_builder.main.php
	godmode/reporting/reporting_builder.php:Only administrator users can select and see 
	group All in this views. 

	Fix: #3183412, 3183413 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 18:44:48 +00:00
javilanz b73bd20296 2011-02-07 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/index.php: Only display Default column to an admin
	user


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 18:24:06 +00:00
juanmanuelr 76c2095868 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_custom_graphs.php
	godmode/reporting/graph_builder.main.php
	godmode/reporting/graphs.php: Only administrator users can select and see 
	group All in this views.
	
	Fix: #3183419, 3183421



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3908 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 18:11:56 +00:00
juanmanuelr 047b70c43c 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/agentes/estado_agente.php
        godmode/alerts/configure_alert_template.php
        godmode/alerts/alert_list.builder.php: Now users can see alerts and templates
        of their groups and group "All".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3905 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 17:20:31 +00:00
javilanz e768b60f80 2011-02-17 Javier Lanz <javier.lanz@artica.es>
* godmode/gis_maps/index.php: Show only user's GIS maps
	
	Fix: #3183432


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 17:17:29 +00:00
Ramon Novoa 73193744c6 2011-02-17 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_agent_status.php,
	  include/help/es/help_agent_status.php,
	  include/help/ja/help_agent_status.php: The 'no monitors' status does
	  not make sense now that all modules have a status.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 16:31:39 +00:00
mdtrooper 67968de9b6 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_agente.php: fixed the re-apply the safe_input in
	the search.
	
	Fixes: #3184647
	
	* include/functions_db.php: cleaned source code style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3899 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 15:47:51 +00:00
Ramon Novoa 810516479a 2011-02-17 Ramon Novoa <rnovoa@artica.es>
* include/functions.php: Hide custom SQL reports from non PM users
	  when creating reports.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 15:46:22 +00:00
mdtrooper 9e4e0fd87e 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* images/os_icons/android_small.png,
	images/os_icons/embedded_small.png: added lost image files.
	
	Fixes: #3183495



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 15:03:24 +00:00
juanmanuelr fe7738e007 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/alerts/configure_alert_template.php
	  godmode/alerts/alert_templates.php
	  godmode/alerts/configure_alert_action.php
	  godmode/alerts/alert_actions.php
          godmode/alerts/alert_list.builder.php: If user is not admin then can't
	edit/delete/copy alerts/templates of other groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3895 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 15:00:19 +00:00
mdtrooper f4e2888590 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: fixed the type of icon
	when create and after edit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 11:02:28 +00:00
juanmanuelr b6bcc3d852 2011-02-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/visual_console/index.php: Correction for my last commit. Now in this 
	view users can see maps of group "All".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 10:51:32 +00:00
mdtrooper 5ce81492e6 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js: cleaned the forgotten
	calls to generate traces for firebug.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 10:44:14 +00:00
mdtrooper a1723b6acd 2011-02-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php: fixed the panel
	propierties for icon in the edition and creation, now it haven't label color
	and have preview icon and map link.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-17 10:34:29 +00:00
juanmanuelr 7e67360fda 2011-02-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_alerts.php: New function get_alert_actions_filter.
	* operation/agentes/estado_agente.php: If user is not admin or doesn't have
	'PM' privileges then don't display alerts of others groups.
	* godmode/alerts/configure_alert_template.php: If user is not admin or doesn't have
	'PM' privileges then don't display templates of others groups.
	* godmode/alerts/configure_alert_action.php: Don't show "create command" option
	in this view if current user is not administrator or or doesn't have
	'PM' privileges.
	* godmode/alerts/alert_list.builder.php: If user is not admin or doesn't have
	'PM' privileges then don't display alerts of others groups.

	Fixes: #3182557, 3182566 	

	* include/functions_visual_map.php: Added a parameter in function get_user_layouts for 
	return All group or not.
	* godmode/reporting/visual_console_builder.data.php: In map creation only display "All"
	group if user has 'PM' privileges or is administrator.
	* godmode/reporting/map_builder.php: If user is not admin or doesn't have
	'PM' privileges then don't display maps of others groups.
	* operation/visual_console/index.php: If user is not admin or doesn't have
	'PM' privileges then don't display maps of others groups.

	Fixes: #3175721, 3175730	

      	* godmode/users/configure_user.php: Only are shown "pandora management" and 
	"database management" profiles if current user is not administrator or or doesn't have
	'PM' privileges.	
	* godmode/alerts/alert_list.list.php: Fixed query for alert search.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 18:39:28 +00:00
Ramon Novoa 55f1028987 2011-02-16 Ramon Novoa <rnovoa@artica.es>
* include/functions_menu.php: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3886 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 17:47:18 +00:00
Ramon Novoa 952ca218b5 2011-02-16 Ramon Novoa <rnovoa@artica.es>
* include/functions_menu.php, operation/menu.php: Added a title to GIS
	  maps and Visual console maps in the menu. Fixes bug #3182148.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 17:41:52 +00:00
mdtrooper 6e251e7812 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: added links to services in the items in
	the view of visualmap.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 17:33:37 +00:00
Ramon Novoa 7cc8e631c8 2011-02-16 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Do not update the module description
	  if it's empty. Fixes bug #3162637.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 16:50:19 +00:00
mdtrooper c9189d19ff 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php: fixed other safe_ouput in
	the editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3879 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 16:17:45 +00:00
mdtrooper 77bdf75c8a 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: added lost safe_ouput in the extract
	DB fields.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 16:06:42 +00:00
mdtrooper 088c778277 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: added function "createInternalNameItem"
	and "get_items_parents".
	
	*include/ajax/visual_console_builder.ajax.php, 
	godmode/reporting/visual_console_builder.editor.php: changed the method to
	show items without name in visualmap as parents in the selectbox.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 15:37:55 +00:00
mdtrooper 8e95699fdd 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the edit to set items with empty
	names.
	
	* include/ajax/visual_console_builder.ajax.php: fixed the position of
	items "icons".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 13:26:28 +00:00
mdtrooper 8fb53fee71 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed check "<>" in other case as the ajax
	calls in the visual map.
	
	* godmode/reporting/visual_console_builder.editor.js: cleaned source code
	and added some comments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3871 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 12:43:24 +00:00
juanmanuelr 41ba768c36 2011-02-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/users/user_list.php: If user is not admin then don't 
	display users of others groups.

	Fixes: #3175670	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 11:11:05 +00:00
mdtrooper cf9f029ad3 2011-02-16 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: fixed the position of items in visual
	map when print by PHP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 09:22:13 +00:00
jsatoh 91f84a1f9d 2011-02-16 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/tentacle_server: Added a filter option.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-16 04:22:45 +00:00
mdtrooper bf8e33789b 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 b6812ef82f 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* operation/visual_console/render_view.php: fixed the link to edit
	visual console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 18:01:48 +00:00
mdtrooper 8f99cb00b8 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_users.php: fixed unclose parentheses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 17:53:38 +00:00
juanmanuelr 0c0ab29ec8 2011-02-15 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/users/user_list.php: Only display administrator users if
	current user is administrator too. 
	* godmode/users/configure_user.php: Only administrator can create
	administrator users. Only administrator users can assign group "All" to
	a profile.  

	Fixes: #3180761



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 17:49:13 +00:00
mdtrooper 37df52a4ff 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.postgreSQL.sql, pandoradb.data.postgreSQL.sql: added column
	threshold from changes in last Ramon commit in MySQL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 17:39:26 +00:00
mdtrooper 314628b8ff 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: fixed the lost var in the audit.
	
	Fixes: #3182470



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:46:34 +00:00
Ramon Novoa 5dac65d9ee 2011-02-15 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for action thresholds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:42:37 +00:00
Ramon Novoa 716c90b318 2011-02-15 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql, include/functions_alerts.php,
	  pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql,
	  godmode/alerts/alert_list.list.php, godmode/alerts/alert_list.php,
	  godmode/alerts/configure_alert_action.php, godmode/alerts/alert_actions.php,
	  godmode/alerts/alert_list.builder.php: Added support for action thresholds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:40:23 +00:00
mdtrooper f0546e9013 2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_alerts.php, operation/agentes/estado_agente.php: added
	check ACL in the show actions in the creation and edit of alerts.
	
	Fixes: #3166657



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-15 16:13:03 +00:00