Commit Graph

1639 Commits

Author SHA1 Message Date
slerena f2ab3ea2de 2010-04-21 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Added function render_report_html_item()
    to render a given report element in HTML format. Fixed a small problem in
    SUM report type (int truncate invalidate most of SUM reports when not using
    a _inc data type).

    * include/functions.php: Updated all "is_module_xxx" from using ereg 
    (deprecated) to use preg_match.

    * include/functions_db.php: Moved reporting functions 
    get_agentmodule_data_average(); get_agentmodule_data_max(), 
    get_agentmodule_data_min() and  get_agentmodule_data_sum() from here
    to functions_reporting.php.

    * godmode/groups/group_list.php: Removing a group put all agents assigned
    to that group in other available group (choosen in realtime).

    * AUTHORS: Authors file update, was very outdated!.

    * operation/agentes/estado_generalagente.php: Fixed bug #2990430.

    * operation/reporting/reporting_viewer.php: Some changes for better 
    structuration of the HTML reporting viewer. Removed big chunk of code
    and put in function_reporting/render_report_html_item() function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-21 17:52:08 +00:00
mdtrooper ab29f0de25 2010-04-21 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: small improve, added new parameter into
	the function "agent_module_autocomplete", the parameter is "noneValue" for
	add a option for none module in the select of modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-21 16:13:42 +00:00
jsatoh b5343120ed 2010-04-20 Junichi Satoh <junichi@rworks.jp>
* extras/check_other_languages.sh: Added missing '/'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2581 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-20 02:20:10 +00:00
zarzuelo 87e0e34128 2010-04-19 Sergio Martin <sergio.martin@artica.es>
* godmode/users/user_list.php: Fixed the delete the actual 
        user feature hidding the red cross in this user and with
        internal control



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 14:24:04 +00:00
zarzuelo b097a03b1f 2010-04-19 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Fixed a var definition 
        error



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 13:52:46 +00:00
zarzuelo bd199a867c 2010-04-19 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Added the parameter style 
        to print_select_from_sql() function




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 13:35:31 +00:00
mdtrooper 1af12be6c9 2010-04-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: rollback to the fixed (r2563) in the function
	"get_db_value_filter".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 12:41:45 +00:00
pabloconcepcion bb8a6e6f6b 2010-04-19 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/agentes/module_manager_editor_prediction.php: Make the services
	part (Enterprise) work nicely.

	* godmode/agentes/configurar_agente.php: Added enterprise hook for the 
	services parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 09:43:32 +00:00
pabloconcepcion 79765d65ed 2010-04-19 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/javascript/pandora.js: Added function agent_module_autocomplete
    to use with a text box, a hidden field and a selector to select an agent
    and a module from the agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2575 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 07:47:55 +00:00
jsatoh ba47748da8 2010-04-19 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/module_manager.php, 
	godmode/modules/manage_network_components.php, 
	godmode/modules/manage_network_templates_form.php: Changed the substr()
	to mb_strimwidth(). Strings should be truncated with displayed length,
	not number of characters.

	* godmode/include/functions.php: Added wrapper mb_strimwidth().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-19 02:41:20 +00:00
zarzuelo 4eb56bd522 2010-04-16 Sergio Martin <sergio.martin@artica.es>
* operation/users/user.php: Modified the users that
        are showed in the View users section. Now, the users
        of the logged user group are listed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-16 14:44:06 +00:00
pabloconcepcion 3ade090402 2010-04-16 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/ajax/agent.php: Modified to return the agent name at the i
    begining of the serialized result.

    * godmode/agentes/configurar_agente.php: Added help links and TODO tag
    to remember to change the tabs to use the print_page_header function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-16 10:07:10 +00:00
zarzuelo 72c0eb3d59 2010-04-15 Sergio Martin <sergio.martin@artica.es>
* godmode/users/configure_user.php: fixed bug 2987162.
          Validation of create a user with User ID null



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-15 17:20:15 +00:00
mdtrooper d6e9404c4c 2010-04-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added check new attribute "styleTable" to
	object table, this is for pass the style table.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-15 16:50:09 +00:00
ramonn 95dbd4df53 2010-04-14 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql: Changed the id of the log4x module type. There
          were conflicts with Enterprise module types.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 17:40:43 +00:00
mdtrooper 0b0e566eae 2010-04-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed bug in the function
	"format_array_to_update_sql" when the field yet escaped.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 16:11:49 +00:00
zarzuelo 6e98d62e2d 2010-04-14 Sergio Martin <sergio.martin@artica.es>
* godmode/users/user_list.php: fixed bug 2987177. Wrong index
          was associated with the delete icon in the users list.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 15:51:48 +00:00
mdtrooper 86257bcb8a 2010-04-14 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: fixed bug in the function "get_db_value_filter"
	when the field's name is a reserve word of mysql crash.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 15:14:30 +00:00
zarzuelo 9f15453d94 2010-04-14 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_modules.js: Typo fix for bug
          2953348



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2562 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 12:06:27 +00:00
zarzuelo d9df010901 2010-04-14 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.php: Controled the sucessful of the 
          create an alarm to audit it for bug 2987006



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 09:21:33 +00:00
zarzuelo 094997242c 2010-04-14 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.php,
        godmode/alerts/alert_list.list.php: Changed a button between the
files 
          to clean source code    



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 08:54:24 +00:00
zarzuelo e837698df0 2010-04-14 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/map_builder.php: Added Delete visual console
          for Bug 2986523



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 07:59:52 +00:00
zarzuelo 7620e33fe4 2010-04-14 Sergio Martin <sergio.martin@artica.es>
* ChangeLog: Updated the Changlog with the last forget commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2558 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-14 07:44:45 +00:00
zarzuelo d09ad12763 2010-04-13 Sergio Martin <sergio.martin@artica.es>
* godmode/reporting/map_builder.php: Added Copy visual console
          (map clonation) for Pending task 2726277



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2557 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-13 17:45:51 +00:00
zarzuelo 0464db92c3 2010-04-12 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.php: Added Create button for
        Feature Request 2985798



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-12 10:30:58 +00:00
jsatoh d406b5f265 2010-04-12 Junichi Satoh <junichi@rworks.jp>
* include/help/ja/help_configure_gis_map.php,
	include/help/ja/help_gis_map_builder.php,
	include/help/ja/help_gis_setup_map_connection.php,
	include/help/ja/help_setup_gis_index.php: Added the GIS help files
	in Japanese.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-12 02:32:50 +00:00
