* godmode/alerts/alert_list.list.php,
godmode/reporting/graph_builder.php, godmode/setup/news.php,
godmode/setup/setup_general.php, godmode/netflow/nf_edit_form.php,
godmode/db/db_purge.php, godmode/db/db_main.php,
godmode/extensions.php, include/functions_reporting.php,
operation/reporting/reporting_viewer.php: improved the source code
style.
* operation/reporting/reporting_xml.php, include/functions_xml.php:
fixed the output of xml when have some html entities that is not
as hexadecimal entities.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/shortcut_bar.php, godmode/alerts/alert_actions.php,
godmode/category/edit_category.php, include/functions_reports.php,
include/db/postgresql.php, include/functions_gis.php,
include/functions_treeview.php,
include/functions_network_components.php: improved the code style.
* include/javascript/pandora.js: in function
"agent_changed_by_multiple_agents" added hook for to call any
function when loaded the module list. (now used in the wizzard
of reports in enterprise).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql: Modified the alerts default data to
have basic wizard access by default
* godmode/alerts/configure_alert_template.php: Modify the
alert templates form to define wizard access only in metaconsole
and nowizard or respect the current value from the normal console
* include/javascript/jquery.pandora.js: Add a hack to
the license modal window to use it from metaconsole too
* operation/events/events.build_table.php
operation/events/events_list.php
operation/events/events.php: Encapsulate the table build
of the events list to reuse it from other views like tactical
view in metaconsole
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7535 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.php: Fix ACLs bug of AD flag
and aesthetic issues
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions.php
operation/agentes/alerts_status.php
operation/agentes/estado_agente.php
godmode/agentes/module_manager.php
godmode/agentes/modificar_agente.php
godmode/agentes/configurar_agente.php
godmode/menu.php
godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.php: Added checks to new flag AD
in godmode views for agents, modules and alerts. Clean
some old extra_sql (policy acls) code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions_agents.php
include/functions_tags.php
operation/tree.php
operation/agentes/status_monitor.php
operation/agentes/alerts_status.php
operation/agentes/estado_ultimopaquete.php
operation/agentes/estado_agente.php
operation/agentes/status_events.php
operation/agentes/estado_monitores.php
operation/agentes/tactical.php
operation/agentes/group_view.php
operation/agentes/networkmap.php
operation/events/events_list.php
general/logon_ok.php
godmode/agentes/module_manager.php
godmode/alerts/alert_list.list.php: Add tags acl checks to modules
and alerts view. Add warn messages to zones with status counts when the
user has acl tags assigned
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php,
godmode/alerts/configure_alert_template.php,
godmode/alerts/alert_templates.php,
godmode/alerts/alert_list.builder.php,
operation/messages/message_edit.php, include/functions_api.php,
operation/reporting/reporting_xml.php,
godmode/reporting/graph_builder.graph_editor.php: cleaned source
code style.
* include/functions_io.php: improved the function "__" for to hook
the translations from metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/configure_alert_command.php, index.php: cleaned
source code style.
* godmode/alerts/alert_commands.php: fixed the check the name of
command that it did not make the update the data.
MERGED FROM THE BRANCH PANDORA_4.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_alerts.js
godmode/alerts/configure_alert_action.php: Fix some bugs in
the action form (jquery headache)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7116 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_alert_fields_description.php
include/help/en/help_alert_fields_values.php
include/help/es/help_alert_fields_description.php
include/help/es/help_alert_fields_values.php
godmode/alerts/configure_alert_command.php: Add help to the command
new fields system
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7104 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
include/javascript/pandora_alerts.js
pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
godmode/alerts/configure_alert_template.php
godmode/alerts/alert_templates.php
godmode/alerts/configure_alert_action.php
godmode/alerts/configure_alert_command.php
godmode/alerts/alert_actions.php
godmode/alerts/alert_commands.php: Added 7 more fields to
alert actions and adapted templates to this feature (recovery
included). Add the feature of custom the label and the possible
data (to use textarea or select) from the command
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.editor.js,
godmode/alerts/alert_list.builder.php,
godmode/alerts/alert_list.list.php,
godmode/gis_maps/configure_gis_map.php,
include/functions_visual_map_editor.php, include/functions_ui.php,
operation/tree.php, operation/agentes/exportdata.excel.php,
operation/agentes/exportdata.php, operation/agentes/ver_agente.php,
operation/snmpconsole/snmp_view.php, operation/users/user_edit.php,
operation/gis_maps/ajax.php, operation/events/events_validate.php,
operation/messages/message_edit.php,
operation/messages/message_list.php,
operation/reporting/reporting_viewer.php,
operation/netflow/nf_live_view.php,
operation/incidents/incident.php, operation/search_modules.php:
started to use the new function "ui_print_agent_autocomplete_input"
to make more easy (and standar) the autocomplete agent input.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/insert_data.php,
operation/incidents/incident_detail.php: started to use the new function
"ui_print_agent_autocomplete_input" to make more easy (and standar)
the autocomplete agent input.
* godmode/agentes/agent_manager.php: erased unused source code for
old ajax call, and started to use the new function
"ui_print_agent_autocomplete_input" to make more easy (and standar)
the autocomplete agent input.
* operation/agentes/exportdata.php: erased duplicated source code
for call ajax, and rewrote some javascript to use same page to
ajax.
* godmode/alerts/alert_list.builder.php,
godmode/events/event_edit_filter.php,
godmode/reporting/visual_console_builder.editor.js: rewrote some
javascript to use same page to ajax.
* include/ajax/agent.php: cleaned source code style.
* include/functions_ui.php: removed the old unused code as
the functions "ui_print_ui_agents_list" and "ui_popup_help". And
added the first version of "ui_print_agent_autocomplete_input", and
this function maybe will be changing for a some time.
* include/functions_html.php: into the function
"html_print_input_text_extended" added code to use the $alt
parameter (never it have been used before) and added the function
"html_print_input_hidden_extended" with more parameters than the
simple "html_print_input_hidden" function.
* include/javascript/pandora.js: marked as Deprecated the function
"agent_module_autocomplete".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
include/db/mysql.php,
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
godmode/agentes/planned_downtime.list.php,
godmode/agentes/planned_downtime.editor.php, godmode/menu.php,
include/ajax/planned_downtime.ajax.php: refactoriced the code for
planned downtime, now this have new feature such as set a downtime
with a periodicity each week, each month and set the agents and
the modules with Quiet state instead the old form (but the old still
is). And the page is more easy and quickly to set or config a
planned downtime.
* godmode/alerts/configure_alert_template.php,
include/javascript/pandora.js: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_commands.php: Fixed a little bugs
of presentation in the command descriptions
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php: added more constants into the constants
block of time conversion to seconds.
* godmode/alerts/alert_commands.php, godmode/setup/performance.php,
include/help/en/help_date_format.php, include/functions_netflow.php,
include/functions_tags.php, include/graphs/functions_pchart.php,
include/functions_modules.php, extensions/agents_modules.php,
extensions/update_manager.php, extensions/resource_exportation.php,
extensions/module_groups.php,
extensions/update_manager/lib/libupdate_manager_client.php,
extensions/system_info.php, operation/events/events_rss.php,
operation/events/export_csv.php, mobile/operation/events/events.php,
mobile/include/system.class.php: used the new constants time instead
the magic numbers, and cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php, include/functions_reporting.php,
include/functions_groups.php, include/functions_visual_map.php,
include/ajax/reporting.ajax.php, include/functions_ui.php,
extensions/agents_modules.php, extensions/module_groups.php,
operation/incidents/incident.php,
operation/incidents/incident_detail.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_agente.php,
operation/agentes/ver_agente.php,
operation/snmpconsole/snmp_view.php.
operation/integria_incidents/incident.incident.php,
mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php,
mobile/operation/agents/view_alerts.php,
mobile/operation/events/events.php,
godmode/groups/modu_group_list.php, godmode/groups/group_list.php,
godmode/agentes/module_manager.php,
godmode/agentes/modificar_agente.php,
godmode/agentes/configurar_agente.php,
godmode/alerts/alert_list.list.php, godmode/setup/os.list.php,
godmode/users/configure_user.php,
godmode/modules/manage_network_templates.php,
godmode/reporting/reporting_builder.list_items.php,
godmode/tag/tag.php: changed the calls of "ui_print_truncate_text"
now we are trying that more easy and standar, now the string name of
agent have the equal number of characters in all code...but there
are two styles, small and medium size for agents text name, modules
text name, but description is only size. You can set this sizes in
the visual setup page into your Pandora.
MERGED from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: deprecated the function with bad and
crazy name "agents_get_module_id" and changed for the function with
more clear mind name "agents_get_agent_id_by_module_id".
* godmode/alerts/configure_alert_compound.php,
godmode/reporting/reporting_builder.list_items.php: changed the
calls of the deprecate function "agents_get_module_id".
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_alerts.js
godmode/alerts/configure_alert_action.php: Added descrption of
the selected command under the combo when select one in
the action editor to help user.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6328 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.builder.php: Fixed bug: In tab alert
within agent detail, the actions depends on the template.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* godmode/menu.php, godmode/alerts/alert_special_days.php,
godmode/alerts/configure_alert_special_days.php,
godmode/alerts/configure_alert_template.php,
extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql,
pandoradb.oracle.sql, pandoradb.postgreSQL.sql, pandoradb.sql,
include/functions_alerts.php: Added special days feature. It allows
to define special days (holidays and special working days) for
alert templates.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/configure_alert_compound.php: Improved that actions
can be removed in step 2. (Added delete button.)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php
include/functions.php
include/functions_agents.php
operation/search_modules.php
operation/agentes/status_monitor.php
operation/agentes/estado_ultimopaquete.php
operation/agentes/alerts_status.php
operation/agentes/estado_generalagente.php
operation/agentes/estado_agente.php
operation/agentes/estado_monitores.php
operation/agentes/ver_agente.php
operation/search_agents.php
operation/search_alerts.php
godmode/agentes/module_manager.php
godmode/agentes/modificar_agente.php
godmode/agentes/configurar_agente.php
godmode/alerts/alert_list.list.php
godmode/users/configure_user.php: Reconstruct policy acl
system to allow in enterprise version get extra access for
a user in a policy
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5168 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f