Commit Graph

1587 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 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
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
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
mdtrooper 50af68df72 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: added hook to collection enterprise.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 10:09:24 +00:00
mdtrooper 62282c2b2e 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: added hash2 parameter for to use in
	directory navigation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 17:47:31 +00:00
mdtrooper 4659849d55 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: cleaned source code. And added function
	"read_recursive_dir" to give a content of dir in a array.
	
	* include/functions_config.php: added $config['collection_max_size'].



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 16:45:34 +00:00
darode 4cedaaabd1 2010-07-08 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/networkmap.php: fixed order in combo box of zoom
	page of Network Map
	Fixes: #3026857



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 14:36:14 +00:00
darode 3d21ba2571 2010-07-08 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/networkmap.php: fixed changing map layout type when 
	you pass from full screen to normal screen or backwards
	Fixes: #3013601



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 14:23:03 +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 f87cb324c3 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* install.php: added to check zip library for the filemanager.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 10:43:43 +00:00
mdtrooper b4de8b5276 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: added in source code lines to test
	hash of directories or files for give more security to filemanager.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 10:32:49 +00:00
mdtrooper a1a103534a 2010-07-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_filemanager.php: added var global through $config to
	return status of operation. And clean messages of filemanager.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 09:01:31 +00:00
mdtrooper e4222b1cef 2010-07-07 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: changed in function "get_db_all_rows_filter" the
	parameter $filter to set empty array as default value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-07 14:36:45 +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
slerena 326999a913 2010-07-06 Sancho Lerena <slerena@artica.es>
Forget my last commit, code was OK, it must be the sun, too
        strong today :-)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-06 10:57:26 +00:00
slerena 2964068818 2010-07-06 Sancho Lerena <slerena@artica.es>
* include/functions.php, include/functions_reporting.php: 
        Reverting last commit from Raul because it was breaking
        Summatory reporting type.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-06 10:38:55 +00:00
raulmateos 76ed670629 2010-07-05 Raul Mateos <raulofpandora@gmail.com>
* include/functions.php, include/functions_reporting.php: Cleaned code.
	Fixed "Summatory" typo.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-05 13:02:56 +00:00
slerena 4d53e4fb43 2010-07-04 Sancho Lerena <slerena@artica.es>
* pandora_console_upgrade: Changed permissions (was 640).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-04 00:44:56 +00:00
zarzuelo b4c97408a9 2010-07-02 Sergio Martin <sergio.martin@artica.es>
* operation/events/events_rss.php
	operation/events/events_marquee.php
	operation/events/events.php: Fixed several bugs into
	events viewer and events rss file. Apply Ip restriction
	to API Ip's List to rss and marquee files.
	Bugfix: 3017263



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-02 12:21:39 +00:00
zarzuelo b8e3b869ef 2010-07-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Fixed the notice when
	delete a IP adress from agent configuration for 
	bug: 3016410



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-01 10:46:08 +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 29f5225990 2010-06-30 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php: Changed the Server and All text
	on the events filter to use gettext. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 17:04:32 +00:00
zarzuelo 2ff45e4dc8 2010-06-30 Sergio Martin <sergio.martin@artica.es>
* operation/events/events.php: Fixed the agent filter. Now the
	pagination keep the agent and shows the name of the agent in the 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2940 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-30 16:49:07 +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 45038412ab 2010-06-29 Sergio Martin <sergio.martin@artica.es>
* include/Image/image_functions.php: Reverted an 
	undesired last commit change



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2932 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-29 11:06:16 +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
jsatoh fb9731bd76 2010-06-29 Junichi Satoh <junichi@rworks.jp>
* pandora_console_install: Added support for FreeBSD and RHEL/CentOS.

	* install.php: Added support for FreeBSD.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-29 01:19:44 +00:00
zarzuelo 38a66e7cfc 2010-06-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Fixed the get_agent_modules 
	function to avoid return the pending delete modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2929 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-28 11:49:07 +00:00
zarzuelo 7ddc24b32c 2010-06-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Adding a parameter to
	printTruncateText to personalize the suffix string
	of a truncate string



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2927 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-25 08:12:25 +00:00
zarzuelo e625bc73a4 2010-06-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php: Changed substr() to
        mb_strimwidth() into printTruncateText function



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-25 07:58:39 +00:00
jsatoh 15b82505a0 2010-06-25 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/status_monitor.php: Changed substr() to
	mb_strimwidth(). Module name should be truncated with displayed length,
	not number of characters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-25 05:52:33 +00:00
Ramon Novoa 725f167878 2010-06-23 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Continue drawing combined charts if modules
          without data are found.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-23 13:16:36 +00:00
zarzuelo 31b6f7045d 2010-06-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Added a parameter into
	print_select function to set style a selective 
	options into the select form control



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-23 11:31:44 +00:00