* include/functions_db.php: in function "pandora_audit" clean source code
style, use the Pandora DB interface and now return id the row in tsesion.
* index.php: fixed when login failed the audit.
* godmode/users/user_list.php: clean source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: Added functions ascii_to_html and html_to_ascii.
Also use this functions to convert no printing chars in function safe_input
and to revert the conversion in function safe_output.
* include/functions_db.php: Added function escape_string_sql, is a
wrapper db indepenten function to do the same that function mysql_real_escape_string
* index.php: Use function escape_string_sql with login parameters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ChangeLog: fixed previous commit of jobmate that erase some lines of
ChangeLog.
* index.php: cleaned source code style.
* mobile/include/style/main.css: added style for the login mobile page.
* mobile/include/user.class.php: the "loginShow" function have a nice
login box with some style.
* mobile/images/transparent_pixel.gif, mobile/images/key.gif: added image
files for the login page. The key image is created for "barretr" in
http://www.openclipart.org/detail/3330.
* mobile/index.php: changes for to show logout and new login box.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: safe_input() modified to detect SQL injection
attacks using /**/ strings.
* index.php: Prevent HTTP response splitting attacks.
* pandora_console.spec: Updated some spec variables and description.
* pandoradb.sql,
extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a new field in trecon_task
to store the snmp_community on detected hosts in a recon task.
* extras/pandora_diag.php: Fixed security problem in relative path.
* general/pandora_help.php,
general/footer.php: Fixed security problem in relative path/include.
* general/login_page.php: Fixed security problem in URL parsing.
* godmode/servers/manage_recontask_form.php,
manage_recontask.php: Implemented new feature to use a snmp comunity on all
network modules added to a new detected host.
* config_process.php: Updated build.
* functions.php: New version of safe_url_extraclean() function (security fix)
and modified also enterprise_include* functions to have a secure include.
* functions_ui.php: Secured function get_include_contents().
* operation/agentes/gis_view.php: Secured url extraction/parsing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* DEBIAN/conffiles: added file config.php as conf file for package Debian.
* DEBIAN/make_deb_package.sh: changed the source to "touch" conf file.
* index.php: fixed the tests for config.php, now check if empty file then
call installer.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: changed the deprecated var $REMOTE_ADDR for standar
$_SERVER['REMOTE_ADDR']. I forget in the last commit.
* operation/gis_maps/render_view.php, operation/gis_maps/index.php,
operation/menu.php, godmode/gis_maps/configure_gis_map.php: fix the ACL
and add in other sites of source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Solved issue with several undefined
vars.
* include/functions_servers.php: Solved issue with several undefined
vars.
* include/functions_config.php: Added metaconsola witch to readconfig.
* include/config_process.php: Update build.. is YYMMDD !
* include/functions_ui.php: Removed deprecated call to split and replaced
by preg_split.
* index.php: Activated developer mode.
* operation/agentes/estado_monitores.php: Solved small problem with modules
without history, filling missing column in table. Added headers
* godmode/alerts/configure_alert_compound.php,
operation/agentes/status_monitor.php
godmode/alerts/configure_alert_template.php,
godmode/alerts/alert_templates.php,
godmode/alerts/configure_alert_action.php,
godmode/alerts/configure_alert_command.php,
godmode/alerts/alert_actions.php,
godmode/alerts/alert_commands.php,
godmode/modules/manage_network_templates.php,
godmode/modules/module_list.php,
godmode/modules/manage_network_components.php,
godmode/modules/manage_nc_groups.php: Removed deprecated call to include
config.php and in some cases, added new header style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Changes in several tables and new tgroup_stat table.
Added several index and dropped some fields in tagente_datos and
tagente_datos_string tagent_access.
* godmode/setup/setup.php,
* include/functions_config.php: Management of new timezone settings and
realtime stats parameters.
* include/config_process.php: New timezone management. Updated build.
* pandoradb_data.sql: Build update. Added new tokens realtimestats and
stats_interval.
* install.php: Several changes: Now display GPL licence, better SQL error
management, and steps are shown now as text instead a progress bar. Also
show version and build of the installer.
* extensions/dbmanager.php: Removed some warnings
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Updated with latest changs.
* godmode/agentes/module_manager_editor_network.php
godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor.php: Implemented partial support for
SNMP v3. Miguel will finish the work :-)
* index.php: Session close function deprecated, replaced by a more standard
method with unset.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: fix now don't show alerts with
delete pending modules.
* index.php: clean source code, end return that show in browser.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php: User section has no ACL check, always can be seen.
* index.php: Added suppor for user-defined custom language (this code was
on my disk for 3 months, pending to be commited!).
* include/functions_db.php,
* include/functions_agents.php,
* godmode/alerts/alert_list.php,
* godmode/agentes/modificar_agente.php,
* godmode/agentes/configurar_agente.php: Added audit calls to several
management operations who don't have or have insufficient audit info.
* godmode/users/configure_user.php: Fixed several annoyings bugs. Added
custom language support, and added more audit info on management operations.
* godmode/users/user_list.php: More audit info.
* include/config_process.php: Add new debug option to render error log to
/pandora_console.log. Also set timezone if not defined (this makes warnings
on several PHP 5.x setups). Added user custom language support.
* include/functions_events.php: More audit info. Fixed problems with HTML
encoding render.
* functions_io.php: Some cleaning.
* include/functions_messages.php: Fixed problems with HTML
encoding render.
* functions_ui.php: Fixed problems with HTML encoding render in
print_string_substr() function.
* auth/mysql.php: is_user_admin() functions seems to be broken ¿?¿!. Fixed.
* styles/pandora.css: removed green colored left border in default style.
* message.php, incident*: Fixed problems with HTML encoding render.
* user.php: Better ACL check before let user to view/edit another user.
* user_edit: Removed some un-used form fields, some arrangements in layout,
and FIXED forever problems with password change (new code written).
* users/user_statistics.php: Now user can see its own audit records.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: clean source code, the blank end line in the end of document
and show in the browser too.
* include/functions_ui.php, operation/agentes/alerts_status.php: add new
colummn, the action column that it show the actions of alert.
* godmode/alerts/alert_templates.php: add the 'Time threshold' in the
tooltip.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Upps, Tuesday #13, bad day for a last commit before launch RC1 ! :-S
* general/logon_ok.php: Fixed ugly format of table showing last activity
(has a too wide table width).
* godmode/admin_access_logs.php: Removed that crappy div fashion code and
replaced by old and reliable table-based-code :-) to fix the mess with the
pagination.
* godmode/agentes/configurar_agente.php: fixed problem with postprocess
values very bug (like 0.0000000123), parameter is now passed as string
because PHP is passing the value as scientific notation and mYsql don't
understand that.
* operation/agentes/exportdata.php,
* operation/search_results.php,
* godmode/reporting/map_builder.php,
* godmode/agentes/agent_manager.php,
* godmode/reporting/graph_builder.php,
* godmode/agentes/modificar_agente.php: Added non-case search SQL code for make
agent searches non case sensitive (nombre COLLATE utf8_general_ci LIKE...)
* module_manager_editor_common.php: More size for postprocess field.
* pandora_console/godmode/alerts/configure_alert_action.php: More width for
field2 in action form.
* godmode/alerts/configure_alert_command.php: Command field has more width
and added a help icon for macro subtitutions.
* include/functions_db.php: get_agent_name() now defaults to non uppercase
the agent names, because 3.0 has case sensitive agent names, and all
data must show the real Case.
* include/styles/pandora.css: removed uppercase transition for menu items
and agent tabs.
* operation/agentes/estado_agente.php: Agent is not shown in uppercase
anymore.
* operation/agentes/estado_generalagente.php: Agent name and parent name
is not in uppercase. OS version shows only last 15 characters or full string
if strlen() < 15.
* operation/agentes/status_monitor.php: Agent name is not in uppercase
anymore.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: add comments for more readable.
* include/functions_extensions.php, extensions/update_manager.php,
extensions/hello, extensions/hello/icon.png, extensions/hello.php,
operation/menu.php, godmode/menu.php: change the mecanic to add extensions
into menu, now you can add extension with icon and into the submenu in any
position of submenu. Change the example "hello" for to show as be.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1885 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
* 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
* include/styles/menu.css: Added icons for dashboard option (enterprise).
* include/functions_config.php: Added support for round_corner option.
* include/functions_db.php: Temporal support (not really work) for enterprise
servers webcheck/goliat and inventory. This code should be corrected when
make final dbstruct changes for new server_type numeric field.
* include/functions_reports.php: Fixed an annoying notice.
* index.php: Dashboard is not entered automatically on login in enterprise.
* operation/events/events.php: Events from group 0 always displayed.
* operation/servers/view_server.php: Icon for server status is now smaller.
* operation/menu.php: New enterprise hook for Dashboard menu entry.
* reporting/pchart_graph.php: Round corners on progressbar acording to
setup option. Color of border is smoother.
* godmode/setup/links.php: Fixed ACL condition (AND -> OR).
* godmode/setup/setup.php: Fixed ACL. Moved visual options to other setup.
* godmode/setup/filemgr.php: Fixed ACL condition (AND -> OR).
* godmode/agentes/modificar_agente.php: Support for IP address search.
* godmode/menu.php: Added new setup section for visual options.
* godmode/setup/setup_visuals.php: New setup section for visual options.
* images/mod_web_proc.png,
images/screenshot_not_found.jpg
images/mod_web_data.png
images/server_web.png: New icons added for enterprise options.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/logoff.php: Cleaned up invalid html
* general/login_page.php: Clean up ampersands
* include/functions_html.php: Fixes bug #2661439
* index.php: Style cleanup
* godmode/modules/manage_network_templates.php: Export function
gives a CSV file of the templates. Import pending although you
can use it already to import back into pure SQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/map_builder_wizard.php: Style correction. Use
Pandora functions instead of SQL. Force elements to have an image by
removing "None".
* include/functions_config.php: Added to repository. New file to
manage config operations such as creation and updating values or
updating the whole config array. It even sets id_user so no more usage
of $_SESSION is required from outside.
* include/config_process.php: Cleanup and usage of functions in
functions_config.php. Updated build.
* index.php: Updated to changes in config_process.php,
* godmode/setup/setup.php: All config process has been moved to
config_process.php which uses functions in functions_config.php.
* include/styles/pandora.css: Styling for pre elements. New help
class.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1515 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/: New directory with extra contents (scripts, tools, samples)
* index.php: Add new permission check for /attachment directory. Probably
could be extended and wrapped into a function. This should be only called
once, this is the reason why is placed here and not in config_process.
* pandora_console_upgrade: Force MYSQL run, even if SQL return error (useful
for applying over a older 3.0 version for example).
* pandoradb_data.sql: Was missing some tconfig variables.
* extras/*.sql: Missing somre tconfig variables and other minor issues fixed
* extensions/update_manager/main.php: Description of update manager patch
wider. Probably needs more formatting in the future.
* extras/sample_login.php: Sample on how to implement autologin feature.
* footer.php: I hope solve the frakkin image problem.
* godmode/agents/agent_manager.php: proper ACL check notice.
* godmode/alerts/alert_list.php: Fixed notice.
* godmode/reporting/map_builder.php: Added link to wizard and item count.
* godmode/reporting/map_builder_wizard.php: Added new feature, a wizard
to populate the visual map, using agents from a combo, depending on the
map selected. Could have a lot of improvements, it's a basic start. Allow
to choose agents and image maps and space between images. Puts in a reticle
automatically adjusting at 600px width.
* godmode/setup.php: Checkbox for trap_forward was bad, fixed.
* config_process.php: Fixed version to 3.0-dev
* functions_html.php: Default of 0 in text boxes makes them unusable on
default values, funny :-)
* include/functions_reporting.php: Fixed a notice on unknown variable
on function get_group_stat().
* operation/agentes/alerts_status.php: Filter on module status is made now
with combos, like the rest of the filters in the GUI.
* operation/events/events.php: a missing div makes graph float outside the
filter box. TODO: Hidder filter makes free-width style buggy here.
* operation/reporting/reporting_viewer.php: Fixed layout issue.
* operation/visual_console/render_view.php: Added ACL check.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/main_menu.php: Operation and godmode menus files includes
now the dependant files.
* godmode/agentes/modificar_agente.php: Removed unnecessary
require()
* godmode/alerts/alert_list.php: Avoid notice for undefined index when
calling max(). Added option to delete the template.
* godmode/alerts/configure_alert_template.php,
godmode/alerts/alert_templates.php: Fixed field2_recovery and
field3_recovery updating.
* operation/menu.php, godmode/menu.php: Require functions_menu.php.
* include/config_process.php: Updated build version.
* include/functions.php: Keep time in a static variable on
get_system_time().
* include/functions_db.php: Now a custom operation can be passed to
format_array_to_where_clause_sql() if the field key is numeric.
* include/functions_reporting.php: Return float value on
get_agentmodule_sla(). Added required files.
* include/functions_ui.php: Show template name on format_alert_row().
Style correction.
* operation/agentes/export_csv.php: Style correction.
* operation/events/export_csv.php: Use pandora functions to fetch
results. Fixed auth part. Style correction.
* operation/reporting/custom_reporting.php: Fixed enterprise include.
* operation/reporting/reporting_xml.php: Fixed auth part.
* index.php: process_page_head() may looked for uninitialized
$config["refr"].
* include/styles/pandora_width.css: Fixed style for ol.steps
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php, index.php: Added generated timer count as
a HTML comment at the bottom.
* include/functions_ui.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Do not show errors on sql_error_handler()
if debug flag is active. Removed return flag to print_database_debug()
because it was causing memory allocation errors. For the same reason,
the table is printed each 100 elements.
* index.php: Run print_database_debug() after the flush.
* include/functions.php: Removed deprecated pandora_debug()
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1484 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Added database debug support. If the debug
flag in config is set, a table with all the queries done in a page is
shown. To do so, add_database_debug_trace() and print_database_debug()
were added.
* include/functions_ui.php: Added debug() function which shows a
given variable content and a traceback which can be toggled to make
developers life easier.
* index.php: Print database debug table.
* include/styles/pandora.css: Styles for debug functionallity.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1483 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
* 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
* 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/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
* 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
* 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
* pandoradb_migrate_20_to_21.sql, pandoradb.sql: Added user table updates
You'll have to do the alter tables before upgrading to the latest version
but it adds functionality and enforces unique usernames
* general/header.php: Don't rely on session variables
* include/auth/dev.php, include/functions_ui.php: Minimal changes to
comply with guidelines and new links
* include/auth/mysql.php, include/auth/ldap.php: Added functions and
removed bugs.
* include/functions_db.php: Added some functions for profile handling
* include/functions_html.php: Text input is now readonly instead of
disabled. This allows copying data from the textbox.
* include/styles/tip.css: Set min-width instead of fixed width for tip
that way we can have bigger tips without overflowing
* operation/reporting/reporting_xml.php: Added auth there as well
* operation/users/user.php, operation/users/user_edit.php,
operation/users/user_statistics.php: New auth functions, better look
* index.php: Process_user_contact sits in logon_db. Saves a query
* godmode/users/configure_user.php, godmode/users/user_list.php: New
auth functions, better look.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ChangeLog: Fixed tabs. Removed some conflict markups and a bit of
style here and there.
* index.php, godmode/setup/setup.php, include/styles/menu.css,
operation/agentes/estado_agente.php,
operation/agentes/estado_monitores.php,
operation/agentes/estado_ultimopaquete.php,
include/functions.php: Tab and spaces style correction.
* godmode/reporting/map_builder.php: Use generic database functions
for the insert. Now a node can represent a whole agent, changing to
bad if any module has failed.
* include/config_process.php: Use generic databse functions for
inserts. Fixed an error when inserting loginhash_pwd token. Make the
token a bit more complicated by multiplying two numbers.
* include/functions_visual_map.php: Add support to agent nodes that
will turn to bad icon when any module fails.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Added support for external authentication, based on a HASH.
* pandoradb.sql: New tables for local templates.
* pandoradb_migrate*: Updated script.
* godmode/agentes/agent_manager.php: Fixed field for inventory server.
* module_manager_editor.php: Fixed snmp community for WMI modules.
* module_manager_editor_*.php: New fields in editor (War/Crit, FF).
* config_process.php,
godmode/setup/setup.php: Added new option for hash auth.
* functions.php: Added again (please don't delete it) function to remove
quotes on automatic protection (magicquotes).
* menu.css: Added icon to inventory server option in the menu.
* estado_monitores.php: Fix module edit link, better data render on tooltip
* estado_ultimopaquete.php: Fix module edit link.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1360 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Updated year in header. Solved small notice error.
* operation/agentes/alers_status.php: Use h2 instead h3 on title. Some
separation should be between code color and text.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Added new field to talert_templates to specify if the
alert should fire when on match or mismatch of the values.
* general/header.php: Fixed the columns width. Added a control when
the autorefresh is clicked so the user can select the refresh time. A
countdown is also shown when the page is set to refresh.
* godmode/alerts/configure_alert_template.php: Control the new flag on
templates. Added an explanation to explain when the alert is going to
fire.
* include/javascript/jquery.js: Updated to v1.3. It promise to be
quicker in a lot of situations.
* include/javascript/jquery.countdown.js: Updated to latest version.
* include/styles/pandora.css: Fixed duplicated input.ok. Style
correction. Added invisible class and a style for alert templates
page.
* include/functions_alerts.php: Fixed a notice error on
clean_alert_template_values().
* operation/visual_console/render_view.php: Removed jquery inclusion
because it's already done in the index page.
* general/main_menu.php: Do not add refr if it's zero.
* index.php: Avoid the recursive addition of 1=1 when autorefresh is
set.
* pandoradb_migrate_20_to_21.sql: Added new fields on the tables.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/menu.css: Changed the z-index property of the menu
which was overlapped in some cases.
* include/functions.php: format_alert_row() moved to functions_ui.php
* include/functions_ui.php: Added format_alert_row() from function.php
* include/functions_agents.php: Added to repository.
* include/functions_alerts.php: Added new functions
get_alerts_agent_module_disabled(),
set_alerts_agent_module_force_execution(),
get_alerts_agent_module_last_fired().
* include/functions_db.php, operation/agentes/estado_agente.php,
operation/agentes/networkmap.php: Style correction.
* include/functions_reporting.php: Use new functions_agent.php. Added
a bit of documentation and style correction.
* godmode/alerts/alert_templates.php: Improved a bit the template
tooltip.
* operation/agentes/alerts_status.php: Added to repository. New
interface to list agent alerts.
* operation/agentes/estado_alertas.php: Removed from repository.
Replaced by alert_status.php.
* operation/agentes/ver_agente.php: Removed flag_alert code snippet.
Use new files added. Style correction.
* operation/menu.php: Old files references replaced by new ones.
* index.php: Removed build and pandora version references.
* pandoradb.sql: Removed useless module_type field in
talert_templates.
* pandoradb_migrate_20_to_21.sql: Removed duplicate fields addition.
Fixed some warnings. Added custom_id field to tagente. Style
correction.
* include/config_process.php: Updated build version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1344 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Removed debug output. Show no SQL
error on delete_alert_* functions.
* index.php: Added missing jQuery script.
* godmode/alerts/alert_templates.php: Added a missing br. Show "empty"
string if no value was set.
* godmode/alerts/alert_commands.php: Added a check to avoid internal
commands removal.
* pandoradb.sql: Removed talerta table.
* pandoradb_data.sql: Data from talerta moved to talert_commands.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager.php: Complete rewritten of the alert
system when assigned alerts to an agent.
* pandoradb.sql: New tables for alert system. These are:
talert_commands, talert_actions, talert_templates,
talert_template_modules, talert_template_module_actions. No migration
tool is available yet.
* godmode/alerts/configure_alert_template.php,
godmode/alerts/configure_alert_action.php,
godmode/alerts/alert_templates.php,
godmode/alerts/configure_alert_command.php,
godmode/alerts/alert_actions.php: Added to repository. Administration
interface to new alert system.
* godmode/alerts/modify_alert.php: Deleted from repository.
* godmode/setup/setup.php: Added an example of the date format. Main
table has now percentage width.
* godmode/menu.php, operation/menu.php: Added new alert options.
Removed refr value when it's not neccesary.
* include/styles/pandora.css: Added width to textarea elements. Style
correction and cleanup. Tables doesn't have a odd-even pattern, but
the hovered row now changes its colour. New styles for alert pages.
* include/functions_custom_graphs.php: Added to repository. custom
graphs functions moved here.
* include/functions_incidents.php, include/functions_events.php: Moved
to LGPL. Style comment corrections.
* include/functions_html.php: Documentation style correction. Added
print_input_file() and print_label().
* include/functions_ui.php: Doc style correction.
* operation/reporting/graph_viewer.php: Include new function file with
custom graphs. Use generic functions.
* index.php: Unset pass from POST and REQUEST arrays.
* include/functions_db.php: Some documentation updated to new format.
Added format_array_to_update_sql() to generate SQL sentences for
updates. Style correction.
* godmode/agentes/configurar_agente.php: Variables renamed to have a
meaning.
* extensions/update_manager/main.php: Mark an string translatable.
* extensions/update_manager/lib/libupdate_manager_client.php,
godmode/alerts/configure_alert.php, include/functions.php,
godmode/agentes/module_manager.php, operation/agentes/networkmap.php,
operation/reporting/reporting_viewer.php,
godmode/agentes/manage_config.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Added to repository. Functions that prints
UI elements for Pandora. Let's make functions_html.php a single HTML
library instead of mixing it up with Pandora specific elements.
* include/functions.php: Fixed inline doc. Added functions_ui.php.
* include/functions_html.php: Functions moved to functions_ui.php.
Fixed checkbox ids in print_checkbox_extended().
* general/main_menu.php: Make refr attribute optional. Do not print
class attribut tag if no class was given.
* general/login_page.php: Show login error message if login fails.
Put POST values into the form instead of the URL.
* index.php: Cleaned up login code to become easier.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager_editor.php,
godmode/snmpconsole/snmp_alert.php, include/functions_reporting.php,
include/functions_reporting.php:
Function updates
* include/functions.php: show_alert_show_view is now format_alert_row
* include/functions_db.php: get_simple_alerts_in_agent is now
get_agent_alerts_simple; get_combined_alerts_in_agent is now
get_agent_alerts_combined; get_alerts_in_agent is now get_agent_alerts;
dame_nombre_alerta is now get_alert_type; get_alerts_in_group is now
get_group_alerts; dame_id_grupo set to deprecated; Added
process_alerts_validate to validate alerts passed to it.
* index.php: Set UTF-8 encoding standard for multibyte functions
* operation/agentes/estado_alertas.php: Rewritten
* operation/agentes/ver_agente.php: Put alert validation in a function
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Updated build, again due to the use of the new custom ID.
* reporting/fgraph2.php: Test for ezcomponents.
* operation/events/event_statistics.php: Use of fgraph2 if test var is
set in the URL. It uses ezComponents, that need to be installed.
This shows a 3D chart. Probably not will be used, but it's an idea
about how to improve graphs in pandora. To test, just add &test to the
event_statistics URL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1308 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Cleaned up some old stuff and fixed the order of GET/POST
* general/header.php: Added tags for custom branding and todo
* general/login_page.php: Cleaned up some old stuff and fixed always
redirecting the user to the overview if they followed a link.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Updated build, there were some changes in last month that make
this build to change.
* include/styles/link.css: updated and renamed to menu.css, more coherent.
Updated header.
* include/styles/pandora.css: updated header. Reduced height in
administration and link menu titles.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/footer.php: Updated print_timestamp to always print full.
Removed the center tag (deprecated in HTML 4.01)
* general/header.php: Fixed some CSS.
* general/links_menu.php: Rewritten for new css style
* general/main_menu.php: Rewritten for new css style and to avoid
repetition in writing tags uses an array and functions
* godmode/menu.php: Rewritten for new css style and to avoid repetition
writing tags
* include/functions_html.php: Added option to override prominent time
* include/styles/link.css: Rewritten the whole CSS. Now all menu options
are directly available through slide-outs (pure CSS, no JS) and avoids div
for each single item. The pages renders quite a bit faster too.
* include/styles/pandora.css: Fixed some bad tags and removed stuff that
was for the rewritten menu.
* index.php: Added to div. IE will in some situations not render
empty divs.
* operation/menu.php: Rewritten for new CSS style
* include/styles/god.css, include/styles/op.css:
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Develop Bypass set to 1, to help debugging. Updated build.
* extensions/update_manager/settings.php: Use print_input_password instead
print_input_text for proxy password.
* godmode/modules/manage_network_components_form_wmi.php: Cosmetic change. Closed some HTML tags.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmpconsole/snmp_view.php, godmode/snmpconsole/snmp_view.php:
Added legend to satisfy feature request #2204169. Also made filters
persistent
* operation/events/events.php: Usage of new function
* operation/agentes/ver_agente.php,
operation/agentes/estado_monitores.php: A bit of style update
Fixed bug where $intervalo actually came from index.php
* index.php: Put refresh in config (to prevent above bug)
* include/styles/pandora_width.css, include/styles/pandora_red.css,
include/styles/pandora_black.css, include/styles/pandora.css:
Update so you can use datos_<color> in other things than td
* include/functions_db.php: give_agentinterval is now get_agent_interval
* include/functions.php: Added get_priority_class to find background
color classes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1253 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operations/snmpconsole/snmp_view.php: Removed
lang_string references in favor of __ ()
* index.php: Style updates and function name update
* include/functions_db.php: Removed lang_string function
* include/functions.php: parameter_extra_clean is now
safe_url_extraclean. Also updated it slightly
* godmode/admin_access_logs: Updated for style and speed
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/incidents/incident_detail.php, incident.php: Update ACL's
to reflect IR rights instead of default AR
* operation/events/events.php: Updated style and html for new
functions. Fixes Bug #2267593
* index.php: Put REMOTE_ADDR in $config as well. It's easier to
globalize in functions.
* include/functions_reporting.php: Updated event_reporting to accept
any type of date. Style update. get_group_stats didn't need global
* include/functions_html.php: Updated print_table documentation with
pre-existing $table->id. Also added $table->headclass[] for classes
in headers
* include/functions_events.php: New-style function file to aggregate
events functions.
* include/functions_db.php: gime_idgroup_from_idevent is now in
functions_events.php as get_events_group. Renamed get_events_in_group
to get_group_events return_priority is now get_priority_name
* include/functions.php: Added safe_int function to clean up and remove
non-ints from either single values or arrays of values. Also has min
and max limiters. Added $pagination in lieu of $config["block_size"]
to pagination function. That way larger block sizes (eg in events)
will display correctly. Added strtotime on format_datetime
* godmode/db/db_event.php: After an ACL error, it's better to exit
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Added sql_error_handler() to show SQL
errors. Improved SQL error messages in process_sql() so it shows now
the failing sentence, the file and the line of the call.
* index.php: Moved load_extensions() call after enterprise
instalation so enterprise extensions are installed properly.
* godmode/profiles/profile_list.php: HTML tags nesting fixed.
* ChangeLog: Fixed previous commit message style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Style correction.
* godmode/agentes/agent_manager.php,
godmode/agentes/configurar_agente.php: Removed inventory server
configuration, which was moved to an enterprise hook. Style
correction.
* include/functions.php: Added slash to enterprise_include() path to
work in some rare cases.
* include/functions_db.php: Errors in process_sql() are shown using
trigger_error(), so they can be disabled setting error_reporting().
* include/functions_html.php: Added print_input_image() to show input
image HTML elements.
* index.php: Added enterprise includes and hooks to show the future
dashboard. Style corrections.
* godmode/reporting/map_builder.php: Fixed error when creating a map.
Javascript fixes. Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* fgraph.php, db_info.php, db_purge.php: Now show data also
for string modules.
* include/config_process.php, index.php: Header update for version
2.1-dev.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ajax.php: removed carriage return from EOF.
* index.php: Updated final version variable (YES!)
* config_process: Updated final version variable (YES!)
* libupdate_manager_client.php: Do not raise a notice (probably be hidden
for user). Show error details with a simple echo.
* footer.php: Bad reference to image, in help don't show properly fixed.
* pandora_help.php: Fancy layout :)
* manage_config.php: Now works fine. If target agents not defined used
source agent. Module mass delete now works. Added help and better deletion
of agents. Fixed bug #2157135.
* pandora_textlogo.png: Added new icon for help header.
* functions_db.php: Added delete_agent() used in manage_config.
* help_alert_validation.php, help_manageconfig.php, help_planned_downtime.php:
New help files (english only!).
* datos_agente.php: Stupid bug that don't allow to delete string data.
* estado_alertas.php: Added help to alert ACK button.
* reporting_viewer.php: Added SLA legend label (limit) and fixed render of
invalid SLA (was swapped bad for good). Combined graphs dimensions are used
now on reports.
* reporting_xml.php:; Fixed a small problem that renders header after contents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_logo.png: White background for IE6 users.
* index.php: Updated version and develop bypass.
* header.php, pandora.css: Better view in IE6.
* estado_ultimopaquete.php: Fixes bad render for big numbers.
* snmp_view.php: Fixes problems with IE6 render. Better view
of custom OID (shortened and as tooltip).
* stat_win.php: Fixed problem with slicer in IE6.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager: Added update manager client for
PandoraFMS.
* operation/reporting/custom_reporting.php: Moved PDF link.
* operation/reporting/reporting_viewer_pdf.php: Moved to enterprise
version.
* godmode/agentes/agent_disk_conf_editor.php: Moved to enterprise
version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Fixed some warning messages
due missing check before several foreachs.
* index.php: Disabled development flag to detect config.
* operation/agentes/networkmap.php: String too short for
names, long IP address was being shortened.
* operation/servers/view_server.php,
operation/servers/view_server_detail.php
godmode/servers/manage_recontask_form.php: Fixed some warnings
and added proper message for empty screens.
After this commit a beta1 package has been made.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Update HTML for unclosed tags and put everything in PHP
Updated the HTTPS detection. Made sure the password doesn't get
passed to other scripts (like 'evil' plugins)
* include/functions_html.php: Added print_input_password_extended()
* general/main_menu.php: Removed old code and header
* general/login_page.php: Tried putting it in functions_html code but
that didn't work (rowspan), so I just ended up with a smaller file and
the input boxes getting printed
* general/header.php: Updated to use functions_html
* general/footer.php: Updated header and develop_bypass for the query
counter
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1020 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AUTHORS: Added Evi to AUTHORS file.
* pandoradb.sql: MAJOR UPDATE and normalization of database
structure. trecon_task table has changed from previous 2.0 version.
* pandoradb_data.sql: Minimal updates.
* reporting_builder.php: Fixed bug #2035570 (Two weeks instead one
week in combo to select SLA period).
.
* manage_config_remote.php: Fixed bug #2032889: Show configurations
not present in disk and fail to copy them.
* manage_recontask.php: Show OS, and some stetical changes and code
optimization. Removed old code for assigned network servers and so on.
* manage_recontask_form.php: Removed old fields, added new fields, fixed
old bugs (create incident combo).
* config_inc.php: Code cleanup, updated variables.
* config_process.php: Updated version info.
* estado_ultimopaquete.php: Added refresh icon.
* view_server.php: Added missing link to view_server_detail.php for
recon servers. Somebody take it prisoner :-)
* view_server_detail.php: Code stype update, and some fixes and new
column information.
* modificar_agente.php, configurar_agente.php: Fixed use of $id_user.
* index.php: Temporal workaround to use $id_user as global. Need to fix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Set id_user in config array when login. This fixes errors
and notices on login screen.
* operation/menu.php: Replaced use of id_user on SESSION array with
config.
* general/logon_ok.php: Replaced lang_label with lang_string(). Use
id_user on config array. Style correction and code cleanup.
* godmode/extensions.php: It was showing main functions of extensions
instead of godmode ones.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AUTHORS: Added myself.
* include/functions_extensions.php: Added to repository. Implements
extensions functions. Extensions are some kind of plugins to the
console to add functionallity in a modular way. More work and
documentation is needed.
* godmode/reporting/reporting_builder.php, include/functions.php,
operation/agentes/networkmap.php, operation/agentes/ver_agente.php:
Style correction.
* include/functions_db.php: Added load_lang_file() to load the
languages file (useful in extensions l10n). Style correction.
* index.php: Load extensions and call them in cases.
* godmode/menu.php, operation/menu.php: Style correction, code
cleanup. Added extension menu and submenus. Use of CSS more efficient.
* include/config_process.php: Added extensions support.
* extensions/, extensions/hello.php: Added to repository, extensions
dir and example.
* include/functions.php: Style correction.
* include/styles/op.css: Cleanup and rewritten the CSS hell it was
before.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Added new tables for planned downtimes.
* godmode/menu.php: Added entry for manage downtimes.
* group_list.php: Stetic changes in table.
* modificar_server.php: Fixed timestamp render for start/update
timestamp of each server.
* functions.php: Minimal estetic changes in help function.
* functions_db.php: Change header (Flexible <- Free)
* functions_html.php: Now select admits multiselect option. Default
class for table render is now databox not databox_color.
* AUTHORS: Update list of authors and make a reference to contributors.
* function_reporting.php: Header change, updated datetime string format.
* language_en.php, language_es_es.php: Changed FREE for Flexible.
* pandora.css: Minimal changes. Update color of Monitor count in tactical.
* menu.php: Added some new event options: CSV Export, RSS and new marquee
event visualizer.
* estado_ultimopaquete.php: Header update.
* tactical.php: Added link to data module alerts.
* ver_agente.php: Fixed a problem in ajax code that was rending bad
count of down monitors. Using boolean comparation on result of function
get_db_sql(). This kind problem could be in more lines of code.
* events.php: New quicklinks to RSS, CSV and Marquee in event viewer.
* export_csv.php, events_rss.php: Fixed duped call to function includes.
* graph_viewer.php: I hope this fix FINALLY the annoying bug of graph
type selector.
* visual_console/index.php: Updated header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode/db/*.php
-require_once for config might already have loaded
-Changed mysql_real_escape_string in favor of get_parameter_post
-Process the DELETE SQL queries through process_sql()
-Changed comprueba_login() for check_login()
-Adhered some things to preferred style
-Compounded SQL queries into joins, subqueries or functions
-Removed mysql_close() from db_purge.php since the select
after the delete wouldn't work anymore (database closed)
* pandora_console/godmode/reporting/reporting_builder.php
-Fixed a bug that was introduced when the SQL functions returned false
* pandora_console/include/functions_db.php
-Made foreach instead of while loops for simpler functions
-Fixed get_reports that failed since SQL function return false
-All SQL functions now return false in case of empty
-New SQL function process_sql that can handle DELETE. Returns
affected rows in case of a changing query or an array in case
it was a selecting query or false in case of error
* pandora_console/include/functions.php
-Simplified safe_input function
* pandora_console/index.php
-Updated SQL queries, style changes
* pandora_console/operation/agentes/*.php
-Style changes and updates to use check_login
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora/console/install.php: Added mysql_error debugging that can be uncommented when something goes wrong for clearer troubleshooting
* pandora_console/pandoradb_data.sql: Fixed a line that had an extra semicolon (;) which caused the installer to fail
* pandora_console/index.php: Fixed the code that displays the custom CSS code. Now the Console looks good.
* pandora_console/general/header.php: Fixed the Autorefresh code. Now the Autorefresh link switches correctly between grey and white instead of staying white. Also fixed the autorefresh in case that there is no correct $_SERVER['REQUEST_URI'] so that it doesn't go 404.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/logon_ok.php: Style correction.
* include/languages/language_en.php: Added a couple of strings.
* include/styles/pandora.css: Container div has now variable width, so
Pandora console is wider now.
* include/config.php: Replaced default values from last commit. Change
homeurl variable, which now points to base url directory.
* include/config_process.php: Style correction. Use pandora functions
and indent the code properly.
* reporting/fgraph.php, include/functions.php, ajax.php: Use
require_once instead of require which speeds up the code parsing.
* index.php: Use require_once instead of require which speeds up the
code parsing. Add all GET and POST variables when refreshing a page.
Style corrections. Use $_SERVER instead getenv.
* include/functions_db.php: Avoid including config.php and use global
instead. Replaced some id_user with the respective variable holds in
config array. Replaced SQL syntax, removed an undeclared variable and
renamed to english in event_insert(). Renamed
return_moduledata_*_value() to get_agent_module_value_*(). Fixed an
error in the sumatory when the module is incremental.
* include/functions_reporting.php: Renamed return_module_SLA() to
get_agent_module_sla().
* include/functions_reporting_pdf.php: Tabs and blankspaces
correction. Style correction. Added new reports rendering, and fixed
images references. Removed old and deprecated functions.
* operation/agentes/networkmap.php: Style correction.
* operation/agentes/sla_view.php, reporting/stat_win.php: Use renamed
functions.
* operation/reporting/reporting_viewer.php: Table reports width are
now wider. Fixed some colspan problems. Generate custom graph ids
better. Added agent and module name to SLAs. Style correction in the
use of rowclass structure since now each content has its own table.
* operation/reporting/custom_reporting.php: Removed unused variable
for PDF reporting generation link.
* operation/reporting/reporting_viewer_pdf.php: Rewrite the code to
make style corrections and use pandora functions.
* operation/menu.php: Tabs and blankspaces correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@916 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/logon_ok.php: Use pandora functions to show last sessions.
* index.php: Tab and blankspaces style correction.
* godmode/reporting/map_builder.php: Fixed field name when inserting a
layout_data. Fixed group icon on list.
* operation/visual_console/render_view.php: Deleted firebug debug
which was causing not to work on browsers without that extension.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@900 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* functions.php: Added documentation to all the functions in JavaDoc
format, which is an facto-standard. Deleted unused functions. Improved
the code of some functions. Tab and blankspaces style correction.
Replaced old lang_label with lang_string(). Some functions to print
selects were replaced with a functio to get an array with all the
possible values so the caller will use print_select() with them.
* godmode/agentes/agent_manager.php: Use print_select() instead of
deleted function.
* godmode/agentes/alert_manager_editor.php: Use print_select() instead
of deleted function. Use print_checkbox(). Style correction
* godmode/reporting/map_builder.php, operation/agentes/ver_agente.php,
operation/messages/message.php,
operation/reporting/reporting_viewer_pdf.php:
Replaced deleted functions with their equivalents.
* include/functions_db.php: Documented some functions, some work is
still required. Added get_reports() to get all the reports a user can
see. Deleted unused functions. Replaced deleted functions with their
equivalents. Added get_db_row_sql(), get_previous_data(). Fixed errors
when calculating average, max, min and sum values of an agent module.
* include/functions_reporting.php: Fixed errors when calculating SLA.
* operation/events/events.php: Tab and blankspaces correction.
Replaced form_priority with print_select(). Style correction.
* operation/reporting/custom_reporting.php: Show all the reports a
user can see. Use Pandora functions.
* operation/reporting/reporting_viewer.php: Show unknown label if SLA
can not be calculated.
* operation/snmpconsole/snmp_alert.php: Avoid an extra indentation
level by using check_login() properly. Tab and blankspaces correction.
* index.php, operation/users/user_edit.php: Adopted to renamed
function.
* godmode/db/db_sanity.php, reporting/fgraph.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Added pure (Fullscreen). HTML code cleanup and user session.
* pandoradb.sql: talert_snmp: Added priority field.
* pandoradb_data.sql: Changes default values in talerta. tconfig_os, tgrupo
and some links.
* header.php: Fixed some user session management.
* logon_ok.php: New design for welcome screen, odometer is over.
* menu.php, godmode/menu.php: Some ACL improvements.
* agent_disk_conf_editor.php: Minor fix in view link.
* configurar_agente.php, agent_manager.php: Added parent combo and better
ACL checks. New remote configuration control for get timestamp info of
config file.
* modify_alert.php: Changes to use new internal Mail alert.
* config.php: Some items moved to config_process. (font, attachment and
default style).
* functions.php: Added form_agent_combo(), form_event_type_combo(),
form_priority() and return_priority() functions.
* functions_db.php: Added smal_event_table() to render a variable table
with latest events (filtered).
* pandora.css. Added pure and priority colors.
* estado_alertas.php: Fixed ACL problems.
* stado_generalagente.php: Graph of modules now represents modules that
has generated events. Old graph is not used anymore. Also display parent.
* estado_grupo.php: Border of boxes is now thicker.
* tactical.php: New screen, almost all code changed. Odometer is not used
anymore, added some new items, like module LAG meter, module sanity, and
other general metrics.
* ver_agente.php: Now renders also event for each agent view. Alert manual
validation generate a new event.
* events.php: New event system. 90% new code. A LOT of new features,
including full screen, coloured (by priority) and filters by six fields.
* snmp_alert.php: Added support for alert priority.
* operation/users/user.php: No longer a user with UM privileges could
see any other user.
* render_view.php: Added fullscreen support for visual maps.
* fgraph.php: Added support for session checking in graphs (at least!).
New graphics for events (some changed it's function like events by group),
and feature added to progress GD implementation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/alert_manager.php, godmode/agentes/configurar_agente.php,
godmode/agentes/alert_manager_editor.php: Fixed problem with combined alert
editor. Tested and works fine for me.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Pandora FMS 2.0 development first commit. 1.4 version is now 2.0
* pandoradb_data.sql: Added correct tnetwork_components, fixed
ttipo_modulo (categoria values).
* include/styles/pandora.css: Added some server icons, tab style
for module editor has been improved.
* include/functions_db.php: added new functions, lang_string and
check_login, and a first review of several functions that currently
need change for new config session parameters in array $config[]
* include/javascript/pandora.js: Added a new global include for
spare javascript functions before included into a few pages.
* include/languages/language_en.php: New tokens.
* include/help*: New contextual help system.
* include/config_process.php: New way to manage config.
* include/functions.php: Added new functions to manage global
* operation/agentes/estado_ultimopaquete.php: removed old javascript
code from there.
* operation/agentes/estado_agente.php: Removed references to deprecated
field "agent_type".
* operation/agentes/tactical.php: Some code cleanup and progressbar
issues merged from 1.3.1 branch. Need to add support to new server
types and new module types.
* operation/servers/view_server.php: Added support to new servers, code
cleanup.
* reporting/fgraph.php: Code cleanup, changes to use new config method,
and a lot of style change.
* general/pandora_help.php: New source for contextual help in the way
of moodle.
* general/footer.php, general/noaccess.php: Code cleanup and uses of
new config.
* module_manager_editor: New editors for each module family. Need
finish and implement EDITION of data, now only inserts data.
* godmode/agentes/agent_manager.php: Implemented new server assigment
and edition.
* godmode/agentes/configurar_agente.php: Small changes that affects
module management, visualization and agent management.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Added new structures for predictive module, plugin server, and other
planned functionalities for 1.4.x version.
* Merged code from 1.3.1 branch.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Code merged from 1.3.1 branch:
* functions_db.php: Some changes in future generic SQL interface access.
* pandora_console/include/functions.php: Added generic acces to HTTP
parameters.
* status_monitor.php: Fixed problems detected by Pierre Gaxatte.
* estado_agente.php: Fixed the same kind of problems (ACL / Group acces)
and added a Agent search field as request by J.Corona.
* tactical.php: Rename of generic SQL function access.
* view_server.php: Rename of generic SQL function access.
* modificar_agente.php: Fixed some render problems, added a Agent search
option and better formatting.
* configurar_agente.php: New management for KeepAlive module.
New code for 1.4 development branch (trunk)
* pandoradbdata_13_to_14.sql: Migration SQL (data) code from 1.3 to 1.4
* pandoradb_13_to_14.sql: Migration SQL (schema) code frrom 1.3 to 1.4
* pandoradb_data.sql: Modified code to fresh install SQL data.
* pandoradb.sql: Modified code to fresh install SQL schema.
* index.php,
* install.php: new version info.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@700 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: New field for tagente_modulo: disabled, to be
able to disable individual modules on an agent.
* index.php: Version number is now officially "1.4dev". There is
a long way to finish 1.4.
* operation/servers/view_server_detail.php: FIX. If no tasks, show
a little message.
* images/console/icons/smalldot*: New small graph for graph console.
* reporting/fgraph.php: FIX. Combined graphs with components of scale =1
does not readjust automatically.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@683 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Near ALL php: Removed remaining help icons. Closed some HTML tags.
* index.php, include/config.inc.php: Updated build.
* languages/*.php: Added text for "Logs".
* godmode/admin_access_logs.php: Solved small visual error with
filter. Added Logs text.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@673 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_en.php, language_es_es.php: Add two
new texts.
* general/error_*.php: Changed default HTML encoding to UTF-8.
* operation/agentes/estadogeneralagente.php: Removed function
in label that causes some problems with UTF-8 texts.
* index.php: Updated build, version and set develop pass to 1.
* godmode/agentes/configurar_agente.php: Changed strings from code
to language includes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* migrate.php renamed to upgrade.php
* Deleted old upgrade scripts from 1.1
* Updated install.php.
* Updated Index.php version to Beta2 :-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@604 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/stat_win.php, general/noaccess.php: Fixed problem with
paths outside index.php call.
* index.php: Some fixes in checks for problems in startup and needed files.
* general/*: Better layout of problems, some minimal fixes. New file added to
warn user of missed config.php file. Better treatment of fails.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Fixed unsorted render (E.Ross).
* index.php: Several fixes from E.Ross and me (HTTP port, REFR bug
#1756143).
* status_monitor.php: Small fixes for SQL sentences (E.Ross).
* estado_grupo.php: Small fixes for SQL sentnces (E.Ross).
* estado_ultimopaquete.php: Fix to use boolean graph from E.Ross.
* fgraph.php: Use simplified version of sparse to make a more
quick and simplified version of graph, useful for Boolean types
(E.Ross).
* stat_win.php: Fixed problem with resizing (E.Ross).
* godmode/groups/configure_group.php: Fixed code for Non-dependant
groups (E.Ross).
* login_page.php: Fixes for non 80 HTTP port (E.Ross).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: With last change in server, we
have control of not initilizated modules (those who never got
data/contact), we need to take care of them here.
* pandoradb.sql: last_execution_try field is added to
tagente_estado to be able to keep last execution try from network
server, later method was incompatible with automatic compatation
of data and with data server.
* operation/agentes/estado_grupo.php: Unknown data not includes
non initialized data. It's possible that need to make changes of
this kind in other files because the nature of the problem
detected.
* operation/agentes/tactical.php: BugFix: LAG is now correct and
makes reference to the oldest module that has been processed. Also
are shown non initialized data.
* operation/servers/view_server.php: BugFix: LAG is now correct
(see above).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/sytles/*.css: Updated "gif" references to the "png" refs.
* include/language/language_en.php: Updated text.
* images/*: Removed near all .gif files and created .png
* operation/*.php, godmode/*.php, *.sql:
Updated gif references to .png
* install.php: Added feature request 1744237
* index.php, operation/agentes/exportdata.php: Moved calendar jscript
from index to exportdata
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
First commit for Beta2 :-)
* reporting/fgraph.php: Fixed problem with combined graph that
makes long time graphs more smaller and slightly visible.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit should finish Pandora FMS Console 1.3 beta 1 :-)
* pandoradb_data.sql: Added default news for new instalation.
* include/styles/op.css: Changed icon for Visual Console.
* include/config.inc.php: Some minimal changes for skeleton.
* include/languages/language_en.php: Added final strings (hope!).
* index.php: Adjusted some issues for production.
* operation/incidents/incident_statistics.php: Added titles.
* operation/events/event_statistics.php: Added titles.
* operation/agentes/tactical.php: DivZero bug fixed.
* images/image_problem.png: Updated image with new logo.
* reporting/fgraph.php: Added generic_bar_graph and, at least, no
more jpgraph graph usage !. All graphs are using GD/Pear Graph
now.
* general/logon_ok.php: Fixed the same bug that in tactical.
* godmode/db/db_info.php: Added titles.
* godmode/db/db_purge.php: Now render detailed info in graph for
each agent selected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Added event reporting and alert
reporting items for user reports. Now user reports is fully
operative !
* include/functions.php: Added new function to manage human
strings datetime timestamps with differences.
* index.php: UTF-8 is now the codeset by default, also a few
comments adjusted, included last version number, now in index.php
* operation/events/events.php: More minor adjusts in HTML.
* operation/agentes/estado_alertas.php,
operation/agentes/status_monitor.php
operation/agentes/estado_agente.php: Agent names are in UPPERCASE
and other minor adjustements.
* operation/messages/message.php: Fixed code, now uses table
styles and more width. Fixes many table endings !!
* operation/reporting/reporting_viewer.php: Finished.
* operation/menu.php: Removed old agent statistics from menu.
* general/logon_ok.php: Better render of new messages. News shown
by timestamp order.
* godmode/agentes/modificar_agente.php: Agent name in uppercase.
* godmode/agentes/alert_manager.php: Threshold timestamp now uses
better function to do this.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Added "style" token for default config.
* include/config.inc.php: Version primary information is now on
index.php. Here is only a "copy" used in aditional pages that do
not load index.php
* index.php: Version information is now here.
* operation/reporting/graph_builder.php: Solved other little bug.
* reporting/Image/Canvas/GD.php: Now using Antialias !!!. This is
a BIG improve for graphs (and a bit slower on old systems).
* reporting/fgraph.php: Changed colours in main graphs.
* general/login_page.php: Small change in login screen.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Massive Update
* include/styles/pandora.css: Cleaned and updated some styles.
* index.php: Updated, now the page is allways at the center.
* general/login*.php: Updated login/logoff pages with new sytles
and clean code.
* images/setup.png: New file (changed from setup.gif).
* include/languages/*.php: Deleted old text about database and
updated some strings.* help/en/chapter3.php, help/es/chapter3.php: Changed image setup.gif
to the new setup.png file.
* operation/*.php: Massive close HTML tags and changed all h3 to h2
for new console headings.
* godmode/*.php * include/styles/pandora.css
* godmode/*.php: Changed name for directories and files: New ones are
alerts, profiles, groups and users, and now the files are named in
english. All features seem to be OK.
* godmode/menu.php: Updated to include new names and some highlighting.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora_red.css: Added alternate sample style.
* include/styles/pandora.css: Some problems with fonts fixed (I
hope!)
* include/config.inc.php: Modified code to support custom Style in
DB config. By default uses "pandora".
* include/languages/language_en.php: new string to render style
setup.
* images/header_red.jpg: New image for red style.
* godmode/grupos/configurar_grupo.php: Updated styles.
* godmode/setup/setup.php: Added support for style selector.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Uptated network component data.
* include/styles/pandora.css: Few updates for style.
* include/functions_db.php: Added functions for visual console
features.
* include/languages/language_en.php: New strings.
* include/javascript: Moved all javascript files here.
* include/javascript/x_slide.js, include/javascript/x_event.js:
Copied from branch / console from Azabel.
* include/javascript/wz_jsgraphics.js: New functions to draw
lines.
* pandoradb.sql: Created new tlayout and tlayout_data tables.
* index.php: Small changes. Added support to refresh any page via
POST.
* operation/visual_console: Added Visual Console feature.
* operation/agentes/estado_alertas.php: Updated styles and fixes
damm bug when no alert available.
* operation/agentes/status_monitor.php: Updated styles.
* operation/agentes/estado_generalagente.php: Update styles.
* operation/agentes/estado_agente.php: Updated style.
* operation/servers/view_server.php: Updated style.
* operation/reporting/graph_builder.php: Fixed some minor
bugs. Needs to fix more bugs :(
* operation/menu.php: Updated menu. Visual Console has dynamic items!.
* images/pandora_logo_head.png: New header logo !
* images/pandora_logo.png: New Pandora FMS 1.3 logo ! :-))
* images/console/background: More samples added.
* images/console/icons: Icons to be used in visual console.
* reporting/fgraph.php: New feature added to simple graph to show
only average values.
* reporting/stat_win.php: Added support to avg_only and show avg,
max and min values from each graph. Zoom factor is more usable
now.
* general/logoff.php: New style.
* general/footer.php: Fixed style.
* general/logon_failed.php: Fixed style.
* general/login_page.php: New style.
* general/header.php: Fixed style.
* godmode/agentes/configurar_agente.php: Fixed styles.
* godmode/agentes/agent_manager.php: Fixed styles.
* operation/active_console: Removed from trunk: not ready to be used.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css : Some style changes.
* include/functions.php: Changed format_numeric and format_for_graph to show a
better number formatting.
* index.php: Some minor changes in layout and bgcolor (not used style because
some pages that don't have the same color uses main style, f.e: stat_win for graphs).
* godmode/agentes/module_manager.php
* operation/agentes/estado_ultimopaquete.php
* operation/agentes/estado_monitores.php
* operation/agentes/estado_generalagente.php
* operation/agentes/datos_agente.php, estado_ul: Updated output render and fixes
some tables, added databox style, removed line.
* operation/menu.php: Removed active console. This don't go with 1.3 version
finally due many unfixed bugs.
* reporting/stat_win.php: White background fixed.
* general/header.php
* general/footer.php: Some adjustments in styles.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/header.png: New graphic image for header in the new design.
* Style / Graphic changes for new design (not finished).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@456 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/FreeSans.ttf: Added to repos, should be here to use in graphs.
* include/functions_db.php: Deleted noaccess include from
comprueba_login(). This should return value, not render pages or
exit.
* include/config.inc.php: Modified some typos.
* include/calendar.js: Added generic calendar javascript, to be
used on exportdata and incident management code.
* include/languages/language_en.php: More strings.
* install.php: In my render, box height is too low. PLEASE recheck
before changing this kind of properties because in other browsers
could have a bad render (Sophus!).
* index.php: Added script call (need to be done on header).
* operation/agentes/export_csv.php: Added new file to create a
standalone CSV on download icon / link.
* operation/agentes/exportdata.php: New export data code, used
some code from Leando Doctors, and mixed with old code. Now have
three options to render export data.
* operation/agentes/datos_agente_calendar.php: Deleted old code from Leandro.
* operation/active_console/lib/extra_functions.php: Solved a lot
of warnings, but there are TONS of more warnings that need to be
corrected.
* operation/active_console/lib/db_functions.php:Solved a lot of
warnings, but there are TONS of more warnings that need to be
corrected.
* operation/active_console/index.php: Solved a lot of warnings,
but there are TONS of more warnings that need to be
corrected. This code DONT work if you are showing warning/notice
erros. This code is not ready for production usage, too buggy yet
:(
* pandora_graphical_console_data.sql: Cleanup.
* godmode/agentes/module_manager.php: Added wizard button.
* pandora_graphical_console.sql: Cleanup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Added function add_address() not finished!.
* pandoradb.sql: Added field "notify_email" in tincidencia. More
changes are coming in incident management coming from FRITS
project. Added tnews
* index.php: VERY IMPORTANT: Added Session locking concurrency
speedup, taken from
http://es2.php.net/manual/en/ref.session.php#64525. This solve GUI
lookups when one page it's processing huge data and one user
cannot access to other pages. This is a common PHP issue for
bad-susing SESSION functions.
* operation/agentes/estado_grupo.php: Added checks for timeout in
agents. Now render gray icons/boxes if agent is completely timeout
(with no modules in time).
* operation/agentes/estado_generalagente.php: Show IP address in
combo. More changes are coming to agent address management
(multiaddress).
* general/logoff.php: Fixed, "babel" string :-)
* general/logon_ok.php: Added news display in main logon screen.
* godmode/agentes/configurar_agente.php: Delete address code, not
finished.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Fixed some odd problems with schema data.
* pandoradb.sql: Fixed some odd problems with schema structure and
added new table tnews for publish board updates.
* include/styles/pandora.css: Changed color for data2 style.
* include/config.inc.php: Deleted two last blank lines who makes
config.php unusable for graphs. FIXED.
* include/languages/language_en.php: Added some new strings.
* include/config.php: some problems with new config
variables. Need to recheck.
* include/functions.php: Added function to render normal text,
replacing carriage return with HTML br tag.
* install.php: Many small bugs fixed. Now uses dbname variable and
use default variables in form.
* estado_grupo.php: Small bug fixed.
* estado_ultimopaquete: Small bug fixed.
* estado_generalagente.php: Small bug fixed.
* view_server.php: Small bug fixed.
* fgraph.php: Now agent with only one kind of module render module
distribution graph.
* stat_win.php: Fixed small bug with windows ids.
* module_manager.php: Fixed small bug.
* modificar_agente.php: Fixed small bug.
* module_list.php: Fixed stupid bug.
* god_mode/menu.php: Fixed problem with menu position.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* functions_db.php: Added give_network_profile_name() function.
* language_en.php: Added new strings.
* index.php, ver_agente.php, estado_generalagente.php: Some style
fixes.
* view_server.php: Added support for recon servers. Added LAG
check for server processing queue.
* view_server_detail.php: Added, to get updated information in
realtime for queues processed by recon server.
* modificar_agente.php: Now deletes associated IP addresses when
deleting an agent.
* manage_network_templates*.php: Manage network templates / profiles.
* manage_recontask*.php: Editor for network tasks (recon server).
* menu.php: Added new options.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Upgraded scheme, many changes and many tables
added. I Need to commit the new "preloaded" data for this scheme,
give me some days, this stuff are on development.
* includes/styles/*: Many additions to reflect new menu options,
and the tab menu title.
* reporting/fgraph.php: Minor changes to format progressbar.
* godmode/modules/*: Many many changes and additions (manage_*)
for the new management system using tabs :-)
* include/languages/language_es_es.php: Many additions.
* operation/servers/view_server.php: Implemented detailed load for
each servertype and latency time to each server to detect problems
with high load.
Many changes in godmode subsystem. Not detailed at this time.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Modified, but needs update!, not
finished.
* .png: Many files added.
* Massive commit. Updated almost every file for agent
visualization, module visualizacion, agent management, index,
styles, and more. Added many icons, and altered so many files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/god.css: Moved style block.
* include/styles/link.css: Moved style block.
* include/styles/op.css: Moved style block.
* include/styles/pandora.css: Added some clases for new
appearance. Needs to be improved, not finished yet !.
* include/config.inc.php: Changed version number.
* index.php: Some changes for new block disposition using
data_box class and other changes.
* operation/agentes/ver_agente.php: Now shows data in three
tabs. Needs to be improved, but functional.
* operation/agentes/estado_generalagente.php: Change in title
order. This should be the way to show title and subtitle since
now.
* operation/messages/message.php: Changed icon, and fix problem in
CSS. Deleted class: Classes with only fix weight should be avoided
from now and added in code just with a style attribute, it
generates too many classes in main CSS.
* images/bottom-*-corner.gif: Added.
* general/footer.php: Needs to be updated.
* general/links_menu.php: New style in use (different color for
top).
* godmode/agentes/module_manager.php: New file to manage in tabs
agent configuration. Almost functional, needs fix.
* godmode/agentes/alert_manager.php: Content of alert management
for agent manager, now in a individual file to be shown in a tab.
* godmode/agentes/configurar_agente.php;
* godmode/agentes/agent_manager.php: New file to manage in tabs
agent configuration. Almost functional, needs fix.
* godmode/menu.php: New style in use (different color for top).
This is a partial commit not fully functional, need to be done due
to many changes in a temporal development computer. Sorry for
problems to people that are testing SVN version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Upgraded SQL. Improved lenght for some fields.
* index.php: Better permission checks
* operation/agentes/estado_ultimopaquete.php: Changed some
parameters for agent graphics.
* operation/agentes/estado_generalagente.php: Changed some
parameters for agent graphics.
* reporting/fgraph.php: MAJOR UPGRADE. Replacement for three main
graphics from agents now using Image Graph.
* reporting/stat_win.php: MAJOR UPGRADE.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@379 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: Updated to have new styles for
installer.
* include/config.inc.php: New skeleton for config, used in wizard.
* install.php: NEW wizar/installer for console.
* index.php: Some modifications for main page.
* operation/incidents/incide*: Some header changes.
* operation/active_console/index.php: Header changes.
* images/*: New images for wizard.
* general/error_*.php: New messages for wizard.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: added unixtime field to tagente_datos,
tagente_datos_string and tagente_estado tables. Future queries
will use UNIX time instead of "Human" timestamp strings.
* index.php: Small fix of duplicated body html tag.
* agentes/estado_ultimopaquete.php: [DEBUG] Add a debug ICON for new
graph... need to be delted.
* /active_console/styles/main.css, and many .js: Style correction
(massive changes), only indented and commented, no changes in
code.
* reporting/fgraph.php: CURRENTLY CHANGING CODE, NOT USE.
* reporting/stat_win.php: Unified parameter parsing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Added function to get
info for events (return_event_description().
* include/languages/language_en.php: More new strings.
* include/functions.php: Pagination improved !. not finished yet.
* pandora_console/index.php: Added some credits to main page.
* operation/incidents/incident.php: Improved incident
visualization. Fixed some render bugs in last raul's commit :->
* operation/incidents/incident_detail.php: Now incidents could be
"reported" using event button for submit incident.
* operation/events/events.php: Pagination is now using LIMIT SQL
syntax, and pagination works fine. Several issues fixed, and added
function to report incident from here.
* images/ok.gif, cancel.gif: Changed icon.
* images/control_start_blue.png: Added.
* images/page_lightning.png: Added.
* images/control_rewind_blue.png: Added.
* images/control_end_blue.png: Added.
* images/control_fastforward_blue.png: Added.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Added FMS to title (trunk)
* include/languages/language_es_es.php, language_en.php,
language_es_la.php, language_it.php: Remove "distributed" from title
(trunk)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@247 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* index.php: Add new text about authors.
* functions.php: Add new text about authors. Change PATH to noaccess.php file.
* noaccess.php: Add new text about authors.
* login_failed.php: Add new text about authors.
* logoff.php: Add new text about authors.
* config.php: Add new text about authors.
* configurar_usuarios.php: Add new text about authors. Clean code. Solve small bug that avoid creating a new user. Add a line between table and button. Add different colors between rows (cosmetic changes).
* pandora.css: Added new class .datos2t
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* setup.php: New background editor in setup (from Babel Project) added to Pandora.
* New background images.
* Replaced again jpgraph with a -running- version.
* pandora.css: Updated, fixed and added some styles (
* language_en.php: Added a few tokens. Sorry Raul, it's necessary.
* functions.php: Added a new function to list files in a directory (taken from Babel Project).
* fgraph.php: Added a new progressbar function (taken from Babel Project).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@68 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* configurar_agente: MANY changes.
- New SNMP feature to make a SNMP walk of current IP target and show in a new snmp oid combo.
- Now the SNMP works with alphanumeric and numeric OID's :-).
- Cosmethic changes in the way we show the tables.
- New "cancel" buttons in alert and module edition mode
- New "setup" button to cancel edition mode and re-get the general setup display of agent.
* estado_grupo.php, some important changes and fixes:
- New feature to referesh ALL the network modules under a group if push the "network refresh" button.
- Need to be finished by Raul, to show detailed info only in the hint.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@62 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f