* include/functions_html.php
include/javascript/pandora.js
include/functions.php
include/functions_alerts.php
godmode/alerts/configure_alert_template.php
godmode/alerts/alert_list.builder.php: Improved the
periods control and added it to the alerts action threshold
and alert template threshold
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php
include/functions.php
include/constants.php: Add a new include file
only for constants
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Recoded the human_time_description_raw
function fixing bugs and improving exactly mode even years accuracy
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
operation/reporting/reporting_viewer.php
godmode/reporting/reporting_builder.php: Improved period form in the
report view and navegability merged from 4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_db.pl: added lines to purge the contents in the report that
have not a modules or agents.
Merged from the branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: now the function
"html_print_input_text_extended" accept a script code as string for event
"keyup" or as array where the index is string for each event where you want
add javascript code. And make more pretty the page of report and cleaned
source code style.
* include/functions_reporting.php,
godmode/reporting/reporting_builder.list_items.php,
godmode/reporting/reporting_builder.php: changed the old method to order
items in a report for the method with checks and move the block of items.
* godmode/reporting/reporting_builder.preview.php: removed this file, now
it use the html view in operation.
Merged from the branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.elements.php: Added
advanced period select to the elements list in visual console
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/visual_console/render_view.php
godmode/reporting/visual_console_builder.wizard.php
godmode/reporting/visual_console_builder.php
godmode/reporting/visual_console_builder.preview.php: Removed
preview section from visual map in godmode. Now is a link
to operation mode.
Change the link from op to godmode, now is to edition view,
not to main setup.
Added advanced period control to visual map setup
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
godmode/reporting/visual_console_builder.editor.js
godmode/reporting/visual_console_builder.editor.php: add
new period control to the visual console graph item editor
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js: Fixed problem with two
or more time controls at the same time adding uniq id
to selects
* godmode/agentes/module_manager_editor_common.php
godmode/reporting/reporting_builder.item_editor.php: Clean
code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js
images/pencil.png
images/default_list.png: Improved the usability
of the periods advanced control toggling between
manual and default mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5784 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: Fix a little bug
of default value in time advance control
* operation/reporting/graph_viewer.php
godmode/reporting/graph_builder.php
godmode/reporting/graph_builder.preview.php: Remove
the preview graphs and replace it by link of the
operation mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
godmode/agentes/module_manager_editor_common.php: Added
advanced select for time to modules create/update form,
improve layout of this form and add default value of
5 minutes to select
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js
include/functions_custom_graphs.php
include/functions.php
operation/agentes/datos_agente.php
operation/agentes/gis_view.php
operation/agentes/graphs.php
operation/agentes/stat_win.php
operation/reporting/graph_viewer.php
mobile/operation/agents/view_agents.php
godmode/agentes/agent_manager.php
godmode/massive/massive_edit_agents.php
godmode/reporting/graph_builder.main.php
godmode/reporting/reporting_builder.item_editor.php
godmode/reporting/graph_builder.preview.php: changed the
html_print_extended_select_for_time function to select
easily the custom period and do it genericly.
Clean all the calls to this function and unify the
combo periods.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: fixes and changes for to show better the
html reports.
* include/functions_groups.php: cleaned source code.
* include/functions.php: fixed and changed the function "string2image" to
create the text with any size and use ttf font.
Merged from the branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5770 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: fixed into function
"pch_slicebar_graph" unset var $antialias.
Merged bugfix from branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: added button near to
the list custom graph to create or edit the custom grap selected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/graph_builder.main.php: fixed lost require PHP functions
file, that before the php crashed because it tryed to call to unknow
function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.preview.php: fixed when the Pandora
have not enterprise part and show "-1" instead empty string.
* operation/reporting/reporting_viewer.php: added the enterprise posibility
to generate PDF from this report. And added the posibility to go to edit the
report from this page. Finally fixed the hidden first row of form, now show
again the check to select method to calculate and the title and other
things.
* include/functions_ui.php: fixed into the function "ui_print_page_header"
when the header have not any active tab.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.preview.php: fixed the calendar js
show, fixed the double update button and added the enterprise posibility to
generate PDF from this report.
* include/javascript/pandora.js: fixed the re-enable the module list widget
when sometimes start as disabled.
* include/functions_reporting.php, operation/reporting/reporting_viewer.php:
cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: fixed the show value in the
item simple value, now show formated and with units.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Removed legend in
graphic_module_events function due to attachment overload.
* include/functions_agents.php: Non-init count was bad because
normal modules are counted too.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: refixed again, removed the old method
to put the items, the new method is with top and left instead the margin-top
and margin-left.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: set to blue more light the
color for unknow status for percentile item, and set the size of items
create from the wizzard to 20 characteres.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.agents
util/pandora_xml_stress.conf: Added default file for agent
dictionary. Better defaults on modules. Ready to be used for
testing Pandora FMS servers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: into the function "html_print_select" removed
the hardcode style for the selectbox.
* godmode/reporting/visual_console_builder.wizard.php: force the style of
content table of form.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: apply format to graph in the
data when show value in percentile item.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Skin is not used on logon error.
Fixes: #3464062
* godmode/menu.php: Delete autorefresh in Pandora db interface.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php: added lost feature to set into
the wizard the kind of label ("agent", "module", "agent-module" or empty).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/agent.php: added the query "get_agents_group" for getting the
list of agents from a group pass as ajax parameter.
* godmode/reporting/visual_console_builder.editor.php: fixed lost title for
simple graph toolbox.
* godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php,
include/functions_visual_map.php: added into the wizzard a field group to
filter agents, and the feature to choose the item to create with the massive
wizzard.
* include/functions_graph.php, include/functions_ui.php,
operation/reporting/reporting_viewer.php: cleaned source code style.
* include/javascript/pandora.js: into the function
"agent_changed_by_multiple_agents" fixed the none text and any text, and
the width of module form field.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js, extensions/snmp_explorer.php,
operation/users/user_edit.php,
godmode/agentes/module_manager_editor_network.php,
godmode/setup/setup_auth.php, godmode/gis_maps/configure_gis_map.php,
godmode/massive/massive_edit_modules.php,
godmode/modules/manage_network_components_form.php,
godmode/reporting/visual_console_builder.editor.js: fixed enable a widget in
javascript (because the new jquery library is more html standar).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js: Fixed a xAxis bad
tick calculating and added some transparency to graph areas
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f