* include/functions_ui.php, operation/search_helps.php,
operation/search_results.php, operation/search_helps.getdata.php,
general/pandora_help.php: added feature to search into the help
files, it is in the search bar header.
* operation/search_main.php: fixed the search any term of several
words separated with whitespaces.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql,
pandoradb.data.postgreSQL.sql,
pandoradb.data.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
Added some inserts with the new action and command to create
a ticket in Integria IMS.
* include/styles/pandora.css: Fixed the header style.
* operation/menu.php: Now the incidents statistics menu option
takes the user to the correct place if the "Integria incidents"
option is selected.
* operation/integria_incidents/incident.incident.php: Fixed the
incident edition.
* operation/integria_incidents/incident.php: Improved the tab
images.
* operation/integria_incidents/incident.workunits.php: Now the
default time of the incident workunits is 0.
* operation/integria_incidents/incident_detail.php: File removed.
* operation/integria_incidents/incident_statistics.php: Now this
section show the real statistics of the Integria IMS incidents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/update_manager/update_manager.online.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php: fixed the update manager when
some tar formats, and fixed the versions copy&paste error in the
code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/clippy/godmode_agentes_modificar_agente.php,
include/help/clippy/homepage.php,
include/help/clippy/godmode_agentes_configurar_agente.php: updated
the text from the works of Carla. Thanks Carla.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_clippy.php,
include/help/clippy/godmode_agentes_modificar_agente.php,
include/help/clippy/homepage.php,
include/help/clippy/module_unknow.php,
include/help/clippy/godmode_agentes_configurar_agente.php,
include/javascript/intro.js: some fixes and improves in the clippy.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: killed some unicorns and magic
numbers into the function "modules_get_status".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10408 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/clippy_icon.png, images/pandorin.png,
include/help/clippy/homepage.php, general/header.php: yes there is
a octopus another time in Pandora.
2014-08-12 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_clippy.php,
include/help/clippy/godmode_agentes_modificar_agente.php,
include/help/clippy/godmode_agentes_configurar_agente.php: fixed the
execution of help tour when never it started. Sorry the clippy is
less annoying.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: No more "welcome to Pandora FMS 5.0"
removed version code to allow the same text for next releases
:-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php,
include/help/clippy/godmode_agentes_modificar_agente.php,
include/help/clippy/homepage.php,
include/help/clippy/godmode_agentes_configurar_agente.php,
include/javascript/intro.js,
include/javascript/introjs.css,
include/javascript/clippy.js,
include/functions_ui.php,
include/functions_clippy.php,
index.php,
general/header.php: first version of the new feature a annoying
clippy such as the lovely micro$oft mascot.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
Modified the decimal precision of the column "post_process"
for the table 'tagente_modulo' (Ticket #1124).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
pandoradb.sql: Fixed bug introduced in commit 9604
altering tagente_modulo.post_process double precission
making conversion from bytes to megabytes impossible
(0,00000095367432). Pending to fix also the interface for
module creation/edition which also fails. This is critical
for SP1 release :(
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10384 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/main_menu.php: Fixed the menu position when
it's fixed and the header's not.
* include/functions_graph.php,
include/graphs/pandora.d3.js: Added colors to the elements
depending on their status on the functions 'sunburst' and
'graph_monitor_wheel'.
* include/styles/pandora.css: Fixed the z-index of the
shortcut bar.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php: Now the header can be configured
to be fixed at the top.
* general/main_menu.php: Now the menu can be configured
to be fixed at the left.
* godmode/setup/setup_visuals.php,
include/functions_config.php: Added new options to
enable the fixed header and menu.
* include/styles/menu.css,
include/styles/pandora.css: Changes on the menu styles.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php,
include/functions_update_manager.php: some fixes into the update
manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/main_menu.php: Now the submenus opened by the
user remain opened when navigating through Pandora FMS.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: added global config var for the
quote strings (for example, PostgreSQL).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Fixed that the fast forward and the going
to the last of pagination doesn't work in the modal window for module
data display.
And fixed incorrect offset calculation for the fast forward.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php: Fixed that module data
display does not work correctly when time range mode is selected
and paginated.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Finished the function
"graph_monitor_wheel". This function returns a sunburst
graph representing all the group>agent>module group>module
hierarchy.
* include/functions_groups.php: Added the function
"groups_get_tree". This function returns an array representing
the group hierarchy of the passed groups array.
* include/graphs/pandora.d3.js: Improved the function
"sunburst". Now this graph can show tooltips.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_recontask.php,
godmode/servers/manage_recontask_form.php,
include/functions_treeview.php, include/ajax/module.php,
include/functions_reporting.php, include/db/postgresql.php,
include/functions_servers.php, operation/agentes/estado_agente.php,
operation/tree.php: tiny fixes for the improve
the support of postgreSQL databases.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/functions_reporting.php,
operation/agentes/estado_monitores.php: tiny fixes for the improve
the support of postgreSQL databases.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Fixed a bug that event's comment
is not shown when it includes newline.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/module_groups.php, extensions/agents_alerts.php,
include/functions_agents.php, operation/agentes/exportdata.php: tiny
fixes for the improve the support of postgreSQL databases.
* include/functions_db.php: fix blank screen when the connection
fail, now it shows the error message again.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php, operation/agentes/status_monitor.php,
operation/agentes/estado_generalagente.php,
operation/agentes/estado_agente.php: tiny fixes for the improve the
support of postgreSQL databases.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_servers.php, include/functions_reporting.php:
tiny fixes for the improve the support of postgreSQL databases.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_generalagente.php: fixed the show the
agent access box when the agent is new without data.
INCIDENT: #1078
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_wizard.snmp_explorer.php,
godmode/agentes/module_manager_editor_plugin.php: some fixes for
the snmp version 3.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/events.php: Fixed custom fields view in
metaconsole event extended view.
This is my last commit for Pandora guys! Bye ;-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: fixed to show the QR code image
in the creation of a new agent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/functions_reporting.php:
fixed to show the unknown graph in simple graph.
INCIDENT: #1035
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: added parameter to avoid the check
the propagation in the function "groups_get_childrens".
* include/functions_networkmap.php,
operation/agentes/networkmap.php,
operation/agentes/networkmap.topology.php: added feature to show the
agents in subgroups (or not).
INCIDENT: #1018
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10341 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: fixed the call "set_update_agent"
because before the call get the id_server but this data never
was translated to name_server. And added id_server into the call
"get_pandora_servers" in the last position.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10333 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: restored the parameter name server in
the api call "set_new_agent", thanks KOSAKA.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: When drawing charts, propagate the last value
in the database instead of the value of the last interval (which is the
average value for that interval).
* operation/agentes/estado_monitores.php: Show events for boolean modules by default.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, include/functions_extensions.php:
fixed the show old update manager and set the correct link in the
header warning message to update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10315 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/update_manager/update_manager.offline.php,
godmode/update_manager/update_manager.online.php,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php,
include/javascript/update_manager.js: a lot of fixes into the update
manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10293 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/netflow/nf_live_view.php,
godmode/netflow/nf_edit.php,
godmode/servers/manage_recontask_form.php,
godmode/servers/plugin.php,
godmode/setup/setup_general.php: Added messages to
warn about incompatibilities for Windows users.
* include/functions_graph.php: Added the function
"graph_monitor_wheel".
* include/graphs/functions_d3.php: Added the function
"d3_sunburst_graph".
* include/graphs/pandora.d3.js: Added the function "sunburst".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/networkmap.topology.php,
include/functions_networkmap.php: fixed the networkmaps of level 2,
now the nodes without conections with others are more or less
clean posicioned into the networkmap.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_visuals.php, include/functions_networkmap.php,
include/functions_config.php: added the visual config value for
to set the width of networkmap, and fixed the overlap of networkmap
L2.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: Modified the function
"networkmap_generate_dot" to link the orphan nodes with a
central node when selecting the L2 network interfaces option.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10274 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_extensions.php, index.php: force to load the
new integrated update manager and don't load the old update manager
extension.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added support for 'each_ff' and
'ff_timeout' to 'set add_*_module_policy'.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added support for ff_threshold to
'set new_local_component'. Fixed that component id can not be set
correctly by 'set new_local_component'.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added support for 'each_ff' and
'ff_timeout' to 'set new_network_component',
'set new_plugin_component' and 'set new_snmp_component'.
Fixed that component id can not be set correctly by
'set new_*_component'.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added support for 'each_ff' and
'ff_timeout' to module creation and modifying APIs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.editor.php:
Added some buttons, like a control to edit the html code
of the tinymce's textarea.
* godmode/reporting/visual_console_builder.editor.js:
Modified the funtion "hiddenFields" to enable the tinymce's
code control only if the item is a label.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10231 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js: Fixed position of the
event information box in flot modules graphs when click on
events "ball" for ticket: #948
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.editor.js:
Modified the function "loadFieldsFromDB" to fix the graph
type selection.
* include/functions_visual_map_editor.php: Visual changes
on the form created by the function
"visual_map_editor_print_item_palette".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10223 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php,
operation/reporting/reporting_viewer.php,
operation/agentes/status_monitor.php,
include/functions_netflow.php,
include/functions_graph.php: Improvements to avoid
php notices and warnings.
* godmode/setup/setup_visuals.php,
include/functions_config.php: Added a new option
to choose a custom line thickness for the line between
the items relations of the visual maps.
* include/functions_visual_map.php,
include/javascript/pandora_visual_console.js: Added
support to the custom line thickness and fixed some
problems with the line connections.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php: Fix ACLs limitations. Now its possible
give access to any submenu option without have access to the first one.
Ticket: #856
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10214 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_copy_modules.php: Error fixes.
* include/functions_agents.php: Fixed some returns on the
function "agents_process_manage_config".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: fixed into the function
networkmap_generate_dot the order of agents, now the agents without
parents are the first elements in the array.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/update_manager/update_manager.setup.php,
godmode/update_manager/update_manager.php,
include/functions_update_manager.php, include/config_process.php:
some changes in the update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10201 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/realtime_graphs.php
extensions/realtime_graphs/realtime_graphs.js: Fix timezone
differences in realtime graphs when client (browser) and
server (console instance host) have different timezone.
Now it takes always the server timezone.
Ticket: #853
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10187 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php,
include/javascript/pandora_modules.js: Fixed an error
that created duplicated macro fields when selecting
a local component module #927.
* include/graphs/flot/pandora.flot.js: Now the spacing
of the vertical data description is automatic.
* include/styles/pandora_black.css: Visual changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.editor.js
include/graphs/fgraph.php
include/graphs/functions_pchart.php
include/graphs/pChart/pImage.class.php
include/functions_visual_map.php
include/ajax/visual_console_builder.ajax.php
include/functions_visual_map_editor.php
include/functions_custom_graphs.php
include/functions_graph.php: Added option to cusomize the
background of the graphs in visual consoles for ticket: #886
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_delete_modules.php,
operation/agentes/ver_agente.php: Fixed bug that all
agents' module could be target of deletion,
if the user has an AW privilege for any.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_copy_modules.php: Delete the
source agent from the target agents lists in massive
copy form to avoid errors for ticket: #869
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10171 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: Change incorrect color assigned to
maintenance events on pdf reports events
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/configure_user.php: Fixed some input
properties.
* include/graphs/functions_flot.php: Added an option
to set the width to auto on the function "flot_vcolumn_chart".
* include/graphs/flot/pandora.flot.js: Increased the tick size
of the vertical labels on the function "pandoraFlotVBars".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Added the function
"graph_snmp_traps_treemap".
* include/functions_netflow.php: Fixed a little error.
* operation/snmpconsole/snmp_view.php: Fixed the pagination.
Now is possible to see a treemap graph of oid per agent with
the snmptraps received.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php,
include/functions_update_manager.php, index.php,
general/logon_ok.php, extensions/update_manager.php,
godmode/update_manager_xxx/update_manager.online.php: work in the
first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/update_manager_xxx/update_manager.online.php,
include/functions_update_manager.php,
include/javascript/update_manager.js,
include/ajax/update_manager.ajax.php: work in the first version of
new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php,
godmode/massive/massive_delete_modules.php: Fixed bug that all
agents' module the user can view could be targets of deletion,
if the user has an AW privilege for any.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added the parameter
"address resolution" to the functions
"api_get_netflow_get_data" and "api_get_netflow_get_stats".
* include/functions_netflow.php: Added the parameter
"address resolution" to the functions "netflow_get_data",
"netflow_get_stats", "netflow_get_summary",
"netflow_get_record" and "netflow_draw_item".
* operation/netflow/nf_live_view.php: Added an option to
apply IP address resolution to the netflow searches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/update_manager.js,
include/functions_update_manager.php,
include/ajax/update_manager.ajax.php, include/config_process.php:
work in the first version of new update manager.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10145 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/login_background.jpg
images/login_background.png
images/backgrounds/mosaico_diagonales_gris.png
images/backgrounds/fondo_diente_leon_2000.jpg
images/backgrounds/fondo_arena_2000.jpg
images/backgrounds/fondo_madera_2000.jpg
images/backgrounds/fondo_cielo_2000.jpg
images/backgrounds/fondo_luna_2000.jpg
images/backgrounds/fondo_paisaje_2000.jpg
images/backgrounds/fondo_polen_2000.jpg
images/backgrounds/fondo_cubos_2000.png
include/styles/pandora.css: Added bunch of new login
backgrounds and set another default one
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_copy_modules.php,
godmode/massive/massive_delete_modules.php: Fixed bug that all
agents the user can view could be targets of the operation, if
the user has an AW privilege for any.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_snmp_browser.php: Fixed an error.
* index.php: Modified the config.php permission check
on Windows systems.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_delete_agents.php,
godmode/massive/massive_edit_agents.php: Fixed bug that all
agents the user can view could be targets of the operation, if
the user has an AW privilege for any agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_add_alerts.php: Fixed bug that all
agents the user can view would be target of the operation, if
the user has an AW privilege for any agent group.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php: Fix sql error in the layer that
appears when put the mouse over a node in network map related with tags
in users without acl profiles assigned (just admin assigned) Ticket #824
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10125 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/search_agents.php: Change the format of the agent interval
from seconds to human format for in global search. Ticket #867
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10121 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/files_repo/files_repo_get_file.php,
extensions/files_repo/files_repo_list.php,
extensions/files_repo/functions_files_repo.php,
godmode/setup/setup_general.php: Improved the Windows
compatibility and fixed some errors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_general.php: Disable the "Enable
Netflow" radio buttons if the server is installed on a
Windows machine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/es/help_plugin_macros.php
include/help/es/help_alert_macros.php
include/help/en/help_plugin_macros.php
include/help/en/help_alert_macros.php: Added missed and
new macros to help
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php
include/functions_graph.php
include/functions_reporting.php
include/graphs/functions_pchart.php
include/graphs/functions_flot.php
include/functions.php
include/functions_events.php: Fix a lot of errors
on events items on reports using now the same query
as events view, etc.
* include/styles/pandora.css: Little aesthetic
improvement in focus buttons and unset webfont
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css
images/login_background.png
general/login_page.php: Change the whole
login screen to new style
* fonts
fonts/nunito.woff: Added a web font
* include/functions_events.php
include/functions_reporting.php: Fix a bug in the
agent events item on reports to reutilize the
standard code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10094 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: Now the linked visual
maps are opened as a popup.
* include/functions_snmp.php: Added a best way to call the
snmpwalk binary.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/news_dialog.php: Fix a bug in modal window news that
did incompatible with "first time" modal help
* include/graphs/functions_gd.php: Add a white background to the
progress bars
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_visuals.php,
include/functions_config.php: Added a new config token
to hold a custom path for the graphviz binaries.
* include/functions_networkmap.php: Minor fixes on the
functions "networkmap_create_module_node" and
"networkmap_open_graph".
* operation/agentes/networkmap.groups.php,
operation/agentes/networkmap.topology.php: Modified to
support the custom graphviz directory, blanks in paths, etc.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/settings.php
godmode/menu.php: Moved license configuration from update manager settings
to its own screen.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Change the zindex of autohidden
menu and shortcut bar to be shown over the gis map for ticket #855
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10074 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_recontask_form.php: Changed the recon task
interval control to be more user friendly improving usability
for manual intervals choices. Ticket #839
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10049 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.controls.js,
godmode/groups/group_list.php,
godmode/massive/massive_add_alerts.php,
godmode/massive/massive_add_action_alerts.php
godmode/massive/massive_delete_action_alerts.php,
godmode/massive/massive_delete_alerts.php,
godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_standby_alerts.php: fixed bug that all
agents would be shown in the target for masssive operations, if
the user has an AW privilege for any agent (group).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php,
godmode/setup/setup_visuals.php, include/functions_config.php,
include/config_process.php, include/functions_ui.php,
include/javascript/qrcode.js, include/javascript/pandora.js,
operation/visual_console/public_console.php, images/qrcode_icon.jpg,
general/header.php: added the feature to show the QR code of the
pages for to make for example sticker for the fisical machines or
other things.
Incident: #818
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/news_dialog.php: Missed file in last commit
* godmode/alerts/configure_alert_action.php
godmode/alerts/configure_alert_command.php
include/javascript/pandora_alerts.js: fixed preview
of commands in action configuration and changed the
text input by a textarea in command configuration for
ticket: #852
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/pandora.d3.js, include/graphs/functions_d3.php,
operation/agentes/networkmap.dinamic.php: fixed the css for the
m$-internet exploter 11. Please Bill Gates travels to Leon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Fixed the permission
checks of the remote config directories on the function
"config_check".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10039 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: fixed the css for the
m$-internet exploter 11. Please Bill Gates travels to Leon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: improved the source code style.
* extensions/agents_modules.php: fixed the css for the
m$-internet exploter 11. Please Bill Gates travels to Leon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_snmp.php: Improved the security
on the function "snmp_generate_trap" by escaping the
command arguments.
* include/functions_snmp_browser.php: Improved the
Windows compatibility of some commands.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/files_repo.php: Fixed a weird error when
uploading big files.
* godmode/setup/setup_general.php,
include/functions_config.php: Now is possible to set
a custom path to the pandora server logs.
* extensions/pandora_logs.php,
extensions/system_info.php: Now the custom server log path
is used if exists.
* include/functions.php: Now the function "get_file_upload_status"
returns -1 when the $_FILES array is empty.
* include/config_process.php: Fixed an error that could
avoid the log in pandora_console.log.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_wizard.snmp_explorer.php: Fix wrong
parameters like unit setted in SNMP Wizard for ticket #796
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Comment module
in configuration file when this module is disabled.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php,
godmode/modules/manage_network_components_form.php
godmode/modules/manage_network_components_form_common.php,
pandoradb.sql, pandoradb.oracle.sql, pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql: Improved
'FF threshold' to be able to define each state changing for
network components.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_edit_modules.php: Improved to support
each state changing of 'FF threshold'.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php,
include/functions_networkmap.php: added the filters for the
CIDR network masks.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fix end of unknown
periods in graphs when activate events storm protection
or other prevent events triggering
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fix unknown graphs in graphs
with only negative values. Now the unknown graph is always positive
Ticket: #569
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager_editor.php,
godmode/agentes/module_manager_editor_common.php,
pandoradb.sql, pandoradb.oracle.sql, pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql: Improved
'FF threshold' to be able to define each state changing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Fixed the function
"get_events_with_user". Fixed the json output format.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/include/styles/pandora.css: Changed
the name of the class "transparent" for "alpha50".
* pandora_console/godmode/agentes/module_manager_editor_common.php:
Changed the class "transparent" of the elements for the
class "alpha50".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/Makefile: Removed unavailable language files
from the target. Added '--from-code=UTF-8' to xgettext option to
avoid errors with non-ascii characters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_ipam.php: Fix bad translations
on ipam english help
* extensions/realtime_graphs/ajax.php: Little improvement
on pending pandora packages for realtime graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: fixed "resolution" of custom
graphs to have the same results of simple graphs when have data
of more than one month.
For SF bug #2425
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9931 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_recontask_form.php: Fix a field
that wasnt hidden in recon server form when select recon
script mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php
godmode/reporting/reporting_builder.item_editor.php
include/functions_reporting.php
include/functions_reports.php: Added SLA Monthly reports. Its
an enterprise feature, so here is only the code to hook it and
some forms logic
* include/functions_html.php: Add support to header styles in
html_print_table function. Used in SLA monthly reports
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql: Changed the order
of 'ALTER TABLE' and 'INSERT INTO' for trecon_script to avoid error.
Added a missing column for trecon_script.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: Improved to adjust program paths in pandora db for
FreeBSD. All packages and configuration files except operating
system's base files are installed under /usr/local in FreeBSD.
So, path settings in pandora db for some programs should be changed
from the Linux default.
And, fixed database creation failure with PostgreSQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9914 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/shortcut_bar.php: Updated the shortcut bar.
* include/styles/pandora.css: Added new styles for the
shortcut bar elements.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9900 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/extensions/matrix_events/ajax.php,
pandora_console/extensions/matrix_events.php: Added
files. New extension to see the latest events like if
you were the operator of the Nebuchadnezzar.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_wizard.snmp_interfaces_explorer.php:
(Re)added ifXTable support to the SNMP interface wizard.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_wizard.snmp_explorer.php:
In 'Other SNMP data', check if the targer supports
these items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php
godmode/menu.php
godmode/massive/massive_operations.php
include/javascript/pandora.js: Add massive operation for
satellite agents threshold edition. This is the part on the
open side that hooks with enterprise code.
* extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql
pandoradb_data.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql:
images/networkmap/satellite.png
images/os_icons/satellite_small.png
images/os_icons/satellite.png
images/op_satellite.png: Add icon to satellite OS
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9888 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
include/functions_config.php
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql
godmode/setup/setup_visuals.php
godmode/reporting/reporting_builder.php: New feature for
reports and report templates, user can customize report
front page in setup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.editor.php,
godmode/alerts/configure_alert_template.php,
godmode/reporting/reporting_builder.item_editor.php,
operation/netflow/nf_live_view.php: Changed the maximum
character length of the time inputs from 7 to 8.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/include/functions_groups.php
pandora_console/include/functions_events.php: Fixed bug
in event viewer. A user could not be assigned himself as
the owner of the event.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_netflow.php: Added an overflow
property to the data table when its width is too high.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql
pandoradb_data.sql: Added a new OS for satellite agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php
include/functions_networkmap.php: Fixed not init agent state
in networkmap.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.list.php: Fixed unexpected agent
deletion that is not associated with the planned downtime which is
deleted.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/system_info.php,
godmode/servers/plugin.php,
godmode/setup/file_manager.php,
include/config_process.php,
include/functions_filemanager.php,
include/functions_html.php,
operation/gis_maps/ajax.php,
operation/snmpconsole/snmp_mib_uploader.php: Replaced
the possible backslashes with slashes in the directories
path.
* include/functions_graph.php: Modified the function
"grafico_modulo_log4x" to adapt the 'set_include_path' to
Windows.
* include/get_file.php: Now the file name comes from the
function "basename".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: Now the user path backslashes are replaced
with slashes.
* extensions/files_repo.php,
extensions/files_repo/files_repo_form.php,
extensions/files_repo/files_repo_get_file.php,
extensions/files_repo/files_repo_list.php,
extensions/files_repo/functions_files_repo.php: Replaced
the 'DIRECTORY_SEPARATOR' var with slashes. Removed the
realpath functions.
* include/config.inc.php: Replaced the "owndir" final slash
with a 'DIRECTORY_SEPARATOR'.
* include/functions_html.php: Replaced the "$working_dir"
backslashes with slashes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9809 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.build_table.php: Fixed
multiple validation of events in event list view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_netflow.php: Added a prompt dialog
to warning about the time increase caused by the address
resolution.
* include/functions_graph.php: Added the functions
"graph_netflow_circular_mesh" and "graph_netflow_host_traffic".
* include/functions_netflow.php: Added the function
"netflow_get_record". Added IP address resolution. Added
two new netflow live view items: "host detailed traffic" and
"circular mesh". Error fixes on several functions.
* include/graphs/functions_d3.php: Added the function
"d3_tree_map_graph".
Improved the function "d3_relationship_graph".
* include/graphs/pandora.d3.js: Added the function "treeMap".
Improved the function "chordDiagram".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_standby_alerts.php: Long agent/module
name with multi-byte chars could be shown as 'null' on alert
list at the massive alert enable/disable/standby operations
screen (because LEFT() in SQL does not consider multi-byte
chars, neither SUBSTR() for alternative).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/d3.v3.4.5.js: added the last javascript
D3 library.
* include/javascript/pandora_modules.js,
include/functions_visual_map.php, include/functions_networkmap.php,
include/functions_os.php, include/db/mysql.php,
include/functions_netflow.php, include/constants.php,
include/functions_reporting.php: standarized the color, now the
code uses the colors constant.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: cleaned source code and killed
some unicorns and magic numbers, now there is some constants.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f