* include/functions_reporting.php: in function
"get_agents_detailed_event_reporting" fixed param for $id_agents to array
type, fixed the loop to save events and fixed in the loop to make the table.
Added the function "get_module_detailed_event_reporting" for events of any
module. In function "render_report_html_item" remove trace function, added
the render option "event_report_module" for render list of events of any
module.
* include/functions_db.php: added function "get_module_events".
* operation/gis_maps/ajax.php: cleaned source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php
operation/gis_maps/ajax.php
godmode/agentes/planned_downtime.php
godmode/agentes/manage_config_remote.php: Fixed many all group
control from 1 to 0 value. Remove deprecated functions
list_group() and list_group2() from functions_db.php
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* include/functions_gis.php: add the parameter id layer in the function
"makeLayer" for add the id layer (id of db) in the layer. Fill in the
sourcecode in the function "activateAjaxRefresh" that now show new
agents in the map in real time and add make changes in this function.
* operation/gis_maps/render_view.php: use the new parameter in the call
of function "makeLayer".
* operation/gis_maps/ajax.php: add code to return new positions (and name
and icon) when the ask the positions in "activateAjaxRefresh".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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, 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