* DEBIAN/postinst: Fixed some perms on postinstall.
* pandora_console_install: Fixed some perms on postinstall.
* pandora_console.spec: Removed one blank space :-))
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.php: fixes bug in several fields of
edit form downtime.
Fixes: 2919938
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: fix warning messages when pass only group as
string or integer in the function "isAllGroups".
* include/functions_reporting.php: fix ambiguous colummn in query in the
function "get_group_stats".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_custom_graphs.php: fix the name of custom graphs in the
config select box in widget.
Fixes: 2918740
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php, include/functions_db.php: fix alert message
when the history DB is'nt setup.
* general/header.php: fix alert message when the custom logo didn't exit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2231 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php: clean source code, fix when try show boolean without
data, and some changes in "grafico_modulo_sparse".
* operation/agentes/stat_win.php: clean source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: add debug function "f2str" that return as
string any call of function, for example "var_dump".
*include/fgraph.php: into function "grafico_modulo_boolean" re-add alarms,
clean source code and show again the flash graph.
*include/functions_db.php: fix the access to IP client, it used very
deprecate var, that clean of notice php message of error for this cause.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: clean source code.
* operation/agentes/datos_agente.php: fix bug, there was a wrong copy&paste,
now there is correct parameters.
Fixes: 2916332
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console.spec: Ypdated build.
* pandora_console_upgrade: Applied patch for more verbose information, submitted in
Sourceforge.
* pandoradb_data.sql: Updated version to FINAL build and version ;-)
* include/config_process.php: Updated build.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/reporting/graph_builder.php: fix blank row when
redraw graph in builder, and fix the empty column agent name in table of
modules.
Fixes: 2916194
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2213 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/extensions/update_manager/load_updatemanager.php: add more
info (Pandora version and build) to statistics in update process.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php: fix re-duplicate modules
now only generate one copy.
Fixes: 2915470
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php: fix print image error as tag <image> instead content
file when there is error in data string. And add new type of graph, error
graph.
Fixes: 2908174
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_servers.php: tiny fix (a zero division) the tactical
view when start with a empty Pandora.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php: fix in the function "grafico_modulo_boolean" for
show correct graph, and clean source code.
* include/functions_extensions.php: change include_once to require_once for
more security.
Fixes: 2883786
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/swiftmailer/* : add the library "Swift Mailer" for make more
easy and less bugs the source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/swiftmailer/* : add the library "Swift Mailer" for make more
easy and less bugs the source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2195 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: change the function
"get_db_all_row_by_steps_sql", now it support more connection with
parameter $new for new conection and $result for connection.
* operation/events/export_csv.php: rewrite to adapt the new
"get_db_all_row_by_steps_sql".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2190 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/god9.png: New image.
* include/styles/menu.css: Added style for new menu item.
* godmode/menu.php: New menu item.
* godmode/reporting/map_builder.php: Updated internal links and title
because it will be a new entry in the menu.
* operation/visual_console/render_view.php: Updated internal link for
setup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Print table of items only
if the the tables has data, else print no items defined.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: test empty title report before on
submit in javascript, and test empty this title in PHP.
Fixes: 2910627
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_info.php: Added icon to download database info.
* include/style/tip.css: Removed unused style. Still help style is in
the file. Not removed, maybe used some day...
* operation/agentes/estado_grupo.php: Added colours to the numbers.
Added the text "modules".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: in function "create_user_profile" add the
parameter $assignUser to set assign user in table. And add the function
"get_db_num_rows" that return the num of rows get from SQL.
* include/functions_api.php: add functions for new calls in the API,
"set_new_user" create new user, "set_delete_user" delete a user,
"set_add_user_profile" attach a user into group and profile,
"set_delete_user_profile" deattach a user into group and profile,
"set_new_incident" add new incident, "set_new_note_incident" add into
new note into incident.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/networkmap.php: fix style for to clean form in
networkmap when active "No Overlap".
Fixes: 2821967
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: add in "get_db_all_rows_filter" new parameter
$returnSQL for return the string formated SQL instead the data. And add new
function "get_db_all_row_by_steps_sql" that return row by row the data of
query.
* operation/events/export_csv.php: fixed the memory overload when try save
into CSV a 10000 events or more, now use "get_db_all_row_by_steps_sql" for
extract row by row the data.
Fixes: 2859758
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: in the function "create_agent_module" add
new parameter $disableACL (by default false) for use in API.
* include/functions_api.php: add new functions for add new features to
api, functions: "set_new_agent" create agent, "set_delete_agent"
delete agent, "set_create_network_module" create network module,
"get_module_data" get module data as CSV format in a period time,
"get_graph_module_data" get a image file of module data in a period time.
* include/functions_db.php: in function "delete_agent" add new parameter
$disableACL (by default false) for use in API for example.
* operation/agentes/datos_agente.php: clean source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/users_connected.php: New extension that shows
currently active users connected to console.
* extensions/pandora_logs.php: New extension that show to the
user the contents of main log files (console, and server logs)
only for Pandora administrators, of course.
* general/header.php: Removed text label, this give problems
on some languages and doesn't give needed information.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/datos_agente.php: add a select box for select chunck to
time to show data of agent module.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php: Names and description
was cutted and not shown as popup description. Fixed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: Modified description for XML_RPC.
* extensions/pdate_manager/lib/libupdate_manager_client.php:
Format error page if XML_PRC not found.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/pandora.png, pandora_logo.jpg: Deleted old files.
* images/image_problem: Change background with new logo
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/datos_agente.php: fix the bug when you have a large,
very large list of data of module. And add the pagination.
Fixes: 2908241
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Modified style for 3.0
* images/pandora_textlogo.png,
images/pandora_header_logo_enterprise.png,
images/custom_logo/none.png
images/custom_logo/sourceforge.png
images/custom_logo/artica_logo.png
images/header.jpg
images/pandora_header_logo.png
images/pandora_logo.png: New logos and background for 3.0 style.
* general/login_page.php: Updated style.
* general/logon_ok.php: Removed small bug in the audit log block.
* general/header.php: Pandora logo is now in left, and custom logo
at right.
* include/functions_config.php: By default custom logo is "none"
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_templates.php: use the function to translate the
seconds time to "human time" for time threshold.
Fixes: 2905968
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_ultimopaquete.php: fix the column of data with
a empty module string.
Fixes: 2881181
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php: tiny fix the text for select all
modules in select box.
Fixes: 2897433
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2152 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fixed some innacurate queries, skipping
non-init modules, async modules and keepalive modules.
* include/functions_servers.php: Improved LAG calculation algorithm, now
is VERY precise. Added performance meter for local & remote checks.
* include/config_process.php: error_reporting() has better default values
now (skipping notices and non-important messages) for pandora_console.log
* include/functions_agents.php: Fixing a problem in an alert SQL on function
get_agent_alerts_simple().
* include/functions_db.php: get_server_info() moved to functions_servers.php
* operation/events/events.php: Fixed a bug with pagination and other bug with
user validated events search.
* operation/agentes/status_monitor.php: Better management of async modules,
non init and unknown modules. Now works as expected.
* operation/agentes/estado_monitores.php: Removed blank space between icons to
let table row more compact.
* operation/agentes/tactical.php: Added performance information. Removed some
information (not used) from snmp and recon servers.
* general/header.php: Latest changes here don't work as expected. Rewritten
and now works fine (enterprise/open logo in header).
* godmode/admin_access_logs.php: Fixed pagination bug in tracker. Added table
layout with two alternate colors (rowOdd method).
* operation/servers/view_server.php,
* godmode/servers/modificar_server.php: Added include to functions_servers.php
to use the new server functions, moved from functions_db.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: fix the select box of correlation alerts,
now it has the XOR operation.
Fixes: 2849260
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/module_groups.php: fix the style of page, adjust the with of
table of modules, and fix the description text that fail in panoramic style.
Fixes: 2866316
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: SLA readjust to be used in SLA view.
* include/config_process.php,
* include/functions_config.php: Added support for custom_logo option.
* include/help/en/help_agent_access.php,
include/help/en/help_custom_logo.php: New help topics.
* include/functions_agents.php: Replaced audit_db with pandora_audit().
* include/functions_db.php: pandora_audit() will replace audit_db().
* operation/agentes/sla_view.php: now show render ok modules with min_critical
defined and uses to calculate automatically a SLA based on it's critical
definition.
* operation/messages/message.php: Message view was not working!. Fixed
* Some new images added:
images/people_2.png
images/MiniLogoArtica.jpg
images/pandora_header_logo_enterprise.png
images/custom_logo
images/custom_logo/sourceforge.png
images/custom_logo/artica_logo.png
images/custom_logo/pandora_logo_head.png
images/pandora_header_logo.png
images/people_1.png:
* general/header.php: Changes to add new custom logo feature and replace
logos with a image instead text.
* godmode/setup/setup_visuals.php: now is possible to choose a custom logo
to be displayed in header.
*operation/agentes/ver_agente.php,
* godmode/agentes/configurar_agente.php: Tabs do not have text at sides. This
avoid problems in other languages different than english with long text strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: added new parameter for order the result of
query, $orderby.
* operation/agentes/alerts_status.php, godmode/alerts/alert_list.php: use
new parameter to order by module name.
Fixes: 2902603
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: fix deletion of compound alerts in the
function "delete_alert_agent_module".
Fixes: 2902618
* godmode/agentes/configurar_agente.php: use the "delete_alert_agent_module"
instead the sql method.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: fix now don't show alerts with
delete pending modules.
* index.php: clean source code, end return that show in browser.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/plugin.php, godmode/reporting/map_builder.php,
godmode/profiles/profile_list.php, godmode/reporting/map_builder_wizard.php,
godmode/agentes/module_manager.php, godmode/agentes/planned_downtime.php:
Better use of icons in creating components, improving appearance.
* DEBIAN/make_deb_package.sh: Changed version string from rc2 to RC3.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php: User section has no ACL check, always can be seen.
* index.php: Added suppor for user-defined custom language (this code was
on my disk for 3 months, pending to be commited!).
* include/functions_db.php,
* include/functions_agents.php,
* godmode/alerts/alert_list.php,
* godmode/agentes/modificar_agente.php,
* godmode/agentes/configurar_agente.php: Added audit calls to several
management operations who don't have or have insufficient audit info.
* godmode/users/configure_user.php: Fixed several annoyings bugs. Added
custom language support, and added more audit info on management operations.
* godmode/users/user_list.php: More audit info.
* include/config_process.php: Add new debug option to render error log to
/pandora_console.log. Also set timezone if not defined (this makes warnings
on several PHP 5.x setups). Added user custom language support.
* include/functions_events.php: More audit info. Fixed problems with HTML
encoding render.
* functions_io.php: Some cleaning.
* include/functions_messages.php: Fixed problems with HTML
encoding render.
* functions_ui.php: Fixed problems with HTML encoding render in
print_string_substr() function.
* auth/mysql.php: is_user_admin() functions seems to be broken ¿?¿!. Fixed.
* styles/pandora.css: removed green colored left border in default style.
* message.php, incident*: Fixed problems with HTML encoding render.
* user.php: Better ACL check before let user to view/edit another user.
* user_edit: Removed some un-used form fields, some arrangements in layout,
and FIXED forever problems with password change (new code written).
* users/user_statistics.php: Now user can see its own audit records.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: add disabled parameter in functions,
"print_input_password" and "print_checkbox".
* godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php: check the module is in
any policy and disable some form fields.
Fixes: 2902631
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: add more values into function
"get_alert_template_threshold_values", values as 1 week, 2 weeks, 1 month
and 6 months.
* godmode/alerts/configure_alert_template.php: change the default value
to 1 day.
Fixes: 2902458
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: fix the bug in the pagination that write wrong
the url of pages.
Fixes: 2903774
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: fix the what interval to check in
the monitor.
Fixes: 2902446
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: fix bug that the url content "//" in
cases for example install in root of www directory. Only fix in this part
of source code because the rest of sources run fine.
Fixes: 2903005
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: clean source code, the blank end line in the end of document
and show in the browser too.
* include/functions_ui.php, operation/agentes/alerts_status.php: add new
colummn, the action column that it show the actions of alert.
* godmode/alerts/alert_templates.php: add the 'Time threshold' in the
tooltip.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: fix the deletion of module in the function
"delete_agent_module" for change the name to avoid the row collision. This
change is advised by Sancho lerena.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php, include/functions.php: change and add functions
for manage the input output with correct encoding and decoding.
*include/functions_html.php, include/functions_ui.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php: change the function "salida_limpia"
for "safe_output" and other changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/spinner.png, images/background-li.png: New images converted
from gif.
* *.php: Changed several files from spinner.gif to spinner.png.
* extensions/update_manager/settings.php: Changed header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php, operation/events/events.php,
operation/snmpconsole/snmp_view.php: Use down icon instead wand icon,
due to wand is reserved for creation purposes.
* godmode/agentes/module_manager_editor.php: Added header and down icon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/*.php: Changed title for all extensions, improving common
apparence. By the way... It's my brithday!!!
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: change the "safe_input" for estandarize the input
and clean bugs for this cause. Now Pandora Console depends of 5.2.3 PHP
version or up.
* extensions/dbmanager.php: change the source code to use correctly the
"safe_input".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form_plugin.php: tiny fix in the
size of field "plugin_parameter".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2118 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/exportdata.php: change "search_agents" in the ajax, now
you can add paramater "add" as array json with the names of agents or other
things that you want show in the box of result.
* operation/events/events.php: change the select box for a ajax autocomplete
box for agent form filter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
godmode/reporting/graph_builder.php, godmode/alerts/alert_list.php: fix the
bug that show the modules "pending delete" in more select box in some forms.
Fixes: 2894921
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_sanity.php: fix typo error there was one "zero" more in
query SQL.
Fixes: 2895298
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: fix the web module, change the
field to save the request retry.
* godmode/agentes/configurar_agente.php: change the query for tactical view
the counts of modules before count the disabled modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console.spec: Fixed small problem with .spec
* DEBIAN/control: Edited package description.
* DEBIAN/make_deb_package.sh: Several changes, deletion and copy
of files and .svn are not made with cp and xargs | rm: Faster.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: COme back to non-persistent pconnect
who seems to raise some "MySQL has gone away" in PHP 5.3.x
* extensions/update_manager/sql/update_manager.sql: Updated update
manager URL to point 3.0 version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/servers/view_server_detail.php: Change title to show the
father section and some added texts.
* include/help/en/help_*.php: Several language fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/tactical.php, general/logon_ok.php: Use the same
order for summary, use the same colors (some from tango palette) in both
files.
* images/status_sets/default/server_ok.png: Use the same colour as the
other OK status images (from tango palette).
* DEBIAN/make_deb_package.sh: Improved english texts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmpconsole/snmp_view.php: fix and optimize the query to traps
in DB, because the old style didn't run with paginator and it was slow with
much traps registers.
* operation/agentes/status_monitor.php,
godmode/alerts/configure_alert_compound.php: little fix arround the code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/control: fix dependencies, not necesary mysql-server, because the
mysql can install in another machine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2086 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/make_deb_package.sh: Small change from rc1 to rc2.
* Changelog: Added this line to my last commit :-D
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/snmpconsole/snmp_alert.php: An agent, OID and custom OID may
be specified at the same time.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2083 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/alerts_status.php: different colour for table header.
* operation/agentes/tactical.php: Use red colour from tango palette.
* godmode/alerts/alert_lists.php, godmode/alerts/alert_compounds.php,
godmode/alerts/configure_alerts.php: Added text if no alerts defined.
* Changelog: Added missed change.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: fix notice alert php describe in the
tracker of sourceforge.
* godmode/alerts/alert_compounds.php: fix the SQL query bug in PHP when
load this page without agent in Pandora.
Fixes: 2891215
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php: fix the size of field
"Plugin parameters".
Fixes: 2888996
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/make_deb_package.sh: move the script to make the deb package into
the DEBIAN and change some things into the sourcecode for the directory
change.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/configure*.php: Improving integrity of
appareance in title.
* godmode/alerts/alert_actions.php, godmode/alerts/alert_templates.php:
Added text if no action, list or template defined.
* godmode/alerts/alert_list.php: Small fix
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Updated build/version.
* pandora_console.spec: Updated to release 2; preparing the rc2.
* godmode/agentes/module_manager.php: Fixed a small problem, don't allow
to create network modules if not have the snmpconsole due a bad SQL. Fixed.
* include/api.php: Removed ending line.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fix the tiny bug that not set the default
separator in function "get_tree_agents".
* godmode/reporting/reporting_builder.php: fix the bug that don't change the
select box of module.
Fixes: 2888988
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/control, DEBIAN/md5sums, DEBIAN/postinst, DEBIAN/prerm,
DEBIAN/conffiles: sorry, I had the permissions to directory DEBIAN not
"755" and in the previus commit don't upload.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/control, DEBIAN/md5sums, DEBIAN/postinst: debian base files for
to make a .deb package.
* make_deb_package.sh: shell script for make automatically the debs packages
for standard installation in a Debian Lenny, this script make two packages
"pandorafms.console_3.0.0.rc1.deb" and "php-xml-rpc_1.5.2-1_all.deb" the
rest of packages dependencies is in official Debian repositories.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: add in the function "isInACL" the posibility
to no filter if set in ACL the character "*".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/agentes/module_manager_editor.php: fix the
bug in when create a module manually in open versión of Pandora Console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/include/functions_api.php,
pandora_console/include/api.php: new feature, API to call by format url for
values or CSV list of values to connect Pandora with your or other
aplications. Please see the wiki for more information.
* pandora_console/include/functions_agents.php,
pandora_console/godmode/setup/setup.php: add the field ACL IP list for
access API and change the function "update_config_value" for divide in
chunks the list of IPs and save in serveral rows (if necesary). And change
the function "process_config" to paste the chunks of rows in one config
item.
* pandora_console/include/functions_config.php,
pandora_console/include/functions_db.php: changes for engage the
API with Pandora Console. The function "get_agent_alerts_simple" add
parammeter "allModules" return all modules (disabled and enabled). The
function "get_group_agents" add the parameter "noACL" for engage the API
call.
* pandora_console/godmode/agentes/agent_manager.php: fix typo and ident
source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/operation/agentes/exportdata.php: fix the export data
the order of dates were wrong.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2050 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: add param "style" in the function
"print_agent_name" for set the css style in the agent name return html
string.
Add in the "format_alert_row" the features: show icon policy from
enterprise and css grey disabled alert.
*include/functions_agents.php: add in the function "get_agent_alerts_simple"
and the function "get_agent_alerts_compound" the search "filter" param
posibility "all_enabled".
* operation/agentes/alerts_status, godmode/alerts/alert_list.php: add the
show rows of disabled alert, and add the select the "all (enabled)" (by
default show only alerts enabled). And add the icon of policy in the
enterprise version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
RC1 Release
* include/help/en/help_ff_threshold.php: Added missing help topic.
* general/error_perms.php, general/error_install.php: Removed print of
version, don't know this variable at this point.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/operation/menu.php,
pandora_console/godmode/reporting/graphs.php,
pandora_console/godmode/reporting/graph_builder.php: clean debug trace
functions.
* pandora_console/godmode/agentes/module_manager.php,
pandora_console/godmode/alerts/alert_list.php: add the enterprise column
that it has a icon when the alert or module is make for policy.
* pandora_console/godmode/agentes/agent_manager.php: fix bug that when
create a new agent and in the md5 dir has a file with the next name
d41d8cd98f00b204e9800998ecf8427e, that name is a md5 of empty string. When
you has this file, the form take as conf file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php,
include/functions_fsgraph.php: Solves a small problem with Flash graphs
when pandora fms console install dir is "/".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Fixed bug #2859919 (Transaction lock timeout).
* include/error*: Fixed a formatting error and added better error
message when mysql is up but credentials doesn't work.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_custom_graphs.php, operation/reporting/graph_viewer.php,
godmode/reporting/graphs.php, godmode/reporting/graph_builder.php,
godmode/menu.php: change the process to create graphs, now you can edit
all parts of any grahps (edit, delete, add..) and has a list of graphs.
Start to add ACL in graphs...only pending test.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: set default action in alert combo box when
you make a new alert.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Update build after last changes.
* godmode/agentes/planned_downtime*.php: Improving integrity of
appareance in title.
* Changelog: Correct some dates.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2031 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js,
godmode/agentes/module_manager_editor.php: add the type as parse in the
module data in the local component, in the ajax (request in php and load
in js).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: fix, show only monitor in unknow
status when you click in the "Unknown monitors" in tactical agent view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/ui/agents_list.php: remove the pass-by-reference in the two calls
to "render_agent_field" because it are not necesary that in the function
"render_agent_field" there aren't any change in the $agent param.
* include/styles/pandora.css: fix minor bug that the path to arrow.png was
wrong.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2020 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Replaced old icon (red cross) by a
white tick.
* images/tick_off.png: White tick.
* include/config_process.php: Ooopps, this is RC1 !
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Upps, Tuesday #13, bad day for a last commit before launch RC1 ! :-S
* general/logon_ok.php: Fixed ugly format of table showing last activity
(has a too wide table width).
* godmode/admin_access_logs.php: Removed that crappy div fashion code and
replaced by old and reliable table-based-code :-) to fix the mess with the
pagination.
* godmode/agentes/configurar_agente.php: fixed problem with postprocess
values very bug (like 0.0000000123), parameter is now passed as string
because PHP is passing the value as scientific notation and mYsql don't
understand that.
* operation/agentes/exportdata.php,
* operation/search_results.php,
* godmode/reporting/map_builder.php,
* godmode/agentes/agent_manager.php,
* godmode/reporting/graph_builder.php,
* godmode/agentes/modificar_agente.php: Added non-case search SQL code for make
agent searches non case sensitive (nombre COLLATE utf8_general_ci LIKE...)
* module_manager_editor_common.php: More size for postprocess field.
* pandora_console/godmode/alerts/configure_alert_action.php: More width for
field2 in action form.
* godmode/alerts/configure_alert_command.php: Command field has more width
and added a help icon for macro subtitutions.
* include/functions_db.php: get_agent_name() now defaults to non uppercase
the agent names, because 3.0 has case sensitive agent names, and all
data must show the real Case.
* include/styles/pandora.css: removed uppercase transition for menu items
and agent tabs.
* operation/agentes/estado_agente.php: Agent is not shown in uppercase
anymore.
* operation/agentes/estado_generalagente.php: Agent name and parent name
is not in uppercase. OS version shows only last 15 characters or full string
if strlen() < 15.
* operation/agentes/status_monitor.php: Agent name is not in uppercase
anymore.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php,
include/functions_incidents.php,
operation/incidents/incident_detail.php: Security related fixes.
Thanks to ~finalbeta and ~remove from the Global-Evolution Security
Group.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2012 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v2.x_to_v3.0.sql: change the field
"name" in the table "tagente" to binary varchar.
* include/functions_events.php, operation/events/events.php: add new
columns, the severity colummn and the validate colummn.
* images/tag_red.png, images/tick.png,
images/status_sets/default/severity_informational.png,
images/status_sets/default/severity_maintenance.png,
images/status_sets/default/severity_critical.png,
images/status_sets/default/severity_warning.png,
images/status_sets/default/severity_normal.png: add the new files to use in
the events list new colummns.
* include/help/en/help_eventview.php: change the content in this help for
show help info of new colummns.
Comments: I hate the massive and mixed commits...but I have not choice, and
in this commit there are two parts, the changes in the sql table and the
changes in the event list colummn.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_generalagente.php,
operation/agentes/estado_agente.php: change the intervals, and use the
new function "getNextAgentContact" for interval in agent view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: add the function "getNextAgentContact"
that return the percentage of time for next contanct of agent (pass as
id_agent).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/stat_win.php: fix the jquery lost in the last query, fix
the auto-refresh graph, fix z-index level for calendar and fix the set begin
data for graph.
Fixes: 2857280
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: change the textbox interval for
"print_extended_select_for_time" widget.
* include/styles/pandora_minimal.css, operation/agentes/stat_win.php: change
the period widget for "print_extended_select_for_time" too, and change
the css for enlarge the float menu for new item.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: add "exactly" param to "human_time_description_raw"
for return the time in time fractions as example "1 day 23:23:2".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: add new function for add extend widget
"print_extended_select_for_time", that write a two html control a
select and textbox and scripting for interconet twice components and
when change the textbox and save add the value in select and when
change the selected put in textbox.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php: Solved ticks in X label for boolean graphs.
* operation/agentes/datos_agente.php: Show absolute timestamp and
data with format_numeric() filter.
* operation/agentes/estado_monitores.php: Solved typo.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f