* pandora_console.spec: A lot of changes, included new dependencies (thinking
in SUSE 11), and a lot of corrected stuff. Now works 100%.
* pandoradb_data.sql: Minor updates, version, new SMS alert, new SO type
(octopus).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1864 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: add filter parameter in ajax that
pick the modules for select in form. The parameter is filter that don't
search rows are pending to delete.
Fixes: 2824695
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_template.php: refine the query to extract modules
from DB, now the query don't search modules are pending to delete.
Fixes: 2824695
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ChangeLog: add comments of last commits, I forget update file.
* godmode/reporting/map_builder.php: add check in javascript for form for to
catch the try to save a item without name and withnout image.
Fixes: 2815062
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1856 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php, godmode/alerts/configure_alert_compound.php:
add function "get_agent_module_id" for optain id_agent from id_agent_module.
And add new column in correlation condition that containts the name (and
link) of agent. And change ajax of page for show this column in the search
form in the bottom.
Fixes: 2838000
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php: totaly fix the bug of map builder, now
you can use new ajax input to search the agent for item map.
Fixes: 2838013
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1854 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder.php: partially fix the bug ID: 2838013, now
you can move the items in the map and Pandora console save the position. But
the edition of item data is'nt working although I am working in it.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php, godmode/agentes/massive_config.php,
godmode/alerts/alert_list.php, godmode/reporting/graph_builder.php,
godmode/reporting/map_builder.php, include/functions_db.php,
include/functions_html.php, operation/agentes/exportdata.php,
operation/agentes/ver_agente.php: very changes for add input text
autocomplete with ajax jquery for agent input in several forms. Add to form
this exportdata, graph_builder, map_builder.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console_install: New installer for console.
* pandora_console.spec, install.php: minimal fixes.
* pandora.css: Color change for table dual colors.
* events.php: Added help and removed legend from table bottom.
* include/help/en/help_eventview.php: Help added.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/visual_console/index.php,
pandora_console/operation/users/user.php, operation/incidents/incident.php,
operation/agentes/status_monitor.php, operation/agentes/estado_agente.php,
operation/agentes/alerts_status.php, include/styles/pandora.css,
include/styles/pandora_black.css,include/styles/pandora_blackmetal.css,
include/styles/pandora_width.css, include/styles/pandora_minimal.css,
include/styles/pandora_red.css: the table list now has rows with alternate
colours for easy see the data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1833 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Fix error with writting buffer after ob_start and before
Pandora console don't change the http header.
Fixes: 2833710
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Adjusted head and removed small heigh
problems in some tabs (agent and search sections).
* include/javascript/pandora.js: winopeng call for module graph is now
widther.
* index.php: Now defined a default search for agents().
* general/header.php: Redesign of header.
* general/pandora_help.php: Some visual changes in background and footer.
* godmode/modificar_agente.php: Create button replaced.
* fgraph.php: Fixed the string graphs and fixed a lot other issues.
* include/functions_visual_map.php: Module images are shown in pure mode
(without title) and adding the title defined by user in map definition.
* include/pandora_graph.php: Added default colors (up to 9) for combined
graphs.
* include/pchart_graph.php: Created a new method to render datetime
data in X axis legend. Reformatted combined and static graph to remove
transparent background, title and other issues reported. Also combined
stack graph now works adding data from one series to another.
* include/help/en/help_agent_status.php: new help file for agent status.
* include/pChart/pChart.class: Added new method for format datetime in two
lines with full date and time information.
* operation/search_results.php: reformatted tabs.
* operation/agentes/estado_agente.php: removed status information legend
and added a help icon.
* godmode/reporting/graph_builder.php,
operation/reporting/graph_viewer.php: Added new graph mode: stacked line.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/search_results.php: fix a query for search alerts. And changed
the visual result (old it was simple list items) to a detailed table for all
elements to search, also added pagination options for results. And make
some style in tabs (added images).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php: clear and coment some parts of source
code. Fix bug that send more data from other forms (I forget close
the tag form). And change the combo box of agents to input text rich with
ajax for source code is more light and I give more usability to form.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.php, include/functions_agents.php: changes
for to add filter (and html form to set filter) in the list of alerts.
* include/styles/pandora.css, include/functions_html.php: minor changes to
fix minor bug css and clean the source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1822 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: changes for support maps as widget in
dashboard of Pandora Enterprise.
* include/Image/image_functions.php: script content functions and code
for manage image thumbnails and resize images.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1821 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: fix mistake, add lost lines between my "dirty installation" and
"clean project".
Fixes: 2826478
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1820 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form.php: add comments for
clarify mecanics of code, and add default group when choose make new
WMI.
* godmode/modules/manage_network_components_form_wmi.php: fix the bug,
change files to add the html table, it was a probably typing mistake.
Fixes: 2808211
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/tactical.php: fix bug, and now show another column
with the type of server.
Fixes: 2825426
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1817 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_templates_form.php: fix bug that the column
group had incorrect content.
Fixes: 2815118
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1815 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php, images/lupa_15x15.png, include/functions_html.php
include/styles/pandora.css, operation/search_results.php: add global
search bar in the header for searching Agents, Maps, Reports, Graphs,
Alerts and Users...if you user have access level...
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/tactical.php, operation/agentes/status_monitor.php: add
link to list monitors "not init".
Fixes: 2815098
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1813 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: fix bug the any number of modules in
unknown status for any agent paint with its colour in the list of
agents. Now for the agent has a box colour with color for unknown, it must
has all modules in unknown status.
Fixes: 2805029
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: Added to repository. Functions used
to draw network maps.
* operation/agentes/networkmap.php: Moved network map generation
functions to functions_networkmap.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php: fix bug that the function
copy_agent_module_to_agent didn't copy the modules what was previus
delete.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1803 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_recontask_form.php: Changed sql query to
remove "All" os from the recon task selection form.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_sanity.php: remove "cambio" column in query, this column use
in old version of pandora (read pandoradb_migrate_v2.x_to_v3.0.sql line 20).
Fixes: #2810974
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_fsgraph.php: Use the user defined date format in
module and combined charts.
* operation/agentes/estado_ultimopaquete.php: Fixed the chart URL.
* operation/agentes/stat_win.php: Show the agent name in the window
title.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Fixed setup problem for fontpath token.
* godmode/setup/setup.php, setup_visuals.php: Moved some items to other
file (fontpath, flashgraph and agent graph options).
* godmode/db/db_main.php: Bigger image.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/es.po, include/languages/es.mo: Updated Spanish
* translation.
* include/languages/index.pot: Updated po template.
* godmode/reporting/map_builder.php,
* godmode/reporting/graph_builder.php: Updated translatable period
* strings to reduce its number and make them more compliant with the
* rest.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1784 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fgraph.php: Added support for mixing flash/image charts.
* include/functions_fsgraph.php: Use user defined colors in module
charts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/pChart/pData.class: fix lost var ($url) in
function grafico_eventos_grupo and at constants.
* reporting/fgraph.php: fix, it's assumed that the arrays was numerical
indexes.
Fixes: #2805807
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1774 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console.spec: RPM spec file for 3.0 version.
Packages built succesfully for: Centos5, Fedora 11,
RHEL5, SLE9, SLE10, SLE11, OpenSuse 10.3, OpenSuse 11,
OpenSuse 11, OpenSuse Factory. We still need to check
the exactly names in Suse distros for dependencies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: optimice the search agent in DB, quit option
to search for description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_generalagente.php,
godmode/setup/setup.php: Added support for new option for have enabled or
disabled the agent access data/graphs.
* include/functions_db.php: Modified the agent_delete function to don't delete
all data, just delete agent and mark modules for deletion. This increase a lot
the massive agent deletion. This fixes bug #2809015.
* include/config_process.php: Updated version/build.
* include/functions_config.php: Added autoupdate to config check for
non-existant values. Added new agentaccess config token.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1767 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php: add organization list of monitors, add
row in table with title the monitor group.
* include/styles/pandora.css: add new class for cell used monitor group title
in the list of monitors in estado_monitores.php
Fixes: #2805001
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php: add another "create agent" before
the list for more usability
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Fix the error introduced by Miguel de Dios in 2009-06-18, The error
was add repeated rows with language_code in DB.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1754 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Return false if no data were found
on get_agentmodule_sla(). Fixes#2777541
* operation/reporting/reporting_viewer.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/networkmap.php: Avoids a warning when no nodes
were found on generate_dot(). Shows a message when no nodes were
found. Fixes#2786516.
* operation/menu.php: Changed label of network maps.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Fixed string filter when
searching agents. Avoids a PHP notice when none found
* godmode/agentes/configurar_agente.php: Solved a mess with variable
names.
* godmode/agentes/module_manager_editor_prediction.php: Improved
the prediction module selection, adding a filter for agents and
module. Fixes#2707907
* include/javascript/jquery.pandora.controls.js: Returns
whenever callbackBefore returns false.
* include/javascript/pandora_modules.js: Check for module selection
when creating a prediction one.
* include/styles/pandora.css: Added style to prediction module
selection.
* godmode/alerts/alert_list.php: callbackBefore on pandora.controls
elements must return true now.
* godmode/agentes/module_manager_editor_common.php: Added moduletype
hidden input to be used in javascript.
* godmode/agentes/module_manager_editor.php: Use pandora.controls and
added a string for javascript.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Fixed a couple of typo
errors when adding a SLA report.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Added autocomplete support
to parent selection, which is no a dropdown anymore. Partial fix for
#2707924.
* godmode/agentes/configurar_agente.php: Parent data is now the
agent name, not the agent id.
* include/javascript/jquery.ajaxqueue.js,
include/javascript/jquery.autocomplete.js,
include/javascript/jquery.bgiframe.js: Added to repository.
Autocompleter jQuery plugin.
* include/styles/pandora.css: Added autocomplete styles.
* include/functions_db.php: Added more support for search
parameter to get_group_agents() so you can pass a filter array now.
* operation/agentes/estado_agente.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/help.css, include/styles/pandora_minimal.css,
include/styles/ie.css, include/styles/menu.css,
include/styles/install.css, include/styles/pandora_red.css,
include/styles/pandora_black.css, include/styles/pandora_width.css:
Removed an extra close comment character that causes broken CSS.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Replaced SQL with pandora
database functions. Do not order period values. Some style to delete
icons.
* include/functions_reports.php: Tiny fix on update_report() when
checking if report exists. Fixes#2791058.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/file_manager.php: Many fixes to the interface. Removed
the dropdown menu when uploading a file, it now uploads it to the
current dir, which is more natural. Do not show "No files found"
anymore, because user may want to create subdirs. Fixes image for
previous dir and show it again.
* include/javascript/jquery.ui.datepicker.js: Changed default date
format.
* include/functions_filemanager.php: Changed
get_file_manager_available_directories() to add subdirs too.
Changed is_file_manager_writable_dir() to check if parent dir is
writable.
* operation/agentes/estado_agente.php: Use array filters instead
of SQL code chunks.
* operation/reporting/reporting_viewer.php: Fixed link to timeentry
jQuery file.
* images/status_sets/color_text/*, images/status_sets/default/*,
images/pixel_yellow.png, images/pixel_gray.png,
images/pixel_fucsia.png, images/pixel_red.png,
images/pixel_black.png: Use Tango palette. Softer and cleaners
colors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandora_diag.php: Diagnostic tool. This reports some
details of database usage, configuration and version who can
Pandora FMS dev. team some hints about possible problems.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_edit_modules.php: Renamed ff_event field
to min_ff_event to match tagente_modulo field name. Better code for
process_manage_edit(). Fixes#2785011.
* include/functions_modules.php: Fixed an error on
update_agente_module() when no name was given, also added extra
check for empty values.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php: Added menu_icon class.
* include/styles/menu.css: Split background style for menu icons.
Recovered menu colors.
* include/styles/pandora.css: Added body.pure element.
* include/styles/pandora_blackmetal.css,
include/styles/pandora_black.css: Improve to reuse pandora.css
* include/functions_ui.php: Use pure class on body element
on process_page_body(). Better comment when creating the css array on
process_page_head().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Return -1 on get_agent_status() on case
the agent last contact has exceed the agent interval.
* include/functions_visual_map.php: Call get_agent_status() when
an element is to monitor a whole agent. Fixes#2761712
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1720 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: Use server address if the db host is not localhost.
Fixes#2796790.
* include/functions_agents.php: Fixed an array cast on
get_agent_alerts_compound().
* include/functions_events.php: Critical and warning colors where
swapped on print_events_table().
* include/functions_reporting.php: Fixed alerts count on
get_group_stats() and count combined alerts too. Fixes#2791577
* operation/agentes/tactical.php: Style corrections.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Should fix bug #2785154. Wasn't
clear on how to duplicate but from what I understand this should fix it.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Style correction.
* operation/snmpconsole/snmp_view.php: Fixed creation link when
the agent is not found by address. Fixes#2777409
* godmode/agentes/agent_manager.php: Use address as name on creation
when it's given.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Use pandora functions to
create and update modules. Some fixes when these operations could
not be done so the editor appears again. Fixes#2762316
* godmode/agentes/module_manager_editor.php: Some patches to work
better with configurar_agente.php
* include/functions_modules.php: Avoid setting an empty name on
update_agent_module()
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/fgraph.php: Do not short agent name on
graphic_combined_module(). It was causing collisions. Fixes#2785193.
* reporting/pchart_graph.php: Use AddSerie on combined_graph().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: return_status_agent() renamed to
get_agent_status(). Improved get_agentmodule_status() documentation
and code.
* include/functions_visual_map.php: Styles correction. Use a switch
instead of many ifs. Fixed get_layout_status() so the bad values have
preference. Fixes#2787197.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php: Fixed a typo on
onsubmit paramter that was avoiding asking for confirmation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js: Set values of plugin
component when one of this kind is selected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v2.x_to_v3.0.sql,
pandoradb.sql: Added id_plugin. Database breakage requested and
approved.
* godmode/modules/manage_network_components_form_common.php,
godmode/modules/manage_network_components_form_plugin.php: Added
to repository. New editor for network components.
* godmode/modules/manage_network_components_form_network.php,
godmode/modules/manage_network_components_form_wmi.php,
godmode/modules/manage_network_components.php: Adapted to changes
in component editors and missing fields. Added option to create
plugin components.
* godmode/modules/manage_network_components_form.php: Make the
different network component editors to reutilize the code and
have a common UI.
* godmode/agentes/module_manager_editor.php: Style correction.
* include/styles/pandora.css: Style for network component editor.
* include/functions_ui.php: Security fix in get_url_refresh() to
avoid showing login info.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_network_components.php: Added to repository.
Functions relative to network components moved here. Added
create_network_component(), update_network_component() and
delete_network_component().
* include/functions_db.php: Removed
gve_network_component_group_name(), duplicated in
functions_network_components.php.
* include/functions_modules.php: Moved functions relative to
network components to functions_network_components.php.
* godmode/modules/manage_nc_groups_form.php,
godmode/modules/manage_network_templates_form.php,
godmode/modules/manage_nc_groups.php: Use
get_network_component_group_name() instead of deprecated
give_network_component_group_name().
* godmode/modules/manage_network_components.php: Rewritten
to use pandora functions. Added pagination and better filtering
and UI.
* godmode/modules/manage_network_components_form_network.php,
godmode/modules/manage_network_components_form_wmi.php,
godmode/modules/manage_network_components_form.php: Some
changes to adapt from manage_network_components file. Use
pandora functions.
* godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager_editor.php: Include new
functions_network_components.php file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_incidents.php: Removed upgrade_inc13to21. An old
function that shouldn't be there anymore.
* include/functions_agents.php: Fixed documentation. Fixed some bugs in
get_agents () when empty values were passed.
* include/functions_ui.php: Added $config['ignore_callback']. Useful if
you decide to flush the buffers (eg. to offer a download)
* include/functions_db.php: Cleaned up get_db_all_rows_filter and added
some documentation and todo's. Added get_agentmodule_data to get all
datapoints of a module. Cleaned up get_agentmodule_data_average
* include/functions_html.php: Some situations generated a warning when alt
wasn't specified (can't add keys on non-arrays)
* include/exportdata.php: Rewritten. Added filters for group. Works using
functions and export into HTML, CSV and Excel with the option for
expansion (specify the delimiter values)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: Many fixes in the code for
pagination. Fixes#2762175
* images/networkmap/4.png, images/networkmap/firewall.png,
images/networkmap/7.png, images/networkmap/9.png,
images/networkmap/printer.png: Updated with tango icons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1696 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Added get_agents_with_alert_template().
Added extra filter to delete_alert_agent_module().
* godmode/agentes/massive_delete_alerts.php: Completely changed the way it
works. Fixes#2707976.
* images/mod_keepalive.png: Replaced with tango icon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora_blackmetal.css: New style with custom headers
image (used for custom logo).
* include/styles/menu.css,
include/styles/pandora_red.css
include/styles/pandora_black.css
include/styles/pandora_width.css
include/styles/pandora.css: Improved old themes.
* include/functions_ui.php: Custom style CSS loads last, to allow rewrite
some CSS menu styles.
* install.php: Ask if want to DROP database if this exists. Show better
message about the created password. Don't drop database if not marked in
step #3.
* images/black_header.png: Image for blackmetal style.
* images/MiniLogoArtica.jpg: Image for blackmetal style.
* general/header.php: Some changes for style. Now displays OpenSource version
or Enterprise version depending of version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Update build after last changes.
* install.php: Added code to remove database if exists. This was removed
in a previous commit.
* images/console/icons/*.png: Updated some icons and added others.
* pandoradb_data.sql: Updated header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1685 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Show "None" if no server is assigned.
Fixes#2768723
* godmode/agentes/configurar_agente.php: Removed direct link to
farscap.artica.es server. Fixed group tab selection.
* godmode/alerts/alert_list.php: Fixed a notice when there are no agents.
Fixes#2786519.
* general/header.php: Fixed an error when updating agent configuration
which was showing all the config in the header. Should be improved for
other textarea fields.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/funtions_ui.php: Added get_full_url(). Some changes in
get_url_refresh() to make it more powerful. The URL is now optional
in pagination(). It's also possible to give the parameter name
of the offset so there could be more than one paginations now.
* operation/agentes/estado_agente.php,
general/header.php: Changes in get_url_refresh().
* godmode/agentes/massive_operations.php: Changed edit icon.
* godmode/agentes/module_manager.php: Enterprise API changes.
* godmode/agentes/module_manager_editor_network.php: Style corrections.
* include/styles/pandora.css: Added conf_error class to textarea
elements.
* include/functions.php: Added index_array(). Useful to manage database
results.
* include/functions_alerts.php: Cast some values to integer.
* operation/agentes/alerts_status.php: Removed offset parameters,
used default value.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1678 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/dbmanager.php: Code cleanup, making it easier an without
unneded loops. Added error message support when querying.
* extensions/dbmanager/dbmanager.css: Use CSS inheritance for cells and
header of the table.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Added create_agent(),
* include/functions_db.php: Renamed dame_agente_id() to get_agent_id ().
Added process_sql_begin(), process_sql_rollback() and process_sql_commit()
and use MySQL functions directly because the Pandora cache was avoiding
more than one execution.
* include/functions_incidents.php, include/functions_messages.php,
godmode/agentes/massive_delete_agents.php,
godmode/agentes/massive_delete_alerts.php,
godmode/agentes/massive_delete_modules.php,
godmode/agentes/massive_edit_modules.php,
godmode/db/db_purge.php,
include/functions_events.php: Use new transaction functions.
* include/functions_modules.php: Sanitize some values. Added
create_agent_module_from_network_component(), create_agent_module()
and get_network_component().
* godmode/agentes/configurar_agente.php: Use get_agent_id() and transaction
functions.
* reporting/fgraph.php, operation/reporting/reporting_viewer.php: Use
get_agent_id().
* godmode/setup/file_manager.php: Removed unnecesary variable.
* operation/agentes/ver_agente.php: Replaced exit with return on ajax
operation.
* include/config_process.php: Updated build number.
* include/functions_network_profiles.php: Fixed documentation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/dbmanager.php: Fixed problems with quotes.
* operation/agentes/status_monitor.php: Used module_interval insted deprecated
tagente_estado.current_interval.
* operation/agentes/estado_grupo.php: Same as above.
* operation/agentes/estado_monitores.php: same as above.
* godmode/agentes/module_manager.php: Uses new server_type field instead old
server fields.
* godmode/agentes/configurar_agente.php: Added tab in godmode/edit agent
to go to a filtered list view per groups from the agent edit view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/dbmanager*: New extensions to interface with Pandora database
using native SQL syntax. Only for administrator (Godmode extension).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1670 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
images/console/icons/light_ok.png, light.png,
light_warning.png, light_bad.png: Added to repository new
icons for the visual console, lights blinking.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f