* mobile/index.php
mobile/operation/visualmap.php
mobile/operation/visualmaps.php
mobile/operation/networkmap.php
mobile/operation/home.php
mobile/operation/agent.php
mobile/include/style/main.css
mobile/include/user.class.php: Added visual
consoles in mobile console. Improve the apparience with
new icons (pandora ones), better layout, etc.
* godmode/reporting/map_builder.php: Fix type
in gettext function
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9409 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/events.php
mobile/operation/tactical.php
mobile/operation/networkmap.php
mobile/operation/modules.php
mobile/operation/alerts.php
mobile/operation/networkmaps.php
mobile/operation/agents.php
mobile/include/style/main.css: A lot of improvements
on the mobile console. Simplified views, more big tapping
areas, etc.
* include/functions_visual_map.php: Fix alert fired
module when is in warning status in builder view of
visual consoles. Incident #559
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php
mobile/operation/tactical.php
mobile/operation/groups.php
mobile/include/style/main.css: Improve mobile
console. Especially groups view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/gis_maps/ajax.php: Fixed broken agent
icons when autorefresh on gis maps
* mobile/operation/groups.php
mobile/operation/events.php
mobile/include/style/main.css
mobile/include/ui.class.php
mobile/include/user.class.php: More aesthetic and
responsible improvements on mobile console
* include/functions_graph.php
include/constants.php: Added more colors to the
graph color collection to support more graphics in
a combined graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/events.php: Improve the method of
detection if first event list loaded is on the
window limits.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/events.php: Fix event loading when
the screen is bigger than the initial list height
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9381 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php
godmode/agentes/module_manager_editor_common.php: Help tip added
near interval info of the data policy modules interval on module
list and form. This tip war about that this interal only will be
updated on policy application. Incident #379
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Fixed the group of the
event generated when validate an alert manually
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php
godmode/alerts/alert_view.php
include/styles/pandora.css
include/functions_alerts.php: Fix some bugs when
doesnt exist an action with min-infinite situation.
Some visual fixes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/styles/pandora.css: fixed the font sizes for the visualmaps
embedmed into a dash
Incident: #537 from local tacker.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/visual_console/render_view.php: re-added the countdown
widget for visualmaps in fullscreen.
Incident: #539 from local tacker.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php,
godmode/reporting/visual_console_builder.data.php: fixed the access
to user with operator read or and operator write in all group into
the visualmaps.
Incident: #538 from local tracker
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.editor.js,
include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: fixes the bug for
the simple values positions and the enable links in the static
graph.
Incidents: #536 and #535 from local tracker
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_view.php: Add exception
of field1 in recovery fields to the new alert view
* include/functions_reporting.php
mobile/operation/agents.php
mobile/operation/tactical.php
mobile/include/style/main.css: Improve tactical and
agents view in mobile console
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9354 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/include/user.class.php,
mobile/include/system.class.php: fixed SQL injection.
Issue found by Lincoln, a member of Corelan Team
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Added ack_utimestamp and id_agent
to the grouped events query to fix bad results
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9334 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php,
include/functions.php,
include/functions_alerts.php: Changes to the alert view to make it more
compact.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.list_items.php: fixed the
list of modules from inventory item.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Added to the header warnings the
checking of some php.ini values for incident #393
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_flot.php: fix unecessary space under the
area graphs when menu is not setted. If is setted, this space is
for the overview graph. Incident #499
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: fixed the show simple values in
the visualconsole editor from the old Pandora versions.
Fixes: #2407
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js
include/graphs/functions_flot.php: Fixed problem with the overview
graph in IE9 for incident #477
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: added function "https_is_running".
* include/functions_gis.php, operation/gis_maps/render_view.php,
operation/gis_maps/public_console.php, godmode/setup/gis_step_2.php:
fixed the urls for google maps when it is running in https mode.
Fixes: #2403
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/plugin.php: Fixed that unexpected strings are set
in parameter macro fields when multi-byte characters are entered.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php: fixed the empty action with trying to write
some thing in the global search field when it is search anything.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php: fixed with a dirty hack the bug about
the google maps with own old version of openlayer.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added 'plugin_macros' and
'module_macros' to the return column of tree_agents API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added 'module_macros' parameter
to api_set_create_*_modules, api_set_update_*_module, and so
on. Also added 'macros' parameter to plugin module functions.
Fixes: #2398
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/api.php: Avoid to store API auth failure in
session log to avoid DoS due high volume of transactions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form.php: Fixed WMI
components form fails due to bad javascript code for incident #462
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/include/style/main.css: Add important attribute to
override jquery mobile style of last commit. Change home layout
for widths greater than 800px (tablet devices)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/include/style/main.css: Add a responsive design hack to
mobile console to increase tables with to 100% in tablet devices
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php: Disable more controls
from the google maps in GIS to fix arrows controls
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php
include/javascript/openlayers.pandora.js
include/styles/pandora.css: Remove our zoom in google maps
on GIS view to use googles one. Incident #448
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/events.php, mobile/operation/modules.php,
mobile/operation/agents.php: fixed the scroll of list for old
browser in android mobiles devices.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: Added auto scroll
and resizable attributes to module graphs pop up
to improve usability with zoomed graphs.
Incident: #417
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_flot.php
include/graphs/flot/pandora.flot.js
include/javascript/pandora.js
include/styles/pandora.css
operation/agentes/stat_win.php: A lot of fixes on the
javascript graphs to be shown correctly in IE. Tested
and working fine on IE9 with compatibility mode on.
Incident: #417
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9216 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js: Add one decimal
to pie graphs to don't lose so much precision when
percentages are rounded
Incident #407
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/modules.php,
mobile/include/style/main.css: Fixed some style bugs
related to layout on visual console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Fix storing of event
comments in metaconsole and shot the event comments more
recent first.
Incident #440
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Fix styles in group view
for groups without states where letters were not visible
Incident: 432
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql
extras/pandoradb_migrate_4.1_to_5.0.mysql.sql
extras/pandoradb_migrate_4.1_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Add to the
migration scripts a query to set default theme when update
from 4.x to 5 version. It prevents from ugly layouts due
not supported themes. Incident #421
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/events.php: Fixed a bug loading events
filtergin by group when a group has no events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fixed the get events filtered by group.
MERGED FROM THE BRANCH PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/module_graph.php: Fixed a problem with
module graph filter regarding to event and period filter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/modules.php: Added default value for tag
filter and added "All" option to modules group and tag filters
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/modules.php: Fixed a style bug related to
filter explanation update on module search on mobile console.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9170 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fixed the get events when not found the
agent, before it returned the systems events, now it returns empty
list.
MERGED FROM THE BRANCH PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_treeview.php: Fixed sql error in tag tab.
* ChangeLog: Fixed date in my previous commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: fixed the old visual maps from
pandora4, now it is showed the values in the simple value.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_treeview.php: Fixed tree expansion failure in
module based tree view when module name includes some symbols.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/include/style/main.css
mobile/operation/networkmap.php
mobile/operation/home.php
mobile/operation/modules.php
mobile/operation/alerts.php
mobile/operation/networkmaps.php
mobile/operation/agent.php
mobile/operation/groups.php
mobile/operation/agents.php
mobile/operation/events.php
mobile/operation/tactical.php: General improvements
in mobile console. Cut some large strings, style fixes,
back button path fix to iPhone app...
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/hourglass_dark.png
images/star_white.png
images/star_dark.png
images/hourglass_white.png
images/tick_dark.png
images/tick_white.png
mobile/include/style/main.css
mobile/operation/agent.php
mobile/operation/events.php: Improvements in event
viewer of mobile console after fix some conflictive
code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: Fixed that some multibyte characters
are recognized as invalid characters on module creation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/events.php
mobile/include/style/main.css: Improve events layout
and fix events validation
* include/functions_events.php
include/functions_api.php: Fix event validation from API
and delete deprecated function
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/ja/help_visual_console_editor_editor_tab.php: Added
a new description for rich label.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9118 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form.php: Fixed jquery
code that broke the snmp3 fields when edit a snmp component
Incident #402
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: removed the hack for metaconsole, now
this hack fails because it is fixed the images in the metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: removed the hack for metaconsole in the
"ui_toggle", now this hack fails because it is fixed the images in
the metaconsole.
* operation/agentes/alerts_status.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/configure_group.php, godmode/groups/group_list.php:
fixed the show and edit groups with the ACL of the user has not
access to the parent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: Fixed visual console links
to other visual consoles when there are alert fired on them
for bug #391
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
include/functions_groups.php,
include/functions_users.php: Reverted changes for TSOL. Will be merged
after the 5.0SP1 release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9100 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: added lost line about the autorefresh.
* include/functions_html.php: re-fixed the images from metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9099 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.build_query.php: Fixed a
subquery OR condition for not normal type.
* operation/agentes/status_monitor.php: Fixed monitor
filter by group and tags
* mobile/operation/events.php: Fixed filter of events
view in mobile console
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9097 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/status_sets/default/server_ok.png: Change the
server OK status image to be the same style than
server down. Incident #392
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: fixed the images of metaconsole,
again.
* include/functions_visual_map_editor.php: fixed the disabled
agents only show their modules when it is selected in the editor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: Change
interval message for policy data modules to improve usability
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor_common.php: Fix module interval
updation in software modules. The interval of this kind of modules
only can be updated by server when agent reports
Interval #379
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: fixed the checks for duplicate images
in the function "html_print_image" into the metaconsole
installations.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php: Added action url to
reset modules filter form work fine when the filter is a GET
parameter
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.build_table.php
operation/agentes/estado_monitores.php
operation/agentes/ver_agente.php: Fixed old link in
module name in events list. Incident #369
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php: fixed the action to click in the search
bar with something wrote that before the javascript empty this
field, now it does not empty.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php: added ids to the links for to
the make more easy the unit test.
* godmode/reporting/visual_console_builder.editor.js,
include/functions_visual_map.php: fixed the simple value macros in
the editor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/OpenLayers/OpenLayers.js: Fix layer
order error that broke the zoom in google maps on GIS for
incident #370
Merged from 4.1
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_treeview.php: Fix the agents query in
tree view of tags to avoid duplicated agents for
incident #349
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Change the way of store
the event comments (supporting old way)
* include/functions_api.php: Improve API clean process
of the csv output.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php
include/functions_graph.php: Added color collection in
constants file and use it in custom graphs to avoid
ugly black colors in graphs with more than three graphs
Incident #346
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9012 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/api.php: Create a special call on Pandora FMS
API to verify if it is a correct installation of Pandora
and get the Version.
This call only retrieve "Pandora FMS [version] - [build]"
without any security check.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_tags.php: Fix the tags acl
check function to be compatible with acl propagation
incident #345
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: Fixed function that
returns the user groups in tree way. It was broken
when the user has acls over a group but not in his
father. Incident: #342
Merged from 4.1
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/performance.php: Added tip messages to
advice possible conflicts of performance configuration
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fixed the output of data as csv when
the data have a return carriges.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: fixed the delete the nodes in the
networkmap enterprise.
MERGED FROM THE BRANCH PANDORA_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Merge the logic from the
pdf reports to have the same results in both sides for
incident #314
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.list_items.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/visual_console_builder.editor.php,
include/help/en/help_visual_console_editor_editor_tab.php,
include/javascript/jquery.pandora.js,
include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
include/functions_visual_map_editor.php: added rich labels for all
items in the visualmap and the simple value has the new macro
(_VALUE_) for to set the value with html style into the rich labels.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_delete_action_alerts.php,
godmode/massive/massive_add_action_alerts.php: fixed the javascript
to load "alert templates" select box when change quickly the agents
in the select box "Agents with templates".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_copy_modules.php,
include/functions_modules.php: fixed the module massive copy from
agent with remote configuration to agent without remote
configuration and with a network module.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: Store the
interval factor in modules edition when is policy form and other
improvements. Incident #303
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/module.php: changed the code to avoid to try to
load enterprise code unconditionally.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php,
include/functions_network_components.php,
include/functions_alerts.php: fixed the name of items to duplicate,
now they have a html entities for whitespaces.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.js
include/functions_config.php: Changed license warning window
time to 30 seconds. Added header warning message when license
is expired in client mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_delete_modules.php,
include/functions_modules.php: fixed the delete modules with
conf from the massive operations.
2013-10-16 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql,
extensions/update_manager/sql/update_manager.sql,
extensions/update_manager/sql/update_manager.postgreSQL.sql,
extensions/update_manager/sql/update_manager.oracle.sql,
extensions/system_info.php, pandoradb.data.postgreSQL.sql,
pandoradb.data.oracle.sql, extras/pandora_diag.php: removed the
unused path to keygen.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css
images/login_background.jpg
images/login_background.png: Change the background
image of the login screen
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.1_to_5.0.oracle.sql,
extras/pandoradb_migrate_4.1_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Removed some queries
that were re-introduced in revision 8897.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8920 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.build_query.php,
operation/events/events_list.php, operation/events/events.php: added
the filter for events of group childrens of parent group selected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: into the function
"groups_get_group_to_list" fixed PHP warnings about uninitialized
vars.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmpconsole/snmp_view.php: Made the SNMP trap viewer look
more like the event viewer.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js,
include/graphs/functions_flot.php, operation/agentes/stat_win.php:
fixed the charts with negative values and a flot type.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8906 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_commands.php, include/functions_io.php: Fixed
that unexpected fields descriptions are set when multi-byte characters
are entered.
It is caused by json_encode(). It escapes unicode used by multi-byte
characters. I've created io_json_mb_encode(), replacement of
json_encode() for multi-byte characters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.editor.php,
include/styles/pandora.css, include/styles/pandora_legacy.css: added
the font 72 pt for labels in visual maps.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/ssh_gateway.php: Added a help tip to show invalid
characters.
* extras/pandoradb_migrate_4.1_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.1_to_5.0.oracle.sql,
extras/pandoradb_migrate_4.1_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: Removed duplicated columns.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php, include/functions_graph.php,
include/functions_api.php: fixed a pair of bugs of the api calls.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8892 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js: Fixed strange
random fail of flot graphs menus and improve allocation
of this menu. Incident: #253
* images/normalscreen.png: Change icon to modern style
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php
include/functions_alerts.php
operation/agentes/status_monitor.php
operation/agentes/status_events.php
mobile/operation/modules.php: Fixed several calls
to acl tags with same fixes of Juanma in previous commits
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Change the way of
calculate next contact in main agent view to real
next contact using only agent interval.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8886 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql,
pandoradb.data.postgreSQL.sql,
pandoradb.data.oracle.sql: Point to the OUM server version 5.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/custom_logo/pandora_logo_head.png
images/custom_logo/artica_logo.png: Reupload
the open header image and artica logo as alternative
deleted by me due a confussion with pdf header images
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.js
images/tip.png: Replace tip image by new star, increse
a little the license info dialog
* operation/agentes/estado_generalagente.php: Added real
time tip near status graph legend in main agent view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/Image/image_functions.php: fixed the show visualmap widget
in dashboard.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_reporting_advanced_tab.php
include/help/es/help_reporting_advanced_tab.php: Add info
in the report macros help with new feature
* images/custom_logo/none.png
images/custom_logo/artica_logo.jpg
images/custom_logo/artica_logo.png
images/custom_logo/sourceforge.png
images/custom_logo/pandora_logo_head.png
images/custom_logo/none.jpg: Clean and create new files for
pdf header
* godmode/reporting/reporting_builder.php: Set FreeSans as
default font in reports
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php
include/javascript/jquery.pandora.controls.js
include/functions_treeview.php
operation/tree.php
operation/agentes/ver_agente.php
godmode/groups/group_list.php
godmode/massive/massive_add_alerts.php
godmode/massive/massive_delete_modules.php
godmode/massive/massive_delete_alerts.php
godmode/massive/massive_edit_modules.php
godmode/reporting/graph_builder.graph_editor.php: Add sorting
in many agents list retrieved by ajax and tree view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Added a overflow hidden
in left informative tab of pandoras interface to avoid
ugly visual errors.
* godmode/reporting/reporting_builder.list_items.php
godmode/reporting/reporting_builder.item_editor.php: Change Avg
strings by Rate strings in top N reports for incident #211
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_delete_alerts.php,
godmode/massive/massive_add_alerts.php: fixed the get agents in
the groups with subgroups and enabled "Group recursion".
Fixes: #2393
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php: Disabled
second pass processing in 3d pie chart because
it was really heavy (13 seconds chargin a simple
pie is unacceptable)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css
include/functions_reporting.php
include/fonts/FreeSans.ttf
include/fonts/FreeSansBold.ttf
include/config_process.php
operation/reporting/reporting_viewer.php
images/pandora_logo_white.jpg
godmode/reporting/reporting_builder.list_items.php
godmode/reporting/reporting_builder.main.php
godmode/reporting/reporting_builder.php: Fix several visual
issues in reports. Update FreeSans font. Add some code for
pdf reports in enterprise side
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8858 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/install.css
include/styles/pandora.css
install.php
images/warn.png
images/pandora_tinylogo_open.png
images/dot_red.png
images/dot_green.png: Improve visual styles of
install screens
* general/pandora_help.php: Add a opensource logo
image in help screen when enterprise is not installed
* general/error_screen.php: Add css styles to
error screens before login
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.js, index.php,
general/login_page.php: fixed the show the warning trial enterprise
message when fail login.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/menu.css: Fixed menus item height to
avoid ugliest menu ever when license expired dialog is shown
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php,
include/config_process.php: Removed a redeclaration of develop_bypass
and set it to 0 by default.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Improve the db maintenance check
to avoid heavy tsesion queries each page load
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/pChart/pPie.class.php: Fix reversed colors bug in
3D pie graphs
* godmode/reporting/reporting_builder.item_editor.php: Hide Server combo
when metaconsole is not enabled.
* include/javascript/jquery.pandora.js: Increase width of license
dialog
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: added code for to delete the nodes
of any agent when it is deleted.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: added function "delete_dir" and improved
the function "copy_dir".
* extensions/update_manager/lib/libupdate_manager_client.php,
extensions/update_manager/lib/functions.php,
extensions/update_manager/main.php: added feature to upload zip
archives to update.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_netflow.php,
operation/netflow/nf_live_view.php: Show an error if nfdump version
older than 1.6.8 is installed (this is the minimum version required
to work with Pandora FMS).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8820 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.js: the button to close in the
dialog information for outdate license is not, and the ok button
is hidden for a few seconds.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php
godmode/events/events.php: Fix some sec parameters to
higlight correct menu sections when events sections are
active
* godmode/agentes/agent_wizard.snmp_explorer.php: Change error
message to help user to understand result of snmp walk
* godmode/agentes/module_manager_editor_network.php: Increase
the modal window of snmp walk
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/lib/functions.php: changed the code
to show better info about the error when upload a oum with a size
biggest than the PHP limit.
MERGED FROM THE BRANCH PANDORA_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/lib/libupdate_manager_client.php: fixed
when the response it is 0 instead the false value.
MERGED FROM THE BRANCH PANDORA_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8812 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form_common.php,
godmode/modules/manage_network_components_form.php: fixed the
javascript to configure the form of snmp.
* godmode/agentes/module_manager_editor.php,
godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager_editor_common.php: fixed the
"module_macros" when it is fail when is not set for example.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: Added
error message when try to add a new SLA item without configure
parameters
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8804 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css
include/javascript/jquery.pandora.js
images/license_key.png
general/login_help_dialog.php
general/login_page.php: Change the visual styles
of some dialogs
* extensions/agents_modules.php
extensions/module_groups.php: Improve the visual
style of extensions and their legends
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8803 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager.php,
extensions/update_manager/main.php: more comments for to make more
easy the code.
* extensions/update_manager/update_pandora.php: fixed lost include
graph functions for to show progress bar.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/configure_alert_action.php: Fix update
process of alert actions when group is not ALL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8789 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php
godmode/agentes/module_manager.php: Fixing translation
of adopted modules and reestructure translations calls
to do the translations more efecctively for bug #2375
* general/login_help_dialog.php: Fix size
of the login help dialog
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php
godmode/groups/group_list.php: Fix groups view pagination
and other internal fail retrieving the groups in tree way
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: Module name checking
for invalid characters added at creation time.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f