* pandoradb_migrate_20_to_21.sql, pandoradb.sql: Fixed going up/down
strings
* godmode/setup/setup.php: Fixed event hours display
* operation/events/events.php: Fixed several major bugs with pagination
and the new event types.
* include/functions.php, include/functions_ui.php,
include/functions_html.php: Moved pagination and print_help_tip to
functions_ui.php. Repeat id's are now fixed backwards compatible.
Also fixed a bug in print_select where type comparisons against would
fail since PHP evaluates strings to (int) 0
* include/functions_events.php: Added print_event_type_img () and altered
the other functions to work with it
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* styles/pandora.css: Added input.add to a list which was missing.
Aligns labels to the left.
* pandoradb_data.sql: Fixed link to ArticaST.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_migrate_20_to_21.sql, pandora_db.sql: Altered tmensajes for
unixtime
* general/header.php: New messages function added flashing
acknowledgment in case of new messages
* general/logon_ok.php: Since messages are now in header, they don't need
to be there per se
* images/close.png, images/transparent.png: Background and close button
for overlays.
* include/javascript/jquery.pandora.js: Used for loop for flashing thing
and added overlay function
* include/javascript/jquery.overlay.js: You'll need this for overlay
* include/functions_messages.php: Message functions are here. Messages are
fully abstracted so they can be drop-in replaced with something else
* include/functions_ui.php: Small fixes. Not necessary to load en language
files for javascript since they're empty, it only adds to load/interpret
* include/functions_db.php: Added get_group_users and get_db_array. Useful
* include/functions_html.php: Small doc fixes and fixed table heads
* include/styles/pandora.css: Added Overlay classes
* ajax.php: We need to call safe_url_extraclean for cross scripting
* operation/messages/message.php: Rebuilt to use new functions
* operation/menu.php: New message link instead of group link
* operation/visual_console/render_view.php: Fixed conflict with timer
* index.php: Added div for overlay (not in pure mode) and fixed erroneous
div in pure mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Added require_css_file(),
require_javascript_file() and require_jquery_file() to add CSS,
javascript and jQuery files to the header easily without changing
config object. A path parameter is addded to allow the use on
enterprise code.
* include/functions_db.php: Added
get_db_value_filter(), get_db_all_rows_filter() and
process_sql_delete(). Fixed delete_agent() style and use these
functions. Added process_page_head() from functions_ui.php and changed
a bit the config javascript object part.
* include/functions_custom_graphs.php: Get results indexed by id on
get_user_custom_graphs().
* include/functions.php: Moved process_page_head to functions_ui.php.
* godmode/agentes/manage_delete.php: New interface to perform massive
agents deletion.
* godmode/menu.php: Added new option to massive agents deletion.
* general/main_menu.php, godmode/agentes/manage_config.php,
godmode/agentes/module_manager_editor.php,
godmode/agentes/planned_downtime.php,
godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
godmode/alerts/configure_alert_compound.php,
godmode/alerts/configure_alert_template.php,
godmode/reporting/map_builder.php, operation/agentes/networkmap.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php: Use new functions in include
CSS and javascript files.
* index.php: Bit of style when printing the header so the HTML can be
readed easily in a editor.
* include/javascript/pandora.js: Added a variable to determine the
enterprise directory.
* include/styles/pandora.css: Added style for manage_delete.php
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager.php: Removed from repository. Agent
alerts manager is now done in alerts/alert_list.php
* godmode/agentes/manage_config.php, godmode/alerts/configure_alert,
godmode/agentes/configurar_agente.php: Use alerts/alert_list.php
instead of deleted agentes/alert_manager.php.
* godmode/alerts/alert_list.php: It can handle now a list of agents or
be included by configurar_agente. Now it's a single page to manage all
the alerts defined in agents.
* godmode/reporting/map_builder.php: Javascript style correction.
* include/javascript/jquery.pandora.controls.js: Added
pandoraSelectAgent which allows the loading of a module list from an
agent list.
* include/styles/pandora.css: Styles for alert_list.
* include/functions_agents.php: Added options to
get_agent_alerts_compound() and get_agent_alerts_simple() to add extra
user filtering.
* pandoradb.sql, pandoradb_migrate_20_to_21.sql,
include/functions_alerts.php: Actions in an alert module has now id or
they cannot be removed.
* include/functions_db.php: format_array_to_where_clause_sql() can now
get limit and offset values.
* include/functions_html.php: Removed select- prefix to print_select
elements because it was breaking javascript code. Needs more works on
that.
* operation/agentes/estado_agente.php: Added
get_agent_module_last_value AJAX operation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/login_ok.php, operation/visual_console/index.php,
operation/visual_console/render_view.php: Small cosmetic fixes
* include/functions_visual_map.php: Cosmetic fixes and put the if/elseif
statements in a simpler switch statement
* include/functions_db.php: dame_grupo_icono is now get_group_icon
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: treport_content, changed report type to string to allow
new report types without altering DB schema. Added id_agent for supporting
reports based on agent ids. Tplugin new field for plugin type in order to
support generic Nagios plugins.
* pandoradb_migrate_20_to_21.sql: Updated with last changes.
* module_manager_editor_common.php: Removed some ugly labels :-)
* reporting_builder.php: New report (Agent detailed and grouped
event/alerts). Added support to add descriptions in each block.
* plugin.php: Support for new plugin type option.
* config_process.php: Build update.
* functions.php: Updated new report type.
* functions_db.php: Added support for new report type.
* functions_reporting.php: Fixed problem with enterprise. Added new function
to support new reports.
* events.php: Support for grouping events. Fixed graph problem. Added quick
search link to event fulltext.
* reporting_viewer.php: Added support for adding descriptions in each block.
Also show new report type.
* fgraph.php: Fixed problem in event graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1464 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/login_page.php: Fixed HTML and use print_image function
* include/functions.php: Added version compare for alternative to
double encoding HTML for PHP < 5.2.3
* include/functions_ui.php: Check for empty string on print_string_substr
so we don't print empty spans
* include/functions_html.php: Better validation and correct output on
print_input_text_extended. Now accepts an array for attributes
* operations/user/user.php, operations/user/user_edit.php,
godmode/user/user_list.php: Small cosmetic fixes
* index.php: flush and print closing html tag on exits. This prevents
automatic flushing to print tags after </html>.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php: Added
get_module_components operation to AJAX interface. Avoid error
reporting on snmprealwalk so the JSON doesn't fail. Added support for
component group selection. Do nothing if the selected component is
zero.
* godmode/agentes/module_manager_editor_common.php: Added
add_component_selection() which makes the task of adding a module
component to the editor easier and common. It also now filters based
on component groups first.
* godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_wmi.php: Use
add_component_selection() instead of duping the code.
* include/styles/pandora.css: Added style to component elements.
* include/functions_db.php: Avoid numeric field names on
format_array_to_where_clause_sql().
* include/functions_modules.php: Added get_network_components() and
get_network_component_groups().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Update build after last changes.
* operation/events/events.php: Now the legend is shown only if there are
events, just a cosmetic change.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.controls.js: Added to repository.
New file to hold all common jQuery Pandora operations. Currently it
holds a generic process to loads a list of agents from a group
dropdown menu.
* godmode/agentes/manage_config.php: Loading spinners moved next to
the label because it was causing some ugly flickers due to 100%
width elements. Use code from jquery.pandora.controls.js.
* godmode/alerts/alert_compounds.php: Rewritten to be more user
friendly. Filtering is now possible. New operations like
enable/disable or delete are now available.
* include/styles/pandora.css: Added style for alert_compounds.php.
* include/functions.php: Make offset parameter optional in
pagination(). Style correction.
* include/functions_alerts.php: Added delete_alert_compound().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: Changed string
so it is the same as other used before.
* godmode/agentes/configurar_agente.php: Fixed typo.
* include/languages/pt_BR.po, include/languages/nl.mo,
include/languages/es.po, include/languages/it.mo,
include/languages/pt_BR.mo, include/languages/es.mo,
include/languages/da.po, include/languages/de.po, include/languages/he.po,
include/languages/eu.po, include/languages/da.mo, include/languages/de.mo,
include/languages/he.mo, include/languages/eu.mo, include/languages/nl.po,
include/languages/it.po: Updated translations from Rosetta.
* include/languages/index.pot: Updated po template.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1458 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager.php: Moved AJAX interface for
get_agent_alerts_simple operation here.
* godmode/agentes/manage_config.php: Complete rewritten to give
support to new alert system and a new improved UI.
* godmode/alerts/configure_alert_compound.php: Removed AJAX code
relative to groups and agents. Include jQuery and style files with the
new way.
* godmode/groups/group_list.php: Moved AJAX interface for
get_group_agents operation here.
* include/styles/pandora.css: Added styling for new manage config
interface. Added style for fieldset elements.
* include/functions_alerts.php: Added filter parameter to
get_alerts_agent_module(). Added
copy_alert_agent_module_to_agent_module().
* include/functions_db.php: Added special character * to
get_agent_modules() to get all the row. Added
format_array_to_where_clause_sql() to transform an array of values to
a WHERE clause. Use this function in process_sql_update().
* include/functions_modules.php: Added to repository. New file to add
modules operation functions. Added copy_agent_module_to_agent()
* operation/agentes/ver_agente.php: AJAX interface for
get_agent_modules_json can now receive an additional filter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/logon_ok.php: Simplified and added correct ampersand tags
* general/footer.php: Now use print_image function to print image
* general/main_menu.php: Wrapped JS into CDATA
* include/functions_events.php: Use print_image to print images. Use
multibyte so Farsi/Arabian names don't mess up when cut. Also added
­ tags every 8 characters to the Event Description so that long module
names (like GigabitEthernet) don't break the table layout.
* include/functions.php: Moved pandora_help to functions_ui.php, return
valid refresh links and don't double encode safe_input (otherwise &
gets encoded as &amp;)
* include/functions_ui.php: Added print_help_icon and deprecated
pandora_help (new style function naming)
* include/functions_html.php: Partially rewrote print_image for fully
compatible functionality. Much simplified as well.
* extensions/update_manager.php: Print out correct link and image tag
* operation/agentes/networkmap.php: Is now correct HTML. Should work in
all compliant browsers. If IE6 still doesn't work, upgrade
* operation/agentes/tactical.php: Use print_image for images.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1456 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Added new feature: Group similar event by
showing the event and the total repeated times.
* operation/agentes/export_csv.php,
operation/agentes/exportdata.php: Fixed problems with old timestamp.
* operation/agentes/estado_monitores.php: Fixed link to module edition.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1455 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/footer.php, general/links_menu.php: _new is invalid. Use _blank
* include/config_process.php: Updated error texts for better English
* include/calendar.php: Removed since nobody uses it anymore
* include/functions.php: Modified process_page_header to not load
wz_jsgraphics by default (it's too heavy and hardly used). Deprecated
no_permission and unmanaged_error (since they're not used)
* include/styles/timeentry.css, include/styles/pandora.css,
include/styles/ie.css: Merged these styles together so there is no extra
query for 2 css classes
* operation/reporting/reporting_viewer.php: Removed comparison since
time comes from the client and if the clock is a bit off it gives error.
Also removed reference to timeentry.css
* godmode/alerts/alert_list.php: Uses new method to load css and jquery
which prevents error of <link> tags being in body
* godmode/agentes/planned_downtime.php: Removed timeentry reference and
fixed HTML in between.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/configure_alert_compound.php: Added support to
update alert elements. Also default operator for first element is NOP.
* include/functions_alerts.php: Added delete_alert_compound_elements().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm: Combined alerts are working again.
* bin/pandora_snmpconsole: Moved calcula_alerta_snmp to DB.pm so it
can be called from other modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1445 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/main_menu.php, include/styles/menu.css: Selected menu style
is done with a CSS classs. Slide effect removed. Submenus have now
white background.
* godmode/agentes/alert_manager.php: Allow creation of alerts without
actions which have sense in compound alerts.
* include/javascript/jquery.pandora.js: Added showMessage() function.
* godmode/agentes/module_manager_editor.php: Use new showMessage()
jQuery function.
* godmode/alerts/configure_alert_compound.php: Added to repository.
New compound alert editor interface.
* godmode/alerts/alert_compounds.php: Added to repository. Compound
alert list.
* godmode/alerts/configure_alert_template.php: Better style for steps
of the editor.
* godmode/menu.php: Added compound alerts option. Changed default page
on Manage alerts.
* include/styles/pandora.css: Added style for editor steps. Added new
generic classes.
* include/functions.php: Added a new line when creating script list.
* include/functions_agents.php: Fixed alert tables fields. Renamed
get_agent_alerts_compound() and improved the returning value of
get_agent_alerts().
* include/functions_alerts.php: Added new functions to manage compound
alerts. Avoid SQL errors when using process_sql functions.
* include/functions_reporting.php: Temporary disabled compound alert
reports.
* include/functions_ui.php: Fixed format_alert_row() to fit compound
alerts.
* operation/agentes/alerts_status.php: Allow compound alert
validation. Removed effect of cluetip.
* pandoradb.sql, pandoradb_migrate_20_to_21.sql: New compound alert
tables (talert_compound, talert_compound_elements and
talert_compound_actions).
* godmode/alerts/alert_list.php: Added to repository. Shows a list of
all the alerts defined. Would be improved in the future to allow
sorting and filtering.
* index.php, godmode/snmpconsole/snmp_alert.php,
include/functions_db.php: Code style correction.
* godmode/agentes/configurar_agente.php: Removed old compound alerts
code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/main_menu.php: Modified it to go with Esteban's idea
* include/styles/menu.css: Modified it to go with Esteban's idea
* include/javascript/jquery.pandora.js: Removed previous jquery stuff
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_network: An important BUG discovered in SNMP call locking
mechanism. Now calls to SNMP are using exec to snmpget command. Much
faster due solved locking problems.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/logon_ok.php: No tr in thead causes safari to spit an error
* general/main_menu.php: Added jQuery animated menu rolling
* include/styles/menu.css: Removed CSS-based menu rolling
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php, general/footer.php: Made it comply with standards
* general/main_menu.php: Fixed some typo's.
* include/javascript/jquery.pandora.js: This was loading an extension
that has a separate file already
* include/functions.php: Added process_page_head and process_page_body
these are callback functions for ob_start and add functionality like
conditional loading and external scripts in the correct places. Also adds
override functionality to certain items (like refresh) from anywhere
* include/javascript/time_en.js: Added as a placeholder
* extensions/update_manager.php: Fixed some typos
* operation/agentes/exportdata.php, operation/agentes/networkmap.php,
operation/events/events.php, operation/extensions.php,
operation/incidents/incident_detail.php,
operation/reporting/reporting_viewer.php,
operation/visual_console/render_view.php,
godmode/agentes/alert_manager.php,
godmode/agentes/module_manager_editor.php,
godmode/agentes/planned_downtime.php,
godmode/alerts/configure_alert_template.php,
godmode/alerts/configure_alert_action.php,
godmode/groups/configure_group.php, godmode/reporting/graph_builder.php,
godmode/reporting/map_builder.php, godmode/reporting/reporting_builder.php
godmode/snmpconsole/snmp_alert.php: Changed javascript, css and jquery
loading to the new buffer callback handlers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php, general/error_noconfig.php, index.php:
Back to old build status. Now error_noconfig.php doesn't use build.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/images/toggle.png: Added png file. GIF will be removed.
* include/styles/menu.css, ie.css: Updated to use toggle.png. Updated
headers.
* include/config_process.php: Moved build to index (it was used by other
files that didn't included this file). Updated year.
* index.php: Updated build.
* general/error_noconfig.php: Updated year.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* main.cc: Added a new parameter --process to run the agent as a
single process instead of a service.
* pandora_windows_service.h: Interval property is now public so it can
be readed if it's running as a single process.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/menu.css: Updated to make it look good again
* general/main_menu.php: Updated to make it look good again. Also
simplified to allow easier modification. If you want to make things
visible/selected again externally (JS or COOKIE), use the IF/ELSE
construction with the big warning.
* general/links_menu.php: Updated to conform to CSS
* include/javascript/jquery.cookie.js: Added to mess with cookies for
menu. I will do this in a future update
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/header.php: Added alt tags to images
* include/functions_db.php: Fixed get_agent_modules function
* include/functions_html.php: Fixed print_image and print_table to conform
to standards
* index.php: Removed extra closing div that shouldn't be there and conform
to standards
* godmode/agentes/alert_manager.php: Fixed JavaScript messyness for XHTML
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager.php: Hide actions and templates form.
Removed unncessary check when there's no module set.
* include/styles/ie.css: Added to repository. IE fixes. Added fixes
for menu, because IE doesn't support hover in other elements than a.
* include/styles/menu.css: Removed font-family property.
* include/functions_db.php: Style correction.
* index.php: Added IE CSS fixes if needed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/visual_console/render_view.php: Recoverd countdown when
the map is on full screen. Autorefresh selector is also shown to be
easier to find.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/links_menu.php: Added classes to links. Style correction.
* general/main_menu.php: Fixed an error when the selected option was
the last one in a submenu.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php,
godmode/snmpconsole/snmp_alert.php: Fixed SNMP alerts.
* operation/snmpconsole/snmp_view.php: Show Custom OID as a tooltip.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/main_menu.php: The menu has been rewritten to be more
usable, bright and colorful. It's similar to Wordpress administration
menu. It requires a bit of javascript, but can still works without it.
Besides, Pandora can remember the menus positions using cookies.
* include/javascript/jquery.pandora.js: Added javascript code for
menu handling. Added cookie plugin.
* include/styles/menu.css: Rewritten to be adapted to new menu system.
* include/styles/images/toggle.gif: Added to repository.
* include/styles/pandora.css: Set align-top to agent list table under
Manage agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/login_page.php: Removed width of login error.
* godmode/agentes/agent_manager.php,
godmode/agentes/configurar_agente.php: Fixed various errors when
creating an agent.
* godmode/agentes/alert_manager.php: Typo error on em closing element.
Use invisible class instead of style attribute.
* godmode/agentes/modificar_agente.php: Style correction. Improved a
bit the interface so the user can go directly to any tab. Fixed agent
creation parameter.
* pandoradb.sql: Make disabled field on tagente_modulo not null. It
could cause some server side errors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_db.pl: BUGFIX. DB Maintance was deleting data older than 24hr
since commit of 12th January!.
* pandora_wmi, pandora_network, pandora_plugin: Algorithm upgraded.
First are executed modules with less margin until be considered down and
modules with flag of manual execution.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager.php,
godmode/agentes/module_manager_editor.php,
godmode/agentes/module_manager_editor_data.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/module_manager_editor_plugin.php,
godmode/agentes/module_manager_editor_prediction.php,
godmode/agentes/module_manager_editor_wmi.php: Agent module editions
rewritten. The interface should be clearer now and SNMP walking much
more faster, since it's done with AJAX. Some cleanup might be needed
yet.
* godmode/agentes/module_manager_editor_common.php: Added to
repository. Common part for agent module editors.
* images/edit.png, images/spinner.gif: Added to repository.
* include/javascript/jquery.form.js: Added to repository. jQuery form
plugin.
* include/javascript/jquery.pandora.js: Added to repository. Special
Pandora addons for jQuery library.
* include/javascript/pandora.js: Added an extension to Array
javascript objects to check if an array has an element.
* include/styles/pandora.css: Added styling for new module editors.
* include/functions_db.php: Added get_moduletype_description().
* index.php: Added Pandora jQuery extensions.
* pandoradb.sql, pandoradb_migrate_20_to_21.sql: Removed alert_text
useless field from talert_templates.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config.inc.php: Updated documentation on LDAP implementation.
* include/functions_db.php: Restored get_agent_modules_count function.
* index.php, include/config_process.php, godmode/setup/setup.php: Now you
can enforce https with a config variable
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager.php: Fixed the page title. Show the
right latest value in non-numeric modules. jQuery selectors fixed to
work with many alerts.
* extensions/update_manager/load_updatemanager.php: Fixed setup error
messages.
* include/functions_db.php: Added get_agent_module(). Added filter
paremeter to get_agent_modules(). return_value_agent_module() renamed
to get_agent_module_last_value() and do not transform to integer.
Removed useless get_agent_modules_count().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f