zarzuelo dbdf2cc7b0 2010-04-09 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/configure_alert_template.php: Typo fix for bug 
        2981933



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-09 17:04:39 +00:00
jsatoh 4583bb9ffe 2010-04-09 Junichi Satoh <junichi@rworks.jp>
* include/functions_extensions.php: Changed the function to use,
	from substr() to mb_substr(). substr() can't handle multibyte strings
	correctly.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-09 07:32:42 +00:00
slerena 4ff232d48e 2010-04-08 Sancho Lerena <slerena@artica.es>
* include/config_process.php: Update build version.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-08 11:48:53 +00:00
jsatoh fd765420a0 2010-04-08 Junichi Satoh <junichi@rworks.jp>
* godmode/modules/manage_network_components_form_network.php: Added
	missing '_'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2551 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-08 04:02:11 +00:00
mdtrooper 267f41182b 2010-04-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: added request the search parameter.
	
	* godmode/alerts/alert_list.list.php: fixed recove lost source code for
	build $where var of old version of godmode/alerts/alert_list.php .



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-07 16:20:19 +00:00
mdtrooper 8ec3e9d945 2010-04-07 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.list.php: fixed the id of agent in source and
	now hide the column agent in list when the edit alerts is in the agent
	configuration. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-07 15:58:44 +00:00
mdtrooper cebb74cd03 2010-04-07 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: fixed date of last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2548 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-07 15:37:31 +00:00
mdtrooper 96c69584ef 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.pandora.controls.js: changed the page to ajax in
	the event "pandoraSelectAgentAlert".

	* include/ajax/alert_list.ajax.php: new file with the source code of ajax
	request.
	
	* godmode/agentes/massive_config.php: changed the page to ajax in the
	event "source_id_agent" in the javascript source code.
	
	* godmode/alerts/alert_list.list.php: cleaned unused javascript source code
	that is for use in alert_list.builder.php.

	* godmode/alerts/alert_list.php: erase the php ajax source code and
	copy to alert_list.ajax.php. And move the action messages (create, delete
	...) bellow to header.
	
	* godmode/alerts/alert_list.builder.php: : cleaned unused javascript source
	code that is for use in alert_list.list.php.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-07 15:32:11 +00:00
mdtrooper 281389eff5 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php: cleaned source code, added the tabs for to
	use page alone (not in agent).

	* godmode/alerts/alert_list.builder.php: tab for the make a alert.
	 
	* godmode/alerts/alert_list.list.php: tab for the list of alerts. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-07 12:34:14 +00:00
mdtrooper 735ec4f241 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: changed the functions
	"get_agent_alerts_simple" and "get_agent_alerts_compound" delete new
	parameter $limit because you can set the pagination limit in the parameter
	$options.
	
	* operation/agentes/alerts_status.php: changed the calls to previus
	functions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-07 09:50:09 +00:00
pabloconcepcion 97462ee285 2010-04-06 Pablo de la Concepción <pablo.concepcion@artica.es>
* operation/menu.php, godmode/menu.php: Hooks to services pages (Enterprise)

    * images/box.png: Icon for services (Enterprise)

    * godmode/setup/gis_step_2.php, godmode/setup/gis.php: Links to help pages

    * include/help/en/help_service_elements_management.php,
    include/help/en/help_view_services_detail.php,
    include/help/en/help_view_services.php,
    include/help/en/help_services_management.php: first version of services
    help pages.

    * include/help/en/help_setup_gis_index.php,
    include/help/en/help_configure_gis_map.php,
    include/help/en/help_gis_setup_map_connection.php: GIS help pages updated

    * include/styles/pandora_forms.css, include/styles/menu.css: New styles for
    forms and style for service menu entry icons.

    * include/ajax/agent.php: New AJAX file to get info about agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-06 16:24:54 +00:00
mdtrooper 071d9f5a2f 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: added parameter $where for SQL in function
	"get_agent_alerts_compound".

	* operation/agentes/alerts_status.php: use the new free search for filter
	the rows of alerts.

	* operation/agentes/alerts_status.functions.php: added parameter in the
	function "printFormFilterAlert", the parameter $free_search and add
	input text control for free search.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-06 15:08:08 +00:00
mdtrooper a2ae2f9956 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: changed some parts of source code in the
	functions "format_alert_row" for show column modules in general view. In the
	function "pagination" added the parameter $offset_name with default value
	'offset' for to use several paginations in one page.

	* include/functions_agents.php: added the parameters $limit, $idGroup,
	$count in the function "get_agent_alerts_simple", and now you can limit the
	rows, search by id group and return the count of rows (without limit). And
	in the function "get_agent_alerts_compound" added the same parameters to
	another function $idGroup, $limit, $count for similar uses.

	* operation/agentes/alerts_status.php: cleaned more parts of source code,
	fixed the mad array_merge of alerts, fixed SQL with the searchs IN
	(large large list ids), fixed the pagination before loop all rows, now
	only loop the block page rows.

	* operation/agentes/alerts_status.functions.php: new file with the functions
	"forceExecution", "validateAlert", and "printFormFilterAlert".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-06 12:46:34 +00:00
mdtrooper 7db7b529f4 2010-03-31 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/alerts_status.php, operation/agentes/estado_agente.php,
	godmode/reporting/visual_console_builder.editor.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-05 15:54:17 +00:00
raulmateos f1d5695131 2010-04-03 Raul Mateos <raulofpandora@gmail.com>
* operation/events/event_statistics.php: Updated year and headers. There
	is a black space after the headers that should be avoided. Same to the
	events.php file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-02 22:19:12 +00:00
mdtrooper 30402274d2 2010-03-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php: in function "printItemInVisualConsole"
	changed the text align of elements label to center.
	
	* operation/visual_console/render_view.php: changed the title to Pandora's
	header.
	
	* godmode/reporting/visual_console_builder.php: fixed the id of visual
	console in the update wizard action.
	
	* godmode/reporting/visual_console_builder.editor.php: small changes in the
	style. Set the width and height for module graph.
	
	* godmode/reporting/visual_console_builder.editor.js: set the default value
	for width and height for module graph in the function "cleanFields". And in
	the function "createItem" deleted br tag the simple value.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-31 14:23:16 +00:00
mdtrooper f72f5e9ae9 2010-03-31 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added new parameter for function
	"print_select" for style. In the function "print_input_hidden" added the
	parameter $class for set the class of input.
	
	* godmode/reporting/map_builder.php: delete old code, now it have only
	source code of paint list of visual consoles.
	
	* godmode/reporting/visual_console_builder.data.php: cleaned style the of
	form.
	
	* godmode/reporting/visual_console_builder.elements.php: cleaned the rows of
	table, delete label color field and change the text type for a icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-31 11:44:03 +00:00
mdtrooper 9539b3e924 2010-03-31 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css, include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.editor.js: cleaned source code and
	changed the buttons.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-31 09:13:54 +00:00
