Commit Graph

2735 Commits

Author SHA1 Message Date
mdtrooper 8ee7086bbd 2010-07-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/gis_step_2.php: fixed when the spanish translation have a
	problematic characters.
	Fixes: #3029149



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3035 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 10:22:26 +00:00
raulmateos c156fe55b8 2010-07-19 Raul Mateos <raulofpandora@gmail.com>
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 21:11:06 +00:00
Ramon Novoa 8588920076 2010-07-19 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added support for file collections.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 17:27:59 +00:00
raulmateos 88df57b6e0 2010-07-19 Raul Mateos <raulofpandora@gmail.com>
* operation/users/user_edit.php, godmode/users/configure_user.php: Use
	icon and name in groups. Solved link problem due to user list last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 16:20:11 +00:00
darode 6eee9b5359 2010-07-19 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/groups/group_list.php: fixed bug that allow create and update
	groups with name field empty.
	Fixes: #3031642



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 15:16:56 +00:00
mdtrooper afe0df1c0e 2010-07-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: in function "get_agents" added the parameter
	$order to order list of agents.
	
	* operation/agentes/estado_agente.php: added icons for order by columns and
	source code for management this ordenation by Name, Os, Interval, Group and
	Last Contact. 
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 14:57:46 +00:00
raulmateos fe93374cbc 2010-07-19 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/status_monitor.php, godmode/groups/group_list.php:
	Center image.
	* godmode/users/user_list.php: Added delete text to table.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3029 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 14:46:08 +00:00
mdtrooper 9f41e971ec 2010-07-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed in the function "get_user_groups", order
	the list of groups by id_grupo for to other external operations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 12:13:17 +00:00
mdtrooper d3b96c6bd2 2010-07-19 Miguel de Dios <miguel.dedios@artica.es>
* operation/users/user.php, godmode/users/user_list.php: added the default
	order to columns.
	
	* godmode/agentes/modificar_agente.php: added the source code to order by
	Name, OS or group column in the list agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 12:01:55 +00:00
Ramon Novoa c2e9130c01 2010-07-19 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/make_deb_package.sh,
          pandora_server_installer,
          pandora_server.spec: Set proper permission for the md5 and
          collections directories.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 10:49:40 +00:00
Ramon Novoa 64e3e99fad 2010-07-19 Ramon Novoa <rnovoa@artica.es>
* DEBIAN/make_deb_package.sh,
          pandora_server_installer,
          pandora_server.spec: Create the collections directory.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 10:17:17 +00:00
darode 81242a1b9a 2010-07-19 Dario Rodriguez <dario.rodriguez@artica.es>
* util/tentacle_serverd: Fixed error in filter pattern, changed pattern
	.*\zip to .*\.zip


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 09:49:00 +00:00
zarzuelo 97a61be2c2 2010-07-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Fixed an index error of
	groups array.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 09:32:09 +00:00
mdtrooper 2d152475b7 2010-07-18 Miguel de Dios <miguel.dedios@artica.es>
* include/auth/mysql.php: added function "get_users" the check to $order
	parameter if it is array, extract the field and order.
	
	* operation/users/user.php, godmode/users/user_list.php: added posibility to
	sort by columns ID User, Full name or Last Contanct.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 08:55:29 +00:00
raulmateos fbd0b34a66 2010-07-18 Raul Mateos <raulofpandora@gmail.com>
* operation/incidents/incident_detail.php: Change Add button to links.
	* godmode/alerts/alert_list.list.php: Centered images.
	* godmode/alerts/configure_alert_action: Added link to create command.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-18 11:13:38 +00:00
zarzuelo 7135b8344b 2010-07-16 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql: Fixed the default data inserting the
	new colum of tgrupo "propagate"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3020 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 12:44:32 +00:00
darode 24f85e81ca 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc: fixed error that caused double free.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 12:42:38 +00:00
darode afb6e012a9 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc: fixed unclosed directory with function closedir
	and control posible delete errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 12:28:49 +00:00
darode e78abe09af 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc: fixed unclosed directory with function closedir.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 12:10:49 +00:00
darode d830a9dc36 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/util/unzip.exe: Added to bin/utils to use it to unzip 
	collections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 11:57:09 +00:00
darode 1ab8d24ba5 2010-07-16 Dario Rodriguez <dario.rodriguez@artica.es>
* misc/pandora_file.cc, pandora_file.h: Added function to remove directories
	recursively

        * win32/pandora_windows_service.cc, pandora_windows_service.h: Added
        support for unzip collections and improved functionality to manage
	collections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 11:43:07 +00:00
