* 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
* extensions/update_manager/lib/*: Update Manager has its own license
header which must be respected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager*: Updated GPL header. Added
more text about Update Manager anonymous information gathering.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager.php: Style correction. Removed force
updating of the settings.
* extensions/update_manager/load_updatemanager.php: Run the keygen if
the user is not the free one.
* extensions/update_manager/main.php: Show information message to free
users.
* extensions/update_manager/settings.php: Allow updating keygen and
binary path settings.
* extensions/update_manager/lib/*: Updated to latest version of Open
Update Manager.
* extensions/update_manager/sql/update_manager.sql: Set keygen path.
* godmode/extensions.php: Bug solved that was avoiding to show defined
extensions. Fixed ACL check.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1066 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/fgraph.php: Rollback to r1049. It still needs some tests,
will be readded in next Pandora major version.
* reporting/pandora_graph.php, reporting/pearimage_graph.php: Deleted
from repository.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1065 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager.php,
extensions/update_manager/sql/update_manager.sql: Fixed update server
path typo error.
* extensions/update_manager/load_updatemanager.php: Force values to be
integer.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmp/snmp_console/snmp_view.php: File, not updated in last commit,
my SVN client doesn't work well.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager.php: Get user key with the function
instead of the unexistent keygen.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/sql/update_manager.sql,
extensions/update_manager.php: Updated server info to
the final Update manager host.
* extensions/update_manager/main.php: Added a information message
about Update Manager extension.
* update_manager/load_updatemanager.php: Get module count into user
key.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1058 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
* operation/snmp/smp_console/snmp_view.php: Show substring in custom value, when the mouse is over data, it shows all the custom value. Cosmetic change.
* operation/events/events.php: Closed several html tags.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/pandora_graph.php: Added to repository. New abstract class
PandoraGraphAbstract to allow the change of the graphic engine easily.
* reporting/fgraph.php: Rewritten to remove all the references to
PEAR::Image and replaced by the new Pandora Graph abstract class.
* reporting/pearimage_graph.php: Added to repository. Implements
PandoraGraphAbstract class with the PEAR::Image functions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/, fgraph.php: Moved licence of libraries to LGPL.
* install.php: Added dependency check for several new includes
from pear (xml_rpc and DB), also graphviz twopi binary and check
in step1 for a writable config.php and ./include dir. Some other
minor fixes (esthetic).
* pandoradb.sql: Table tagent_data_image was still there. This
comes with next version (I hope), not this one.
* pandoradb_data.sql: db_scheme_build update and removed modules
components without proper id_module.
* networkmap.php: Another foreach() notice fixed.
* upgrade.php: Moved to contrib branch in SVN.
Old pandora SQL conversion files, deleted (was present in its branches).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1049 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php: Updated the queries and fixed some minor
bugs with the event selections. Style changes.
* operation/agentes/networkmap.php: Style changes
* pandora2ast: Removed hidden swapfile
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager.php: Added function to update Update
Manager settings.
* extensions/update_manager/load_updatemanager.php: Added user key
generation function. Update manager free extension do not use a keygen
binary file.
* extensions/update_manager/main.php: Changes to key generation,
because free extension do not use keygen.
* extensions/update_manager/settings.php: Removed configuration of
keygen and upgrading directory.
* extensions/update_manager/lib/libupdate_manager.php,
extensions/update_manager/lib/libupdate_manager_utils.php: Updated to
latest version of Update Manager.
* extensions/update_manager/lib/libupdate_manager_client.php: Removed
debug flag and errors to be less intrusive for the user. Updated to
latest version of Update Manager.
* extensions/update_manager/sql/update_manager.sql: Changed default
settings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/extensions/update_manager.php: Check for an empty
variable so it doesn't give a warning
* pandora_console/extensions/update_manager/lib/libupdate_manager_utils.php,
libupdate_manager_client.php: Removed referenced variables from
function calls so it doesn't give a warning that it is deprecated.
* pandora_server/util/pandora2ast: Pandora to Asterisk script. Check README
for how to install it and use it
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: Fixed an error when there were no
elements in the map that cause Javascript failure and nothing works.
Thanks Jorge for the advice.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/menu.php, operation/menu.php: Updated to solve small ugly effects.
* include/styles/op.css, god.css: Updated to solve small ugly effects. god.css needs to be changed to the new "version".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1040 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
* godmode/agentes/modificar_agente.php: Updated delete routine to
include a transaction. This way the database consistency is
guaranteed in case a query causes a problem as follow up on Bugs
item #2073383. Also some style updates
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1033 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
* 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
* include/functions_html.php: Fixes the bug if the table is not unset by referencing & blanking out the object from within the function
* godmode/servers/modificar_server.php: Removed the unset() since it isn't necessary anymore.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1022 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
* pandoradb*.sql: tplanned_downtime: Fixed a typo, changed timestamp
types, added executed field and removed id_agent_module.
* manage_config.php: (Problem copying keep_alive modules
and alerts and solved bad message with no data supplied.
* manage_config_remote.php: Solved BUG #2042788 Fixed, was missing
extension in filename check.
* planned_downtime.php: Major rewrite. Now works with server model of
planned downtimes based on select agents to disable in specific times.
Using unixtime was a very nice idea, so the javascript controls are
fantastic to do this job!. Thanks Esteban and Evi!.
* manage_recontask*: Some issues with styles, using new div for button.
* modificar_server.php: Some issues with styles, using new div for button
* config.inc.php: By default, show errors, easy to debug first problems.
* functions_db.php: Fixed problems detected in borrar_incidencia() function
(this is delete_incident in spanish).
* estado_agente.php: Added support to search by IP address in agent view.
* networkmap.php: Regen on by default, Font label shortened.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/modificar_server.php.
godmode/servers/manage_recontask_form.php,
godmode/servers/manage_recontask.php: HTML and SQL overhaul. Now uses
the new functions that are available in functions_html.php.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/profiles/profile_list.php: HTML overhaul (close tags, put
brackets and quotes in the right places. Now uses new functions
instead of the old ones
* include/locale.class.php: Updated and added functions. See internals
for updated functions. It now allows to put a translated array of
languages, countries and currency instead of the built-in english one
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/locale.class.php: Fixes in Translate_Locale() to work
properly. Tab style correction in all the file, use tabs instead of
blankspaces.
* godmode/setup/setup.php: Added locale configuration option.
* pandoradb_data.sql: Added locale to tconfig.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1013 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
* operation/menu.php: Fixes events submenu and link to CSV exporting.
Style correction.
* images/rss.png: Added to repository.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_purge.php: Use print_help_tip() to show help tip.
* godmode/profiles/profile_list.php: Use print_help_tip(). Removed
deprecated $help_label.
* godmode/users/configure_user.php: Better code to show user level
radio buttons and help.
* include/functions_db.php: Removed deprecated function
load_lang_file().
* operation/agentes/datos_agente.php, ajax.php,
operation/reporting/reporting_viewer_pdf.php, reporting/stat_win.php,
operation/agentes/exportdata.php: Removed inclusion of old
language files.
* include/languages/index.pot: Regenerated and added header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php: Made short tag, normal tag
* include/functions.php: Got rid of references to language files
* godmode/servers/plugin.php: Made proper english
* godmode/servers/manage_recontask.php: Made proper HTML
* godmode/profiles/profile_list.php: Translation of help strings
* godmode/agentes/manage_config_remote.php: Fixed typo that generated errors
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f