* include/functions_ui.php,
extensions/update_manager/lib/functions.php: uploaded lost changes.
* include/functions_filemanager.php: cleaned source code style.
* include/functions.php: added function "copy_dir" for use in the
bug #3527247.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/pChart/pPie.class.php: ixed a bug in pie3d graph
function when graph data only has one element.
include/functions_reporting.php
operation/reporting/reporting_viewer.php: Fixed a visualization
problem in agent_modules report item.
godmode/users/profile_list.php: Fixed a bug when profile creation
fails.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
godmode/agentes/module_manager.php: Added not init status
in the manage modules view for bug 3533341
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Changed ambiguous time representation
"MM:SS minutes", that can read 'MM hours SS minute', to
"MM minutes SS seconds".
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_incidents.php: Changed a parameter
of the xml2array function to set it equal to recent
fix in 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6589 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php: Added categories in the
combo of sections (Operation and Administration)
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php: Added missed sec2 to the menu
structure data. The main sec2 (not subsection). Clean code
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/menu.ajax.php: Added an ajax file to the functions
of menu category
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php
index.php
operation/menu.php
godmode/menu.php: Added functions to manage sec and sec2 to control
access in ACLs. Rename variables in menu construction to can get
all the sata structures in other sections
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Fixed bug: Notice to change
Admin password is displayed for other users.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/auth/ldap.php, include/javascript/pandora.js,
include/functions_incidents.php: cleaned source code style.
* include/functions_users.php, operation/users/webchat.php: a lot of
fixes, the "error connection" don't appear when timeout the
connection for to get new messages, fixed empty messages, and
fixed when make freak actions with user connect in webchat for
example delete. And the most important the chat files (logs and
others) now Pandora save this files in attachment dir instead the
tmp system dir.
* godmode/users/user_list.php: added to call to delete from the
chat user list when delete a user.
MERGED from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
godmode/agentes/module_manager_editor_common.php: Modified width
of module type select in module editor when you are
editing/creating a network module.
* include/functions.php
godmode/reporting/visual_console_builder.php: Fixed autorefresh
functionality.
* include/functions_ui.php
godmode/massive/massive_edit_modules.php
operation/agentes/ver_agente.php: Several Php warnings
fixed over console code.
* godmode/reporting/reporting_builder.list_items.php: Fixed broken
view due to a bad sintax statement.
Merged fro branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Cleaning the mess when
update setup fields. Now, looking the $sec2, only
will be updated the fields of the current setup section
In this way, set fields as empty value has been
fixed
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php
operation/users/user_edit.php
godmode/massive/massive_add_action_alerts.php
godmode/reporting/reporting_builder.php
godmode/reporting/graphs.php: Fixed Php warning due to pass by
references variables and improvement in skins update.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php, include/functions_reporting.php,
include/functions_groups.php, include/functions_visual_map.php,
include/ajax/reporting.ajax.php, include/functions_ui.php,
extensions/agents_modules.php, extensions/module_groups.php,
operation/incidents/incident.php,
operation/incidents/incident_detail.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_agente.php,
operation/agentes/ver_agente.php,
operation/snmpconsole/snmp_view.php.
operation/integria_incidents/incident.incident.php,
mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php,
mobile/operation/agents/view_alerts.php,
mobile/operation/events/events.php,
godmode/groups/modu_group_list.php, godmode/groups/group_list.php,
godmode/agentes/module_manager.php,
godmode/agentes/modificar_agente.php,
godmode/agentes/configurar_agente.php,
godmode/alerts/alert_list.list.php, godmode/setup/os.list.php,
godmode/users/configure_user.php,
godmode/modules/manage_network_templates.php,
godmode/reporting/reporting_builder.list_items.php,
godmode/tag/tag.php: changed the calls of "ui_print_truncate_text"
now we are trying that more easy and standar, now the string name of
agent have the equal number of characters in all code...but there
are two styles, small and medium size for agents text name, modules
text name, but description is only size. You can set this sizes in
the visual setup page into your Pandora.
MERGED from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php
include/api.php: Change the names of the functions_api
functions with prefix 'api_' for security. Improve
the wildcards of the ACL's IP list to allow place
wilcard anywhere. Add to API the possibility
of be extended from extensions.
MERGED from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6551 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/api.php: Change the security checks adding
a new parameter to API pass
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6549 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Merged from 4.0 branch. Added history
database support to combined graphs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, include/functions_ui.php,
include/functions.php, include/constants.php,
mobile/operation/agents/monitor_status.php,
godmode/setup/setup_visuals.php: started to working into the set
a standar truncate string in all code of Pandora Console.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/ver_agente.php: cleaned source code from merge
some cosmetic changes in the trunk and this branch.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6541 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
include/functions_agents.php: Fixed problem when modules are
repeated in source and target agents.
* operation/events/events_list.php: Delete double confirmation when
an event is deleted.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6518 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: fixed the function "io_safe_output" for
arrays, now into the function call other function with the name
"io_safe_output_array".
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/visual_console_builder.constans.php: fixed a lot
of things about simple value and derivates.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: cleaned source code style.
* include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.js: fixed the set
status to items when change somethings that module or method to get
status that agent to module status item.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_gd.php, include/graphs/fgraph.php:
cleaned source code style.
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php: fixed the
strange behavior of the bars and bubbles in the editor.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Added pass of check_referer by url to
solve problems with autorefresh functionality.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
operation/reporting/reporting_xml.php: Fixed XML items exportation
and item editor for alert agent and alert event.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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/functions_modules.php,
include/functions_groups.php,
include/functions_os.php,
operation/tree.php: Fixed a problem with unknown agent
counting.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, godmode/setup/setup.php: Fixed that
ACL with API access cannot be removed after once configured. (Merged
from 4.0.2)
Fixed multiple recording of list_ACL_IPs_for_API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6451 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php,
operation/tree.php: Improved performance of tree
view for modules, its not very good but now works...
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_os.php: Created this file.
include/functions_groups,
operation/tree.php: Fixed a bug related to search
improved performance of OS tab for tree view.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Merged from 4.0.x: Fixed bug:
string truncation did not always work for multi-byte
characters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/tree.php,
include/functions_groups.php: Fixed some errors and
improved performance of group tree view.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: Fixed bug: When you
copy a policy module, still liked to policy.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6420 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/agent.php: Fixed function search_agent when
metaconsole is activated an one of the nodes return no agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6412 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
include/functions_io.php: Added new safe string function
to scape strings to use it in regular expressions and
change the parameters of enterprise functions to be
compatible con last changes
Merged from 4.0.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_tags.php: Added a method to get all tags.
* include/functions_api.php: Added de get_tags api call.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/pChart/pDraw.class.php: Graphs with all data equal
to zero are displayed correctly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
include/functions_groups.php: Group/tactical stats
are now done with functins in function_group. This
method is also used in the server for the batch
stats system.
* operation/agentes/estado_ultimopaquete.php: Fixed
view on non-init policy modules, shown in the data tab.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6379 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: Duplicate the operations
too when duplicate a synthetic module for bug
Merged from 4.0.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added to API a test function
to test the API connection returning OK when success
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php: A bit more
space on IP target field (a URL doesn't fit there!).
* include/styles/pandora.css: Plugin description is not shown
in small font.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/pandora_help.php: Fixed i18n translation does not work
in the help window.
* include/help/ja/help_main_help.php: Added new general
introduction help file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_alerts.js
godmode/alerts/configure_alert_action.php: Added descrption of
the selected command under the combo when select one in
the action editor to help user.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6328 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php: Added a constants for
more common used colors in pandora: critical,
warning, normal, unknown...
* extensions/agents_alerts.php: Added new view of
agents/alerts for pending tasks #3468889
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Added transparent background in input
html elements of image type.
Bugfix merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql
extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql
extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql
godmode/agentes/module_manager_editor_common.php
godmode/modules/manage_network_components_form.php
godmode/modules/manage_network_components_form_common.php
godmode/modules/manage_network_components.php: Fix some layout
little bugs in module editor and added unit parameter
to network components for pending task #3520706
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_alert_macros.php
include/help/es/help_alert_macros.php: Added to help two new
macros
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_alert_macros.php
include/help/es/help_alert_macros.php
include/functions.php
include/functions_agents.php: Fixing some missing or wrong macros
into help and added Minor and Major severities to alerts
and clean some code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6276 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/datos_agente.php: Fixed search, was
not working due html encoding in the SQL. Alter some layout
issues (centering data in columns)
* extensions/ssh_gateway*: New extension to connect SSH/Telnet
servers from the console, using external anytermd daemon running
in the pandora server.
* pandora.css: Fix title height.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php: Changed way of truncate agent
name in header due to bad visualization if agent name has entities.
* include/styles/pandora.css
images/header_f2.png: Modified header image with 3000px width.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: fixed ".is_submenu2 li" because there
is not ":".
* include/functions_reporting.php: cleaned source code style.
* godmode/reporting/reporting_builder.php: removed a PHP notice
message about a uninicialized var.
* godmode/reporting/graphs.php: fixed lost icon in the header bar
in this page.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/menu.css: fixed bad colour name "#grey" for correct
colour name "grey".
* include/constants.php: added constants for backup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Removed background color of
header separators and background header font color in godmode views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6243 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora_legacy.css
include/styles/pandora.css
images/skin/skin_default/include/styles/pandora.css: Fixed
information messages in other css files different than the default
css file. Also resized header image to 100% width.
* operation/agentes/tactical.php: Fixed print_cells_temp function
when it has not color like argument.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php: refixed the add the
items with modules with entities.
* include/functions_reporting.php, include/functions_networkmap.php,
include/functions_visual_map.php: cleaned source code style.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
All changes (except a small patch on function_groups) are
ported from 4.0.2 development branch.
* include/help/en/help_main_help.php: Added new general
introduction help file. Need work.
* include/functions_events.php: Fixed link colors and other
aesthetic improvements.
* include/styles/pandora_legacy.css
include/styles/pandora_black.css
include/styles/pandora.css
include/styles/pandora_bluenavy.css
include/styles/pandora_minimal.css
include/styles/pandora_blackmetal.css
include/styles/pandora_green.css:
* extensions/agents_modules.php,
include/functions_groups.php: now colors uses CSS instead
fixed codes in code. In function_groups also I've also applied a missing
patch from the 4.0 with corrections on the Group extration from the DB.
* operation/events/sound_events.php: Fixed small format problem.
* operation/events/events_list.php: Link on event now "zoom it" instead
filter for the same events (nosense since agrupatio is the default view!).
Fixed a lof of aesthetic issues, now uses CSS for most issues.
* operation/agentes/tactical.php
operation/agentes/estado_generalagente.php: more work in the visual
aspect of the information.
* images/status_sets/default/agent_ok.png
images/status_sets/default/module_warning.png
images/status_sets/default/module_ok.png
images/status_sets/default/agent_warning.png: Replaced colors with
more contrast, easier to view for operators!.
* images/header_f2b.png
images/header_f2.png: new style headers.
* general/header.php: New icon for general help.
* godmode/agentes/agent_manager.php: Removed ugly visualization for GIS
agent icons. Now it's much better :)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php: fixed when the
module have a spaces or other entities in the name when try to
create a items with the wizzard.
* godmode/reporting/visual_console_builder.wizard.php: changed the
style of form to show more horizontality.
Fixes: #3521724
* include/functions_reporting.php: fixed the "Top-N".
Fixes: #3521724
* include/functions_agents.php: cleaned source code style.
* operation/agentes/ver_agente.php: return more data in the ajax
request for the modules.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: into the function
"events_validate_event" fixed the return false when fail validation.
* include/functions_network_components.php: fixed the includes.
* operation/agentes/exportdata.php: cleaned source code style.
* include/functions_api.php: fixed the checking error to healty
level into the function "get_events".
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php
include/functions_ui.php
operation/agentes/estado_ultimopaquete.php
operation/agentes/estado_generalagente.php
operation/agentes/estado_monitores.php
godmode/reporting/visual_console_builder.elements.php: Fixed several
title text in force icon (green donut)
* operation/menu.php: Fixed missed "Edit my user" option
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6206 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/exportdata.php,
operation/events/events_list.php: cleaned source code style.
* include/functions_events.php,
include/functions_network_components.php,
include/functions_api.php: fixed some things, the function
"events_validate_event" when can't update as validate any event
return false, into the file "functions_network_components" added
$config['homedir'] for situations where include in a other path that
index. And show error when make a bad validate event.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php, operation/agentes/exportdata.php:
cleaned source code style.
* include/functions_api.php: fixed prevent the empty string in the
status into the search events.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php, include/api.php: fixed when some error
in get_events__user, and added constants flags for debug in the
header of source file.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: cleaned source code style.
* include/functions_graph.php: added into the src attribute the
$config['homeurl'] in the functions "progress_bar" and
"progress_bubble" to show the images in other paths that usually
path.
* include/functions_ui.php: fixed into the function
"ui_process_page_head" when try to use in others paths that usually
path (like as homeurl) and this bug have been for js and css.
* operation/visual_console/public_console.php: fixed and re-design
the page.
Fixes: #3520670
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6134 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
* include/functions_graph.php
operation/agentes/stat_win.php: Added units to Y axis in static
graphs. Also changed layout of launcher module graph window.
Fixes: #3520728
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: fixed into the function
"visual_map_print_visual_map" the unclose links of percentile bar.
Fixes: #3520640
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6117 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/functions_networkmap.php
include/ajax/networkmap.ajax.php
operation/agentes/networkmap.topology.php: Fixed several
errors in the apache log when generate networkmap and add
to the root node a little map summary
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_users.php, operation/users/webchat.php: added
list users in chat.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
operation/agentes/networkmap_list.php
operation/menu.php: Added new view with a list of networkmaps.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php, include/javascript/jquery.pandora.js,
include/functions_db.php: cleaned source code style.
* include/functions_users.php, index.php, operation/menu.php,
operation/users/webchat.php, include/javascript/webchat.js,
general/header.php: added first version of webchat.
* include/functions.php: into the function "check_login" added the
parameter $output for some cases don't want see the error page like
as the ajax querys.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Setted last_reference database
field to actual utimestamp when create an alert to avoid
unecessary charge on server
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_network_map.php
include/help/es/help_network_map.php
operation/agentes/networkmap.php: Fixed bug changing the
map name and improved the usability of the settings form
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, extensions/update_manager.php,
extensions/update_manager/lib/functions.php: fixed the first
intallation of update manager.
Merged from the branch "pandora_4.0".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/servers/recon_view.php: Fix column header.
* godmode/agentes/module_manager_editor_plugin.php: Now plugin description
is shown formatted (\n -> <br>). Some fields have better layout.
* godmode/servers/plugin.php: Ajax load of description is now formatted.
* godmode/servers/manage_recontask.php: Fix link to show recon server.
* godmode/servers/manage_recontask_form.php: Wider textarea.
* pandoradb_data.sql: New defaults (4 plugins, 2 recon scripts).
* include/functions_events.php: More space visible in event info, smaller
font.
* include/config_process.php: Updated version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: into the function
"agents_get_agent_id" the parameter "$io_safe_input" for transform
the names if true, by default false.
* operation/agentes/networkmap.topology.php,
operation/agentes/networkmap.php, include/functions_ui.php: cleaned
source code style.
Merged from th branch "pandora_4.0".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/styles/pandora.css
include/javascript/jquery.pandora.js
include/functions_config.php
include/functions_ui.php
extensions/update_manager.php
extensions/update_manager/load_updatemanager.php
extensions/update_manager/lib/functions.ajax.php
extensions/update_manager/settings.php
operation/system_alert.php
general/login_page.php
godmode/setup/setup.php: Changed layout in modal windows for
license information also changed several styles.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6005 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/functions_html.php, extensions/net_tools.php: cleaned
source code style.
* include/functions_networkmap.php: into the functions
"networkmap_generate_dot" and "networkmap_create_agent_node"
added new parameter $relative for set the url of icons as relative.
It is used in networmap enterprise.
* include/functions_ui.php: fixed into the function
"ui_print_message" lost the javascript code when the first messages
are without close button. And into the function "ui_print_os_icon"
added new parameter $relative for set the url of icons as relative.
It is used in networmap enterprise.
Merged from the branch "pandora_4.0".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/fgraph.php
include/functions_visual_map.php: Improved the
min size of the area graphs and clean code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/dialog.css
include/styles/pandora.css
operation/system_alert.php
include/functions_config.php
general/login_page.php: Modified style in UM license advises, also
modified style in system alerts dialog.
* include/functions_ui.php: Modified function ui_print_message to
allow force the style.
* include/styles/pandora_legacy.css: New css style with Pandora old
style "legacy". New style has 100% page width.
* images/spinner.gif
images/spinner.png: Added new spinners with transparency.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php
include/ajax/visual_console_builder.ajax.php
godmode/reporting/visual_console_builder.editor.js: Fixed several
bugs in the simple value item in the visual console and unified
repeated code merged from 4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, index.php,
extensions/update_manager/lib/functions.ajax.php,
extensions/update_manager/lib/functions.php,
extensions/update_manager/main.php,
extensions/update_manager/update_pandora.php,
general/logon_ok.php:: some fixeds and some changes for run fine and
pretty the update manager.
Merged from the branch "pandora_4.0"
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: add changes for the new standarized messages.
* extensions/update_manager/update_pandora.php: reverded the deleted file,
sorry.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5959 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: standariced the messages and added one more for
info.
* include/functions.php: added function "enterprise_installed".
* extensions/update_manager/update_pandora.php: removed file, because it is
into update_manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Fixed pendigdelete
rename of the modules when the agent is erased for
bug 3509327
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Fixed an error when try
to retrieve policy acl's without agents choosed
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
operation/agentes/ver_agente.php
godmode/massive/massive_add_alerts.php
godmode/massive/massive_delete_action_alerts.php
godmode/massive/massive_delete_alerts.php
godmode/massive/massive_edit_modules.php
godmode/massive/massive_add_action_alerts.php: Improve some parts
of massive operations section as add ALL/COMMON switch in the
agents/modules selectors, allow to select multiple alert actions
in the delete/add operations, add the period advanced control to
the modules edition section and improve this period control
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: cleaned source code style.
* extensions/update_pandora,
extensions/update_pandora/functions.ajax.php,
extensions/update_pandora/functions.php,
extensions/update_manager/lib/functions.ajax.php,
extensions/update_manager/lib/functions.php: moved this files into the
extension update_manager.
* extensions/update_manager/main.php: added hook (as a tab) the
"update_pandora".
Merged from the branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.controls.js
godmode/groups/group_list.php
godmode/massive/massive_delete_action_alerts.php
godmode/massive/massive_add_action_alerts.php: Improved the
template actions sections into massive operations
deleting compound deprecated alerts and showing only the
agents with templates in the combos
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
include/functions.php
extensions/snmp_explorer.php
godmode/agentes/module_manager_editor.php: Fixed several errors in
snmp walk and snmp explorer functionality.
Fixes: #3514508
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
operation/agentes/ver_agente.php
godmode/massive/massive_delete_modules.php
godmode/massive/massive_edit_modules.php: Added the same
extended form of the massive edit modules to massive
delete modules section. Added to both a new combo to
select the behavior of the multi select of agents/modules
selecting all or common for the result.
Fixed some bugs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php: Deleted extension icon on menus.
* extensions/extension_uploader.php: Fixed wrong link to menu for this
extension.
* operation/menu.php,
godmode/menu.php: Fixed duplicated extension links on menus.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: added into function "html_debug_print" the
equal output to log file, this is with more data.
* include/functions_db.php: cleaned source code style.
* extensions/update_pandora/functions.ajax.php,
extensions/update_pandora/functions.php,
extensions/update_manager/lib/libupdate_manager.php,
extensions/update_pandora.php: added extension to update pandora from the
targz of Sourceforge.
Merged from the branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/dialog.css
include/javascript/jquery.pandora.js: Changed style in license
advises to new appearance.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php
extensions/users_connected.php,
operation/incidents/incident.php,
operation/incidents/incident_detail.php,
operation/incidents/incident_statistics.php,
operation/menu.php,
operation/integria_incidents/incident.incident.php,
operation/integria_incidents/incident.files.php,
operation/integria_incidents/incident.list.php,
operation/messages/message_edit.php,
operation/messages/message_list.php: Create new menu item called
workspace.
* godmode/reporting/map_builder.php
operation/visual_console/render_view.php: Fixed some errors related to
new menu structure.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f