mdtrooper 9dacdae5ff 2010-07-15 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.php: fixed the pass to parameters between
	fullscreen and windowed mode.
	Fixes: #3013769



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 09:49:32 +00:00
mdtrooper ec5fb7b496 2010-07-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.php: fixed lost name of report when
	delete any element of this element.
	Fixes: #3025352



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 09:17:08 +00:00
raulmateos 57236938fa 2010-07-16 Raul Mateos <raulofpandora@gmail.com>
* operation/incidents/incident.php: Put create button on the right.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3012 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 09:12:35 +00:00
mdtrooper 91d13e4fa1 2010-07-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fixed typo in the tip.
	Fixes: #3029895



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 08:44:22 +00:00
jsatoh 5fb9e10eac 2010-07-16 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf: Added snmptrapd file path for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 02:49:50 +00:00
mdtrooper b6a3b408df 2010-07-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added the function "print_select_groups" to
	print the field select box for groups with tree style.
	
	* include/functions_db.php: in function "get_user_groups" added test to
	false value in parameter $privilege for get all groups without ACL test.
	Fixed in function "get_user_groups_tree" the call to "get_user_groups" with
	the correct parameters.
	
	* operation/incidents/incident.php, operation/incidents/incident_detail.php,
	operation/events/events.php, operation/agentes/status_monitor.php,
	operation/agentes/estado_agente.php,
	operation/agentes/alerts_status.functions.php,
	operation/agentes/exportdata.php, operation/agentes/networkmap.php,
	operation/messages/message.php, general/ui/agents_list.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/agentes/massive_add_alerts.php, 
	godmode/agentes/massive_delete_agents.php, 
	godmode/agentes/massive_config.php, 
	godmode/agentes/massive_delete_action_alerts.php, 
	godmode/agentes/massive_delete_alerts.php, 
	godmode/agentes/modificar_agente.php, 
	godmode/agentes/massive_delete_modules.php, 
	godmode/agentes/massive_add_action_alerts.php, 
	godmode/agentes/planned_downtime.php, 
	godmode/agentes/manage_config_remote.php, godmode/agentes/agent_manager.php,
	godmode/servers/manage_recontask_form.php, 
	godmode/alerts/configure_alert_compound.php, 
	godmode/alerts/alert_compounds.php, 
	godmode/alerts/configure_alert_template.php, 
	godmode/alerts/configure_alert_action.php, godmode/setup/gis_step_2.php, 
	godmode/users/configure_user.php, godmode/gis_maps/configure_gis_map.php, 
	godmode/reporting/graph_builder.main.php, 
	godmode/reporting/reporting_builder.main.php, 
	godmode/reporting/visual_console_builder.data.php: changed the fields select
	box of group to tree style select box for groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-15 15:20:43 +00:00
mdtrooper 1446aed5e3 2010-07-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php: added function "array_key_to_offset" to resolve
	the offset in associative array.
	
	* include/functions_db.php: added function "get_childrens" for get the
	childrens of a group, "get_parents" for get the parents of a group (with the
	flag propagate or not as you want). In function "check_acl" added the method
	to scan groups that propagate flag in the branches. Added functions
	"get_user_groups_tree_recursive" and "get_user_groups_tree" for extract the
	groups as treefied list. Added in the function "get_db_all_rows_in_table"
	added the parameter $order to get with ASC or DESC order the rows, by
	default is ASC as mySQL. 
	
	* godmode/groups/configure_group.php: added the field of propagate to update
	or creation a group.
	
	* godmode/groups/group_list.php: changed for the group trees the source code
	for to show the table as dinamic table that if the row have branch, you can
	click and desplegate children rows.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-15 11:25:38 +00:00
darode 16f3d39f87 2010-07-14 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added functionality
	to get collection from configuration file.
        * win32/pandora_windows_service.cc, pandora_windows_service.h: Added
	support for manage collections



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-14 17:16:08 +00:00
zarzuelo ba5c3aa0b9 2010-07-14 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	util/pandora_manage.pl: Added a create incident feature to
	CLI for pending task: 3019638



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-14 17:03:14 +00:00
mdtrooper 263416f343 2010-07-13 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: added in the table tgrupo the column 'propagrate' for to
	use in the subgroups trees (new feature in comming for 3.2).
	
	* extras/pandoradb_migrate_v3.1_to_v3.2.sql: added new migration SQL file to
	migrate from 3.1 to 3.2.
	
	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: erase old file, only find into
	repository the branch 3.1.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-14 09:59:00 +00:00
