Commit Graph

794 Commits

Author SHA1 Message Date
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
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
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
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
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
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 9ef1819b52 2010-07-08 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/reporting/visual_console_builder.editor.php: fixed order in 
	Period combo box of Module Graph
	Fixes: #3014274



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 14:07:52 +00:00
mdtrooper 1d63ff109f 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_template.php: added the id_plugin column in the
	Insert query.
	Fixes: #3026805



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 12:41:26 +00:00
mdtrooper 065f2790ac 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/plugin.php: fixed the description text of ajax return
	when translate the &gt; or &lt; to < or > instead to keep the entity.
	Fixes: #3026785



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 11:12:15 +00:00
mdtrooper 56e3d3cbc0 2010-07-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: added const MIME_TEXT. added source
	code to handler the updload files, zips, delete files/dir and create text
	files. Added function "delete_directory" for to delete recursive and or
	not empty any dir, function "file_explorer" to show a file explorer,
	"box_upload_file_complex" to show a controls to upload file or multiple
	files in a zip, "box_upload_file_explorer" to show controls to upload
	file, "box_upload_zip_explorer" to show controls to upload multiple files
	in a zip, "box_create_text_explorer" to show controls to create text files,
	and in function "get_file_manager_file_info" use new const MIME_TEXT.
	
	* godmode/agentes/modificar_agente.php: cleaned source code, closed the <tr>
	tag.
	
	* godmode/agentes/configurar_agente.php: added hook to enterprise functions
	for collection.

	* godmode/menu.php: added hook to enterprise functions for collection.
	
	* godmode/setup/file_manager.php:changed the source code for use new modular
	functions to show and management files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-07 12:27:37 +00:00
zarzuelo 4e8f0f1a1b 2010-07-01 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/reporting_builder.list_items.php: Fixed the
	reports items filter for bug: 3013841



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-01 10:24:14 +00:00
zarzuelo cf4de8461c 2010-06-30 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.editor.js: Fixed 
	the storing of width and height of item in visual maps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 15:01:41 +00:00
zarzuelo 7414748d73 2010-06-29 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.editor.js
	godmode/reporting/visual_console_builder.editor.php: Fixed
	storing of width and height of the background of the visual map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2933 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-29 12:58:54 +00:00
zarzuelo 55682bc536 2010-06-29 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/visual_console_builder.php
	godmode/reporting/visual_console_builder.editor.js: 
	Fixed the setting of original size by javascript when you 
	choose 0 x 0 in the visual map background for Bug: 3020721



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-29 10:52:58 +00:00
zarzuelo f2bad4e427 2010-06-23 Sergio Martin <sergio.martin@artica.es>
* include/auth/mysql.php
	operation/users/user.php
	godmode/users/user_list.php: Added pagination
	to users list in operations and administration



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2920 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-23 09:15:45 +00:00
raulmateos bc561e177e 2010-06-22 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/graph_builder.main.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/graph_builder.preview.php: Updated year. Clean Code.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-22 16:16:28 +00:00
zarzuelo 822941696e 2010-06-21 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.main.php
	godmode/reporting/graph_builder.php
	godmode/reporting/graph_builder.graph_editor.php
	godmode/reporting/graph_builder.preview.php: Rewritted
	the combined graphs editor



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2918 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-21 15:59:37 +00:00
raulmateos 739d8bf173 2010-06-21 Raul Mateos <raulofpandora@gmail.com>
* godmode/alerts/alert_list_builder.php: Added link to create template.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-21 09:02:52 +00:00
zarzuelo 11a17092c5 2010-06-18 Sergio Martin <sergio.martin@artica.es>
* godmode/users/user_list.php: Fixed the bug of 
	delete users in Internet Explorer and added the 
	deleting confirmation javascript for bug: 3017261



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-18 09:56:49 +00:00
zarzuelo 5bc4144911 2010-06-17 Sergio Martin <sergio.martin@artica.es>
* godmode/users/configure_user.php: Fixed the edition
	of an user after a fail creation for bug: 3017524



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2912 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-17 10:13:36 +00:00
zarzuelo 7940fb1b4f 2010-06-17 Sergio Martin <sergio.martin@artica.es>
* operation/users/user.php
	godmode/users/user_list.php: Changed the order
	of the users to id_user



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-17 09:24:21 +00:00
zarzuelo 10291bf686 2010-06-17 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/map_builder.php: Fixed the ACL
	permissions for bug: 3017262 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-17 08:16:31 +00:00
zarzuelo 154d80e233 2010-06-11 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/graph_builder.php: Fixed the 
	period of graph for bug #3014781, the creation 
	of combined graphs before store the graph for bug
	#3014796 and the message over the header for bug #3014798



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-11 11:21:45 +00:00
mdtrooper effed4e0d0 2010-06-08 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: fixed lost semi colon.
	
	* godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/reporting_builder.item_editor.php: fixed lost include
	autocomplete javascript file.
	
	Fixes: #3013425



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 11:07:01 +00:00
zarzuelo 8a3b04672f 2010-06-09 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/agent_manager.php: Fixed the agent icons on 
	agent setup for bug: 3013426



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 09:39:43 +00:00
jsatoh 954e68f510 2010-06-09 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/module_manager_editor_wmi.php: Added missing '_'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-09 01:41:52 +00:00
mdtrooper 26ce52103f 2010-06-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.main.php: changed the text of button
	for more clear mean.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 16:10:23 +00:00
