* include/db/postgresql.php,
include/db/mysql.php,
include/db/oracle.php,
include/config_process.php,
include/functions_db.php,
operation/agentes/datos_agente.php: Merged from 4.0 branch. Fixed and
improved the history database feature.
* include/graphs/fgraph.php: Merged from 4.0 branch. Protect against
accidental output that might corrupt an image.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/Image/image_functions.php: fixed into the function
"createthumb" when you have a path with "." character try to extract
the extension of file before of name of file.
* include/config_process.php: disabled warning message of PHP5 about
the timezone.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: fixed notice message php.
* extensions/update_manager/lib/libupdate_manager.php: fixed into
the function "um_db_load_settings" the cache of DB, and set to
translate some untranslate text.
* include/config_process.php: added for a long time the setting the
$develop_bypass as global.
* extensions/update_manager/settings.php, operation/menu.php,
operation/search_agents.php: cleaned source code style.
* include/functions_config.php: fixed php noticie message of the
var "$config['update_manager_installed']" in the first execution
after intallation.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php
extensions/users_connected.php: Improved users connected extension
to know users connected last 5 minutes (connected means charge
any page, not only login)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php
include/functions.php
include/constants.php: Add a new include file
only for constants
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/snmpconsole/snmp_alert.php: Fixed bad time description.
* godmode/reporting/visual_console_builder.editor.php
include/functions_visual_map.php: Now it's possible to link icons
in visual console with a web page through the label.
* operation/visual_console/index.php
operation/visual_console/render_view.php
include/functions_config.php
operation/menu.php
godmode/menu.php
godmode/setup/setup.php
godmode/setup/setup_visuals.php
include/config_process.php: Added two new autorefresh
parameters: one global and the other for visual console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php
include/config_process.php
operation/menu.php
godmode/menu.php
godmode/reporting/visual_console_builder.php: Preserve autorefresh
time from visual console like global autorefresh parameter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: set by default the mysql connection type
because in older isntallations update to 4 have not this token in
config.php.
Fixes: #3395947
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Added recon script SNMP by default.
* DEBIAN/control,
DEBIAN/make_deb_package.sh: Updated version (4.0RC1)
* operation/agentes/graphs.php: By default will show only AVG
graphs.
* config_process.php: Updated version to 4.0RC1.
* pandora_console.spec,
pandora_console.redhat.spec: Updated specs for 4.0RC1 release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php
godmode/setup/setup_visuals.php: Fixed flash charts setup editor
and user editor and set priority between both
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php
include/functions.php
operation/agentes/stat_win.php
general/pandora_help.php: Create new functions to manage pandora
languages.
Fix pandora_help languages to use the user language, no always the
global language.
Fix som SESSION index little bugs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql: Set as default
the language of the admin when install
* include/config_process.php
include/functions.php
index.php
operation/users/user_edit.php
general/pandora_help.php
godmode/users/configure_user.php: Added default
option in the language combo when edit a user. If
this option is choose, this user will has the
general setup language
Fixed too the problem of the help screens language
Bug: 3375174
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Graph's dependencies now are included
by calling a new file with require_once sentence in order to avoid
duplicate function declaration problem.
* include/include_graph_dependencies.php: All graph's dependencies
in this file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/fgraph.php
include/config_process.php
include/functions_agents.php
operation/agentes/status_monitor.php
operation/agentes/estado_agente.php: Several corrections
over sql queries for Oracle DBMS.
* godmode/db/db_info.php: Added include to
functions_fsgraph.php
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php
include/config_process.php
include/functions_extensions.php
index.php
extensions/insert_data.php
extensions/system_info.php
extensions/extension_uploader.php
extensions/pandora_logs.php
extensions/agents_modules.php
extensions/update_manager.php
extensions/ssh_console.php
extensions/dbmanager.php
extensions/vnc_view.php
extensions/resource_registration.php
extensions/resource_exportation.php
extensions/users_connected.php
extensions/module_groups.php
extensions/plugin_registration.php
godmode/extensions.php: functions in
functions_extensions.php have "extensions_" prefix.
* install.php: Drop database action is not allowed when installation
it's performed over a new database.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Fixed wrong condition when global
configuration for "flash_charts" option is override by user value.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php
* operation/users/user_edit.php
* godmode/users/configure_user.php:Now global configuration for
"flash_charts" and "block_size" options are not override for
default user values.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/skins.ajax.php: Replaced "give_acl" function call to
"check_acl".
* include/config_process.php: "block_size" and "flash_charts" user options
override global options.
* include/functions_ui.php: If user has assigned a skin then use skins's
css files if it's possible.
* include/functions_db.php: Added missing function get_profile_filter.
* include/functions_themes.php: New parameter "path" in order to list all
css files of an specific path.
* index.php: Added functions_themes.php include statement.
* operation/users/user_edit.php
godmode/users/configure_user.php: Added new user options: "skin", "block_size"
and "flash_charts".
* godmode/setup/setup_visuals.php: Removed "custom_logo" options in setup for
pandora enterprise version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4038 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
* 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
* 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
* 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
* 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
* 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/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/events/events.php: Fixed bug on event searches
in different languages than english.
* include/functions_reporting.php: Fixed notice on empty foreach.
* config_process.php: Trying to supress Deprecated messages.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: safe_input() modified to detect SQL injection
attacks using /**/ strings.
* index.php: Prevent HTTP response splitting attacks.
* pandora_console.spec: Updated some spec variables and description.
* pandoradb.sql,
extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a new field in trecon_task
to store the snmp_community on detected hosts in a recon task.
* extras/pandora_diag.php: Fixed security problem in relative path.
* general/pandora_help.php,
general/footer.php: Fixed security problem in relative path/include.
* general/login_page.php: Fixed security problem in URL parsing.
* godmode/servers/manage_recontask_form.php,
manage_recontask.php: Implemented new feature to use a snmp comunity on all
network modules added to a new detected host.
* config_process.php: Updated build.
* functions.php: New version of safe_url_extraclean() function (security fix)
and modified also enterprise_include* functions to have a secure include.
* functions_ui.php: Secured function get_include_contents().
* operation/agentes/gis_view.php: Secured url extraction/parsing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/auth/mysql.php, include/functions_config.php,
include/config_process.php, pandora_console.spec,
ajax.php, godmode/menu.php: Added support for different
authentication schemes. Local database and LDAP are
implemented.
* operation/agentes/networkmap.topology.php,
operation/agentes/networkmap.groups.php: Small fixes. Use filter name
to compose file names.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f