mdtrooper fa0166ccf3 2010-03-30 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php: some cleaned the source
	code...need more.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-30 17:52:52 +00:00
mdtrooper 5a0b86793d 2010-03-29 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php: worked about the new
	visual console builder editor, now it is finished but I will clean and
	comment the source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-30 17:39:32 +00:00
mdtrooper e5ccf4f757 2010-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.constans.php,
	godmode/reporting/visual_console_builder.editor.js: worked about the new
	visual console builder editor, now it is developing, don't afray.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-29 18:31:22 +00:00
mdtrooper 8408a9a88c 2010-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/visual_console_builder.editor.js: worked about the new
	visual console builder editor, now it is developing, don't afray.
	
	* godmode/reporting/visual_console_builder.constans.php: added the file that
	it has the constans. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-29 13:58:08 +00:00
mdtrooper abb804e0b9 2010-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.editor.js: worked about the new
	visual console builder editor, now it is developing, don't afray.
	
	* include/javascript/jquery.colorpicker.js: we used the old versión, and
	patch with self code for z-index to upper position. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-26 11:22:16 +00:00
mdtrooper 72a8fd1696 2010-03-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_visual_map.php,
	include/ajax/visual_console_builder.ajax.php,
	godmode/reporting/visual_console_builder.preview.php,
	godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.editor.js: worked about the new
	visual console builder editor, now it is developing, don't afray.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-25 16:18:05 +00:00
jsatoh a1c3b4181a 2010-03-24 Junichi Satoh <junichi@rworks.jp>
* operation/snmpconsole/snmp_view.php: To follow timestamp setting,
	changed the function to use, from human_time_comparation() to
	print_timestamp(). 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2522 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-24 01:18:40 +00:00
mdtrooper fcf6eb59bd 2010-03-23 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.ui.resizable.js: add library of jQuery.ui for
	resizable elements.
	
	* include/functions_visual_map.php
	
	*include/ajax, include/ajax/visual_console_builder.ajax.php: add the
	file for ajax request from visual console builder editor.
	
	* include/config_process.php: change $build_version.
	
	* include/functions.php: in function "safe_url_extraclean" fix to pages
	with '.' character.
	
	* godmode/reporting/visual_console_builder.php,
	godmode/reporting/visual_console_builder.editor.php,
	godmode/reporting/visual_console_builder.data.php,
	godmode/reporting/visual_console_builder.editor.js,
	godmode/reporting/visual_console_builder.elements.php: worked about the
	new visual console builder editor, now it is developing, don't afray.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-23 17:46:08 +00:00
slerena e201958939 2010-03-21 Sancho Lerena <slerena@gmail.com>
* include/help/en/check_other_languages.sh: Moved from include/help 
        and rewritten to be more usable. This is a script to check if there
        are missing help files for each language (taken as parameter).

        * operation/agentes/datos_agente.php: Cannot detete data from here.
        Removed old support for individual data delete due the new table 
        schema.

        * extras/check_other_languages.sh: Moved from include/help

        * godmode/agentes/modificar_agente.php: Admin can see everything
        even if agent has a invalid group (group which not exist). This
        was important because agents with invalid group was "Invisible"
        until now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-22 15:32:16 +00:00
eric_ross_c 8275cb1980 * operation/agentes/estado_ultimopaquete.php: Fixing color to show WARN messages in orange
* operation/agentes/stat_win.php: Now when showing a log4x chart, we don't show the max/min/avg information



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-19 14:06:49 +00:00
eric_ross_c b5e6995cd7 * include/config_process.php: Fixing warning when no timezone is defined for the user
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-19 14:04:56 +00:00
eric_ross_c aceda299f2 Adding support to show and purge data from the log4x table
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2515 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-19 14:03:40 +00:00
eric_ross_c e4b46756f3 2010-03-18 Eric Ross <eric.ross.c@gmail.com>
* operation/agentes/estado_monitores.php: Now the monitors list display the last data
                in a proper way (TRACE, DEBUG, ....)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-18 20:52:56 +00:00
eric_ross_c 36aef88f68 * godmode/setup/setup.php: Expanded time zone text box to 25 chars
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2513 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-18 20:16:06 +00:00
eric_ross_c 45adf9728f Ported old graphics for the log4x data.
* include/Image/Graph/Plot/Bubble.php: New chart type: bubble
        * include/Image/Graph.php: Add the new bubble chart to the available charts
        * include/functions.php: Refactoring way to get type of graph from module type
        * operation/agentes/estado_ultimopaquete.php: Added links to access log4x graphics
        * include/fgraph.php: Add log4x graphics rutines.
        * operation/agentes/stat_win.php: Add support to show log4x graphic.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2512 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-18 20:01:48 +00:00
mdtrooper 878f07aaae 2010-03-17 Miguel de Dios <miguel.dedios@artica.es>
* include/config_process.php, install.php: change version number.
	* include/functions_ui.php: add in the function "print_page_header" a
	read boolean item "active" in array $buttons for paint disabled.
	* include/functions.php: add function "get_parameterBetweenListValues" this
	function get a parameter for a GET or POST but between a values.
	* godmode/reporting/visual_console_builder.php: added new editors for visual
	console, now it is developing, don't afray.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-17 19:07:49 +00:00
jsatoh 45f459e224 2010-03-17 Junichi Satoh <junichi@rworks.jp>
* operation/messages/message.php : Changed strings.
	"From" to "Message from", "To" to "Message to"

	* godmode/reporting/reporting_builder.php : Changed strings.
	"Down" to "Move down", "Up" to "Move up"

	* godmode/alerts/alert_list.php: Changed sentence with some strings.
	"From XX to YY matches of the alert" to "Number of alerts match	
	from XX to YY"



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-17 06:36:16 +00:00
jsatoh 6829b48d1d 2010-03-15 Junichi Satoh <junichi@rworks.jp>
* godmode/alerts/alert_list.php : Added help link, "alert-matches".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-15 04:26:40 +00:00
slerena 8cf1cd96d7 2010-03-12 Sancho Lerena <slerena@artica.es>
* include/help/es/: Added some missing help files in spanish,
        translated by Julia. Thanks Julia!




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2508 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-12 16:27:52 +00:00
slerena 1af7d80325 2010-03-12 Sancho Lerena <slerena@artica.es>
* godmode/groups/modu_group_list.php, 
        godmode/groups/configure_modu_group.php: New module group 
        editor/manager. Contributed by Antonio Dos Santos, thanks Antonio!

        * godmode/menu.php: Added modulegroup to menu.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-12 16:00:49 +00:00
