* include/functions_api.php: added calls to set gis data for agent
"set/gis_agent_only_position" and "set/gis_agent", and for to get
gis data "get/gis_agent".
* include/functions_agents.php: added function "agents_update_gis".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/module.php, include/javascript/pandora_modules.js:
fixed the ajax call to get the plugin fields in the form editor
module plugin server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8667 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/es/help_snmp_alert_custom.php,
include/help/en/help_snmp_alert_custom.php: Updated. The Japanese
help file seems to be ok.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php, include/functions_alerts.php,
operation/agentes/alerts_status.php: improved the function
"get_group_alerts" to use in the places that there were a foreach
loop with all agents for any group.
Fixes: #2060
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: added new error message
on file manager to warn when the post size limit is
exceded by the uploaded file
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_gd.php, include/graphs/fgraph.php,
include/functions.php, include/functions_graph.php,
include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
operation/visual_console/render_view.php: a lot of fixes in the
visualmap.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* enterprise/godmode/agentes/agent_disk_conf_editor.php,
enterprise/godmode/agentes/collection_manager.php,
enterprise/godmode/policies/policy_agents.php,
enterprise/include/functions_collection.php,
enterprise/include/functions_policies.php,
enterprise/include/functions_config_agents.php,
enterprise/operation/agentes/collection_view.php: fixed and unified
the code to access the remote config.
MERGED FROM BRANCH PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php
images/upload_file.png
images/edit.png
images/mimetypes/unknown.png
images/mimetypes/image.png
images/mimetypes/zip.png
images/mimetypes/directory.png
images/mimetypes/text.png
images/create_directory.png
images/create_file.png: Change icons on filemanager
adding some usability improvements
* index.php: Fix out of bounds of the footer in the
policy modules view for bug #2320
* godmode/massive/massive_operations.php: Fix double
advertment alert
* include/help/en/help_profile.php
include/help/es/help_profile.php: Make changes on the
ACLs table to put it with the same permissions of the
wiki
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_visual_console.js: fixed the javascript
error when sometimes there is not a new lines.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php: change the code
to show the tabs in metaconsole after create a new visualmap.
* include/functions_ui.php: fixed into the function
"ui_print_agent_autocomplete_input" the parameter
"input_id_server_name" for metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8608 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: reduced the char lenght of title in
the header for to avoid crash when have title with wide chars.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Fix a if condition
broken for a previous test code
* godmode/groups/group_list.php: Fix propagate ACL
field when create group
* godmode/groups/configure_group.php: Fixed pure parameter
* godmode/users/configure_user.php: Fixed autohidding of fields in
user edition due return avoiding javascript code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_prediction.php,
include/constants.php: fixed the repeat operator and added some
constants for to make more easy the code.
Fixes: #2279
MERGED FROM THE TRUNK
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/module.php
extensions/insert_data.php
operation/tree.php
operation/reporting/reporting_viewer.php
operation/reporting/graph_viewer.php
operation/agentes/datos_agente.php
godmode/agentes/planned_downtime.editor.php
godmode/alerts/configure_alert_template.php
godmode/reporting/reporting_builder.item_editor.php: Change
the inclusion of timepicker language file from jquery include
function to manually way to avoid jQuery errors
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8598 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/lib/functions.ajax.php,
godmode/agentes/configurar_agente.php, include/functions_html.php,
include/functions_networkmap.php: cleaned source code and removed
the debug traces.
* godmode/agentes/module_manager_editor_prediction.php,
include/constants.php: fixed the repeat operator and added some
constants for to make more easy the code.
Fixes: #2279
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_users.php
operation/events/events_list.php: Improve the encapsulation
of the last Juanmas fix using my previous solution
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php,
operation/agentes/networkmap.dinamic.php: added the tooltips and
only it needs reorganize the code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/d3.v3.js: removed some changes.
* include/functions_networkmap.php,
operation/agentes/networkmap.dinamic.php,
operation/agentes/networkmap.php: first version of dinamic view
for networkmap. It needs implement tooltip and of course fix
the new bugs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Modified function get_user_language
. if it's called from metaconsole then user lang can be
updated (support for external hashed call to Pandora).
2013-07-25 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* include/functions.php: Modified function get_user_language
. if it's called from metaconsole then user lang can be
updated (support for external hashed call to Pandora).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php: Move policy constants from
functions_policy to constants file
* godmode/massive/massive_edit_modules.php: Change the
values of link/unlink in massive modules to pending to
link/unlink. Its the correct way of do it
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php
include/functions_agents.php
include/functions_modules.php
include/functions_reporting.php
include/constants.php
operation/agentes/status_monitor.php
operation/agentes/estado_agente.php
operation/agentes/estado_monitores.php
mobile/operation/agents.php
mobile/operation/modules.php
godmode/agentes/module_manager.php: Fix typo
errors on few constants
* operation/tree.php: Fix status check for
async not init modules to set the status in
modules branch of tree view. Now it depends on
the server
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
include/functions_reporting.php
operation/agentes/estado_monitores.php
operation/search_agents.php: Fixed several errors on
module status counts for bug #2338
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Few improvements
of monitor item and top n item on the reports for
bug #2331
* godmode/users/user_list.php: Change the default
order of the user list to user id, and hide the
useless first and second name from the view
(this data is not editable)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_network.php,
include/javascript/pandora_snmp_browser.js,
include/functions_snmp_browser.php,
operation/snmpconsole/snmp_browser.php: Added SNMP version support to
the SNMP browser.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/functions_reports.php,
include/functions_groups.php, include/functions_incidents.php: fixed
the source code style.
* include/javascript/d3.v3.js: uploaded custom d3 version from
https://github.com/mdtrooper/d3 . We need to pull request to
the main branch...I love git.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions_treeview.php: Fixed bad link on
agent info of the right side in treeview on metaconsole.
And added access to node check to this link.
For bug #2312
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_module_interval_factor.php
include/help/es/help_module_interval_factor.php
godmode/agentes/module_manager_editor_common.php: Change the
input field of module interval on data modules form by
a non editable info and improve the help explaining deeply the
way of change the interval and how to do it. For bug #2308
* images/cancel.png
godmode/massive/massive_operations.php: Add missed icon
and change another one
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8551 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Add check to avoid SQL
errors when retrieve alerts and the user profiles
are not properly configurated for bug #2349
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_users.php
include/functions_groups.php
operation/events/events_list.php: Fixed the visibility
of the users in the events view filter. Now the user
can only filter by the users of the groups where the
user belongs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_snmp_browser.php: Use version 2c by default. Some
OIDs may not be available for version 1 queries.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php,
include/javascript/jquery.pandora.controls.js: improved the
functions to pass the php vars to js, now it supports json.
* include/javascript/d3.v3.js: added this library for to make
beautiful things.
* include/functions_ui.php, include/graphs/fgraph.php,
include/javascript/pandora_events.js, include/javascript/pandora.js,
include/functions_treeview.php,
include/include_graph_dependencies.php,
include/functions_categories.php, include/db/postgresql.php,
include/db/oracle.php, include/db/mysql.php: cleaned source code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js,
include/functions_networkmap.php, include/constants.php,
include/ajax/agent.php, include/ajax/events.php: improve the
source code and remove the magic number and they changed for
constants.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f