* 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
* 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
* 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
* 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
* 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
* 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
* 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
* lib/PandoraFMS/DataServer.pm: Fix for annoying notices from
Perl due reference to undefined variable (GIS).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2504 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
* lib/PandoraFMS/Core.pm: Automonitoring includes now status of
database maintance and warns if more than 24hrs without running
database maintance script.
* util/pandora_db.pl: Added support to new purge parameters for
event, audits, snmp traps, string data and gis data. Added new
section to clean orphaned information (using an application -
implemented database referencial integrity model).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Set tagente_estado.current_interval to
tagente.intervalo if tagente_modulo.module_interval is 0.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2498 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, 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
* 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
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
* 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
* 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
* conf/pandora_server.conf: Several typos and better formating.
* util/change_remoteconfig.pl: Tool to massive edit the server IP
in remote configuration files. Could be modified to alter any other
fixed field.
* util/gpx2pandora_agent_data.pl: Transform a standard GPX GIS data
file in several Pandora FMS XML data server compatible files with GIS
data.
* util/gis.README: Small "documentation" on how to start to using GIS
in the Server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2474 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_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
* 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
* 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