* include/functions_alerts.php, operation/agentes/estado_agente.php: added
check ACL in the show actions in the creation and edit of alerts.
Fixes: #3166657
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: added in function "get_agent_modules" the
default value null for get modules of agents in user's group.
* godmode/massive/massive_delete_modules.php: fixed the select of modules
now get only the modules of agents in user's group and now you can delete
and view correcly the modules with acent or other not ascii characters.
Fixes: #3182143 and #3175722
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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