* include/functions_filemanager.php: added const MIME_TEXT. added source
code to handler the updload files, zips, delete files/dir and create text
files. Added function "delete_directory" for to delete recursive and or
not empty any dir, function "file_explorer" to show a file explorer,
"box_upload_file_complex" to show a controls to upload file or multiple
files in a zip, "box_upload_file_explorer" to show controls to upload
file, "box_upload_zip_explorer" to show controls to upload multiple files
in a zip, "box_create_text_explorer" to show controls to create text files,
and in function "get_file_manager_file_info" use new const MIME_TEXT.
* godmode/agentes/modificar_agente.php: cleaned source code, closed the <tr>
tag.
* godmode/agentes/configurar_agente.php: added hook to enterprise functions
for collection.
* godmode/menu.php: added hook to enterprise functions for collection.
* godmode/setup/file_manager.php:changed the source code for use new modular
functions to show and management files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/gettext.php: Sorry I forget part of changes in "fixed the bug of
pseudo-gettext with diferent arquitectures. Now check the arquitecture
before."
Fixes: #2991545
* godmode/agentes/configurar_agente.php: fixed lost the require file.
Fixes: #3000337
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_prediction.php: Make the services
part (Enterprise) work nicely.
* godmode/agentes/configurar_agente.php: Added enterprise hook for the
services parameters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2576 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
* 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
* (A lot of files): Updated include("config.php") and replaced
by global $config.
* functions_db.php, functions_html.php: Fixed way to get data
from the hash instead from the array.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/*.php, godmode/group/*.php, godmode/modules/*.php:
Updated year and headers in several files. Little by little I'll change
the rest...
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: hightlight that the parameter $script in
function print_input_text_extended isn't in use.
* include/functions_gis.php: create function "getDataLastPositionAgent"
that return row of position and other data for id agent.
* godmode/agentes/agent_conf_gis.php: add the validate fields and adapt
to new tables.
* godmode/agentes/configurar_agente.php: adapt to new tables.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php: clean source code, delete javascript debug
info messages for firebug.
* godmode/agentes/module_manager_editor_network.php,
godmode/agentes/configurar_agente.php: add support for SMNP ver3 in the
forms to add or edit "Network module".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Changes in several tables and new tgroup_stat table.
Added several index and dropped some fields in tagente_datos and
tagente_datos_string tagent_access.
* godmode/setup/setup.php,
* include/functions_config.php: Management of new timezone settings and
realtime stats parameters.
* include/config_process.php: New timezone management. Updated build.
* pandoradb_data.sql: Build update. Added new tokens realtimestats and
stats_interval.
* install.php: Several changes: Now display GPL licence, better SQL error
management, and steps are shown now as text instead a progress bar. Also
show version and build of the installer.
* extensions/dbmanager.php: Removed some warnings
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Updated with latest changs.
* godmode/agentes/module_manager_editor_network.php
godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor.php: Implemented partial support for
SNMP v3. Miguel will finish the work :-)
* index.php: Session close function deprecated, replaced by a more standard
method with unset.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php: add in the function "getAgentMap" a new
parameter "centerInAgent" (default true) for center the map in the last
position of agent.
* operation/agentes/ver_agente.php: clean source code.
* godmode/agentes/agent_conf_gis.php: add page that you can change the
position of agent.
* godmode/agentes/configurar_agente.php: add the code to update the changed
coords of agent, and show the tab to access the agent_conf_gis.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php, godmode/agentes/agent_manager.php:
add in the agent config form the fields Icon agent select and Ignore new
GIS data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2328 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_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
* 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
* 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
Upps, Tuesday #13, bad day for a last commit before launch RC1 ! :-S
* general/logon_ok.php: Fixed ugly format of table showing last activity
(has a too wide table width).
* godmode/admin_access_logs.php: Removed that crappy div fashion code and
replaced by old and reliable table-based-code :-) to fix the mess with the
pagination.
* godmode/agentes/configurar_agente.php: fixed problem with postprocess
values very bug (like 0.0000000123), parameter is now passed as string
because PHP is passing the value as scientific notation and mYsql don't
understand that.
* operation/agentes/exportdata.php,
* operation/search_results.php,
* godmode/reporting/map_builder.php,
* godmode/agentes/agent_manager.php,
* godmode/reporting/graph_builder.php,
* godmode/agentes/modificar_agente.php: Added non-case search SQL code for make
agent searches non case sensitive (nombre COLLATE utf8_general_ci LIKE...)
* module_manager_editor_common.php: More size for postprocess field.
* pandora_console/godmode/alerts/configure_alert_action.php: More width for
field2 in action form.
* godmode/alerts/configure_alert_command.php: Command field has more width
and added a help icon for macro subtitutions.
* include/functions_db.php: get_agent_name() now defaults to non uppercase
the agent names, because 3.0 has case sensitive agent names, and all
data must show the real Case.
* include/styles/pandora.css: removed uppercase transition for menu items
and agent tabs.
* operation/agentes/estado_agente.php: Agent is not shown in uppercase
anymore.
* operation/agentes/estado_generalagente.php: Agent name and parent name
is not in uppercase. OS version shows only last 15 characters or full string
if strlen() < 15.
* operation/agentes/status_monitor.php: Agent name is not in uppercase
anymore.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: add the feature to delete remote
conf file in the agent configuration.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: fix bug for character "`" in
name also in description, translate to html entitie.
Fixes: 2838129
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1933 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Updated version, added two new module groups and
some cleanup.
* pandoradb.sql: Added cascade_protection field in tagente and removed
old server information from 2.x scheme.
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Added new fields (trecon_task
and tagente) and drop old server information from tagente table.
* configurar_agente.php, agent_manager.php: Added cascade protection
GUI checkbox and logic.
* images/help: Added graph directory for help.
* help/en/cascade_protection.php: Added help topic.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Adjusted head and removed small heigh
problems in some tabs (agent and search sections).
* include/javascript/pandora.js: winopeng call for module graph is now
widther.
* index.php: Now defined a default search for agents().
* general/header.php: Redesign of header.
* general/pandora_help.php: Some visual changes in background and footer.
* godmode/modificar_agente.php: Create button replaced.
* fgraph.php: Fixed the string graphs and fixed a lot other issues.
* include/functions_visual_map.php: Module images are shown in pure mode
(without title) and adding the title defined by user in map definition.
* include/pandora_graph.php: Added default colors (up to 9) for combined
graphs.
* include/pchart_graph.php: Created a new method to render datetime
data in X axis legend. Reformatted combined and static graph to remove
transparent background, title and other issues reported. Also combined
stack graph now works adding data from one series to another.
* include/help/en/help_agent_status.php: new help file for agent status.
* include/pChart/pChart.class: Added new method for format datetime in two
lines with full date and time information.
* operation/search_results.php: reformatted tabs.
* operation/agentes/estado_agente.php: removed status information legend
and added a help icon.
* godmode/reporting/graph_builder.php,
operation/reporting/graph_viewer.php: Added new graph mode: stacked line.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Fixed string filter when
searching agents. Avoids a PHP notice when none found
* godmode/agentes/configurar_agente.php: Solved a mess with variable
names.
* godmode/agentes/module_manager_editor_prediction.php: Improved
the prediction module selection, adding a filter for agents and
module. Fixes#2707907
* include/javascript/jquery.pandora.controls.js: Returns
whenever callbackBefore returns false.
* include/javascript/pandora_modules.js: Check for module selection
when creating a prediction one.
* include/styles/pandora.css: Added style to prediction module
selection.
* godmode/alerts/alert_list.php: callbackBefore on pandora.controls
elements must return true now.
* godmode/agentes/module_manager_editor_common.php: Added moduletype
hidden input to be used in javascript.
* godmode/agentes/module_manager_editor.php: Use pandora.controls and
added a string for javascript.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Added autocomplete support
to parent selection, which is no a dropdown anymore. Partial fix for
#2707924.
* godmode/agentes/configurar_agente.php: Parent data is now the
agent name, not the agent id.
* include/javascript/jquery.ajaxqueue.js,
include/javascript/jquery.autocomplete.js,
include/javascript/jquery.bgiframe.js: Added to repository.
Autocompleter jQuery plugin.
* include/styles/pandora.css: Added autocomplete styles.
* include/functions_db.php: Added more support for search
parameter to get_group_agents() so you can pass a filter array now.
* operation/agentes/estado_agente.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Should fix bug #2785154. Wasn't
clear on how to duplicate but from what I understand this should fix it.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Style correction.
* operation/snmpconsole/snmp_view.php: Fixed creation link when
the agent is not found by address. Fixes#2777409
* godmode/agentes/agent_manager.php: Use address as name on creation
when it's given.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Use pandora functions to
create and update modules. Some fixes when these operations could
not be done so the editor appears again. Fixes#2762316
* godmode/agentes/module_manager_editor.php: Some patches to work
better with configurar_agente.php
* include/functions_modules.php: Avoid setting an empty name on
update_agent_module()
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Show "None" if no server is assigned.
Fixes#2768723
* godmode/agentes/configurar_agente.php: Removed direct link to
farscap.artica.es server. Fixed group tab selection.
* godmode/alerts/alert_list.php: Fixed a notice when there are no agents.
Fixes#2786519.
* general/header.php: Fixed an error when updating agent configuration
which was showing all the config in the header. Should be improved for
other textarea fields.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Added create_agent(),
* include/functions_db.php: Renamed dame_agente_id() to get_agent_id ().
Added process_sql_begin(), process_sql_rollback() and process_sql_commit()
and use MySQL functions directly because the Pandora cache was avoiding
more than one execution.
* include/functions_incidents.php, include/functions_messages.php,
godmode/agentes/massive_delete_agents.php,
godmode/agentes/massive_delete_alerts.php,
godmode/agentes/massive_delete_modules.php,
godmode/agentes/massive_edit_modules.php,
godmode/db/db_purge.php,
include/functions_events.php: Use new transaction functions.
* include/functions_modules.php: Sanitize some values. Added
create_agent_module_from_network_component(), create_agent_module()
and get_network_component().
* godmode/agentes/configurar_agente.php: Use get_agent_id() and transaction
functions.
* reporting/fgraph.php, operation/reporting/reporting_viewer.php: Use
get_agent_id().
* godmode/setup/file_manager.php: Removed unnecesary variable.
* operation/agentes/ver_agente.php: Replaced exit with return on ajax
operation.
* include/config_process.php: Updated build number.
* include/functions_network_profiles.php: Fixed documentation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/dbmanager.php: Fixed problems with quotes.
* operation/agentes/status_monitor.php: Used module_interval insted deprecated
tagente_estado.current_interval.
* operation/agentes/estado_grupo.php: Same as above.
* operation/agentes/estado_monitores.php: same as above.
* godmode/agentes/module_manager.php: Uses new server_type field instead old
server fields.
* godmode/agentes/configurar_agente.php: Added tab in godmode/edit agent
to go to a filtered list view per groups from the agent edit view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php,
godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager_editor_data.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/module_manager.php: Some fixes to allow form
reutilization.
* include/javascript/jquery.pandora.controls.js: Fixed a typo. Added
pandoraSelectGroup control.
* include/javascript/jquery.pandora.js: Separate between auto executed code
and document ready function.
* include/javascript/pandora_modules.js: Added to repository. Functions to
use on module editors.
* include/functions_agents.php: Added get_agents().
* include/functions_db.php: Added get_user_first_group(). Changed
user_access_to_agent() parameters order.
* include/functions_reporting.php: Style corrections.
* include/functions_ui.php: Added doc to print_status_image(). Added
print_ui_agents_list() to print a list of agents with a search form and
a lot of configuration options easily.
* include/functions_ui_renders.php: Added to repository. New API for
renders on UI components.
* operation/agentes/estado_agente.php: Make table wider.
* godmode/reporting/reporting_builder.php: Replaced exit with return. Use
pandoraSelectGroup control.
* godmode/servers/manage_recontask_form.php: Style corrections to fit
Pandora styles.
* godmode/servers/modificar_server.php: Removed a notice from a typo.
* godmode/setup/setup.php: Fixed table data indexes. Removed javascript
code from visual setup.
* godmode/setup/setup_visuals.php: Some strings changed. Style correction.
* godmode/menu.php: Added policies enterprise menu option.
* images/policies.png: Added to repository.
* godmode/agentes/modificar_agente.php: Style correction by using pandora
functions.
* godmode/agentes/massive_operations.php: Fixed tab styles that was showing
wrong the .
* godmode/agentes/manage_config_remote.php: Changes in
user_access_to_agent()
* general/ui/agents_list.php: Added to repository. Reusable render for an
agent list.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Fixed an error when an agent was
created without name. Added support for new server assignment via server
name instead of lot of comboboxes. Added os preview.
* godmode/agentes/configurar_agente.php: Added support for new server
assignment via server name. Do not show tabs on creation mode. Some
translatable strings replaced with common ones.
* godmode/agentes/modificar_agente.php: Use Pandora agents.
* godmode/modules/manage_nc_groups.php,
godmode/setup/news.php,
godmode/modules/manage_network_components.php,
godmode/reporting/map_builder.php,
godmode/agentes/planned_downtime.php: Some translatable strings replaced
with common ones.
* godmode/servers/modificar_server.php: Updated to changes in tserver. Use
get_server_info() for that.
* include/functions_db.php: Updated to changes in tserver about
server_type field on get_server_info(). Style correction.
* include/functions_servers.php: Added to repository. Servers API.
* operation/servers/view_server.php: Style correction.
* extras/pandoradb_migrate_v2.x_to_v3.0.sql, pandoradb.sql: Less space on
server_name field on tagente.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed id on tconfig
inserts.
* godmode/agentes/configurar_agente.php: Min and max module values
were not being updated.
* godmode/alerts/configure_alert_template.php: Removed duplicated
example. Added support for next warning and critical template types.
* include/functions_ui.php, include/functions_alerts.php: Added new
alert template types.
* include/functions_db.php: temp_sql_delete() moved out of
delete_agent() because there were errors if it was calling more than
once.
* include/functions_reports.php: Fixed doc for get_reports().
* include/config_process.php: Updated build number.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_operations.php: Added to repository. New
page to group massive operations in a single page.
* godmode/agentes/massive_config.php: Renamed from manage_config.php.
* godmode/agentes/massive_delete_agents.php: Renamed from
manage_delete.php.
* godmode/agentes/massive_delete_modules.php: Added to repository.
Interface to delete modules.
* godmode/agentes/massive_delete_alerts.php: Added to repository.
Interface to delete alerts.
* godmode/agentes/agent_manager.php: Fixed table width to make it
variable.
* godmode/agentes/module_manager.php: Rewritten to use Pandora
functions.
* include/javascript/jquery.pandora.controls.js: Added
pandoraSelectAgentAlert. Renamed pandoraSelectAgent to
pandoraSelectAgentModule. Get only needed fields to make it quicker
and avoid showing disabled modules.
* godmode/alerts/alert_list.php: Adapted to changes in
jquery.pandora.controls.js.
* godmode/menu.php: Group some pages into new "Massive operation"
submenu.
* images/copy.png: Replaced with a better icon.
* images/delete_agents.png, images/delete_alerts.php,
images/delete_modules.php: Added to repository.
* include/styles/pandora.css: Set color on input.sub
* include/styles/pandora_width.css: Make menu_tab_frame wider.
* include/functions_db.php: Removed deprecated
dame_nombre_grupomodulo(). Added support to __() to receive multiple
parameters so translatable strings can handle now printf format
characters.
* include/functions_modules.php: Added delete_agent_module().
* operation/agentes/ver_agente.php: Allow fields to be passed to
get_agent_modules_json AJAX operation.
* reporting/fgraph.php: Replaced sprintf() with __(). Some casts
added. Show a sparse chart even if it has no max/min value.
* godmode/modules/manage_network_components_form_network.php,
operation/agentes/estado_ultimopaquete.php,
godmode/modules/manage_network_components_form_wmi.php: Use
get_modulegroup_name().
* godmode/agentes/configurar_agente.php,
godmode/modules/manage_network_components.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Fixed module interval update.
Fixed a bug that shows an error message when updating a module.
* include/functions_html.php: Fixed a little bug in print_input_text()
that avoided showing a "0" as a value. Renamed a variable to avoid
parameter collisions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Rewrote get_agentmodule_sla with
faster calculations (count in SQL).
* include/functions_ui.php: Added print_moduletype_icon that prints the
whole (correct) icon including rollover text
* include/functions_db.php: Updated some documenation and removed
deprecated functions that are now in the auth parts. Renamed
return_status_agent_module to get_agentmodule_status
* operation/agentes/sla_view.php: Made it use the 2.0 SQL and HTML
functions
* godmode/agentes/configurar_agente.php: Fixed tab links
* operation/events/events.php, include/functions_visual_map.php,
operation/agentes/networkmap.php, operation/agentes/status_monitor.php,
operation/agentes/estado_grupo.php, operation/agentes/ver_agente.php,
operation/reporting/custom_reporting.php,
operation/reporting/reporting_viewer.php,
operation/reporting/reporting_xml.php, godmode/setup/links.php,
godmode/setup/setup.php, godmode/reporting/map_builder.php,
godmode/reporting/reporting_builder.php: Fixed renamed functions
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Added compact_header. If you want to
save on server hits and increase performance (slightly) enable it.
Page loads (on my system) ~500ms faster and feels faster since it
doesn't block the page while waiting on css and javascript
* include/functions_agents.php: Moved process_manage_config from
configurar_agente.
* include/functions_ui.php: Added compact_header functionality
* include/functions_html.php: Fixed some id issues which caused
manage_config to not work correctly. id's can't have [] in them.
Also fixed the comparison for numeric (string to int) comparisons
* include/styles/pandora.css: Moved @import to functions_ui.php
* godmode/agentes/manage_config.php: Fixed ids and some validation
* godmode/agentes/configurar_agente.php, godmode/agentes/agent_manager:
Fixed HTML output and use functions for images
* godmode/setup/setup.php: Added compact_header to setup
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1480 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager.php: Removed from repository. Agent
alerts manager is now done in alerts/alert_list.php
* godmode/agentes/manage_config.php, godmode/alerts/configure_alert,
godmode/agentes/configurar_agente.php: Use alerts/alert_list.php
instead of deleted agentes/alert_manager.php.
* godmode/alerts/alert_list.php: It can handle now a list of agents or
be included by configurar_agente. Now it's a single page to manage all
the alerts defined in agents.
* godmode/reporting/map_builder.php: Javascript style correction.
* include/javascript/jquery.pandora.controls.js: Added
pandoraSelectAgent which allows the loading of a module list from an
agent list.
* include/styles/pandora.css: Styles for alert_list.
* include/functions_agents.php: Added options to
get_agent_alerts_compound() and get_agent_alerts_simple() to add extra
user filtering.
* pandoradb.sql, pandoradb_migrate_20_to_21.sql,
include/functions_alerts.php: Actions in an alert module has now id or
they cannot be removed.
* include/functions_db.php: format_array_to_where_clause_sql() can now
get limit and offset values.
* include/functions_html.php: Removed select- prefix to print_select
elements because it was breaking javascript code. Needs more works on
that.
* operation/agentes/estado_agente.php: Added
get_agent_module_last_value AJAX operation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f