* 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
* include/functions.php: Style correction.
* general/footer.php: Fixed link to Firefox and make it
translatable.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* functions.php: Added function to clean SQL string.
* setup/news.php: Fixed problem adding new news.
* setup/link.php: Added mysql recheck to input var.
* login_page.php: Removed "Welcome", added a blank line before title.
* logon_failed.php: Was rending bad in IE.
* footer.php: Added Firefox button and tooltip about best view in Firefox.
* header.php: Old rendering was crazy in IE. New code to set render exactly
equal on IE and Firefox. PLEASE DO NOT USE TABULAR phpp functions here, this is
pure HTML formatting.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Removed data for locale, added for new
date string format.
* include/functions_html.php: Deletion of table properties
after calling it makes a bad render on several pages that uses
some properties for other things (width).
* include/functions_reporting.php: Added several checks to avoid
notices.
* include/config_process.php: Removed locale code. Added code for
new datetime string format.
* include/locale.class.php: Removed.
* include/functions.php: pandora_help() was not returning correct output.
Added format_datetime() function to render date / time strings in user
defined format.
* include/functions_db.php: Added check in get_monitors_down() to avoid
notice in void foreach.
* operation/incidents/incident_detail.php: Solved problem with attachments.
* operation/users/user.php: Solved problem with old help_lang[] array.
* operation/messages/message.php: Sime minor fixes and style improvements.
* operation/servers/view_server.php: Remove description.
* operation/servers/view_server_detail.php: Removed bad field retrieval
from database and added format_datetime().
* reporting/fgraph.php: Fixed small problem in monitors_health_pipe().
(changed parameters).
* general/footer.php: Updated use of new functions.
* general/header.php: Added blank spaces between icons and texts.
* godmode/setup/setup.php: Management of new string format for datetime.
* godmode/profiles/profile_list.php: Submit button now uses div instead
tables.
* godmode/reporting/reporting_builder.php: Added check before foreach() to
avoid notice warnings. Changed div for buttons.
* godmode/reporting/map_builder.php: Fixed div for submit button.
* godmode/servers/modificar_server.php: Fixed typo in SQL sentence.
Removed usage of not-used-now locale format functions. Alter legend to use
a plain-formatted table to avoid background color in legend.
* /en/help_date_format.php: Added help for date format string.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1023 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
* include/locale.class.php: Locale class for number, time and money
formatting. Latest version, much corrections.
* include/functions_db.php: HTML corrections (close tags)
* include/config_process.php: Process $config['locale'] and init LOCALE
class. Still needs to be implemented in a "userspace" function
* general/footer.php: Updated footer to use locale class (not function)
to display the date and number. Just an example of the possibility
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/general/logon_ok.php: Made the query use sprintf (for security purposes)
* pandora_console/include/functions_db.php: Made all the database queries relying on a single query function for simpler management
Also made sure that no functions returned NULL because NULL is a valid database value. It will return an empty value or something
Also made a simple query cache array so that duplicate queries to generate a single page won't be repeated (ACL queries)
Also updated some other queries and functions (see the diff) and removed some old code
* pandora_console/estado_grupo.php: Now with working agents counter!
* pandora_console/general/footer.php: Just made a fancy counter that displays how much queries weren't duplicated (90 on some pages!!)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@953 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Alert type 0 is not 1. 1-3 are reserved. Removed
prediction module (nosense since it uses normal modules).
* include/functions_db.php: Added wrapper give_db_value to get_db_value
because A LOT of code uses old syntax and this makes too many errors.
* include/functions.php: Fixed pagination issues with blocksize config.
* pandoradb.sql: Change alert command lenght and added some comments
for future implementation of alert criticity and others.
* operation/incidents/incident.php: Fixed some bugs calling to old
funcions / variables.
* operation/events/events.php: Fixed some bugs calling to old
funcions / variables. Removed graph and simplified header.
* operation/agentes/estado_alertas.php: Changed get_db_value call
and removed (Raul) button to create alert from here.
* operation/agentes/estado_grupo.php: Implemented support for optional
view of down modules and fired alerts.
* operation/agentes/ver_agente.php,
operation/agentes/datos_agente.php: Uses of new get_db_value and
new session id variable.
* images/mod_async_string.png: Added image.
* images/mod_async_inc.png: Added image.
* images/mod_image_png.png: Added image.
* images/mod_async_data.png: Added image.
* images/mod_async_proc.png: Added image.
* images/mod_image_jpg.png: Added image.
* godmode/setup/setup.php: Several fixes.
* godmode/agentes/alert_manager.php: Several changes for new alert manager.
Not finished. Interim commit.
* godmode/agentes/configurar_agente.php: More changes needed to alert editor.
* godmode/agentes/alert_manager_editor.php: New file for alert management.
* godmode/modules/module_list.php: Some updates, removed invalid column.
* godmode/alerts/modify_alert.php: Alert types < 4 cannot be modified (this
includes combined, internal audit and Pandora FMS log).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@783 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
* 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
* 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
* 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
* pandora_server/data_in: Removed old directory.
* pandora_server/config/pandora_server.conf: Changed data_in directory to
/var/spool/pandora/data_in.
* pandora_agents/win32/installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: Updated with last binary file.
* pandora_agents/win32/installer/pandora.mpi: Update installer script file.
* pandora_agents/win32/installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: deleted old file.
* pandora_agents/win32/bin/pandora_agent.conf: Changed path in server to
/var/spool/pandora/data_in.
* pandora_console/general/footer.php: Add variable $time to get time from server which PHP < 5.1. Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/footer.php: Change time() function to $_SERVER['REQUEST_TIME']
for optimization, Esteban's suggestion. Changed text from Pandora to
Pandora FMS.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@268 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