* 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
* 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
* 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
* 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
* include/functions_gis.php: fix a typing "print_r" in function "getMapConf"
and fill with code the function saveMap2 and add the commment in format
phpdoc.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php: add the prototipe of function "saveMap2" at
the moment for to develop in next hours or days.
* include/javascript/jquery.json.js: add json plugin for jquery.
* godmode/gis_maps/configure_gis_map.php: rewrite all source code, change
the form and adapt to new gis tables.
* godmode/gis_maps/index.php: few changes for more correct source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php: Added more Openlayers Controls to the case
on the printMap function, fixed typo manual_placemen -> manual_placement,
added gectConectionConf and getAgentMap functions (last one still with
some hardcoded values). Function get_agent_last_coords now also returns the
agent name.
* operation/agentes/estado_generalagente.php: Added last position
information, and timezone offset if is not 0
* operation/agentes/gis_view.php: Added map with the last position of the
agent and table with the previous positions of the agent.
* operation/agentes/ver_agente.php: Used agent icon to show status
if icon_path is defined.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php: add functions "saveMapConnection" and
"deleteMapConnection".
* godmode/setup/gis_step_2.php, godmode/setup/gis.php: add the forms to
make, edit and delete map connections.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2308 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Fixed problem in show_event_type() function
who mades events.php to do a invalid filtering by event status.
* operation/events/events_rss.php: Added optional (commented code)
support for filtering RSS request by the API ACL. need to implement a switch
in the config array to use here ACLs or not.
* operation/events/events.php: Fixed problem filterings events by status
(warning, critical, normal and not-normal).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added group column to control
ACLs as it was done in pandoradb.sql.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: add the group column for SLA purposes.
* operation/agentes/gis_view.php: page for GIS data in agents view.
* operation/agentes/ver_agente.php: add the tab for GIS data.
* operation/menu.php, godmode/menu.php: change the lines for show the
entries in menu, now show the entries gis when it's set on.
* godmode/setup/setup.php: add the field to set on or off the GIS features
in the Pandora Console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: small fix for to erase a alert message in php
when call a ajax.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql,
pandoradb_data.sql: Modified the GIS related tables, to make a better
GIS Data model, also included the activate_gis config parameter on tconfig.
Added column timezone_offset to table tserver_export so the export server
can send timezone information
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: use the flag "$develop_bypass" to change the
method to show the php messages for developing purposes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup.php: fix bug that overwrite the row of "Attachment
store" field when put the row of field "IP list with API access".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/menu.css, godmode/gis_maps, godmode/menu.php,
godmode/gis_maps/configure_gis_map.php, godmode/gis_maps/index.php: add the
page to manipulate the GIS maps and add the page to create (and edit not at
the moment) the GIS maps.
* operation/gis_maps/render_view.php: small changes in the develop of
render, add events and popups.
* include/functions_gis.php: add code for respond to events, add function
"saveMap" to save a map.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php, operation/gis_maps/ajax.php: code for GIS maps,
now show correctly the path points and start to show the popup for this
points.
* include/javascript/OpenLayers/lib/Gears/gears_init.js,
include/javascript/OpenLayers/lib/OpenLayers/Format/ArcXML/Features.js:
some files of OpenLayers that I erased in the previous clean.
* images/spinner.gif: image for ajax loading.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/OpenLayers/*: include the OpenLayers library into the
Pandora file system for GIS use.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/OpenLayers/*: include the OpenLayers library into the
Pandora file system for GIS use.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Added column
number_of_packages to tgis_data to track the number of data packages
received while the agent is in the same position.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
schema to give a default value to start_timestamp on tgis_data, without
it as is a timestamp MySQL sets the default value as CURRENT_TIMESTAMP
and also sets the CURRENT_TIMESTAMP ON UPDATE, setting the DEFAULT
CURRENT_TIMESTAMP prevents MySQL to set the ON UPDATE CURRENT_TIMESTAMP.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
schema to add, group_id and zoom_level to the table tgis_map and set the
primary keys of the new tables as autoincremet.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: Modified DB
schema to store more efficiently the GIS information,and added some
comments to explain the use of the new columns. Also added the last
change on the graph weights to the migrate script.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Custom graph weights now can be float.
* include/config_process.php: Updated version to 3.1-dev
This is the first commit of 3.1 version ! :-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: upps, too small, in huge systems could give a
problem in the autoinsert ID.
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Fixed a broken line
that make problems in our upgrade script. Added upgrade for
update manager from 2.x to 3.0 version URL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/Image/image_functions.php: PHP 5.2 and higher does
not support (deprecated) get_mimetype. Avoiding headers lets
the browser to decide contents of stream and now this works
on modern PHP, before not :(
* extensions/hello: Removed sample.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_servers.php: Fixed notice (division by 0).
* include/functions_visual_map.php: Fixed problem in graphs
embedded in the visual console maps (problem with & in
fgraph call !!?).
* include/config_process.php: Added supression of DEPRECATED
system messages for PHP 5.2.11 or higher insted 5.3
* godmode/agentes/module_manager_editor_prediction.php: Fixed
several missing fields in the prediction module edition.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* module_manager_editor_common.php: Latest changes from mdtrooper break
some code, reverted specific changes in order to work.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: tnetwork_component double(18,13) -> double
(18,3) by a typo !¡¿?. That is the type for tagente_modulo.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f