jsatoh 16ffbf061e 2010-03-12 Junichi Satoh <junichi@rworks.jp>
* godmode/alerts/configure_alert_compound.php : Changed not to use
	variable "alert" on java script. IE8 can't handle it as a variable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2506 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-12 07:45:47 +00:00
slerena 58f29bf9fa 2010-03-11 Snacho Lerena <slerena@artica.es>
* include/help/en/check_other_languages.sh: Small script to show 
        help files not translated.

        * include/functions_ui.php: Fixed call to undefined variable.

        * godmode/setup/setup.php: Small box for textarea.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-11 18:52:42 +00:00
slerena a8ad0542e2 2010-03-10 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Added new default values for purge event,
        string data, audit data, gis data, and snmp trap data.

        * include/functions_config.php: Support for new gis_purge config
        token.

        * godmode/setup/performance.php: Added gis_purge to setup.

        * godmode/users/user_list.php: Fixed bug which doesn't allow to
        delete users.

        * godmode/users/configure_user.php: Fixed bug with profile assigment
        (Mixed the current user and selected user).

	* Install.php: Show default user/password after install. Build update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2501 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-10 17:58:29 +00:00
jsatoh 336f7b1e9d 2010-03-10 Junichi Satoh <junichi@rworks.jp>
* general/license/pandora_info_ja.html : Added the GPL in Japanese.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-10 01:30:09 +00:00
mdtrooper a337400235 2010-03-09 Miguel de Dios <miguel.dedios@artica.es>
* index.php: changed the deprecated var $REMOTE_ADDR for standar
	$_SERVER['REMOTE_ADDR']. I forget in the last commit.

	* operation/gis_maps/render_view.php, operation/gis_maps/index.php,
	operation/menu.php, godmode/gis_maps/configure_gis_map.php: fix the ACL
	and add in other sites of source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 16:59:23 +00:00
mdtrooper 185acf8c84 sancho.lerena@artica.es>
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 12:34:09 +00:00
mdtrooper b4519a08ed 2010-03-09 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_results.php: fixed the result when call a function db
	with new method.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 10:19:27 +00:00
mdtrooper dcf9036315 2010-03-09 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fix the request var when it is
	activate magic quotes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2493 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 09:57:31 +00:00
jsatoh b216cf50c1 2010-03-09 Junichi Satoh <junichi@rworks.jp>
* include/help/ja : Imported Japanese help files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 05:18:44 +00:00
jsatoh ee77ccf948 2010-03-09 Junichi Satoh <junichi@rworks.jp>
* include/help/ja : Imported Japanese help files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2491 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 05:06:13 +00:00
pabloconcepcion 1d01fbd025 2010-03-08 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/agentes/agent_conf_gis.php: Changed some english phrases to make
     it more clear.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2490 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 19:21:28 +00:00
pabloconcepcion 97f4f8d970 2010-03-08 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/agentes/agent_manager.php: Changed some english phrases to make 
     it more clear.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 18:58:59 +00:00
pabloconcepcion a7b15ecafb 2010-03-08 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/functions_gis.php, operation/gis_maps/render_view.php : Changed 
     some english phrases to make it more clear.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 18:42:15 +00:00
mdtrooper 16e2403f76 2010-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/openlayers.pandora.js: deleted the console log debug
	print.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 17:49:34 +00:00
mdtrooper 0414dc5f27 2010-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: cleaned source code of "printMap", now it is
	more clean the code because it call the js_printMap only and it haven't the
	num zoom levels.
	
	* include/javascript/openlayers.pandora.js: cleaned source code of
	"js_printMap", now it is more clean the code and it haven't the num zoom
	levels.

	* operation/gis_maps/render_view.php, godmode/setup/gis_step_2.php,
	godmode/gis_maps/configure_gis_map.php: use new form of "printMap" and
	"js_printMap".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2485 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 17:40:23 +00:00
pabloconcepcion 6b849c6bd3 2010-03-08 Pablo de la Concepción <pablo.concepcion@artica.es>
New theme for the maps: New images and background color for the Openlayers
    controls.

    * include/javascript/OpenLayers/OpenLayers.js: Channged background color
    on some components to fit the new theme.

    * include/javascript/OpenLayers/img/south-mini.png, 
    include/javascript/OpenLayers/img/zoom-plus-mini.png, 
    include/javascript/OpenLayers/img/zoom-world-mini.png, 
    include/javascript/OpenLayers/img/zoom-minus-mini.png, 
    include/javascript/OpenLayers/img/zoombar.png, 
    include/javascript/OpenLayers/img/west-mini.png, 
    include/javascript/OpenLayers/img/slider.png, 
    include/javascript/OpenLayers/img/layer-switcher-maximize.png, 
    include/javascript/OpenLayers/img/north-mini.png, 
    include/javascript/OpenLayers/img/east-mini.png: New images for the new
    theme of the Openlayers controls.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2484 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 17:30:29 +00:00
mdtrooper c44f3a0bfe 2010-03-08 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: change the code into function
	"html_entity_decode" for fix the decode in IE6 and rename the function to
	"js_html_entity_decode" for clean source code.
	
	* include/javascript/jquery.pandora.controls.js,
	include/javascript/pandora_modules.js, godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_action.php,
	godmode/reporting/reporting_builder.php, godmode/reporting/map_builder.php,
	godmode/reporting/graph_builder.php: use the rewrite new function javascript
	js_html_entity_decode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-08 12:49:49 +00:00
slerena 5c7fa42816 2010-03-06 SAncho Lerena <slerena@artica.es>
* install.php: Fixed width of textarea, too small.

        * extensions/dbmanager.php,
        extensions/plugin_registration.php
        extensions/pandora_logs.php: Added missing ACL checks.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-06 13:45:48 +00:00
mdtrooper 6112bdcd1a 2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql: changed some the descriptions text of table
	type modules. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-05 11:56:00 +00:00
mdtrooper a5bde1a7b2 2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php: fix the type for when
	ajax load by form editor in modules policies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-05 11:32:17 +00:00
mdtrooper b5e9ea4ca4 2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: clean source code delete obsolete unused
	function "get_agent_last_coords". Fixed the function "get_agent_icon_map"
	now show default icon for agent without modules.
	
	* operation/gis_maps/ajax.php: improve the style of bubble info agent and
	fixed the position for agent without data GIS.
	
	* operation/agentes/gis_view.php: clean the style delete the header. Change
	the text of refresh button. Show the last coords for the agent.
	
	* images/gis_map/icons/cross.pink.png, images/gis_map/icons/circle.pink.png:
	add this image icons for to use in the preview map of config connection map.
	
	* godmode/agentes/agent_conf_gis.php: clean the style delete the header.

	* godmode/setup/gis_step_2.php: use the pink icons for the center and
	default position in the preview map.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-05 11:16:20 +00:00
