* 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