* include/functions_api.php: Change the return of the
functions recently added to numeric values to be
easily checkable
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/include/functions_api.php: Added
a safe_input to fix entities problems in last feature
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added API function to
get the module data info from the agent conf file
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added to API the actions:
add, update and delete module in agent config file
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/reporting/graph_viewer.php: replace 'Period' with
'Time range' to be translated. This is for consistency of
labels between single graphs and custom graphs.
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php:Removed trace.
* include/javascript/pandora.js: Added modification to ajax call
when it's called form metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup.php: Changed to use DateTimeZone instead of
'ttimezone' table for timezone setting.
* include/function_config.php: Fixed that timezone is changed to
default (Europe/Berlin) when update button is clicked without any
changes in setup window.
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
pandoradb_data.sql, pandoradb.data.postgreSQL.sql,
pandoradb.data.oracle.sql, pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Removed 'ttimezone'
table and its data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6817 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: Change the sort function
of the html_print_select to use natural order (merging
lower and upper case chars)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6813 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php:
bug fix for enterprise version. 'Disable' checkbox was not
enabled when you unlinked modules from policies.
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6812 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php: fixed the javascript
error when the module have "remote config" and set to translate
some strings that were not translated.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6809 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
godmode/modules/manage_network_components_form.php
godmode/modules/manage_network_components_form_plugin.php: Put back the
dynamic macros to open version
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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: Added
missed field to migrate scripts
* godmode/agentes/module_manager_editor.php
godmode/modules/manage_network_components_form.php
godmode/modules/manage_network_components_form_plugin.php:
Improve code of dinamic macros and encapsulate it on enterprise
side
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
operation/agentes/networkmap_list.php: Fixed several problems with
network maps
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_prediction.php,
include/functions_modules.php,
include/functions_agents.php, operation/tree.php,
operation/agentes/estado_agente.php: fixed typo bug in the name of
"agetns_tree_view_status_img" for "agents_tree_view_status_img".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/mysql.php
include/functions_groups.php
include/functions_agents.php: Added functions to count global
elements (groups or agents), counting disabled elements too.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: bug fix: 'Enforce https' led to wrong URL to
cause "error 310: too many redirects".
* include/functions_ui.php: bug fix: ui_get_full_url() had
returned URL with unnecessary wrong port specifier ":80",
when switching 'http' to 'https' by 'enforce https'.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6794 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form.php
godmode/modules/manage_network_components_form_plugin.php: Fix some
bugs as allow delete first macro, show at least one macro, etc.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form.php
godmode/modules/manage_network_components_form_plugin.php: Add
first version of dynamic macros in network components of type
plug-in
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: fixed the doc header for the
function "agent_autocomplete" that was very wrong, and now in this
function when call with the id_server_name equal to false, the
function doesn't save the id_server in hidden input.
* include/functions_agents.php: added function
"agents_check_agent_exists" that check if any agent exists into the
DB (of course you can check if exist and it is enabled).
* operation/search_agents.php: fixed the link to manage the agents
show in the search.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/resource_registration.php,
extensions/update_manager/lib/libupdate_manager.php,
extensions/plugin_registration.php,
operation/incidents/incident.php,
mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php: cleaned source code style.
* operation/tree.php: improve the code for to set more readble.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js, include/functions_agents.php,
include/functions_db.php, include/functions_html.php,
include/db/postgresql.php, include/db/mysql.php,
include/db/oracle.php: cleaned source code style and killed some
unicorns and magical numbers.
* operation/agentes/stat_win.php: a lot fixes, cleaned source code
style, added magical widget for times for refresh. And yes I fixed
the bug with jquery that failed with new graphs.
Fixes: #3520966
* operation/agentes/estado_ultimopaquete.php: fixed the links to
window graph popup, now all the links have 10 minutes for the
refresh.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6787 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.scrollTo.js: Added jquery
library to do smooths and customized scrolls
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php
operation/tree.php: Fixed some bugs in policy tree view.
And cleaned source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: Added a function to get the
kind of a module (dataserver, networserver...) as a string
from the module id
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/tree.php: Fixed a bug which shows agents with
not init modules when they must be hidde.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php
operation/tree.php: Fixed filters, counts and info displayed
in monitor and policy tree view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: Included void agents on
normal status.
include/functions_os.php: Included void agents on
normal status.
operation/tree.php: Fixed OS, groups and included void agents
in groups and OS views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/tree.php: Fixed module view: agents and modules disabled
are hidden. Also fixed broken footer when an empty filter is
selected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f