* godmode/groups/group_list.php: refixed the position of check login for
check in normal access and ajax access.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/menu.php: "godmode > manage alert > commands" tab only
displayed when user privileges are "PM".
* pandoradb_data.sql
pandoradb.data.postgreSQL.sql: Changed "Alert management" field to 1 in
"Chief Operator" row of tperfil table.
* godmode/alerts/alert_templates.php: If user tries to delete a
template with group=ALL then must have "PM" access privileges.
* godmode/alerts/configure_alert_template.php: If user tries to duplicate
/edit a template with group=ALL then must have "PM" access privileges.
* godmode/alerts/alert_actions.php: If user tries to duplicate/delete an
action with group=ALL then must have "PM" access privileges.
* godmode/alerts/configure_alert_action.php: If user tries to edit an
action with group=ALL then must have "PM" access privileges.
Fixes: #3180735
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3845 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/group_list.php: moved check ACL bottom the ajax call and
added other check ACL in the ajax call.
Fixes: #3180588
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: print_input_image function now uses skins.
* godmode/users/configure_profile.php: Added some variable initialization after
selectinf a defined profile.
Fixes: #3182041
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.main.php: Table size changed to 90%
* godmode/reporting/reporting_builder.item_editor.php: Fixed a small
problem with an old field
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3832 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, include/api.php, godmode/setup/setup.php:
added the check by password the actions on API.
Pending tasks: #3180793
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: fixed the include of extensions, mysql or
postgresql for the api call or Pandora Mobile.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/postgresql.php: fixed in function "postgresql_insert_id" the
lost var. Erased traces in the function "postgresql_process_sql". Added
function "postgresql_escape_string_sql".
* include/db/mysql.php: fixed duplicated function "mysql_process_sql". And
added function "mysql_escape_string_sql".
* include/auth/mysql.php: added method to autenticate with postgreSQL.
* include/functions_db.php: added functions "select_db_engine",
"connect_db". And divided the function "escape_string_sql" into avaliable
engines.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/postgresql.php, include/db/mysql.php,
include/functions_db.php: initial division of the DB core in several
engines, at the moment mysql and postgreSQL (not complete).
* include/functions_config.php, include/config_process.php: change source
code to use new functions.
* install.php: mark the mysql engine (in future select).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Loads relative_path variable in user
session.
* include/functions_db.php: Added include call to
functions_extensions.php.
* godmode/groups/configure_group.php
godmode/groups/group_list.php: Added functionality to assign a skin to
a group.
* godmode/menu.php: Added an entry to skins submenu.
* godmode/users/configure_user.php: Added functionality to assign a skin to
a user.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.postgreSQL.sql: added the column "only_display_wrong" in the
table "treport_content" from the changes in the main SQL in function mysql.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.postgreSQL.sql: added first version of schema of Pandora DB for
PostgreSQL.
* extensions/resource_registration.php: added lost lines of my previous
commit on this file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3815 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reportings.php: Added functionality to show only
wrong modules
* pandoradb.sql: Added column 'only_display_wrong" to treports_content
* operation/agentes/estado_agente.php: Truncated agent name to 25 chars
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added column
'only_display_wrong" to treports_content
* godmode/reporting/reporting_builder.php: Added functionality to show
only wrong modules
* godmode/reporting/reporting_builder.item_editor.php: Added functionality
to show only wrong modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Added new OS: android.
* operation/agentes/estado_generalagente.php: Show description
in GIS data when it's available.
* images/os_icons/android.png,
images/networkmap/15.png: New icons for Android OStype.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager.php
extensions/update_manager/main.php
operation/search_modules.php
operation/search_agents.php
operation/gis_maps/render_view.php: Changed the way of print images from "<src=.."
html tag to print_image function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_fsgraph.php: Fixed html entities are displayed
on graphs when time format contains them.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js, pandoradb.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql,
godmode/modules/manage_network_components_form.php,
godmode/modules/manage_network_components_form_network.php,
godmode/modules/manage_network_components.php: added the "post process"
parameter to network component and use in network component editor and
module editor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ssh_console/howto_sign_applet.README,
ssh_console/ssh_console.readme,
vnc/VncViewer.jar,
vnc/howto_selfsign_applet.README,
ssh_console.php,
vnc_view.php: VNC Extension now uses a signed Java applet to see
remote servers. Added how to sign the cert on the SSH applet also.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3787 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/resource_registration.php: uploaded lost file.
-Esta línea y las que están debajo serán ignoradas--
A pandora_console/extensions/resource_registration.php
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php,
godmode/modules/manage_network_templates_form.php: cleaned source style.
* extensions/resource_registration.php: added extensión to import by xml
file the network component, wmi component, smnp component and local
component. And if the xml content a template, this component add into
template.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: fixed the check ACL in function
"get_agent_modules", the global search alert fixed with this, and I think
that fixed in other places.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ssh_console: new ssh extension (agent tab extension) it will
exec a ssh java plugin to connect agent using it's main IP address.
Requires an external download (Mindterm SSH Applet), free for individual
use.
* vnc_view.php: Now uses VNC/HTTP port by default.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: fixed the ACL in the Module name for
the select box in the filter.
* operation/search_agents.php: fixed the ACL in the search of agent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: In print_image function checks if skin
path is set for the current user and if it exists add it to the image path.
Added pos_tree option on print_image function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3774 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/search_results.php: added the tab to show search list for
modules. And cleaned source code style.
* operation/search_modules.php: added the page to list the searched modules.
* operation/search_agents.php: cleaned source code style.
Pending task: #3141623
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/pChart/pChart.class: fixed in the function "drawTextBox" when
pass a empty $Text as empty array.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js, operation/agentes/exportdata.php,
operation/agentes/ver_agente.php,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.elements.php: fixed to show by ajax
the disabled modules and the disabled agents.
Fixes: #3155701
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Updated SQL with version and new embedded "so".
* include/config_process.php: Version.
* images/os_icons/embedded.png,
images/networkmap/14.png: New embedded agent icon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.elements.php: fixed the show
disabled modules in the list of element tab of the visual console editor.
Fixes: #3155701
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: fixed and optimized the extract the
list of Module name for the select box in the filter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php: added to call to enterprise functions
to delete "pseudo code" of local module when delete in multiple delete
action.
Fixes: #3161621
* include/functions_filemanager.php: cleaned source code old unused
comments.
* include/functions_ui.php: in function "printTruncateText" fixed when pass
0 character to trunk, now return all text. And in function
"print_agent_name" cleaned source code style.
* operation/agentes/estado_agente.php: fixed order of params in the call
of function "print_agent_name".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php: fixed the resize
background, and now the visualmap the background resize. And now the items
move with resize the background.
Fixes: #3156131
Pending task: #2996500
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/module_groups.php: Added truncation and scroll bar
* operation/agentes/status_monitor.php: Fixed combobox functionality
* general/logon_ok.php: Added a scroll bar at the bottom
* godmode/groups/modu_group_list.php: Truncated module groups name
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: in function "format_for_graph" added the units
"exa", "zetta" and "yotta".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Updated
year, just to know these files are updated from v3.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* :In the last commit, in the trunk/pandora_console/operation/agentes/group_view.php file
was fixed as well the way to obtain the number of agents which have associated agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3745 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* trunk/pandora_console/include/functions_html.php: print_select function edited to deal with long fields.
* trunk/pandora_console/include/functions_ui.php: printTruncateText function edited to truncate in the middle of the word.
* trunk/pandora_console/pandoradb.sql: changed type for field "nombre" in "tgrupo" table.
* trunk/pandora_console/pandora_console_install: added support for Fedora. Thanks to philipmbrown.
* trunk/pandora_console/extensions/agents_modules.php: truncated text to 19 characters showing agent names
* trunk/pandora_console/operation/agentes/group_view.php: Truncated group name to deal with long fields.
* trunk/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed type for field "nombre" in "tgrupo" table.
* trunk/pandora_console/godmode/groups/group_list.php: Truncated group name to deal with long fields.
* trunk/pandora_console/godmode/agentes/modificar_agente.php: truncated agent names to deal with long fields.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.editor.js: Label parameter is now coded
in base 64 format when pgraph.php page is requested.
* godmode/reporting/visual_console_builder.editor.php: Added a javascript include.
* include/javascript/encode_decode_base64.js: Added new javascript function for base 64 encoding/decoding.
Fixes bug #3152661, #3147119
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/ja/help_create_agent.php,
include/help/ja/help_reconscript_definition.php,
include/help/ja/help_warning_status.php,
include/help/ja/help_manage_alert_list.php,
include/help/ja/help_critical_status.php: Added new help files in Japanese.
* include/help/ja/help_manage_alerts.php: Added a missing help file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: Changed the way of create marks
for graphs in visual console from divs to tables. Label parameter is
now coded in base 64 codification when pgraph.php page is requested.
Fixes bug #3152661, #3152673
* include/fgraph.php: Decode received parameter (label) in base 64 codification.
* godmode/reporting/visual_console_builder.editor.js: In Visual console builder editor
added some image borders to create marks around graphs.
Fixes bug #3152673
* operation/agentes/stat_win.php
godmode/reporting/graph_builder.preview.php: Label parameter is now coded
in base 64 format when pgraph.php page is requested.
Fixes bug #3152661
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3735 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pchart_graph.php: Remove axis values and legend in small graphs.
* functions_visual_map.php: Added marks (div borders) for beautify visual console graphs.
* fgraph.php: Dont show caption graphs in small graphs.
* functions.php: Added constants for visual console.
Fixes bug #3152673.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Fixed link for current documentation page
at openideas.info Wiki.
* operation/agentes/graphs.php: Removed divs which makes the
empty graphs render badly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: get_snmpwalk() now accepts a specific part of
the SNMP MIB, that allow to do not search the full mib on user selection.
(Used on the enterprise massive SNMP module adition).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: added custom sql for reports, "Group view".
* include/functions_io.php: fixed the "safe_output" function when decode
the html entity < or > for < or > char.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: in function "check_sql" added some changes in
the regular expression for pass the pandora field "delete_pending".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: in function "string2image" fixed when the string
have slash characters.
* extensions/agents_modules.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3700 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/group_list.php: fixed error message show in the successful
delete group operation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: Translate space HTML entities.
Fixes bug #3142670.
* godmode/alerts/configure_alert_action.php: Added a link to the
macro help page.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events_validate.php: Fixed the style of
the list of events to validate for bug 3141995
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php,
general/header.php: Fixed some anyoing autorefresh values on
most operational options.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3691 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_migrate_v3.1_to_v3.2.sql,
pandoradb.sql: Some fields are now TEXT due the problem with new
HTML entities encoding.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3689 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_edit_agents.php: Fixed the massive edition
of the agents parent for bug 3141852
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php,
operation/reporting/reporting_xml.php: Draw baseline reports
in the future by default.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: fixed the show list of events when to delete
the events.
Fixes: #3141622
* operation/events/events_list.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php, include/fgraph.php,
include/functions_db.php, images/image_problem.opaque.png: fixed the bug
because this bug was two things the access to graph with not login in the
same machine to generate, and the transparent png that not crash with the
pdf library.
Fixes: #3139079
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: fixed the action to sort up or
down the items in the report, and improvement the order number and now
start to each new report.
Fixes: #3140930
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: fixed the copy &
paste mistake with the name of var (month ago), now show the URL to edit in
the import.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console.spec,
pandora_console.redhat.spec: Fixed minor details, preparing 3.2
release.
* mobile/index.php: Fixed width problem with Android. Ready to
be used !
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3665 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: increment the
size of field "nombre" in table "tagente" for html entities.
Fixes: #3136610
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php, include/ajax/module.php: fixed when the module
have a scape html chars.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/search_agents.php: Fixed alert fired number of modules
and colour of Last contact in the agent table main search for bugs
3126434 and 3126437
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/exportdata.php: fixed the work_period to extract
data when the default work_period is greater than period between the
date to start and date to end.
Fixes: #3119467
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/plugin_registration.php: Fixed a bug related with html
entities in plugin registration
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3637 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: erase the problematic
foreign key in trecon_task.
Fixes: #3118273
* godmode/servers/recon_script.php: when I readed source code for
to check that when delete a recon_script delete recon task that use
this. Cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php: erased the deprecated function
"grafico_modulo_sparseOLD" and deprecated function
"grafico_modulo_sparse_mobile". And in the function added new
parameter $show_title with default value true for to show or no
the title. And when Pandora mobile for the graph now use the
function "grafico_modulo_sparse".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/OpenLayers/OpenLayers.js: backport to previous
version in SVN, the library has a dumb mistakes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/gis_maps/render_view.php: cleaned source code style.
* include/functions_ui.php: fixed in the function
"print_page_header" the check if the option is a separator that it
was true when the key was zero.
Fixes: #3115621
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_operation_visual_console.php,
include/help/es/help_operation_visual_console.php: added first
version of help file for the operation main page of Visual Console,
these have a explain for the especial name for visual consoles.
* operation/visual_console/index.php: added link to help in header.
operation/menu.php: added filter to hide the "Visual Console items"
in submenu that haven't first letter as "_", "," , "[" , "(". And
fixed the show name with safe_input entities.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/extensions.php: fixed a lost javascript trace, and fixed
when all extensions is disabled.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_generalagente.php: Fixed the
shows of IP in the agent view for bug 3111807
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3607 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_extensions.php: added functions
"get_disabled_extensions" and "getExtensionInfo".
* operation/extensions.php: erased the delete extension option.
* images/dot_green.disabled.png, images/dot_red.disabled.png: added files
for the table of features extension.
* godmode/extensions.php: show a table of extension with features and
action to disable and delete.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/reporting/reporting_viewer.php, operation/reporting/graph_viewer.php:
Added full screen mode and other minor changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console.redhat.spec: re-enabled the check dir "data_in" in
spec file for package redhat-centos.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php, operation/events/sound_events.php: Change string.
Use events in lower case, according with the menu criteria.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Show text in Agent detail when no events
found. Commented old code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/tiny_mce/plugins/table/editor_plugin.js,
include/javascript/tiny_mce/plugins/advlink/editor_plugin.js,
include/javascript/tiny_mce/plugins/fullscreen/editor_plugin.js,
include/javascript/tiny_mce/plugins/template/editor_plugin.js,
include/javascript/tiny_mce/themes/advanced/editor_template.js: fixed end of
lines that it haven't semicolon end char.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3586 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_extensions.php: added functions
"add_extension_godmode_tab_agent" and "add_extension_opemode_tab_agent" to
add the extensions tab in the header in operation and godmode.
* operation/agentes/ver_agente.php,
godmode/agentes/configurar_agente.php: added hook for to add the extension
tabs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: Fixed unnecessary strings
(a part of html entities) are shown in module name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3581 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/error_install.php, general/error_perms.php, general/header.php,
general/logon_menu.php, general/logon_ok.php, include/functions_menu.php,
include/functions_ui.php, extensions/agents_modules.php,
operation/menu.php, godmode/menu.php, operation/estado_agente.php,
operation/agentes/estado_agente.php, operation/agentes/status_monitor.php,
operation/agentes/estado_monitores.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_generalagente.php, pandoradb_data.sql: Closed
some HTML tags, autoclose others, added alt to images, and changed some
& to "&" to help validation for XHTML 1.0 Transitional. Tested and
not error found, but needs more tests...
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql,
DEBIAN/control,
DEBIAN/make_deb_package.sh,
include/config_process.php,
pandora_console.redhat.spec: Last updates on version and
spec files for release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Check de enterprise version to
show the baseline graph option in reports
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
include/functions.php
operation/reporting/reporting_xml.php
godmode/reporting/reporting_builder.item_editor.php: Added the
simple baseline graph to the html and xml report exports
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console_install: Updated year/version and link to update script
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Updated news to 3.2 version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3552 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/nb.po
include/languages/en.po
include/languages/mr.po
include/languages/nb.mo
include/languages/en.mo
include/languages/mr.mo: Added few new language
po and mo files
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3537 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/search_agents.php: Fixed the last contact
information in the agents search view for bug 3103501
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js: Changed the enable
condition to the snmp walk button in the network to improve
the usability for bug 3102823
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Check that the alert has a 'standby' column
(compound alerts don't have it).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: in function __ fixed when the Pandora don't
have extensions.
* operation/events/events_rss.php: cleaned source code.
* operation/events/events_list.php: added more info in the hidden expanded
row.
Fixes: #3102826
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3523 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_export.php,
godmode/servers/manage_export_form.php: Moved to Pandora FMS
Enteprise.
* godmode/menu.php: Removed the export targets menu entry.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/system_info.php: change the funcionality of extension, now
generate a zip file in Pandora Console mode, and fixed the execution in the
term, and move to setup menu.
Fixes: #3102834
* include/config_process.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Updated year :-D
* general/footer.php, header.php: Updated year. Fixed some HTML strings to improve W3C validation. A lot of work to do in this area.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: added the function
"print_autocomplete_modules". This function is same to magic-select box for
agents instead this for modules.
* include/javascript/jquery.ui.datepicker.js,
include/javascript/jquery.ui.droppable.js: fixed end of lines that it
haven't semicolon end char.
* include/ajax/module.php: fix version of file that responds to ajax
request for the magic-select box for modules.
* include/functions_ui.php: in function "format_alert_row" use new call
for the "isAlertInPolicy2".
* include/functions_db.php: added in function "get_agent_modules" for the
parameter $filter, the posibility to search with the "like" mysql operator.
* images/lightning_blue.png: blue lighting for new magic-select box agents.
* godmode/agentes/configurar_agente.php: cleaned source code style.
* godmode/alerts/alert_list.list.php: use new call for the
"isAlertInPolicy2". And fixed the column align for policies and actions.
* godmode/reporting/reporting_builder.list_items.php: erased old source
code lines comments.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Updated build
* include/config_process.php: Updated build.
* include/functions_db.php: Fixed the way takes agent status for visual maps,
was a wrong filter on remote_contact timestamp, that info is not used to
calculate agent unknown status !.
* index.php: develop mode set to 0
* operation/snmpconsole/snmp_view.php: Removed a notice for a noninit var (again)
* images/*: New images for visual maps, old ones are moved to another dir
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Changed several spaces and parentheses
in the insert data script to their html entities.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.ui.datepicker.js,
include/javascript/jquery.ui.dialog.js,
include/javascript/jquery.ui.draggable.js,
include/javascript/jquery.timeentry.js: fixed end of lines that it haven't
semicolon end char.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3492 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: in function "format_array_to_where_clause_sql"
added lines for test when is a string start with % for check with LIKE
operator.
Fixes: #3098170
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: cleaned source code style. And added line
comments for to explain obfuscated $$ operation in function
"print_input_text_extended".
* godmode/agentes/module_manager_editor_plugin.php: set the field
"plugin_parameters" with unlimited size.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php: Do not propagate compressed data to dates in the
future to make the baseline clearer.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/dbmanager.php, godmode/agentes/module_manager_editor.php,
godmode/massive/massive_add_alerts.php,
godmode/massive/massive_copy_modules.php,
godmode/massive/massive_delete_agents.php,
godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_operations.php,
godmode/massive/massive_delete_profiles.php,
godmode/massive/massive_edit_agents.php,
godmode/massive/massive_delete_action_alerts.php,
godmode/massive/massive_delete_modules.php,
godmode/massive/massive_add_profiles.php,
godmode/massive/massive_delete_alerts.php,
godmode/massive/massive_edit_modules.php,
godmode/massive/massive_standby_alerts.php,
godmode/massive/massive_add_action_alerts.php: now in the source code pick
more info in the audit for actions.
Pending tasks: #3089687
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3480 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_delete_profiles.php: fixed result message of
operation. And cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php,
godmode/alerts/configure_alert_template.php,
godmode/alerts/alert_templates.php, godmode/alerts/alert_actions.php,
godmode/alerts/alert_commands.php: now in the source code pick more info in
the audit for actions to create, update and delete profiles and user, and
for action to add and remove profiles to user.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3478 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.ui.datepicker.js, include/javascript/jquery.js,
include/javascript/jquery.ui.core.js,
include/javascript/tiny_mce/tiny_mce_popup.js,
include/javascript/OpenLayers/OpenLayers.js,
include/javascript/jquery.ui.resizable.js,
include/javascript/jquery.timeentry.js: : delete unpacked source code of js.
* include/functions_alerts.php: added header comment to function
"create_alert_action".
* godmode/alerts/alert_list.php: fixed the return status for message status
in actions "delete_alert", "add_action" and "delete_action".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_custom_graphs.php
godmode/reporting/graph_builder.preview.php: Fixed various bugs when
you try to render a custom graph without modules for bug 3096434
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php
include/functions_ui.php: Fixed the html setting in the header
for the dashboard bug 3094692
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.ui.datepicker.js,
include/javascript/jquery.ui.core.js: fixed end of lines that it haven't
semicolon end char.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3473 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php,
godmode/agentes/configurar_agente.php: now in the source code pick more
info in the audit for actions to create, update and delete agent, and in
other hand for the actions to create, update, duplicate and delete module.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php,
godmode/massive/massive_edit_agents.php: erased the calls "debugPrint" found
in source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: in function "pandora_audit" added new parameter
$info for to set more info in the audit. Cleaned source code style.
* godmode/users/configure_user.php, godmode/users/configure_profile.php: now
in the source code pick more info in the audit for actions to create,
update and delete profiles and user, and for action to add and remove
profiles to user.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: in function "pandora_audit" clean source code
style, use the Pandora DB interface and now return id the row in tsesion.
* index.php: fixed when login failed the audit.
* godmode/users/user_list.php: clean source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_info.php: Fixed uninitialized variable is used.
Fixed "get database information as text" does not work.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/control*.png: Added two small images for sound control in setup.
* godmode/setup/setup.php: Use added images.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3455 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_network.php: Added enterprise
check before isModuleAdopt(). It is not in opensource version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_refine.php, godmode/agentes/manage_config_remote.php,
godmode/admin_access_logs.php, godmode/snmpconsole/snmp_filters.php,
godmode/snmpconsole/snmp_alert.php: Updated year, close html tags, put pixel
in tables, center some icons, small cosmetics changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_standby_alerts.php: Improved template
selection to be selected more than one. Added agent selection. (It can
also be selected more than one.)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3447 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: fixed the change the flag tconfig
"can_block_policies", now the operation is between policy semaphore.
Fixes: #3091940
* include/functions_db.php: fixed the save user IP when the $config don't
load this var yet.
* include/functions_networkmap.php: fixed the translation call function when
the pandora don't load the function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_export_form.php
godmode/servers/manage_recontask.php
godmode/servers/manage_recontask_form.php: Improved and fixed
little bugs into the custom recon scripts interface
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.1_to_v3.2.sql: TEXT type for some
fields with small length now with the HTML encoding.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/modificar_server.php: Disable change name of server
because it will be trouble updating server status.
Fixes: #3091297
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: Fixed jquery clone
function incompatibility with iexplorer for bug 3090389
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_enable_disable_alerts.php: Improved template
selection to be selected more than one. Added agent selection. (It can
also be selected more than one.)
* godmode/include/functions_alerts.php: Added a argument, $id_agents
array, to get_agents_with_alert_template(). It is used to select
specific agents in the function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php
include/ajax/visual_console_builder.ajax.php
godmode/reporting/visual_console_builder.php: Added the html support
in the label type items of the visual consoles for pending
task 3063404
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Alter some trecon_task info to avoid problems on new
custom script items (due the referencial integrity).
* pandoradb_data.sql: Octopods instead octopus.
* godmode/menu.php,
* godmode/servers/recon_script.php: Added new option to manage recon scripts
* godmode/servers/manage_recontask.php,
godmode/servers/manage_recontask_form.php: Changes to manage the new recon
tasks using custom-defined scripts to detect and monitor things (neeed some
Javascript improvements).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/insert_data.php: added first version of extension to added
data in any module in any agent, by form or csv.
Pending tasks: #3063417
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/control: Removed apache and apache php mod from deps, giving
user chance to use another HTTP server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_migrate_v3.1_to_v3.2.sql: Variable for SQL custom reports has
more size now (custom SQL reports could be huge SQL sentences).
* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: Added suppor for the
new SQL graph reports (vbar, hbar and pie).
* include/fgraph.php: Support for new SQL graphs, with new function
graph_custom_sql_graph().
* include/functions_reporting.php: Support for new SQL graphs.
* operation/reporting/reporting_xml.php: Fixed some problems and added
support for graphs using session_id.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.builder.php: Fixed the ugly layout of
the alert views
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_network.php: added lines to unblock
SNMP community when the module is adopt.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php: Safe output the list of
modules from an agent in the ajax control
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
godmode/agentes/module_manager.php
godmode/agentes/configurar_agente.php: Added clone module
into an agent to the manage modules view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added in the
table "tagente_modulo" the field "policy_adopted" for to set a module
pre exist in policy as adopted.
*operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php,
godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager.php: show the icon of "adopted" or "adopted
but unlinked" in the list of modules.
Pending tasks: #3083123
* include/functions_modules.php: cleaned source code style in function
"update_agent_module".
* godmode/agentes/module_manager_editor_network.php: fixed warning messages
when use this file in policies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/functions_io.php
include/functions_ui.php
godmode/agentes/module_manager.php: Created a new safe input
function more soft than safe_input() for html code. Applied this
function (safe_input_html()) in few functions like print_image
or print_page_header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/system_info.php: add TODO.
* godmode/agentes/module_manager_editor.php: fixed the ajax with the new
safe_ouput function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_standby_alerts.php: Fixed alert listing is not
affected by group selection.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/system_info.php: finally I finished (I hope) the extension of
get system info, now the console part run.
Pending task: #3065357
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: cleaned source code style.
* extensions/system_info.php: first version of extension for extract system
info of Pandora System, at the moment run as PHP script shell, the source
code for console is commented because I will change for new source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3385 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: fixed the execution in as script.
* include/fgraph.php: fixed in the "graphic_combined_module" when is empty.
And cleaned source code style.
* include/functions_extensions.php: cleaned source code style.
* extensions/pandora_logs.php: cleaned source code style. And set to
translation a string.
* extras/pandora_diag.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fixed problem with SQL custom reports
because the SQL html encoding. Added a SQL check for secure user-input
SQL code.
* include/functions.php: Added check_sql() function to do a basic
safety check on SQL code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: Added \s character to list of HTML decoded/encoded
items to be converted from user entries (Safety for XSS and SQL Injection).
* pandoradb_data.sql: Added more default templates, actions and commands.
This is for remote agent management (refresh).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: Added functions ascii_to_html and html_to_ascii.
Also use this functions to convert no printing chars in function safe_input
and to revert the conversion in function safe_output.
* include/functions_db.php: Added function escape_string_sql, is a
wrapper db indepenten function to do the same that function mysql_real_escape_string
* index.php: Use function escape_string_sql with login parameters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
include/functions_agents.php
operation/agentes/ver_agente.php
godmode/massive/massive_add_alerts.php
godmode/massive/massive_delete_alerts.php: Improved the
addition/deletion of alerts in massive operations to
select not only the agents (the modules too) for pending
task 3082862
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Fixed the function get_agentmodule_id
to avoid the pending_delete modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3369 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php
godmode/agentes/module_manager_editor.php: Fixed SQL
error when try to create a module called 0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: Another ugly warning fixed due
an undefined array. PLEASE dont use foreach on arrays non-checked !
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Added custom fields to the global
edit/insert code. Not really used here, but for the future.
* godmode/modules/module_list.php: Show ID of modules, useful information.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/calendar.js, include/javascript/jquery.colorpicker.js:
fixed end of sentences with lost semicolons, the Eclipse IDE warned me some
this bugs.
* include/javascript/jquery.timeentry.js, include/help/en/help_wmiquery.php,
include/help/en/help_tcp_send.php, include/help/en/help_web_checks.php,
include/help/es/help_date_format.php, include/help/es/help_tcp_send.php,
include/help/es/help_agent_status.php, include/help/es/help_eventview.php,
include/help/es/help_configure_gis_map.php,
include/help/es/help_web_checks.php,
include/help/es/help_plugin_definition.php,
include/help/es/help_alert_macros.php, include/help/ja/help_wmiquery.php,
include/help/ja/help_date_format.php,
include/help/ja/help_alert-matches.php, include/help/ja/help_tcp_send.php,
include/help/ja/help_agent_status.php, include/help/ja/help_eventview.php,
include/help/ja/help_configure_gis_map.php,
include/help/ja/help_map_builder.php, include/help/ja/help_web_checks.php,
include/help/ja/help_plugin_definition.php,
include/help/ja/help_alert_macros.php,
include/help/ja/help_gis_setup_map_connection.php: cleaned html and fixed
unclose html tags in source code, the Eclipse IDE warned me some this bugs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/calendar.js, include/FusionCharts/FusionCharts.js: fixed end of
sentences with lost semicolons, the Eclipse IDE warned me some this bugs.
* include/help/en/help_date_format.php,
include/help/en/help_agent_status.php, include/help/en/help_eventview.php,
include/help/en/help_configure_gis_map.php, include/help/en/help_alerts.php,
include/help/en/help_plugin_definition.php,
include/help/en/help_alert_macros.php,
include/help/en/help_gis_setup_map_connection.php,
general/license/pandora_info_en.html,
general/license/pandora_info_pt_BR.html,
general/license/pandora_info_es.html, general/license/pandora_info_ja.html,
general/pandora_help.php: cleaned html and fixed unclose html tags in source
code, the Eclipse IDE warned me some this bugs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
include/functions_visual_map.php
operation/reporting/graph_viewer.php
godmode/reporting/graph_builder.preview.php: Fixed the setting
of width and height on custom graphs setup. Increased the height
of the graph in few sections to fix the rise of the leyend
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_edit_agents.php: Removed the IP
address field from the agent massive edition
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: fixed the source code, now when you
create a agent, the agent have not a any module.
Fixes: #3077024
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php
godmode/reporting/visual_console_builder.editor.js
godmode/reporting/visual_console_builder.editor.php: Fixed the
bad icon change in visual console editor when update an item
for bug 3078016
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: added default sound events in
tconfig, fixed bug that found Raul. Thanks for the tips, Raul.
Fixes: #3073370
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php, godmode/agentes/module_manager.php:
fixed the icon of policy in list of modules, now show when the module is
unlinked. And cleaned source code style.
Fixes: #3078716
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: force the absolute path when include the
languages translation files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Set to 0 $config['debug'] by default to avoid
debug messages on normal operation mode, developers should setup debug
mode in their config.php file.
* pandoradb_data.sql: Added default template and action as sample.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_ultimopaquete.php
operation/agentes/estado_monitores.php: Added the policy
column to the monitors in agent view and improve the header
of force execution in few monitors view for bug: 3078713
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_ultimopaquete.php: Added the policy
column to the monitors list for bug 3078713
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
operation/agentes/ver_agente.php
godmode/massive/massive_operations.php
godmode/massive/massive_edit_modules.php: Restructured
the massive module editor to increase the power of the tool
adding multiple selection methods
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/pChart/pChart.class: merge bugfixes from the proyect
"Babel Enterprise" fixing by Dario Rodriguez <dario.rodriguez@artica.es>.
* include/fgraph.php: fixed undefined var $max_value in function
"graphic_combined_module".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3334 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php: fixed typo tiny error in function
"grafico_modulo_sparse" when use $show_event instead $show_events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.builder.php: Fixed an error of
table width declaration for bug 3078730
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: cleaned source code style.
* mobile/include/system.class.php: fixed when include this file in other
parts of pandora, as when unlogin try generate pdf file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3330 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: in function "checklogin" fixed the include of
file "user.class.php". In function "__" fixed when try translate a empty
string.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3329 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/*.php: Removed reference to gperfiles sec.
* godmode/profiles/: Deleted no more used folder.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Fixed SQL errors in
alerts view with not administrator users for bug: 3078113
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: added first version of file with the
function "checkUsedGroup".
*include/Image/Canvas.php, include/Image/Canvas/GD.php,
include/functions.php, mobile/operation/agents/view_agents.php: cleaned
source code style.
* godmode/groups/group_list.php: fixed the check if the group to delete is
empty.
Fixes: #3074223
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php
operation/messages/message.php: Fixed the ACLs
to show only the user group users in the destination
users combo for bug: 3077857
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: Fixed the
ugly layout of the alerts list in godmode section
for bug 3077999
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/visual_console/render_view.php: Fixed the
missing full screen tab in the visual console section
for bug: 3078003
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3315 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/tactical.php: Hide the server
and global data in the tactical view to not
administrator users
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Change to the new status
images and names to the events on the tactical view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3312 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: Added style parameter to the
print_extended_select_for_time function
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/sound_events.php: fixed the ajax check for when start
with empty list of events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php, operation/events/events_list.php: cleaned
style source code.
* operation/menu.php: added subentry in "View events" for "Sound Events".
* operation/events/events_rss.php: added source code for the $id_agent equal
-2 (this mean that get the agent by text name) and added new check for new
status.
* operation/events/events.php: added source code for the $id_agent equal -2
(this mean that get the agent by text name).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php: Vertical aligned some icons.
TO DO: The table should be "migrated" to new table code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php, godmode/users/configure_user.php:
change the sec url variable to show the menu highlighted.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/users_connected.php: Show text to admin if no other
user connected.
TO DO: This extension gives non-accurate information due to the use
of timestamp in one hour since the login event. It should be
improved to check logout events in table.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php: Able to edit profiles.
* godmode/users/configure_profile.php: New page, based on the old
profile one (that should be deleted if all it's OK)
* godmode/menu.php: Removed profiles menu entry.
* godmode/alerts/alert_list.list.php: Centered several icons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: added function "set_module_data" for to hook
call to create module data across web api.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ChangeLog: fixed previous commit of jobmate that erase some lines of
ChangeLog.
* index.php: cleaned source code style.
* mobile/include/style/main.css: added style for the login mobile page.
* mobile/include/user.class.php: the "loginShow" function have a nice
login box with some style.
* mobile/images/transparent_pixel.gif, mobile/images/key.gif: added image
files for the login page. The key image is created for "barretr" in
http://www.openclipart.org/detail/3330.
* mobile/index.php: changes for to show logout and new login box.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/visual_console_builder.editor.php: Fixed bug
#3073239: bad intervals in combo for period selection.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: in function "print_select_groups" and function
"print_select_from_sql" added source code to check $config['text_char_long']
for show small text in this widgets.
* include/functions.php: in function "get_event_types" and "get_priorities"
added source code to check $config['text_char_long'] for show small text in
this widgets. And in function "get_priority_class" cleaned source code.
* operation/agentes/status_monitor.php, operation/events/events.php: cleaned
source code style.
* images/pandora.ico.gif: added image file for to use in the mobile footer.
* mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php,
mobile/operation/agents/tactical.php,
mobile/operation/agents/group_view.php, mobile/operation/events/events.php,
mobile/include/style/main.css, mobile/include/functions_web.php,
mobile/index.php, general/footer.php: continued the develop, yep the
Pandora Console Mobile is complete (only rest the bugs).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3269 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php
godmode/agentes/modificar_agente.php: Added the calls
to enterprise to delete an agent to all their policies
when we delete it for bug 3072471
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: fixed the width by default in the function
"print_table", now there isn't a default width (before it was 80%).
* include/pchart_graph.php: fixed in the function "add_events" when tryed
to add a event out the data.
* include/fgraph.php: check the user with the mobile methods.
* include/functions_db.php: in function "check_login" check the user with
the mobile methods.
* images/status_sets/default/severity_warning_pixel.png,
images/status_sets/default/severity_normal_pixel.png,
images/status_sets/default/severity_informational_pixel.png,
images/status_sets/default/severity_maintenance_pixel.png,
images/status_sets/default/severity_critical_pixel.png: added the image
files for to show in the event mobile's page.
* mobile/operation/agents/view_agents.php,
mobile/operation/agents/tactical.php,
mobile/operation/agents/view_alerts.php, mobile/operation/events/events.php,
mobile/operation/servers/view_servers.php, mobile/include/user.class.php,
mobile/include/system.class.php: changed the style the some pages to show
more clearly the pages in old m$-mobiles.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_add_action_alerts.php,
godmode/massive/massive_delete_action_alerts.php: Fixed
addition/deletion for compound alerts does not work.
* include/functions_alerts.php: To fix above problem, added a function,
delete_alert_compound_action().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config.inc.php: config_process.php is obtained from
defined path in homedir variable.
* godmode/agentes/module_manager_editor_network.php: Limit for
OID lenght was too short, DB gets 255 chars, now input also gets
255 chars.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: cleaned source code style.
* mobile/operation/events/events.php: added page to show list of events in
the last day.
* mobile/include/functions_web.php: added link to events list page.
* mobile/index.php: added the hook to link the event.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Changed the english language from
en to en_GB to use the british english translation to
fix mistakes in the english strings
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: Fixed a
two lines ALTER statment to one line for bug 3065850
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
pandoradb.sql
extras/pandoradb_migrate_v3.1_to_v3.2.sql
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php: Deleted several
columns from the events view and adding a
show/hide advanced fields feature.
Added a new state 'in process' to validation
and an input comment when a status is changed.
* include/fgraph.php: Fixed quotes
in constant definition
* include/functions_ui.php
include/functions_agents.php
include/functions_alerts.php
operation/agentes/alerts_status.php
operation/agentes/alerts_status.functions.php
images/bell_pause.png
godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.php
godmode/massive/massive_operations.php
godmode/massive/massive_standby_alerts.php: Added
the feature of set and set off on standby an alert
in the alets management and view if an alert is in
standby in the rest of views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php: added function "grafico_modulo_sparse_mobile" for
to paint a mobile graph.
* include/functions_db.php: erased deprecate function "dame_grupo_icono".
* include/functions_module.php: moved the functions "format_delete",
"format_time", "format_data", "format_verbatim", "format_timestamp",
"format_delete", "format_delete_string", "format_delete_log4x" from the
file "operation/agentes/datos_agente.php" for to use in other source code
places.
* operation/agentes/datos_agente.php: extracted the functions
"format_delete", "format_time", "format_data", "format_verbatim",
"format_timestamp", "format_delete", "format_delete_string",
"format_delete_log4x" to "include/functions_module.php" for to use in other
source code.
* operation/agentes/tactical.php: cleaned source code style.
* operation/agentes/group_view.php: cleaned source code style.
* mobile/operation/agents/view_agents.php: added class "viewGraph" to show
graph and data of any module.
* mobile/operation/agents/tactical.php: added first version of page to show
tactical mobile page.
* mobile/operation/agents/view_alerts.php: added first version of page to
show alerts mobile page.
* mobile/operation/agents/group_view.php: added first version of page to
show group view mobile page.
* mobile/operation/servers/view_servers.php: added first version of page to
show servers mobile page.
* mobile/include/style/main.css: added many new styles.
* mobile/include/functions_web.php: added links into menu for new pages.
* mobile/include/system.class.php: fixed scope of method "getConfig".
* mobile/index.php: added hooks for new pages.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/status_sets/default/server_down_ball.png,
images/status_sets/default/server_ok_ball.png: added small image (for to
use in Pandora Mobile) for server status.
* mobile/operation/servers/view_servers.php: added first version page to
show server status in Pandora Mobile.
* mobile/index.php: added hook for the server status page.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3247 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: in function "get_agent_module_info" added
the return "status" and "alert_value".
* include/auth/mysql.php: in function "process_user_login" cleaned the
source code style.
* include/functions_ui.php: in function "print_timestamp" added in the
parameter $option the check of units ('large' and 'tiny' at the moment).
Added the function "print_group_icon2" that it is the same of
"print_group_icon" but it has a new parameter $path for to set the images
path.
* include/functions.php: in function "human_time_comparation" added the
parameter $units to set the type return text for time unit (at the moment
only "large" and "tiny"). And in the function "human_time_description_raw"
added the paramter $units for to set the type of return text for units, at
the moment only "large" and "tiny".
* include/functions_db.php, operation/agentes/ver_agente.php: cleaned source
code.
* mobile/index.php, mobile/operation/agents,
mobile/operation/agents/view_agents.php, mobile/include/db.class.php,
mobile/include/style, mobile/include/style/main.css,
mobile/include/user.class.php, mobile/include/functions_web.php,
mobile/include/system.class.php, mobile/images/bricks.png,
mobile/images/up.png, mobile/images/zoom.png, mobile/images/down.png: added
first version of file for Pandora Mobile version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a
new column to talert_template_modules to support standby alerts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php: added the tab to show all graphs in a
one page about modules in the agent.
* operation/agentes/graphs.php: the page to show all graphs of agent
modules.
* operation/agentes/stat_win.php: cleaned html and closed some open html
tags.
Pending task: #3060349
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Added local module
deletion in conf file to another place where the modules can
be deleted. Clean the code too
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/os.list.php, godmode/setup/os.builder.php,
godmode/setup/os.php: changed the source code and added "os.builder.php" and
"os.list.php" for to change the management page for to be a "tab page".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3235 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: cleaned source code.
* include/functions_ui.php: in function "print_os_icon" change the
directory to search os icon because it change for new feature.
* images/os_icons, images/os_icons/*: copied the icons image files into this
dir for to use in new feature.
* godmode/menu.php: added new item in submenu "Setup" for the management
the OS.
* godmode/setup/os.php: added the page to management the list OS of agents.
Pending task: #3057663
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3234 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* fgraph.php: Graph "Modules per agent" was not working properly
due a invalid reference to array. Fixed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: fixed the pagination when the list of
alerts show into alert tab in agent config page.
Fixes: #3055920
* godmode/alerts/alert_list.php: cleaned source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f