Commit Graph

2124 Commits

Author SHA1 Message Date
slerena f848cb4711 2010-02-18 Sancho Lerena <slerena@artica.es>
* unix/Linux/pandora_agent.conf,
        linux/pandora_agent.conf: Modified way to get loadaverage, taken from
        Enriquegm from the forums.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-17 02:16:03 +00:00
raulmateos e0e853741d 2010-02-16 Raul Mateos <raulofpandora@gmail.com>
* extensions/module_groups.php: Better description text. Changed font
	colour.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-16 22:36:12 +00:00
mdtrooper 23af6b04ff 2010-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add the function "getMapConnection" get the row
	of connection for id connection, "updateMap" function update the all data in
	the DB, "validateMapData" function validate the map data previous update or
	save in the database and if it's invalid, write the css code for set colors
	and other styles, "getMapData" return all data about map for id map,
	"addConectionMapsInForm" tranlate the map connection array to html code and
	javascript for to write in the form when edit, "addLayerList" translate the
	layer array to html code and javascript for write in the form when edit.  
	
	* operation/gis_maps/render_view.php: fix the link to edit map.
	
	* godmode/gis_maps/configure_gis_map.php: change many parts of the source
	code for add the method the edit in the form and add more usability
	to form.
	
	* godmode/gis_maps/index.php: fix the links to edit and view map.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2370 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-16 15:28:07 +00:00
Pablo de la Concepción Sanz 3ea775dd8f 2010-02-16 Pablo de la Concepción <pablo.concepcion@artica.es>
Updated tentacle from the tentacle repository and generated
    manpage. TODO:Make the installer install the manpages

    * unix/tentacle_client: Added pod documentation to generate manpages.

    *  man/man1/tentacle_client.1: First version of the manpages for
     tentacle_client



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2369 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-16 11:57:20 +00:00
Pablo de la Concepción Sanz 2f575d378e 2010-02-15 Pablo de la Concepción <pablo.concepcion@artica.es>
* conf/pandora_server.conf, lib/PandoraFMS/Config.pm: New configuration
    parameters: recon_reverse_geolocation_mode, recon_reverse_geolocation_file,
    recon_location_scatter_radius. As now the Recon Server can try to geolocate
    an agent when it's found by revers geoip location.

    * lib/PandoraFMS/Core.pm: Added first version of POD documentation to
    create the manpage and to have most of the subrutines documented. Also
    it's possible to add the description of the location to the GIS information
    on the pandora_update_agent and pandora_create_agent subroutines. And
    finaly moved away the GIS related functions (distance_moved) to their own
    new module PandoraFMS::GIS

    * lib/PandoraFMS/GIS.pm: New module to keep all the GIS related functions
    of Pandora FMS. Now it exports distance_moved, get_reverse_geoip_sql,
    get_reverse_geoip_file and  get_random_close_point.

    * lib/PandoraFMS/ReconServer.pm: Updated to get GIS information by doing
    reverse IP geolocation using GIS module.

    * man/man3/PandoraFMS::Core.pm.3, man/man3/PandoraFMS::GIS.pm.3: New
    manpages for Core and GIS modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 20:34:57 +00:00
Pablo de la Concepción Sanz 9c7c03ffbc 2010-02-15 Pablo de la Concepción <pablo.concepcion@artica.es>
* bin/tentacle_server:  Updated tentacle server and synchronized with the
    version from tentacle proyect.

    * man/man1/tentacle_server.1: Updated manpage from the updated pod
    documentation on bin/tentacle_server



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 19:18:53 +00:00
Pablo de la Concepción Sanz e56cad3176 2010-02-15 Pablo de la Concepción <pablo.concepcion@artica.es>
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added cusstom colums (
    custom_string_1, custom_string_2, custom_string_3, custom_integer_1 and
    custom_integer_2) to tnetwork_component, added also some configuration
    parameters that were missing. Reordering a bit. And fixed a missplaced ';'



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 19:11:25 +00:00
eric_ross_c e65d77e934 Updating migration sql
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 15:46:47 +00:00
eric_ross_c fe06891647 Updating changelog
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 15:43:41 +00:00
eric_ross_c f2a901f0d7 Updating changelog
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 15:40:32 +00:00
eric_ross_c 3716ca57e9 New image for new data type
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 13:36:36 +00:00
eric_ross_c f445bdf12c Fix commit for adding LOG4X support
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 13:07:52 +00:00
eric_ross_c fbcd36d182 Testing RW access
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 12:25:44 +00:00
mdtrooper a5507b73f2 2010-02-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in the function "saveMap" set the first map
	as default.
	
	* godmode/setup/gis_step_2.php: minor stetic change the link of refresh by
	button.

	* godmode/gis_maps/index.php: add many alerts in the change the default map
	and delete any map. And fix the delete map parameter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 11:00:51 +00:00
