Commit Graph

3064 Commits

Author SHA1 Message Date
raulmateos a7ca43f06d 2010-07-26 Raul Mateos <raulofpandora@gmail.com>
* godmode/users/user_list.php: Added px to width to ease the change of
	profile edition to this page.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 15:00:19 +00:00
zarzuelo c51aee2c19 2010-07-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Changed the priority of the
	status of agents and groups when get status from their 
	descendents



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 12:45:25 +00:00
mdtrooper 44548d82aa 2010-07-26 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: added into the function "get_group_icon" the
	return icon for "all" group.
	
	* godmode/groups/configure_group.php: fixed and cleaned source code, for
	the dinamic change of parent icon, show the select of parent with the
	parent selected, and fixed the position of parent icon image.
	Fixes: #3034677
	 
	* godmode/groups/group_list.php: changed the source code for to show the
	"all" group open branch by default.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 12:34:44 +00:00
zarzuelo 7bc29f1899 2010-07-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php: Changed the color of the
	modules, agents and groups with alerts fired in the network 
	maps from yellow to orange.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 12:03:13 +00:00
mdtrooper 0de9c3d8ec 2010-07-26 Miguel de Dios <miguel.dedios@artica.es>
* images/mimetypes/text.png: added lost image file in previous commits about
	collections.

	*images/tag_red.disabled.png, images/cross.disabled.png,
	images/chart_curve.disabled.png, images/config.disabled.png,
	images/chart_bar.disabled.png, images/photo.disabled.png,
	images/camera.disabled.png, images/binary.disabled.png: added image files
	for the new palete buttons (when it are disabled) in visual console editor.
	
	* include/styles/pandora.css: added the styles for the new buttons of
	visual console editor (label and icon), and some changes for new style for
	buttons of the palete in this page.
	
	* include/functions_html.php: in function "print_button" added new
	parameter $imageButton to set the button as image button, by default is
	false.
	
	* include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.constans.php: change the buttons
	palete for a palete with more small buttons as icon buttons, added new items
	for visual map (icon and label). And fixed the dinamic change label color
	for any elements.
	
	* include/functions_visual_map.php: added the new items (label and icon)
	and cleaned the source code.
	
	Pending task: #3019641



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 11:56:04 +00:00
ramonn 8295dcbdf8 2010-07-26 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Do not compress data for async modules.

        * lib/PandoraFMS/DataServer.pm: Check that the file exists before
          trying to parse the XML to avoid XML::Simple error messages.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 11:51:49 +00:00
darode 883d142545 2010-07-26 Dario Rodriguez <dario.rodriguez@integria.es>
* include/styles/pandora.css: Added css classes for separator.
	* include/functions_ui.php: Added suport to add a separator betwenn tabs
	in print_page_header.
	* operation/agentes/ver_agente.php: Fixed some problems with alt tag in
	images and added separator to tabs
	* godmode/agentes/configurar_agente.php: Fixed some problems with alt tag
	in images and added separator to tabs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 11:08:59 +00:00
raulmateos 552dbcb05c 2010-07-23 Raul Mateos <raulofpandora@gmail.com>
* godmode/alerts/alert_list.list.php: Added code to show title if page
	called from Manage Agents.
	* godmode/modules/manage_network_components.php: Change title.
	* godmode/gis_maps/configure_gis_map.php: Change fixed text to variable.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-23 17:10:08 +00:00
zarzuelo 24f6eb4c8f 2010-07-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	include/functions_db.php
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/ver_agente.php
	operation/agentes/networkmap.php: Rewritted the get status of modules
	and agents and writted the same feature for groups and policys. Added
	the groups view network map. All for pending task: 3019636



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-23 12:14:07 +00:00
darode 74804a0634 2010-07-23 Dario Rodriguez <dario.rodriguez@gmail.com>
* operation/agentes/ver_agente.php: Changed code to use print_page_header
	to print de tabs
	* godmode/agentes/configurar_agente.php: Changed code to use print_page_header
	to print de tabs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-23 10:55:20 +00:00
raulmateos dc6879c41c 2010-07-23 Raúl Mateos <raulofpandora@gmail.com>
* godmode/alerts/aler_list*.php: Cleaned code. Removed old title style.
	* godmode/agentes/massive_operations.php: Updated year. 
	* godmode/agentes/massive_config.php: Use better text in title and button.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-23 10:04:12 +00:00
mdtrooper 0b3ecdf549 2010-07-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/snmpconsole/snmp_view.php: added the show more data when click
	in the icon eye.
	Pending task: #3021813



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-22 16:36:02 +00:00
ramonn 51e4776428 2010-07-22 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Sort files by creation date before
          queuing them. Fixes bug #3031780.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-22 11:00:37 +00:00
