* godmode/agentes/module_manager.php,
godmode/modules/manage_network_components.php,
godmode/modules/manage_network_templates_form.php: Changed the substr()
to mb_strimwidth(). Strings should be truncated with displayed length,
not number of characters.
* godmode/include/functions.php: Added wrapper mb_strimwidth().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/users/user.php: Modified the users that
are showed in the View users section. Now, the users
of the logged user group are listed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/agent.php: Modified to return the agent name at the i
begining of the serialized result.
* godmode/agentes/configurar_agente.php: Added help links and TODO tag
to remember to change the tabs to use the print_page_header function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/configure_user.php: fixed bug 2987162.
Validation of create a user with User ID null
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: added check new attribute "styleTable" to
object table, this is for pass the style table.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Changed the id of the log4x module type. There
were conflicts with Enterprise module types.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: fixed bug in the function
"format_array_to_update_sql" when the field yet escaped.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php: fixed bug 2987177. Wrong index
was associated with the delete icon in the users list.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: fixed bug in the function "get_db_value_filter"
when the field's name is a reserve word of mysql crash.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: Controled the sucessful of the
create an alarm to audit it for bug 2987006
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php,
godmode/alerts/alert_list.list.php: Changed a button between the
files
to clean source code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/ja/help_configure_gis_map.php,
include/help/ja/help_gis_map_builder.php,
include/help/ja/help_gis_setup_map_connection.php,
include/help/ja/help_setup_gis_index.php: Added the GIS help files
in Japanese.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_extensions.php: Changed the function to use,
from substr() to mb_substr(). substr() can't handle multibyte strings
correctly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2553 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: added request the search parameter.
* godmode/alerts/alert_list.list.php: fixed recove lost source code for
build $where var of old version of godmode/alerts/alert_list.php .
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2550 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: fixed the id of agent in source and
now hide the column agent in list when the edit alerts is in the agent
configuration.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.controls.js: changed the page to ajax in
the event "pandoraSelectAgentAlert".
* include/ajax/alert_list.ajax.php: new file with the source code of ajax
request.
* godmode/agentes/massive_config.php: changed the page to ajax in the
event "source_id_agent" in the javascript source code.
* godmode/alerts/alert_list.list.php: cleaned unused javascript source code
that is for use in alert_list.builder.php.
* godmode/alerts/alert_list.php: erase the php ajax source code and
copy to alert_list.ajax.php. And move the action messages (create, delete
...) bellow to header.
* godmode/alerts/alert_list.builder.php: : cleaned unused javascript source
code that is for use in alert_list.list.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: cleaned source code, added the tabs for to
use page alone (not in agent).
* godmode/alerts/alert_list.builder.php: tab for the make a alert.
* godmode/alerts/alert_list.list.php: tab for the list of alerts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: changed the functions
"get_agent_alerts_simple" and "get_agent_alerts_compound" delete new
parameter $limit because you can set the pagination limit in the parameter
$options.
* operation/agentes/alerts_status.php: changed the calls to previus
functions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php, godmode/menu.php: Hooks to services pages (Enterprise)
* images/box.png: Icon for services (Enterprise)
* godmode/setup/gis_step_2.php, godmode/setup/gis.php: Links to help pages
* include/help/en/help_service_elements_management.php,
include/help/en/help_view_services_detail.php,
include/help/en/help_view_services.php,
include/help/en/help_services_management.php: first version of services
help pages.
* include/help/en/help_setup_gis_index.php,
include/help/en/help_configure_gis_map.php,
include/help/en/help_gis_setup_map_connection.php: GIS help pages updated
* include/styles/pandora_forms.css, include/styles/menu.css: New styles for
forms and style for service menu entry icons.
* include/ajax/agent.php: New AJAX file to get info about agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: added parameter $where for SQL in function
"get_agent_alerts_compound".
* operation/agentes/alerts_status.php: use the new free search for filter
the rows of alerts.
* operation/agentes/alerts_status.functions.php: added parameter in the
function "printFormFilterAlert", the parameter $free_search and add
input text control for free search.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: changed some parts of source code in the
functions "format_alert_row" for show column modules in general view. In the
function "pagination" added the parameter $offset_name with default value
'offset' for to use several paginations in one page.
* include/functions_agents.php: added the parameters $limit, $idGroup,
$count in the function "get_agent_alerts_simple", and now you can limit the
rows, search by id group and return the count of rows (without limit). And
in the function "get_agent_alerts_compound" added the same parameters to
another function $idGroup, $limit, $count for similar uses.
* operation/agentes/alerts_status.php: cleaned more parts of source code,
fixed the mad array_merge of alerts, fixed SQL with the searchs IN
(large large list ids), fixed the pagination before loop all rows, now
only loop the block page rows.
* operation/agentes/alerts_status.functions.php: new file with the functions
"forceExecution", "validateAlert", and "printFormFilterAlert".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/ReconServer.pm: Trying to fix the problem
detected with recon and new modules from a network template.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Fallback to previous version, this fix
makes Pandora server to generate events constantly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2538 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Fixed the problem that agent status(estado)
is never updated to $new_status if initial state of new agent is
"estado != last_status" with "$new_status == last_status".
eg) When new agents are added by recontask, estado=1 and last_status=0
are set.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: Some "fixed" descriptions and sample
setup, I hope this help to clarify new users how to setup the MTA
(A LOTS of problems with this in forums), and some new inline
documentation about some configuration tokens.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/event_statistics.php: Updated year and headers. There
is a black space after the headers that should be avoided. Same to the
events.php file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: in function "printItemInVisualConsole"
changed the text align of elements label to center.
* operation/visual_console/render_view.php: changed the title to Pandora's
header.
* godmode/reporting/visual_console_builder.php: fixed the id of visual
console in the update wizard action.
* godmode/reporting/visual_console_builder.editor.php: small changes in the
style. Set the width and height for module graph.
* godmode/reporting/visual_console_builder.editor.js: set the default value
for width and height for module graph in the function "cleanFields". And in
the function "createItem" deleted br tag the simple value.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: added new parameter for function
"print_select" for style. In the function "print_input_hidden" added the
parameter $class for set the class of input.
* godmode/reporting/map_builder.php: delete old code, now it have only
source code of paint list of visual consoles.
* godmode/reporting/visual_console_builder.data.php: cleaned style the of
form.
* godmode/reporting/visual_console_builder.elements.php: cleaned the rows of
table, delete label color field and change the text type for a icon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php,
godmode/reporting/visual_console_builder.editor.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 finished but I will clean and
comment the source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/visual_console_builder.constans.php,
godmode/reporting/visual_console_builder.editor.js: 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@2527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/map_builder.php,
godmode/reporting/visual_console_builder.editor.js: worked about the new
visual console builder editor, now it is developing, don't afray.
* godmode/reporting/visual_console_builder.constans.php: added the file that
it has the constans.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/visual_console_builder.editor.js: worked about the new
visual console builder editor, now it is developing, don't afray.
* include/javascript/jquery.colorpicker.js: we used the old versión, and
patch with self code for z-index to upper position.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2525 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.preview.php,
godmode/reporting/visual_console_builder.php,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/visual_console_builder.editor.js: 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@2524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: New tool to do things in Pandora (system wide)
from the command line. This pretends to unify small maintance tips on
Pandora, intead have a miriad of small tools. First features are to
enable/disable alerts globally and to disable the enterprise ACL feature.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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