Pablo de la Concepción Sanz c0a6b5fddf 2010-02-14 Pablo de la Concepción <pablo.concepcion@artica.es>
* bin/tentacle_server: Added first version of POD documentation, there
    are still room for improvement (TODO: add the example section)

    * man/man1/tentacle_server.1: ManPage generated from bin/tentacle_server
    using pod2man.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-14 14:17:35 +00:00
mdtrooper 6caefc714b 2010-02-12 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js: add support to snmp ver3 in the
	load network component.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-12 11:47:57 +00:00
mdtrooper b4dff4975c 2010-02-12 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql: add new fields to tnetwork_component for support the
	snmp ver 3.
	
	* godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_network_components_form_network.php
	godmode/modules/manage_network_components.php: add support to snmp ver 3,
	add the fields for this use, and now can create and edit network
	component with snmp ver 3.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-12 11:13:24 +00:00
mdtrooper 75f49e1d33 2010-02-12 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form.php: clean source code and
	set correct ident.

	*godmode/modules/manage_network_components_form_network.php: remove the end
	of source code that it's unused.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-12 09:23:25 +00:00
mdtrooper 77bd57fdb3 Fix date in changelog.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-11 18:44:45 +00:00
mdtrooper ea3ba41b93 2010-02-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: clean source code, delete javascript debug
	info messages for firebug.

	* godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/configurar_agente.php: add support for SMNP ver3 in the
	forms to add or edit "Network module".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-11 18:44:12 +00:00
