* include/functions_gis.php: add function "deleteMap" for to delete the map
and other rows in tables related.
* godmode/gis_maps/index.php: use the "deleteMap" in link of delete map.
* include/functions_db.php: add function "clean_cache" for clean the
problematic (sometimes) cache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php: add the prototipe of function "saveMap2" at
the moment for to develop in next hours or days.
* include/javascript/jquery.json.js: add json plugin for jquery.
* godmode/gis_maps/configure_gis_map.php: rewrite all source code, change
the form and adapt to new gis tables.
* godmode/gis_maps/index.php: few changes for more correct source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php: add functions "saveMapConnection" and
"deleteMapConnection".
* godmode/setup/gis_step_2.php, godmode/setup/gis.php: add the forms to
make, edit and delete map connections.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2308 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: add the group column for SLA purposes.
* operation/agentes/gis_view.php: page for GIS data in agents view.
* operation/agentes/ver_agente.php: add the tab for GIS data.
* operation/menu.php, godmode/menu.php: change the lines for show the
entries in menu, now show the entries gis when it's set on.
* godmode/setup/setup.php: add the field to set on or off the GIS features
in the Pandora Console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup.php: fix bug that overwrite the row of "Attachment
store" field when put the row of field "IP list with API access".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/menu.css, godmode/gis_maps, godmode/menu.php,
godmode/gis_maps/configure_gis_map.php, godmode/gis_maps/index.php: add the
page to manipulate the GIS maps and add the page to create (and edit not at
the moment) the GIS maps.
* operation/gis_maps/render_view.php: small changes in the develop of
render, add events and popups.
* include/functions_gis.php: add code for respond to events, add function
"saveMap" to save a map.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_servers.php: Fixed notice (division by 0).
* include/functions_visual_map.php: Fixed problem in graphs
embedded in the visual console maps (problem with & in
fgraph call !!?).
* include/config_process.php: Added supression of DEPRECATED
system messages for PHP 5.2.11 or higher insted 5.3
* godmode/agentes/module_manager_editor_prediction.php: Fixed
several missing fields in the prediction module edition.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* module_manager_editor_common.php: Latest changes from mdtrooper break
some code, reverted specific changes in order to work.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process: Fixed problems detected in system/user
language settings. Now use config["language"] avoiding use of old
token "language_code"
* include/function_config.php: config["language"] is now a "stardard"
config token, avoding to use as special one, was giving a big headache in
order to maintain old compatibility. Now will use config["language"] always
and create it if doesnt exist using english as base lang.
* pandoradb_data.sql: Token is not "language" instead "language_code"
* godmode/setup/setup.php: Use config["language"], manage like other
variable in the sytem, avoiding conflicts and problems detected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php: fix bug to call
enterprise function without test if the enterprise install.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php: change the lines to
test if the form is for policy use. And clean source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.php: fixes bug in several fields of
edit form downtime.
Fixes: 2919938
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/reporting/graph_builder.php: fix blank row when
redraw graph in builder, and fix the empty column agent name in table of
modules.
Fixes: 2916194
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php: fix re-duplicate modules
now only generate one copy.
Fixes: 2915470
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/god9.png: New image.
* include/styles/menu.css: Added style for new menu item.
* godmode/menu.php: New menu item.
* godmode/reporting/map_builder.php: Updated internal links and title
because it will be a new entry in the menu.
* operation/visual_console/render_view.php: Updated internal link for
setup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Print table of items only
if the the tables has data, else print no items defined.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: test empty title report before on
submit in javascript, and test empty this title in PHP.
Fixes: 2910627
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_info.php: Added icon to download database info.
* include/style/tip.css: Removed unused style. Still help style is in
the file. Not removed, maybe used some day...
* operation/agentes/estado_grupo.php: Added colours to the numbers.
Added the text "modules".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_templates.php: use the function to translate the
seconds time to "human time" for time threshold.
Fixes: 2905968
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php: tiny fix the text for select all
modules in select box.
Fixes: 2897433
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2152 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fixed some innacurate queries, skipping
non-init modules, async modules and keepalive modules.
* include/functions_servers.php: Improved LAG calculation algorithm, now
is VERY precise. Added performance meter for local & remote checks.
* include/config_process.php: error_reporting() has better default values
now (skipping notices and non-important messages) for pandora_console.log
* include/functions_agents.php: Fixing a problem in an alert SQL on function
get_agent_alerts_simple().
* include/functions_db.php: get_server_info() moved to functions_servers.php
* operation/events/events.php: Fixed a bug with pagination and other bug with
user validated events search.
* operation/agentes/status_monitor.php: Better management of async modules,
non init and unknown modules. Now works as expected.
* operation/agentes/estado_monitores.php: Removed blank space between icons to
let table row more compact.
* operation/agentes/tactical.php: Added performance information. Removed some
information (not used) from snmp and recon servers.
* general/header.php: Latest changes here don't work as expected. Rewritten
and now works fine (enterprise/open logo in header).
* godmode/admin_access_logs.php: Fixed pagination bug in tracker. Added table
layout with two alternate colors (rowOdd method).
* operation/servers/view_server.php,
* godmode/servers/modificar_server.php: Added include to functions_servers.php
to use the new server functions, moved from functions_db.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: SLA readjust to be used in SLA view.
* include/config_process.php,
* include/functions_config.php: Added support for custom_logo option.
* include/help/en/help_agent_access.php,
include/help/en/help_custom_logo.php: New help topics.
* include/functions_agents.php: Replaced audit_db with pandora_audit().
* include/functions_db.php: pandora_audit() will replace audit_db().
* operation/agentes/sla_view.php: now show render ok modules with min_critical
defined and uses to calculate automatically a SLA based on it's critical
definition.
* operation/messages/message.php: Message view was not working!. Fixed
* Some new images added:
images/people_2.png
images/MiniLogoArtica.jpg
images/pandora_header_logo_enterprise.png
images/custom_logo
images/custom_logo/sourceforge.png
images/custom_logo/artica_logo.png
images/custom_logo/pandora_logo_head.png
images/pandora_header_logo.png
images/people_1.png:
* general/header.php: Changes to add new custom logo feature and replace
logos with a image instead text.
* godmode/setup/setup_visuals.php: now is possible to choose a custom logo
to be displayed in header.
*operation/agentes/ver_agente.php,
* godmode/agentes/configurar_agente.php: Tabs do not have text at sides. This
avoid problems in other languages different than english with long text strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: added new parameter for order the result of
query, $orderby.
* operation/agentes/alerts_status.php, godmode/alerts/alert_list.php: use
new parameter to order by module name.
Fixes: 2902603
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: fix deletion of compound alerts in the
function "delete_alert_agent_module".
Fixes: 2902618
* godmode/agentes/configurar_agente.php: use the "delete_alert_agent_module"
instead the sql method.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/plugin.php, godmode/reporting/map_builder.php,
godmode/profiles/profile_list.php, godmode/reporting/map_builder_wizard.php,
godmode/agentes/module_manager.php, godmode/agentes/planned_downtime.php:
Better use of icons in creating components, improving appearance.
* DEBIAN/make_deb_package.sh: Changed version string from rc2 to RC3.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php: User section has no ACL check, always can be seen.
* index.php: Added suppor for user-defined custom language (this code was
on my disk for 3 months, pending to be commited!).
* include/functions_db.php,
* include/functions_agents.php,
* godmode/alerts/alert_list.php,
* godmode/agentes/modificar_agente.php,
* godmode/agentes/configurar_agente.php: Added audit calls to several
management operations who don't have or have insufficient audit info.
* godmode/users/configure_user.php: Fixed several annoyings bugs. Added
custom language support, and added more audit info on management operations.
* godmode/users/user_list.php: More audit info.
* include/config_process.php: Add new debug option to render error log to
/pandora_console.log. Also set timezone if not defined (this makes warnings
on several PHP 5.x setups). Added user custom language support.
* include/functions_events.php: More audit info. Fixed problems with HTML
encoding render.
* functions_io.php: Some cleaning.
* include/functions_messages.php: Fixed problems with HTML
encoding render.
* functions_ui.php: Fixed problems with HTML encoding render in
print_string_substr() function.
* auth/mysql.php: is_user_admin() functions seems to be broken ¿?¿!. Fixed.
* styles/pandora.css: removed green colored left border in default style.
* message.php, incident*: Fixed problems with HTML encoding render.
* user.php: Better ACL check before let user to view/edit another user.
* user_edit: Removed some un-used form fields, some arrangements in layout,
and FIXED forever problems with password change (new code written).
* users/user_statistics.php: Now user can see its own audit records.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: add disabled parameter in functions,
"print_input_password" and "print_checkbox".
* godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php: check the module is in
any policy and disable some form fields.
Fixes: 2902631
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: add more values into function
"get_alert_template_threshold_values", values as 1 week, 2 weeks, 1 month
and 6 months.
* godmode/alerts/configure_alert_template.php: change the default value
to 1 day.
Fixes: 2902458
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: clean source code, the blank end line in the end of document
and show in the browser too.
* include/functions_ui.php, operation/agentes/alerts_status.php: add new
colummn, the action column that it show the actions of alert.
* godmode/alerts/alert_templates.php: add the 'Time threshold' in the
tooltip.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/spinner.png, images/background-li.png: New images converted
from gif.
* *.php: Changed several files from spinner.gif to spinner.png.
* extensions/update_manager/settings.php: Changed header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php, operation/events/events.php,
operation/snmpconsole/snmp_view.php: Use down icon instead wand icon,
due to wand is reserved for creation purposes.
* godmode/agentes/module_manager_editor.php: Added header and down icon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form_plugin.php: tiny fix in the
size of field "plugin_parameter".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2118 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: fix the
bug that show the modules "pending delete" in more select box in some forms.
Fixes: 2894921
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_sanity.php: fix typo error there was one "zero" more in
query SQL.
Fixes: 2895298
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: fix the web module, change the
field to save the request retry.
* godmode/agentes/configurar_agente.php: change the query for tactical view
the counts of modules before count the disabled modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmpconsole/snmp_view.php: fix and optimize the query to traps
in DB, because the old style didn't run with paginator and it was slow with
much traps registers.
* operation/agentes/status_monitor.php,
godmode/alerts/configure_alert_compound.php: little fix arround the code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/snmpconsole/snmp_alert.php: An agent, OID and custom OID may
be specified at the same time.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f