* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* (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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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