slerena a476b79a1b 2010-03-04 Sancho Lerena <slerena@artica.es>
* install.php: Fixed a bad render in IE.

        * operation/agentes/estado_agente.php: Fixed general view of agents.
        When show agents without modules, never display it's date because was
        taking from the most recept module, instead of data from agent itself.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 20:02:29 +00:00
pabloconcepcion 07fca73d1d 2010-03-04 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/gis_maps/configure_gis_map.php: Change help link.

    * godmode/gis_maps/index.php: Added help link.

    * include/help/en/help_gis_map_builder.php,
      include/help/en/help_configure_gis_map.php: first version of the help
    pages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2473 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 17:58:59 +00:00
mdtrooper 0fb2a95770 2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "printMap2" disable by default
	to add the control "layerSwitcher".

	* operation/gis_maps/render_view.php: add the "layerSwitcher" to controls to
	show.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 17:43:36 +00:00
mdtrooper 6e6f3f5bb8 2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "getAgentMap" change the controls
	delete overview and change PanZoom for PanZoomBar because the overview
	fail with google map, and PanZoomBar now the map view is more tall.
	
	* operation/gis_maps/render_view.php: delete overview because the overview
	fail with google.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 17:29:52 +00:00
mdtrooper 450004431c 2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: in function "get_user_groups" add third
	parameter $returnAllGroup by true for default. Fix in the function
	"get_group_agents" now if pass the id_group as 0 or 1 (all group) search
	for all groups.
	
	* godmode/agentes/agent_manager.php: use the new parameter for function
	"get_user_groups" for don't show the all group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 16:50:48 +00:00
slerena 6763128c05 2010-03-04 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Added news, default timezone and other 
        minor changes. GIS is disabled by default now.

        * include/config_process.php: Force a timezone if not defined.

        * operation/gis_maps/index.php,
        operation/agentes/gis_view.php: Config.php and header stuff 

        * operation/servers/view_server_detail.php
        operation/menu.php: Recon operation detail is now shown in the left
        menu.

        * admin_access_logs.php,
        db/db_audit.php
        db/db_info.php
        db/db_event.php
        agentes/configurar_agente.php
        gis_maps/configure_gis_map.php
        gis_maps/index.php: More headers and config.php include stuff.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 16:22:25 +00:00
raulmateos f52a60ce8c 2010-03-04 Raul Mateos <raulofpandora@gmail.com>
* (lot of files): Updated year and headers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 16:08:09 +00:00
mdtrooper f44ff9c622 2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: clean the form, now don't show
	the box of preview map.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 11:58:41 +00:00
mdtrooper 6aab13d98a 2010-03-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add comment include for javascript include
	for more to easy change version openlayers for test.
	
	* include/javascript/OpenLayers/OpenLayers.js: warning the source code is
	compress. In the method "drawFeature" for the class "Renderer" backport some
	part of code for to extend the style attributes (labelYOffset in this case).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 10:35:50 +00:00
pabloconcepcion 589d26d620 2010-03-04 Pablo de la Concepción <pablo.concepcion@artica.es>
* images/gis_map/icons/circle.bad.png ,
    images/gis_map/icons/circle.default.png ,
    images/gis_map/icons/circle.ok.png ,
    images/gis_map/icons/circle.warning.png ,
    images/gis_map/icons/cross.bad.png ,
    images/gis_map/icons/cross.default.png ,
    images/gis_map/icons/cross.ok.png ,
    images/gis_map/icons/cross.warning.png ,
    images/gis_map/icons/marker.bad.png ,
    images/gis_map/icons/marker.default.png ,
    images/gis_map/icons/marker.ok.png ,
    images/gis_map/icons/marker.warning.png ,
    images/gis_map/icons/square_marker.bad.png ,
    images/gis_map/icons/square_marker.default.png ,
    images/gis_map/icons/square_marker.ok.png ,
    images/gis_map/icons/square_marker.warning.png ,
    images/gis_map/icons/star.bad.png ,
    images/gis_map/icons/star.default.png ,
    images/gis_map/icons/star.ok.png ,
    images/gis_map/icons/star.warning.png ,
    images/gis_map/icons/triangle.bad.png ,
    images/gis_map/icons/triangle.default.png ,
    images/gis_map/icons/triangle.ok.png ,
    images/gis_map/icons/triangle.warning.png: New icons for the agents



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 06:59:36 +00:00
pabloconcepcion e13c48c2c1 2010-03-04 Pablo de la Concepción <pablo.concepcion@artica.es>
*  include/functions_gis.php: added missing num_zoom_levels value to 
	the baselayers hash when printing the Agent Map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 06:01:13 +00:00