mdtrooper d4e734416d 2010-07-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_ultimopaquete.php: added code for sort by
	data.
	
	* operation/agentes/estado_monitores.php,
	godmode/agentes/module_manager.php: added the icons and source code for
	order rows of list alerts by columns Module Name, Type, Interval and
	Timestamp.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 18:07:21 +00:00
mdtrooper e41b1583a3 2010-07-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: lost in previus commit the change to
	"print_select_groups" the new parameter $id_group, to don't show the group
	with id and children of this group.
	
	* include/functions_db.php: in function "format_array_to_where_clause_sql"
	added to order as array several fields.
	
	* operation/agentes/estado_ultimopaquete.php: added the icons and source
	code for order rows of list alerts by columns Module Name, Type, Interval
	and Timestamp.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 16:56:52 +00:00
mdtrooper 7cc25d95e3 2010-07-21 Miguel de Dios <miguel.dedios@artica.es>
* godmode/groups/configure_group.php: fixed to negate the posibility to hang
	the father into childrens or same.
	Fixes: #3032553
	
	* godmode/groups/group_list.php: fixed the delete a group with children, the
	children move to grandparent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3050 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 14:46:35 +00:00
raulmateos 87cdd10a3f 2010-07-21 Raul Mateos <raulofpandora@gmail.com>
* images/pandora_logo_header.png, images/custom_logo/pandora_logo_header.*,
	images/neworkmap/pandora_node.png: Updated images to new logo.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3049 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 13:05:19 +00:00
ramonn 1f05c08cd8 2010-07-21 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Delete unused collections.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 11:32:08 +00:00
mdtrooper 73e1da2479 2010-07-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/alerts_status.php: added the icons and source code for
	order rows of list alerts by columns Disabled, Agent Name, Module Name or
	Template Name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 11:10:58 +00:00
mdtrooper be5c23ec2a 2010-07-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: in function "get_agent_alerts_simple"
	changed the query for added the posibility of sort the rows.
	
	* include/functions_db.php: in function "format_array_to_where_clause_sql"
	added the posibility of order pass as array of field and sort order.

	*godmode/alerts/alert_list.list.php: added the icons and source code for
	order rows of list alerts by columns Disabled, Agent Name, Module Name or
	Template Name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 10:06:13 +00:00
darode a2fec2bb0f 2010-07-21 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added logic to search 
	existing collections in config file, and checking for ".." substrings in 
	path for security reasons.
	* win32/pandora_windows_service.h, pandora_windows_service.cc: Added logic
	to remove incoherences between collections directory and collection list 
	of config file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 10:03:20 +00:00
darode fdd9062bb5 2010-07-20 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added a variable to
	control if the collection is added to the PATH.
	* win32/pandora_windows_service.h, pandora_windows_service.cc: Added logic
	to check if the collection is added to the PATH or not.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 16:38:29 +00:00
ramonn cfd5d31396 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/SNMPServer.pm: Add extended information when saving
          an SNMP trap to a module.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 16:30:18 +00:00
mdtrooper 51ef0db39b 2010-07-20 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_results.php: added icons and source code for order the
	rows in the list of alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 15:24:07 +00:00
mdtrooper f3303809e5 2010-07-20 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_results.php: added icons for order columns in the user
	list and agent list.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 12:23:01 +00:00
ramonn 1562805071 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_server_installer: Delete the spool/pandora directory
          if no agent is installed on the same machine.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3039 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 12:01:47 +00:00
ramonn e91a9630b1 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_server_installer: Set safer permissions for data_in/conf.

        * util/pandora_db.pl: Fixed the setup password regular expression.
          Fixes bug #3026997.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 11:51:12 +00:00
ramonn 6f7bb07d9a 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Fixed some directories and permissions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 11:37:29 +00:00
ramonn 688a639202 2010-07-20 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer,
          DEBIAN/make_deb_package.sh,
          pandora_agent.spec: Updated to take the collections directory into
          account.

        * collections: Added to repository. Collections directory.

 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-20 10:45:55 +00:00
mdtrooper 4dfa31bdb3 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 6d4ae48885 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
ramonn b830dd1b60 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 b65e4c937b 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 af1aa88949 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 1a8cb34173 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 e321c2ba29 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 0211f5a0dc 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 c6d800168f 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
ramonn ca3b88868d 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
ramonn 361f370843 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 ed083ff775 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 10e77ad3a1 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 bef3314367 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 99f4d3499d 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 f80b1954db 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 c4a4da83f4 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 b164f8800e 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 16efe7ca33 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 2043eb3c52 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 99c4938c65 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