Commit Graph

3200 Commits

Author SHA1 Message Date
raulmateos 47e80e29c2 2010-09-30 Raúu Mateos <raulofpandora@gmail.com>
* godmode/users/*.php: Removed reference to gperfiles sec.
	* godmode/profiles/: Deleted no more used folder.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 10:40:23 +00:00
raulmateos dfa4785d9b 2010-09-30 Raul Mateos <raulofpandora@gmail.com>
* operation/menu.php: Changed sound_events.php page size.

	* operation/events/sound_events.php: Added some missing HTML tags.
	Added style.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3323 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 09:35:42 +00:00
zarzuelo 48e8cbd985 2010-09-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php: Fixed SQL errors in
	alerts view with not administrator users for bug: 3078113



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-30 07:57:34 +00:00
mdtrooper 1759e7b808 2010-09-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_groups.php: added first version of file with the
	function "checkUsedGroup".
	
	*include/Image/Canvas.php, include/Image/Canvas/GD.php,
	include/functions.php, mobile/operation/agents/view_agents.php: cleaned
	source code style.

	* godmode/groups/group_list.php: fixed the check if the group to delete is
	empty.
	
	Fixes: #3074223



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 17:16:34 +00:00
zarzuelo 1940382424 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php
	operation/messages/message.php: Fixed the ACLs 
	to show only the user group users in the destination
	users combo for bug: 3077857



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 16:02:13 +00:00
zarzuelo a921364450 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* godmode/massive/massive_copy_modules.php: Fixed the
	massive modules copy for bug 3078010



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 15:25:59 +00:00
zarzuelo 0d6e95d4db 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Fixed the
	ugly layout of the alerts list in godmode section
	for bug 3077999 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 15:11:51 +00:00
zarzuelo 78523ee7b5 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* operation/visual_console/render_view.php: Fixed the
	missing full screen tab in the visual console section
	for bug: 3078003



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3315 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 14:44:03 +00:00
zarzuelo 4d3f41de7a 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/tactical.php: Hide the server
	and global data in the tactical view to not
	administrator users



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 14:42:42 +00:00
zarzuelo 5cc94385bb 2010-09-29 Sergio Martin <sergio.martin@artica.es>
*  operation/agentes/tactical.php: Allowed to show
	in process events in tactical view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 10:41:17 +00:00
zarzuelo 52e705862c 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php: Change to the new status 
	images and names to the events on the tactical view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 10:35:47 +00:00
zarzuelo 618d4ede28 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/javascript/jquery.pandora.controls.js
	godmode/groups/group_list.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_edit_agents.php: Added the massive
	agent editor to the massive operations for pending task
	#3057662



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3311 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 10:28:10 +00:00
zarzuelo 24260e0f91 2010-09-29 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/fields_manager.php: Fixed the custom fields 
	section notice where is empty



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-29 09:23:12 +00:00
zarzuelo 6cd20eebe5 2010-09-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Added style parameter to the 
	print_extended_select_for_time function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-28 09:08:30 +00:00
mdtrooper 3273b653ae 2010-09-27 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/sound_events.php: fixed the ajax check for when start
	with empty list of events. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 12:50:29 +00:00
mdtrooper 7d1bc48cb9 2010-09-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_menu.php, operation/events/events_list.php: cleaned
	style source code.

	* operation/menu.php: added subentry in "View events" for "Sound Events".
	
	* operation/events/events_rss.php: added source code for the $id_agent equal
	-2 (this mean that get the agent by text name) and added new check for new
	status.
	
	* operation/events/events.php: added source code for the $id_agent equal -2
	(this mean that get the agent by text name).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 11:24:43 +00:00
raulmateos d7905df54f 2010-09-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/modificar_agente.php: Vertical aligned some icons.
	TO DO: The table should be "migrated" to new table code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 10:31:21 +00:00
zarzuelo 35e66d384d 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/graph_builder.preview.php: Fixed few
	foreach loops to avoid notices setting empty array to 
	false variables



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 10:23:04 +00:00
raulmateos 6616f03746 2010-09-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/users/user_list.php, godmode/users/configure_user.php:
	change the sec url variable to show the menu highlighted.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 09:52:22 +00:00
zarzuelo f88c915db8 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* operation/events/events_list.php: Added confirm popup
	to delete event button



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 08:12:57 +00:00
zarzuelo 41f8a941c8 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.php: Fixed typo bug



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 08:04:13 +00:00
zarzuelo 83ac9a3d2f 2010-09-27 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.main.php: Set default
	value to id_group to avoid notices



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 07:48:14 +00:00
jsatoh 44bdafc55f 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server, FreeBSD/tentacle_server: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 02:07:56 +00:00
jsatoh f2d39acd67 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 02:06:34 +00:00
jsatoh 9cacd6f1d2 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server, FreeBSD/tentacle_server: Changed PID
	detection method to support "jail", FreeBSD virtualization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 02:00:36 +00:00
jsatoh 545a0c13cf 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/FreeBSD/pandora_agent: Changed PID detection method to support
	"jail", FreeBSD virtualization.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 01:56:08 +00:00
jsatoh d0aec09389 2010-09-27 Junichi Satoh <junichi@rworks.jp>
* unix/pandora_agent_installer: Set PANDORA_USER="root" when it is
	not defined.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-27 01:51:13 +00:00
slerena 5b4b39a1ea 2010-09-26 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Updated some missing deps.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3293 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-26 17:19:51 +00:00
slerena b1f80528ca 2010-09-26 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Updated some missing deps.

        * operation/agentes/estado_generalagente.php: Fixed
        notice on empty array.

        * pandora_console.redhat.spec: Specific SPEC for redhat.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-26 16:07:28 +00:00
zarzuelo 38b181d00c 2010-09-24 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added the apply_policy
	help



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-24 11:57:14 +00:00
zarzuelo fdad25e9b7 2010-09-24 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Tools.pm: Moved the util functions 
	from pandora_manage to Tools.
	* util/pandora_manage.pl: Added the apply policy
	feature: includen conf file management; modules, alerts
	and collection creation 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-24 11:09:44 +00:00
slerena bad9df7eb1 2010-09-24 Sancho Lerena <slerena@artica.es>
* install.php: Updated version and build

        * pandoradb_data.sql: Updated database schema versioN/build



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3289 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-24 11:05:57 +00:00
mdtrooper 22410dbebd 2010-09-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: fixed the lost $url var, recovered from the
	last version of SVN.
	
	Fixes: #3071767



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3288 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-24 10:41:52 +00:00
raulmateos b9b075ace2 2010-09-23 Raul Mateos <raulofpandora@gmail.com>
* extensions/users_connected.php: Show text to admin if no other
	user connected.
	TO DO: This extension gives non-accurate information due to the use 
	of timestamp in one hour since the login event. It should be
	improved to check logout events in table.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 13:35:59 +00:00
raulmateos 3294c9f55f 2010-09-23 Raul Mateos <raulofpandora@gmail.com>
* Changelog: Forgotten file

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3286 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 12:41:14 +00:00
raulmateos 72ee277665 2010-09-23 Raul Mateos <raulofpandora@gmail.com>
* godmode/users/user_list.php: Able to edit profiles.
	* godmode/users/configure_profile.php: New page, based on the old
	profile one (that should be deleted if all it's OK)
	* godmode/menu.php: Removed profiles menu entry.
	* godmode/alerts/alert_list.list.php: Centered several icons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 12:34:06 +00:00
mdtrooper 797761c5bd 2010-09-23 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/make_deb_package.sh, pandora_server_installer, pandora_server.spec:
	changed the permissions 750 for the dir "data_in" to 770, for to allow the
	web api call for add module data for agent.
	
	TODO: change the pandora_server.redhat.spec the permissions for dir
	"data_in".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 12:06:15 +00:00
mdtrooper b07a40eade 2010-09-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: added function "set_module_data" for to hook
	call to create module data across web api.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 11:52:07 +00:00
zarzuelo 2ab88e69b5 2010-09-23 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Improved the db_process_insert
	function against the null values



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3282 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 11:29:08 +00:00
mdtrooper 6c026e02c4 2010-09-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events.php: fixed the re-include two time the file.
	
	Fixes:  #3073577



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 09:59:34 +00:00
zarzuelo 9935209777 2010-09-23 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/DB.pm: Added a function db_process_insert
	to insert a generic query receiving a hash reference with
	the parameters (columns in index and value in values)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-23 08:16:44 +00:00
slerena 1610883d02 2010-09-22 Sancho Lerena <slerena@artica.es>
* pandora_agent.spec: Updated RPM spec for SUSE




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 18:32:52 +00:00
slerena 0d9e2930a4 2010-09-22 Sancho Lerena <slerena@artica.es>
* extras/build_src.sh
        extras/build_rpm.sh: Fixed scripts for my enviroment (SUSE 11.3)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 18:31:25 +00:00
slerena 12cd24a88f 2010-09-22 Sancho Lerena <slerena@artica.es>
* pandora_server/pandora_server.spec: Updated spec with some
        missing deps.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 18:25:11 +00:00
slerena bdb0800e51 2010-09-22 Sancho Lerena <slerena@artica.es>
* pandora_console.spec: Spec for SUSE updated. Version, and some dep
        names updated.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 17:44:54 +00:00
mdtrooper 9419f38fda 2010-09-22 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: fixed previous commit of jobmate that erase some lines of
	ChangeLog. 
	
	* index.php: cleaned source code style.
	
	* mobile/include/style/main.css: added style for the login mobile page.
	
	* mobile/include/user.class.php: the "loginShow" function have a nice
	login box with some style.
	
	* mobile/images/transparent_pixel.gif, mobile/images/key.gif: added image
	files for the login page. The key image is created for "barretr" in
	http://www.openclipart.org/detail/3330.
	
	* mobile/index.php: changes for to show logout and new login box.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 16:52:29 +00:00
slerena d2ff833921 2010-09-22 Sancho Lerena <slerena@artica.es>
* godmode/reporting/visual_console_builder.elements.php,
        godmode/reporting/visual_console_builder.editor.php: Fixed bug 
        #3073239: bad intervals in combo for period selection.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 14:15:28 +00:00
Ramon Novoa fde9ec150a 2010-09-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Fixed a couple of missing macros in 
	  SNMP alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 11:26:12 +00:00
zarzuelo 053ef37f6d 2010-09-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_modules.php: Fixed bad call to 
	enterprise function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 08:21:08 +00:00
zarzuelo 4eb8ee8690 2010-09-22 Sergio Martin <sergio.martin@artica.es>
* util/pandora_manage.pl: Added the parameter with
	a definition module to module creation to create 
	a local module



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 07:57:43 +00:00