* 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