mdtrooper 53368bf4e9 2010-07-13 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_templates_form.php: fixed the error
	message when update with nothing a template (0 rows to update) .



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-14 09:37:23 +00:00
mdtrooper 6b4c1b29c7 2010-07-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: changed the form to upload one or more
	files to more easy. And changed other things for stetic reasons.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 18:04:37 +00:00
darode 76e22972cf 2010-07-13 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agent_conf.cc: Added support to parse collections
	* pandora_agent_conf.h: Added support to parse collections



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 17:24:00 +00:00
zarzuelo 52c019637f 2010-07-13 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/datos_agente.php: Putted back data range
	filter into raw data of the modules for bug: 3023769



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 13:02:40 +00:00
darode 50b3ae8e0f 2010-07-13 Darío Rodríguez <dario.rodriguez@artica.es>
* include/help/en/help_reporting_main_tab.php: Added help for report
	creator for English.
	* include/help/es/help_reporting_main_tab.php: Added help for report
	creator for Spanish.
	Fixes: #3013763



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 10:36:38 +00:00
darode 346ed80344 2010-07-13 Darío Rodríguez <dario.rodriguez@artica.es>
* godmode/reporting/graph_builder.php: Fixed problem when creating or
	updating a graph with empty name.
	Fixes: #3026943



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 09:31:30 +00:00
zarzuelo 766b3073f3 2010-07-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php
	godmode/reporting/visual_console_builder.editor.php: Fixed the
	visualmaps for ignore the disabled and delete pending modules
	for bug: 3022892



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 09:25:21 +00:00
darode 6c137ca8f0 2010-07-13 Darío Rodríguez <dario.rodriguez@artica.es>
* general/pandora_help.php: Delete interrogation picture to get a 
	better style.
	Fixes: #3028524



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 08:42:17 +00:00
raulmateos 790229b764 2010-07-12 Raúl Mateos <raulofpandora@gmail.com>
* Changelog: Forgotten File.
Changes are:
	* godmode/setup/setup.php: Updated year. Cleaned code.
	* godmode/alerts/alert_list.builder.php: Added link to create action.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 21:09:22 +00:00
raulmateos 5913d3ea42 2010-06-19 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/networkmap.php: Added text if twopi binary not
	found.
	* include/functions/functions_networkmap.php: Fixed url to group_view.
	Solves bug 3013775.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 21:06:32 +00:00
Ramon Novoa 43bdb6d8d3 2010-07-12 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: changed the module cron configuration token to
          module_crontab.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 16:35:26 +00:00
Ramon Novoa 9aed18321e 2010-07-12 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.h, modules/pandora_module_factory.cc,
          modules/pandora_module.cc, pandora_windows_service.cc: Added the
          module_cron feature to schedule modules using a cron-like syntax and
          some small fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 16:31:07 +00:00
mdtrooper 2fc280c375 2010-07-12 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/configure_alert_compound.php: fixed the page to request
	ajax, now it's new ajax page.
	Fixes: #3020713



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2992 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 15:00:34 +00:00
mdtrooper 77d831ae9e 2010-07-12 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_visual_console.js: in function "draw_line"
	changed the const 15 value to dinamic value half width of image.
	Fixes: #3019645
	
	* godmode/reporting/visual_console_builder.editor.js: cleaned source code
	and deleted unused function "eventsButtonsToolbox", this function was in
	old wip version of visual editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 14:37:31 +00:00
darode d9cac2f700 2010-07-12 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/reporting/visual_console_builder.php: fixed error getting
	image size creating a map without background
	Fixes: #3014276



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 14:03:04 +00:00
mdtrooper 70f698cf4c 2010-07-12 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: re-ordered the tabs. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 13:09:01 +00:00
zarzuelo 17dc36524d 2010-07-12 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.php: fixed the
	reset of the size when change a visual map background



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 11:45:50 +00:00
darode 98d990a511 2010-07-12 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/search_results.php: fixed bug in search with zero matches
	and filtering by: maps, reports or graphs.
	Fixes: #3025607



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 11:42:15 +00:00
darode 8965dea92f 2010-07-12 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/estado_agente.php: fixed bug with pagination offset
	and search.
	Fixes: #3014703



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 10:55:29 +00:00