* include/functions.php: cleaned source code style.
* include/functions_events.php: added the parameter to return only url
in function "events_print_type_img".
* include/functions_api.php: now the api in getevents return more data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4954 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/status_sets/faces/module_no_data.png
images/status_sets/color_text/module_no_data.png: Duplicated
agent_no_data status images to module_no_data in color_text
and faces sets for bug 3408420
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_templates_form.php: Added component
name filter to component templates form to bug 3406374
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Fixed module name filtering in
'get events' does not work correctly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php, include/api.php: added the code for to
extract events in the android event viewer.
* operation/events/events_list.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fixed in function "otherParameter2Filter" the
simbol of timestamp comparation and separate the AND operator. And added
2 more filters, the "limit" and the "offset".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/performance.php
godmode/setup/setup_visuals.php: Added contextual help in this views.
* include/functions_reporting.php: Now serialized reports get numeric data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_timesource.php: Changed a wee translation bug
and fixed style format
* godmode/setup/setup.php: Fixed a field name, written properly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css,
images/skin/skin_default/include/styles/pandora.css: added items to set the
style of calendar tooltip.
* include/calendar.js, include/javascript/calendar.js: erased the styles
for the calendar.
Fixes: #3371449
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_rss.php, operation/events/export_csv.php: fixed
the output html entities and html entities of html entities.
Fixes: #3389980
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4914 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/alerts_status.php: change the user rights to validate
alert, before it was "LW" and now it is "AW". This new user rights tell me
Sancho.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4910 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_action_threshold.php,
include/help/es/help_action_threshold.php: added help for threshold from
the wiki documentation.
Fixes: #3371385
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4908 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.php: fixed to avoid create or update
"Planned downtimes" with empty names or all white spaces or identical name
to others. And disabled the button to add agent in the "Planned downtimes"
when in the list of agents in group is none.
Fixes: #3371256
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_delete_alerts.php,
godmode/massive/massive_edit_modules.php,
operation/agentes/ver_agente.php: Added group recursion feature,
it allows to search agents in child groups. These three changes
are contributed by Yusuke Arai. Thanks!
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Fixed function
agents_get_modules() where modules are retrieve.
Esta línea y las que están debajo serán ignoradas--
M ChangeLog
M include/functions_agents.php
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: set by default the mysql connection type
because in older isntallations update to 4 have not this token in
config.php.
Fixes: #3395947
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_add_action_alerts.php,
godmode/massive/massive_delete_action_alerts.php: Added group recursion
feature, it allows to search agents in child groups.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/incidents/incident_detail.php: fixed the entities in the name
of file in the action to upload and delete.
Fixes: #3397447
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4885 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: added the other part of logical expression
in the patch of strstr.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_users.php: added the function "users_get_first_group"
another parameter, $all_group, to return all group or not, by default is
true.
Fixes: #3401582
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_nc_groups.php: fixed the javascript to promt to
confirm the delete. And fixed the link to delete that in some browsers
crash.
Fixes: #3402336
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: fixed when the group haven't a icon.
* operation/menu.php: applied the safe_out before the print a piece the
name of map in submenu.
* operation/gis_maps/render_view.php: fixed the name of agents with white
spaces.
Fixes: #3398436
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.controls.js: Filter keycount variable
in pandoraSelectGroupAgent javascript function.
* godmode/massive/massive_add_action_alerts.php: Added 'Any' label to
agents combo in this view and correct a typo.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php: fixed the massive deletion alerts with
modules with white spaces.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: changed function strstr() for
substr() in agents_get_modules function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added delete_pending
cleaning in the modules table to avoid possible past modules with
wrong name
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Fixed alerts_get_agents_with_alert_template
function in order to not retrieve delete modules.
Fixes: #3401666
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/lib/libupdate_manager_client.php,
extensions/update_manager/main.php: fixed when the file is corrupted or
empty.
Fixes: #3400237
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: fixed in function "string2image" when generate a
image in other location, now have one more parameter, $homeurl, by default
empty string.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/configure_user.php: Now action state is showed
when update user action is performed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_fsgraph.php,
include/graphs/fgraph.php: added the parameter $reduce_data_columns by
default false for to use in vertical columns graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_standby_alerts.php: Added group recursion
feature, it allows to search agents in child groups.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4847 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fixed a bug setting graphic
* resolution
to 1 that displays some errors with event graphs.
Fixes: #3398524
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/mysql.php: Fixed the Rollback function in
mysql engine to reset auto mode after rollback action
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: added in the call
"config_agents_write_module_in_conf" the parameter to disabled local
modulo.
Fixes: #3400159
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
*godmode/agentes/fields_manager.php: Fixed: is possible to create custom fields with the same name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php: wrote the source code for copy the
relationships between a copy of items in a visual console.
Fixes: #3400124
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_add_alerts.php: Added group recursion
feature, it allows to search agents in child groups.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager.php: check if the field "update_server_path" in
the table is the last path for Pandora v4 and update.
* extensions/update_manager/main.php: rewrite the text to message for show
only Pandora FMS instead the Pandora FMS vX.
*extensions/update_manager/sql/update_manager.sql,
extensions/update_manager/sql/update_manager.postgreSQL.sql,
extensions/update_manager/sql/update_manager.oracle.sql: update the
"update_server_path" to Pandora v4.
Fixes: #3394754
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ggodmode/modules/manage_network_templates.php,
godmode/modules/manage_network_components.php,
godmode/modules/manage_nc_groups.php: added checkboxes in the elements in
the list and main checkbox to select all checkboxes, for to multiple delete.
Fixes: #3390017
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/mysql.php: Fixed a bug in the sql_commit
function to reset the database to autocommit mode
* include/functions_tags.php: Added a missed sql_begin call
to the tags creation function
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4822 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Fixed checking if remote configuration
directory is not writtable for the console.
Fixes: #3396471
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4821 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_copy_modules.php: Added group recursion
feature, it allows to search agents in child groups.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4820 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php: added javascript alert message
when the name in field and remote config is different.
Fixes: #3397306
* godmode/agentes/configurar_agente.php: fixed when copy a module the name
now is safe input type.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: added the call to enterprise function for
to copy the remote configuration when copy the modules.
Fixes: #3397314
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/pandoradb_data.sql
pandora_console/pandoradb.data.oracle.sql
pandora_console/pandoradb.postgreSQL.sql:updated the
default site news.
Fixes: Bug ID 3396846
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/reporting/reporting_viewer.php: Fixed require embed
require_once problem in the reports view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f