mdtrooper 01ae4a8b54 2010-06-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: refixed layers when to update data
	of gis map and magic quotes is on.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 11:07:03 +00:00
raulmateos 2dbe140a38 2010-06-07 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/agent_conf_gis.php: Changed warning text and style.
	* include/styles/install.css, include/styles/pandora_minimal.css:
	Fixed some typos.
	* include/styles/pandora.css: Add new warn style to shown warning texts.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-07 15:22:29 +00:00
mdtrooper 126d0f00dc 2010-06-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.list.php: fixed the style of action list in the
	alert list.
	
	Fixes: #3000991



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-07 09:07:35 +00:00
raulmateos 93bd2f59d6 2010-06-06 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/reporting_builder.php, godmode/reporting/graphs.php,
	godmode/reporting/map_builder.php: Better table headers and table size.

	* godmode/reporting/reporting/visual_console_builder.editor.php: Added
	nice icons to buttons.

	* images/cancel.php: New icon file.

	* include/styles/pandora.css: New cancel input style.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-06 21:01:10 +00:00
mdtrooper b0430e1dbb 2010-06-02 Miguel de Dios <miguel.dedios@artica.es>
* general/header.php, godmode/db/db_audit.php,
	godmode/reporting/reporting_builder.item_editor.php:  cleaned html and fixed
	unclose html tags in source code, the eclipse warm to me.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2851 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 19:05:57 +00:00
zarzuelo 3e8db325d9 2010-06-02 Sergio Martin <sergio.martin@artica.es>
* include/auth/ldap.php
	include/fgraph.php
	godmode/reporting/graph_builder.php: Changed the deprecated
	function split() by explode() function for bug: 2989970



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 16:56:38 +00:00
mdtrooper 3b33f1fbb7 2010-06-02 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_plugin.php: fixed, now show the
	description of plugin selected.
	
	* godmode/servers/plugin.php: added the response to ajax for query the
	report description.
	
	Fixes: #3008494



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 16:43:59 +00:00
mdtrooper 5f38df2f17 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php, include/functions.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php: added the code for
	show a new item event_report_group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 15:32:08 +00:00
Ramon Novoa 12c4c46f1d 2010-06-02 Ramon Novoa <rnovoa@artica.es>
* operation/messages/message.php: Small fixes. Fixed bug #3008779.

        * godmode/servers/modificar_server.php: Ask for confirmation before
          deleting a server.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 15:06:48 +00:00
zarzuelo c1dc8efc48 2010-06-02 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Fixed the error
	showed in manage agents into alerts when the agent 
	has not modules for bug 3010359



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 10:29:41 +00:00
zarzuelo dc61af561c 2010-06-01 Sergio Martin <sergio.martin@artica.es>
* godmode/groups/group_list.php: Change the way of 
	get the group incons to function print_group_icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 16:39:18 +00:00
raulmateos 0b335da81f 2010-06-01 Raúl Mateos <raulofpandora@gmail.com>
* godmode/alerts/alert_list.list.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/agent_template.php: Updated headers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 16:24:39 +00:00
zarzuelo 2441c84ab0 2010-06-01 Sergio Martin <sergio.martin@artica.es>
* godmode/agentes/planned_downtime.php: Fixed the
	value of time into update downtime for bug: 3004049



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 16:04:38 +00:00
mdtrooper a4696ac60d 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php,
	godmode/reporting/reporting_builder.item_editor.php: deleted item type
	of agent_detailed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2835 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 15:04:31 +00:00
zarzuelo 5d324367a6 2010-06-01 Sergio Martin <sergio.martin@artica.es>
* godmode/users/configure_user.php: Fixed the edition
	of an user after create it. For bug: 3006988



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 12:19:24 +00:00
Ramon Novoa 0d5e89ab68 2010-06-01 Ramon Novoa <rnovoa@artica.es>
* godmode/setup/setup.php: Ask for confirmation before enabling
          'Enforce https' since access to Pandora FMS Console may be lost.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 11:17:01 +00:00
mdtrooper 041e786546 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/stat_win.php, general/license/pandora_info_ast_es.html,
	general/license/pandora_info_es_es.html,
	general/license/pandora_info_en.html: fixed unclose html tags in source
	code, the eclipse warm to me.

	* godmode/db/db_audit.php: fixed lost semi colon in the source code, the
	eclipse warm to me.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 10:03:07 +00:00
zarzuelo 5776cb0d7a 2010-05-31 Sergio Martin <sergio.martin@artica.es>
* images/cog_del.png
	godmode/agentes/massive_add_alerts.php
	godmode/agentes/massive_delete_action_alerts.php
	godmode/agentes/massive_operations.php
	godmode/agentes/massive_add_action_alerts.php: Added the alert massive
	operations 'add alerts', 'add actions' and 'delete actions'.
	An icon to delete actions added too.
	All for pending task: 3004606



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2815 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-31 09:22:15 +00:00
mdtrooper 19a726a5d7 2010-05-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/reporting_builder.item_editor.php: added more intervals
	for the period (5 days, 15 days and 1 month) and removed tiny intervals.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-28 08:52:00 +00:00
raulmateos b938982b0c 2010-05-27 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/tactical.php: Give some colour to the data shown.
	* godmode/menu.php: Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-27 06:54:46 +00:00