* include/functions_ui.php: Improved the printTruncateText
function adding the parameter showTextInTitle
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmpconsole/snmp_view.php: Fixed the custom
value column tooltip. Now, the tooltip shows the full
value instead of the custom OID. Bug: 2940432
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: added in the function "safe_output" the flag
$utf8 for set the encoding of output, by default true.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2643 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: fixed typo mistake in
the sla vars in javascript.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: added the function "printTruncateText" for
facilitate trunc texts, and add the eye candy the tooltip.
* godmode/reporting/reporting_builder.list_items.php: used the new function
"printTruncateText".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/gis_step_2.php: Fixed the creation
of map connection without name and without type
of connection. Bug:2993713
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_recontask.php: Fixed the creation
of recon task without name and network. Also, the network
is checked by the following regular expression
"/[0-9]+.+[0-9]+.+[0-9]+.+[0-9]+\/+[0-9]/"
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php: Fixed that
was allowed to create a visual map without name and without
background. Bug: 2993503
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: Fixed the critical render
from an object that was not static graph when was heredated
from another layout. Bug 2940950
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_prediction.php:
Limited the source modules availables for the prediction
module at the modules with history_data = 1. bug:2922920
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.0_to_v3.1.sql
godmode/setup/gis_step_2.php
godmode/gis_maps/configure_gis_map.php: Added at the combos the
group All and asigned in creation layers -1 value to None value
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: fixed typo mistake in
the field "id_agent_module".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: added function "alert_reporting_agent"
for make the html list of agent alerts, added function
"alert_reporting_module" for same thing before function instead it is for
modules. In report item "event_report_agent" fixed the output. Added report
items "alert_report_module", "alert_report_agent", "url" and
"database_serialized".
* include/functions_db.php: added function "get_agent_alert_fired" for
to extract the alerts fired of agent, and added "get_module_alert_fired"
for alerts fired of module.
* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: fixed the renamed
column "row_separator" of previus commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: renamed the
column "row_separator" to more exactly name "column_separator". Sorry.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Updated version to 3.1
* pandoradb_migrate_v3.0_to_v3.1.sql: Fix, set log4x correct type id.
* include/functions_gis.php: Fixed a notice by undefined value.
* images/gis_maps/icons: Deleted several non-useful icons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: fixed the lost type in the edit
item.
* godmode/reporting/reporting_builder.item_editor.php: fixed the position of
hidden input for id item, after it was out form.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: fixed a mistake
copy&paste, now you can edit correctly the items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/pChart/pChart.class:
* include/pChart/pData.class
* include/fgraph.php: Fixed bug with eventgraph in graph_event_module().
* include/functions.php: return_graphtype() uses now the log4x id 24 in
ttipo_modulo, fixing the problem in graph visualizer. Anyway, log4x graphs
doesn't work on php >= 5.3.x :((
* operation/agentes/estado_monitores.php: Fixed id (24) for link in log4x.
* operation/agentes/stat_win.php: Included missing functions_reporting.php
include, it was missing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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_reporting.php: added render html for "text" and "sql"
item.
* include/ajax/reporting.ajax.php: added request for the custom SQL.
* include/functions_db.php: in function "get_db_value_filter" fixed the
field when the field is escape string.
* godmode/reporting/reporting_builder.item_editor.php: added the preview of
custom SQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_recontask_form.php: Avoided
that the All group appears on the combobox for
bug # 2992906
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Changed
the database values of group from 1 to 0 and
remove the group with Id=1
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: cleaned source code of
"render_report_html_item" function for new types of report items.
* include/functions.php: cleaned source code of "get_report_types" function
and added new types of report items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/datos_agente.php: Fixed the data table
render for log4x data.
* operation/agentes/estado_monitores.php: Graph icon should be
shown when using Log4x data, it has graphics (need to implement in
Flash in the future).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: The id_group filter in
agent_module_autocomplete is no longer needed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: in the function
"agent_changed_by_multiple_agents"fixed the id of "All" group, now it's the
0.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2608 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Fixed a doble include in the
functions_enterprise.php file (breaks the tab "inventory" in the
agent view).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Changed the
All group on combos from 1 to 0 and fix the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2601 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: re-added the list of reports,
re-added the delete reports. And fixed the notice PHP message and the
action edit in the main tab.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.0_to_v3.1.sql: Dropped the
foreign key between treport and tgrupo
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/visual_console/index.php
godmode/reporting/map_builder.php: Fixed the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_compounds.php
godmode/alerts/alert_list.php
godmode/alerts/alert_templates.php
godmode/alerts/configure_alert_action.php
godmode/alerts/alert_actions.php: Changed the
All group on combos from 1 to 0 and fix the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/reporting.ajax.php: added ajax respond to delete_sla_item and
add_sla actions.
* include/functions.php: added in the function "get_report_types" new types
of items/contents for reporting.
* pandoradb.sql: added columns custom_logo, header, first_page, footer,
custom_font into the table treport. And in the table treport_content have
new columns text, external_source, treport_custom_sql_id, header_definition,
row_separator, line_separator. Added new table treport_custom_sql.
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: added changes for DB that it
same to pandoradb.sql.
* images/sort_none.png, images/sort_down.png, images/sort_up.png: added the
images for order list items for reports.
* godmode/reporting/reporting_builder.list_items.php,
godmode/reporting/reporting_builder.main.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: made new forms to
manage the reporting, now Pandora have tabs and list of items. In the list
of items, you can order manually or automatically the items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f