raulmateos f8ba7c6d95 2010-03-03 Raul Mateos <raulofpandora@gmail.com>
* operation/incidents/*.php: Updated year and headers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 22:19:22 +00:00
slerena e7604d5729 2010-03-03 Sancho Lerena <slerena@artica.es>
* (A lot of files): Updated include("config.php") and replaced
        by global $config.

        * functions_db.php, functions_html.php: Fixed way to get data
        from the hash instead from the array.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 17:10:37 +00:00
mdtrooper 8a1fd27b22 2010-03-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add in the last time a function "printMap2"
	that it is a clean function. Change the function "printMap" to call
	"printMap2".
	
	* include/javascript/openlayers.pandora.js: in function "js_printMap" set
	the spherical Mercator for google maps. 
	
	* operation/gis_maps/render_view.php: add to list of $baselayers the name
	of baselayer. Change order of div for map because now the script don't
	call when document ready. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2458 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 16:25:39 +00:00
ramonn 28159d9fa0 2010-03-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_db.php: Use mysql_fetch_assoc instead of
          mysql_fetch_array to avoid duplicate results (hash and array).

        * godmode/alerts/configure_alert_template.php: Added 'matches_value'
          support to 'onchange' alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 13:13:11 +00:00
mdtrooper 6bf974bed5 2010-03-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add new parameter to function "addPath" the
	$lastPosition for paint the line to last position that this position is not
	in the table tgis_data_history. In function "getAgentMap" use the new
	parameter in the function "addPath".
	 
	* operation/gis_maps/render_view.php: tiny fix in the include javascript
	of google. And few stetic changes in the top menu. And add the new parameter
	to "addPath".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2455 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 10:34:35 +00:00
mdtrooper 3b1616262f 2010-03-03 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php: close in the end a unclose php tag.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 09:25:10 +00:00
mdtrooper fd1aed871e 2010-03-03 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/gis_view.php: fix "Call-time pass-by-reference" for
	function "print_table".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 09:22:44 +00:00
slerena 2bd1fbae56 2010-03-02 Sancho Leren <slerena@artica.es>
* include/functions_ui.php: Fixes default icon for operation
	mode in the title.

	* operation/incidents/incident.php
	operation/incidents/incident_detail.php
	operation/incidents/incident_statistics.php
	operation/snmpconsole/snmp_view.php
	operation/users/user.php
	operation/users/user_edit.php
	operation/users/user_statistics.php
	operation/events/event_statistics.php
	operation/events/export_csv.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/agentes/export_csv.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/sla_view.php
	operation/agentes/gis_view.php
	operation/agentes/ver_agente.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/messages/message.php
	operation/reporting/reporting_viewer.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/search_results.php
	godmode/groups/configure_group.php
	godmode/groups/group_list.php
	godmode/agentes/agent_manager.php
	godmode/alerts/alert_list.php: Fixes with include(Config.php) in
	enterprise mode.:

	* general/header.php: Detection of Metaconsole to show less options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 19:25:51 +00:00
raulmateos d7c363c8ae 2010-03-02 Raul Mateos <raulofpandora@gmail.com>
* godmode/alerts/*.php, godmode/users/*.php, extensions/users_connected.php:
	Updated year and headers in several files. Little by little I'll change
	the rest...

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2451 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 17:19:44 +00:00
raulmateos 2ca62440fa 2010-03-02 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/*.php, godmode/group/*.php, godmode/modules/*.php:
	Updated year and headers in several files. Little by little I'll change
	the rest...

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 16:41:27 +00:00
mdtrooper 01245adaee 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/OpenLayers/lib/*, 
	include/javascript/OpenLayers/news.txt, 
	include/javascript/OpenLayers/readme.txt,
	include/javascript/OpenLayers/repository-license.txt,
	include/javascript/OpenLayers/release-license.txt: delete unused files of
	OpenLayers lib.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2449 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:51:33 +00:00
mdtrooper 9c18d9638c 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:39:50 +00:00
pabloconcepcion 026e7624d3 2010-03-02 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/functions_gis.php: Added a missing break and remove debugging 
	code.

	* operation/gis_maps/render_view.php: Added code to render Gmap type of 
	maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:24:49 +00:00
mdtrooper 113921d294 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: disabled the use of night version of
	Openlayers. Change the "refreshMapView" javascript to load the library of
	google maps with the api, and add function "refreshMapViewSecondStep"
	for asincrone call in "refreshMapView" when load map google.
	
	* include/javascript/openlayers.pandora.js: clean source code of
	"js_refreshParentLines" and add the test if the parent agent is in the
	map.
	
	* godmode/setup/gis_step_2.php: disabled the use of night version of
	Openlayers in function "printMap" and change the text of hierachy layer for
	better english text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2445 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 15:13:04 +00:00
slerena 22e7cde978 2010-03-02 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Solved issue with several undefined
	vars.

	* include/functions_servers.php: Solved issue with several undefined
	vars. 

	* include/functions_config.php: Added metaconsola witch to readconfig.

	* include/config_process.php: Update build.. is YYMMDD !

	* include/functions_ui.php: Removed deprecated call to split and replaced
	by preg_split.

	* index.php: Activated developer mode.

	* operation/agentes/estado_monitores.php: Solved small problem with modules
	without history, filling missing column in table. Added headers

	* godmode/alerts/configure_alert_compound.php,
	operation/agentes/status_monitor.php
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_commands.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php: Removed deprecated call to include
	config.php and in some cases, added new header style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 14:13:00 +00:00
mdtrooper 442981a212 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/gis_step_2.php: fix a mechanographic mistake.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 12:10:15 +00:00
mdtrooper 6b97c54ae1 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add function "addParentLines", in ths function
	make a hierachy layer and call "js_refreshParentLines" for paint hierachy
	lines. In function "activateAjaxRefresh" use the function
	"js_refreshParentLines" for repaint the lines.
	
	*include/javascript/openlayers.pandora.js: add the global var
	"storeLayerNameHierachy" for save the text localiced name of Hierachy lines
	layer. Add the function "js_refreshParentLines" for paint the lines from
	parent to sons. In function "changeShowStatus" add the
	"js_refreshParentLines"

	* operation/gis_maps/render_view.php: use the function "addParentLines" for
	start the parent lines.

	* operation/agentes/gis_view.php: clean sourcecode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 12:00:57 +00:00
mdtrooper 0df96295a1 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/ajax.php: fix the query to extract the GIS data for
	agent, in any moment in the past I dirty the query, but now it's clean, and
	now run fine the agent movement.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 10:19:09 +00:00
pabloconcepcion e343cf66ec 2010-03-01 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/javascript/openlayers.pandora.js: Modified js_printMap to support
	Gmap type of maps.

	* include/functions_gis.php: Modified printMap to support Gmap type of maps

	* godmode/setup/gis_step_2.php: Modified to load on demand the Gmaps api
	TODO: Use the key from the gmap_key input box.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 20:42:49 +00:00
slerena 98421e46b6 2010-03-01 Sancho Lerena <slerena@artica.es>
* include/styles/menu.css,
        include/functions_db.php,
        operation/menu.php: New code for give support for Metaconsole. Added nocache
        settings in some SQL main functions to avoid globally usage of SQL cache.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2439 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 18:46:19 +00:00
mdtrooper 1107c289c5 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fix in javascript function
	"setFieldsFormLayer" set the checkbox.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2438 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 12:15:15 +00:00
mdtrooper a1c1c172f2 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in fuction "getAgentsLayer" fix when none data
	for agents in this layer.
	
	* operation/gis_maps/render_view.php: fix link to edit map and fix the text
	of header.
	
	operation/gis_maps/index.php: use function "print_page_header".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 11:40:07 +00:00
mdtrooper 84d4e9a405 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: now function "getAgentMap" return true or false
	if there is default map or not.

	* operation/agentes/gis_view.php, godmode/agentes/agent_conf_gis.php: show
	message of error when there isn't a default map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 11:17:27 +00:00
mdtrooper 75745509e2 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: update with the new data in
	the sql data file of pandora.
	
	include/config_process.php: update the version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 11:02:23 +00:00
mdtrooper 13ffc32fde 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: erase console log in some parts
	in javascript, and fix the fill a hidden input with the levels of zoom in
	a connection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 10:48:38 +00:00
mdtrooper 7391a94627 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql: add the default map from Open street map, and set
	active by default the GIS.
	
	* godmode/setup/gis_step_2.php: fix tiny bugs in the form that the default
	values for zooms were exchangeds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 10:24:19 +00:00
mdtrooper 07a2cd2dc0 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: use zoom level.
	
	* godmode/gis_maps/configure_gis_map.php: include the things about
	default zoom level in function "validateMapData", "getMapData" and add
	the function "getNumZoomLevelsOfConnectionDefault".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-26 11:20:15 +00:00
slerena d3bce7aca6 2010-02-25 Sancho Lerena <slerena@artica.es>
* godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/alert_actions.php: Show/Edit group for templates and actions.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 19:17:59 +00:00
slerena 70b343f9c3 2010-02-25 Sancho Lerena <slerena@artica.es>
* include/functions_ui.php: Alert information now show the default
	actions properly,and the action conditions (max/min).

	* include/functions_alerts.php: Added support on get_alert_templates_types
	for new alert type "onchange".

	* pandoradb.sql,
	extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added new support for alert
	type "onchange".

	* godmode/alerts/alert_list.php: Alert information now shows the default
	action (if exist) and have a link to edit the template directly from here.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 18:48:36 +00:00
mdtrooper 56d11dd57c 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: fix dinamic show icon when change
	the select and show other icon the icon with "without status".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 18:18:30 +00:00
mdtrooper 4a57b9c9e4 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: I did'nt upload in previous commit the changelog.

	* include/functions_gis.php: refactor the name of function "addPoint"
	to "addAgentPoint". In function "get_agent_icon_map" add new parameter
	$status for pass the status.
	
	* include/javascript/openlayers.pandora.js: add function "js_addAgentPoint"
	is same more or less "js_addPoint" and too for "js_addAgentPointExtent" and
	"js_addPointExtent".

	* operation/gis_maps/render_view.php: add the id_parent in the call of
	"addAgentPoint".
	
	* operation/gis_maps/ajax.php: clean source code and add the id_parent to
	return json for each agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 17:27:55 +00:00
mdtrooper 213ec3df72 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "addPath" fix the query to extract
	the path from a time.
	
	* operation/agentes/gis_view.php: add no-ajax control for filter the time
	to show path.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 16:32:07 +00:00
mdtrooper 8308b6c392 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "addPath" add the parameter
	$history_time for to set limit in seconds to past where to start path.
	Use new parameter in function "getAgentMap".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 15:51:37 +00:00
mdtrooper 10bd0b0cf4 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/gis_view.php: change the empty message to standar.
	
	* godmode/menu.php: change the text of visual console builder and GIS map
	builder, and move to down the Conection GIS editor.
	
	* godmode/gis_maps/configure_gis_map.php: change some text.
	
	* godmode/gis_maps/index.php: use new header.
	
	* godmode/reporting/map_builder.php: change some text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 13:30:42 +00:00
mdtrooper 137e263142 2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: change the setup params "maxExtent",
	"maxResolution", "numZoomLevels" from map to baselayer. Add new function
	"getAgentsLayer" to get agent info of agents in layer, but only agents not
	in group in layer. 
	
	* operation/gis_maps/render_view.php: use new function "getAgentsLayer".

	* operation/gis_maps/ajax.php: fix the extract agent gis info, and clean
	source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 12:46:47 +00:00
pabloconcepcion 384270a4dd 2010-02-25 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/setup/gis_step_2.php: Modified to get the KEY to load the Google
    Maps Javascript for the used domain. Now it stores the key, but still it
    doesn't load dinamicaly the javascript to show the preview.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 11:30:56 +00:00
mdtrooper 4437fe1bd8 2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: fix map to show correct position the agent
	icons in the function "printMap".
	
	* include/javascript/openlayers.pandora.js: fix map to show correct position
	the agent icons in the function "js_printMap".

	* godmode/gis_maps/configure_gis_map.php: fix a mechanographic mistake in a
	text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 15:19:16 +00:00
mdtrooper b3e4b9c000 2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "printMap" add the posibility to
	show the Static_Image base layer (WIP because it'snt show the icons), in
	function "getAgentMap" pass the status in the feature.
	
	* include/javascript/openlayers.pandora.js: in the function "js_printMap"
	add the posibility to show the Static_Image base layer (WIP).
	
	* operation/gis_maps/render_view.php: clean source code for the part of
	baselayers and add the code for Static Image baselayer.
	
	* godmode/setup/gis_step_2.php: clean source code uninitialize vars, add
	the preview static image var (WIP because it'snt show the icons).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 13:42:01 +00:00
pabloconcepcion 1f1b8b5516 2010-02-24 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/setup/gis_step_2.php: Modified to be able to manage also
    Goolge Maps (TODO:preview and KEY management) and Static Images (TODO:
    preview).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 12:01:23 +00:00
mdtrooper 845b9d9cfa 2010-02-24 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: fix the refresh time in function
	"activateAjaxRefresh", in functions "activateAjaxRefresh" and "addPoint"
	 add status agent.
	 
	* include/javascript/openlayers.pandora.js: add function "changeShowStatus"
	for change show icons by status, in function "changeRefreshTime" add reset
	timer, in function "js_addPoint" and "js_addPointExtent" add the state and
	hide if it's necesary.
	
	* operation/gis_maps/render_view.php: change the style of page, and add
	controls for hide agent icons by state.

	* operation/gis_maps/ajax.php: add the option "get_map_connection_data" in
	switch for get map connection data.

	* godmode/gis_maps/configure_gis_map.php: start to develop the preview map
	in editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 11:49:03 +00:00
pabloconcepcion 5503851276 2010-02-24 Pablo de la Concepción <pablo.concepcion@artica.es>
* pandora_console/operation/gis_maps/render_view.php: Changed PanZoom
    to PanZoomBar in the map.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2411 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-24 10:58:07 +00:00
mdtrooper 37e3c5537e 2010-02-23 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "activateAjaxRefresh" add the
	posibility to change refresh time in execution time.
	
	* include/functions_ui.php: add in the "print_page_header" the feature to
	pass a array of buttons/items.

	* include/javascript/openlayers.pandora.js: add the function
	"changeRefreshTime" for change the refresh time.

	* operation/gis_maps/render_view.php: change the top of page for to
	adapt the new header, and add refresh control.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 16:36:24 +00:00
pabloconcepcion 1c34f4ca70 2010-02-23 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/setup/gis_step_2.php, godmode/gis_maps/configure_gis_map.php: 
    Usability improvements, change some texts, added some contextual tips.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 14:47:41 +00:00
mdtrooper 1aa56e4dc6 Fix changelog copy & paste error.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2406 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 13:18:47 +00:00
mdtrooper 3289ad7339 2010-02-22 Sancho Lerena <slerena@artica.es>
* include/functions_gis.php: change the function "activateAjaxRefresh" for
	refresh also the agent maps, and in the function "getAgentMap" show icon
	with status the agent maps.
	* operation/gis_maps/ajax.php: in the switch option "get_new_positions"
	return GIS data for agent maps, in the "point_agent_info" and
	"point_path_info" option change for new tables.
	* operation/agentes/gis_view.php: add the ajax moving agent and click
	bubble info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 12:12:41 +00:00
slerena 5f136b3033 2010-02-22 Sancho Lerena <slerena@artica.es>
* include/functions_menu.php: Add calls for new enterprise ACL system.

	* include/config_process.php
	include/functions_config.php: Added new setup token for ACL enterprise.

	* index.php: Implemented new Enterprise ACL on page load.

	* extras/pandora_diag.php: Added new header style.

	* general/noaccess.php: Ending <div> was breaking layout. Fixed.

	* godmode/db/db_main.php: Added new header style.

	* godmode/menu.php: Added new Setup option for Enterprise ACL system.

	* godmode/snmpconsole/snmp_alert.php,
	godmode/setup/news.php
	godmode/users/configure_user.php
	godmode/reporting/map_builder.php: Added new header style.

	* godmode/setup/setup.php: Added new Setup option for Enterprise ACL system.

	* godmode/setup/setup_visuals.php: Added new header style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 19:03:55 +00:00
mdtrooper 126d96f5b9 2010-02-22 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/ajax.php: fix bug that pass wrong var to search
	status in function "get_agent_status".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 18:09:56 +00:00
mdtrooper ec84e1c7a3 2010-02-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_alerts.php: fix when try delete only the alerts from
	alert policies form. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 17:01:58 +00:00
mdtrooper 4939bbb0cf 2010-02-22 Miguel de Dios <miguel.dedios@artica.es>
* images/groups_small/*.ok.png, images/groups_small/*.default.png,
	images/groups_small/*.bad.png, images/groups_small/*.warning.png: add the
	group images for diferent status, it's used in the GIS map.
	
	* godmode/agentes/agent_manager.php: change for new form to name the icons
	with status.
	
	* include/functions_gis.php: clean source code in function "addPoint",
	rewrite the function "get_agent_icon_map" for used icons with state for
	group, change some parts of source code in the function "getArrayListIcons"
	for new form to name the icons.
	
	* images/gis_map/icons/*.png: change some icons.
	
	* operation/agentes/estado_generalagente.php: show message when there isn't
	the GIS data.
	
	* operation/gis_maps/ajax.php: change the source code and db query to
	return the GIS data for return default position for agent without GIS data.
	
	* operation/gis_maps/render_view.php: show agents without GIS data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2396 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 16:13:12 +00:00
mdtrooper b4811191af 2010-02-22 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php: fix, use the new tables.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 10:01:50 +00:00
slerena 633f53a16d 2010-02-20 Sancho Lerena <slerena@artica.es>
* godmode/setup/setup.php: Fixed bug #2952636, thanks Junichi
        for the patch.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-21 18:50:00 +00:00
slerena 2fe8a69c4e 2010-02-20 Sancho Lerena <slerena@artica.es>
* include/gettext.php: Applied patch to solve problem in 64bit
        systems. Thanks Junichi!.  



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-21 18:37:55 +00:00
slerena 020d64d2af 2010-02-19 Sancho Lerena <slerena@artica.es>
* functions_events.php: Fixed typo (switched meaning) in two labels.

	* include/styles/pandora.css: Changed background color of th default style.

	* include/functions_reporting.php: Improved function get_group_stats(). Now
	supports stats from batch-mode and get realtime stats in a more efficient
	way. Fixed get_fired_alerts_reporting_table() to avoid problems in external 
	reporting (PDF & XML).

	* include/functions_servers.php: get_server_performance() now uses batch mode
	stats reporting, and improved also the realtime stats generation. Same with
	function get_server_info().

	* include/functions_config.php: Added new config tokens (not fully 
	implemented yet) for event, trap, strings and audit automatic purge.

	* include/functions_ui.php: Added new print_page_header() function to set
	the new standard header in all pages, using the "tabbed" format to show
	the title, subtitle and other options like help, or custom-tabs for the page

	* pandoradb.sql: Added tserver.stat_utimestamp field. Added indexes to 
	tsession table. Fixed typo in field name in tgroup_stat: agents_uknown to
	agents_unknown.

	* extensions/ext_backup: New directory to place "deleted" extensions.

	* extensions/dbmanager/dbmanager.css: Table names now are in it's original
	lowercase/uppercase format.

	* extensions/dbmanager.php: Updated headers, and now return "empty" when
	a search is empty, instead "error" as before.

	* extensions/users_connected.php
	extensions/module_groups.php
	extensions/plugin_registration.php
	extensions/pandora_logs.php
	operation/incidents/incident.php
	operation/snmpconsole/snmp_view.php
	operation/users/user.php
	operation/users/user_edit.php
	godmode/agentes/planned_downtime.php
	operation/events/events.php
	operation/visual_console/index.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/exportdata.php
	operation/agentes/ver_agente.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/users/user_statistics.php: Added new header format.

	* operation/agentes/estado_grupo.php: Removed old group view.

	* operation/agentes/tactical.php: Adapted to use new realtime/batch 
	statistical system. Placed events above server info. Showing only pending
	events and other minor changes.

	* operation/agentes/group_view.php: NEW screen, replacing old one. Probably
	most ugly, but much more useful than before.

	* operation/agentes/networkmap.php: Added title.

	* operation/messages/message.php: Added title and adding some exists in 	
	code was missing before.

	* operation/reporting/reporting_viewer.php: Added title.

	* operation/reporting/graph_viewer.php: Added title.

	* operation/reporting/custom_reporting.php: Added title.

	* operation/servers/view_server.php: 

	* operation/menu.php: Replaced old group view with new (this has english
	name). Removed autorefresh "by default" in server view.

	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Fixed typo.

	* extras/pandora_diag.php: Minor changes, removed some info and added other.

	* general/logon_ok.php: Minor aesthetic changes.

	* general/header.php: Fixed missing ";"

	* operation/extensions.php,
	godmode/extensions.php: Added support for delete extensions.

	* godmode/menu.php: New setup items.

	* godmode/setup/setup.php,
	godmode/setup/performance.php,
	godmode/setup/setup_visuals.php: Reordered setup options, new setup section	
	"Performance", added new performance options to set  "realtime" statistics
	or "batchmode" with it's own interval. Some setup info is now shared with
	the servers (but it it's any change in setup, servers should be restarted 
	anyway).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 15:16:03 +00:00
mdtrooper b6c75c146e 2010-02-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: adapt to new tables.
	
	* include/javascript/openlayers.pandora.js
	
	* operation/gis_maps/render_view.php: adapt to new tables.
	
	* operation/gis_maps/ajax.php: adapt to new tables.
	
	* operation/agentes/gis_view.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 12:26:54 +00:00