mdtrooper 5ce5a79d6c 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* pandora_agent_installer: fix bug when uninstall the agent in the same
	machine that it have a Pandora Server, that the uninstaller deleted the
	dirs share with Pandora Server (/var/spool/pandora/*)
	 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-11 17:21:42 +00:00
Pablo de la Concepción Sanz cae911bd51 2010-02-10 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/DataServer.pm: Validation of positiona parameters, check
    if the parameters are defined and if they have valid values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 20:17:08 +00:00
slerena 3a9e008228 2010-02-10 Sancho Lerena <slerena@artica.es>
* godmode/db/db_main.php: Added new metrics about DB usage. Added
        last time pandora_db.pl was running in the system.

        * godmode/db/db_info.php: Added graphic from db_main




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 20:02:51 +00:00
slerena 4ac21b7ed1 2010-02-10 Sancho Lerena <slerena@artica.es>
* operation/reporting/reporting_viewer_pdf.php
        include/functions_reporting_pdf.php: Small fixes for PDF reporting. 
        Decode entities to show texts correctly in description of each element.

        * pandoradb.sql: new enterprise structures.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 19:04:16 +00:00
mdtrooper 3e74b2a983 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "saveMap" now save the default
	connection.
	
	* operation/gis_maps/ajax.php: add option "get_data_conexion" for get by
	ajax the data connection when pass id_connection.
	
	* godmode/gis_maps/configure_gis_map.php: now you can set the default
	connection and too load the data by default for each connection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 18:27:24 +00:00
slerena b5b32c9f3c 2010-02-10 Sancho Lerena <slerena@artica.es>
* bin/pandora_server: Better error management, avoiding to show Enterprise
        loading errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:49:47 +00:00
slerena 28e232f30a 2010-02-09 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_daemon
        * unix/pandora_agent.spec
        * linux/pandora_agent_daemon
        * linux/pandora_agent.spec: Fixed some compatibility issues with
        CentOS LSB and RPM package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:37:48 +00:00
slerena 70feefaf5c 2010-02-10 Sancho Lerena <slerena@artica.es>
* bin/pandora_server: Better error management, avoiding to show Enterprise
	loading errors, and showing in console critical errors, helping to identify
	silly errors like DB credentials, etc.
	Added usage of pandora_get_sharedconfig() to get configuration from DB.

	* Config.pm: Updated build. Added pandora_get_sharedconfig(). Force three
	config tokens to be readed from DB, using default values if cannot be readen
	from database (agentaccess, realtimestat and stats_interval).

	* Core.pm: Added new parameter to pandora_event() to pass status of the 
	event (validated, not validated). Implemented auto-validation of low 
	priority events: normal/ok events will be always shown as autovalidated, and
	warning and normal events will be validated with critical events, and when
	a module is restored (normal/ok), all it's warning/critical pending events
	will be validated. 

	Fixed also bug with FF Threshold who doesnt' trigger events until FF + 1 
	instead FF value.

	* Server.pm,
	NetworkServer.pm,
	Dataserver.pm,
	ReconServer.pm: Raise event with status 0 (non validated) by default.

	* NetworkServer.pm: Implemented support for SNMP v3.

	* util/pandora_db.pm: Very important upgrade to this script. Now will
	delete all huge tables (tagente_datos, tagente_datos_string and 
	tagent_acccess) using several independent blocks (by default 100) avoiding
	mysql locks which happen in the past. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:32:10 +00:00
Pablo de la Concepción Sanz 2a113ca682 2010-02-10 Pablo de la Concepción <pablo.concepcion@artica.es>
* godmode/gis_maps/index.php: Fixed regresion, standarized using map_id
    as parameter.

    * pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added column
    default_map to table tgis_map to mark the default map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2340 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:31:26 +00:00
slerena d5055dffbf 2010-02-10 Sancho Lerena <slerena@artica.es>
* events.php: Fixed a bad link with an invalid id_agent.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:26:11 +00:00
slerena 1a0d72164f 2010-02-10 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Changes in several tables and new tgroup_stat table.
	Added several index and dropped some fields in tagente_datos and 
	tagente_datos_string tagent_access.
	
	* godmode/setup/setup.php, 
	* include/functions_config.php: Management of new timezone settings and
	realtime stats parameters.

	* include/config_process.php: New timezone management. Updated build.

	* pandoradb_data.sql: Build update. Added new tokens realtimestats and
	stats_interval.

	* install.php: Several changes: Now display GPL licence, better SQL error
	management, and steps are shown now as text instead a progress bar. Also 
	show version and build of the installer.

	* extensions/dbmanager.php: Removed some warnings

	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Updated with latest changs.

	* godmode/agentes/module_manager_editor_network.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/module_manager_editor.php: Implemented partial support for
	SNMP v3. Miguel will finish the work :-)

	* index.php: Session close function deprecated, replaced by a more standard
	method with unset.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 17:10:10 +00:00
mdtrooper 550c6ea3f8 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add in the function "getAgentMap" a new
	parameter "centerInAgent" (default true) for center the map in the last
	position of agent.
	
	* operation/agentes/ver_agente.php: clean source code.
	
	* godmode/agentes/agent_conf_gis.php: add page that you can change the
	position of agent.
	
	* godmode/agentes/configurar_agente.php: add the code to update the changed
	coords of agent, and show the tab to access the agent_conf_gis.php.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 13:08:33 +00:00
mdtrooper 00774405de 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css: add lost style for disable button.
	
	* include/functions_gis.php: fix the function "getAgentMap" now back run.

	* include/functions_ui.php: clean source code.
	
	* operation/agentes/ver_agente.php: add require javascript
	openlayers.pandora.js.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 10:16:51 +00:00
mdtrooper e9cfd7729f 2010-02-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: clean source code, and extract the javascript
	code to openlayers.pandora.js.
	
	* include/javascript/openlayers.pandora.js: new file, have a source code of
	gis in javascript.
	
	* operation/gis_maps/render_view.php, operation/gis_maps/index.php,
	operation/agentes/gis_view.php, godmode/agentes/agent_manager.php,
	godmode/setup/gis.php, godmode/gis_maps/configure_gis_map.php,
	godmode/gis_maps/index.php: add the require javascript to 
	"openlayers.pandora.js".

	* godmode/setup/gis_step_2.php: add the source code to improve usability,
	now can set with the mouse points of center and default position for agents
	without gis data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-09 17:06:25 +00:00
Pablo de la Concepción Sanz f5a77ac697 2010-02-08 Pablo de la Concepción <pablo.concepcion@artica.es>
* general/header.php, extensions/module_groups.php: Applied patch from 
	Junichi Satoh to fix Bug #2946318 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2334 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-08 17:58:25 +00:00
slerena 478ea21616 2010-02-08 Sancho Lerena <slerena@artica.es>
* util/pandora_db.pl: Script upgrade to purge data in several steps
        avoiding timeout and deadlocks() in high capacity enviroments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-08 01:02:59 +00:00
Pablo de la Concepción Sanz efc19eb943 2010-01-29 Pablo de la Concepción <pablo.concepcion@artica.es>
* conf/pandora_server.conf, lib/PandoraFMS/Config.pm: Added
    location_error parameter

    * lib/PandoraFMS/Core.pm: Fixed bugs in the creation and update of
    the agent that where messing with the locations. Fixed distance on the
    earth formula. Use of the location_error parameter to decide if an
    agent has moved or not.

    * util/pandora_xml_stress.pl, util/pandora_xml_stress.README: added
    parameter timezone_offset_range to let the timezone be random in the
    range given, and added the code to use it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-05 15:27:25 +00:00
mdtrooper 1112d56e86 2010-02-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/menu.php: small stetical change in menu entry that I forget to
	commit in previus upload.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-04 10:43:56 +00:00
mdtrooper 3246cd748a 2010-02-04 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add javascript function "isInt" for test int
	values, rename some javascript functions for to avoid typing mistakes with
	similar name functions in PHP. Add the function "activateAjaxRefresh" and
	"getArrayListIcons".
	
	* operation/gis_maps/ajax.php: add new operation "get_new_positions" for
	ajax refresh the points.
	
	* operation/gis_maps/render_view.php: change the source code for to use new
	functions as "activateAjaxRefresh" for example.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2330 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-04 10:34:30 +00:00
mdtrooper 7a0bf1492d 2010-02-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: fix the show icon agent view.
	* images/gis_map/icons/dot_bad.png, images/gis_map/icons/dot_ok.png,
	images/gis_map/icons/dot.png, images/gis_map/icons/dot_warning.png: add one
	more icons for agent in GIS system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2329 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-04 09:47:23 +00:00
mdtrooper 7ec5bbfb6a 2010-02-04 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php, godmode/agentes/agent_manager.php:
	add in the agent config form the fields Icon agent select and Ignore new
	GIS data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2328 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-04 09:42:46 +00:00
slerena e79bc4095c 2010-02-01 Sancho Lerena <slerena@artica.es>
Changes ported from 3.0 branch.

        * include/javascript/pandora_visual_console.js: Thiner lines in maps.

        * include/functions_visual_map.php: Fixed several issues in visual maps
        (bad hierarchy status color, limited depth for recursion, get unknown
        for agents and modules, and line color is now always associated to
        parent status) and non-status elements like labels, graphs or progress
        bars now doesnt propagate module status to parents.

        * include/functions_db.php: Added parameter to get_db_all_rows_sql() to
        avoid use of cache. Function process_sql() was not properly checking if
        cache usage was disabled and was always using cache. Added support for
        checking unknown status in get_agentmodule_status() function.

        * extensions/dbmanager/dbmanager.css,
          extensions/dbmanager.php: Fixed width of textarea.

        * operation/events/events.php: Fixed bug #2943907.

        * operation/agentes/exportdata.php: Fixed problem exporting CSV
        when data to export is TOO big, using an internal cache to read
        data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-01 19:22:34 +00:00
raulmateos e94bf6d263 2010-02-01 Raúl Mateos <raulofpandora@gmail.com>
* operation/agentes/estado_agente.php: Changed colour order for 
	module status.

	* include/help/en/help_agent_status.php: Improved help.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-01 18:01:05 +00:00
Pablo de la Concepción Sanz efe71d5c71 2010-01-29 Pablo de la Concepción <pablo.concepcion@artica.es>
* operation/gis_maps/render_view.php: Fixed call to get_agent_names to
	get the names in the same case as they are in the DB.

	* operation/agentes/gis_view.php: Changed size of the map to be relative

	* include/functions_gis.php: Fixed the call to addPoint in getAgentMap
	to use the new parameters.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-29 15:47:40 +00:00
Pablo de la Concepción Sanz 9af0431c21 2010-01-29 Pablo de la Concepción <pablo.concepcion@artica.es>
* lib/PandoraFMS/DataServer.pm: Improved timezone_offset management.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-29 15:40:05 +00:00
mdtrooper 5ba22ec2e3 2010-01-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/map_builder.php: use "clean_cache" in the deleting of
	visual map.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-29 09:31:00 +00:00
mdtrooper afa846c554 2010-01-27 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php: add the check if there aren't any
	connection to map.
	
	* operation/menu.php: change parameter "id" to "id_map". 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-28 18:15:16 +00:00
mdtrooper be35a2a1ee 2010-01-27 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add function "deleteMap" for to delete the map
	and other rows in tables related.
	
	* godmode/gis_maps/index.php: use the "deleteMap" in link of delete map.
	
	* include/functions_db.php: add function "clean_cache" for clean the
	problematic (sometimes) cache.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-28 17:58:30 +00:00
mdtrooper 676532f53c 2010-01-27 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/ajax.php: clean source code, erased comment lines.
	
	* include/functions_gis.php, godmode/gis_maps/configure_gis_map.php: clean
	source, change the name of saveMap2 to saveMap.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-28 14:44:57 +00:00
Pablo de la Concepción Sanz 010cd0f132 2010-01-27 Pablo de la Concepción <pablo.concepcion@artica.es>
* include/functions_gis.php: Modiffied addPoint and addPointExtent to 
	receive more parmeters so it's possible to use any kind of point.
	Modified comments on saveMap2

	* operation/gis_maps/render_view.php: Used map_id instead if id when 
	the parameter passed in the url is a map id.
	Fixed to work with the new function getMapConf.
	Improved "pure" view. Still some things are hardcoded and needs improvement

	* operation/gis_maps/ajax.php: Modified to suppor calls to get info of 
	different kind of points. Removed hardcoded data.

	* operation/gis_maps/index.php:  Used map_id instead if id when
	the parameter passed in the url is a map id.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2315 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-01-27 19:52:53 +00:00