Commit Graph

97 Commits

Author SHA1 Message Date
jorgonzalez ec794a1f31 2008-12-18 Jorge Gonzalez <jorgegonz@artica.es>
* pandoradb_data.sql, pandoradb.sql: removed extra '-' which made the 
          file invalid for mysql population.   

        * include/languages/es.po, include/languages/es.mo: Updated Spanish
          translation.

        * include/languages/index.pot: Updated po template.

        * general/footer.php: changed format_datetime to print_timestamp.

        * godmode/setup/setup.php: moved the enterprise hook so the table 
          fields show properly in both versions. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-18 11:41:20 +00:00
guruevi 05a5a32235 2008-12-16 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/logon_ok.php, godmode/agentes/modificar_agente.php, 
	godmode/agentes/planned_downtime.php, 
	godmode/agentes/manage_recontask.php, godmode/setup/news.php, 
	operation/agentes/datos_agente.php, operation/agentes/estado_agente.php,
	operation/agentes/status_events.php, operation/agentes/tactical.php, 
	operation/events/events.php, operation/incidents/incidents.php,
	operation/incidents/incident_detail.php, operation/messages/message.php:
	Function updates and new function definitions
	
	* include/functions.php: safe_input used utf_decode which gives problems
	with foreign chars since everything else is (or should be UTF-8) fixed.
	format_datetime is no longer necessary - use print_timestamp for output.
	Extended multibyte wrapper functions.
	
	* include/functions_db.php: give_server_name is now get_server_name; 
	dame_so_name is now get_os_name; dame_so_icon is now print_os_icon;
	show_icon_group is now print_group_icon; give_network_profile_name is now
	get_networkprofile_name; smal_event_table is now print_events_table
	
	* include/functions_events.php: print_events_table was moved here and 
	fixed. Now calculates the cutoff of event and agent text.
	
	* include/functions_html.php: Added title to print_table function and 
	updated documentation. print_timestamp now uses the new function 
	definitions (array) and handles 0-dates better. print_group_icon and 
	print_os_icon added and extended. Added print_agent_name. This function 
	fixes issues that show up when cutting off agent names with multibyte char
	
	* operation/servers/view_server.php: Rewrite with new functions

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-12-17 14:26:42 +00:00
guruevi 11f3b7ba26 2008-11-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/servers/view_server.php: Small language fix

        * operation/agentes/tactical.php: Rewrite using new functions and
        cleaner html. More understandable and outsourced calculations to
        get_group_stats

        * include/styles/pandora.css: Clean up CSS deprecated in other files

        * include/javascript/pandora.js: Noticed a small style difference

        * include/help/en/help_serverlag.php: Hopefully this makes server lag
        somewhat more understandable (I didn't know what it was)

        * include/functions_reporting.php: Renamed general_stats to
        get_group_stats and made it accept arrays. Also added ACL check and
        an easier output format. All calculations are now done here.

        * include/functions_html.php: print_table would always reset
        cellpaddings and cellspacing from 0 to 4. Fixed it

        * include/functions_db.php: Deprecated server_status for
        get_server_info. Added get_server_info which accepts single values or
        arrays of servers to be checked.

        * include/functions.php: Removed clean_output_breaks. Use built-in
        function nl2br() for that instead. They're faster and cross-platform

        * general/logon_ok.php: Same as tactical.php (both had to be updated)

        * ChangeLog: Somebody started using spaces instead of tabs?

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-11-11 14:24:34 +00:00
jorgonzalez 33ed2daacb 2008-10-22 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish 
          translation.

        * include/languages/index.pot: Updated po template file.

        * operation/messages/message.php, operation/servers/view_server.php,
          general/logon_ok.php, godmode/admin_access_logs.php,
          godmode/db/db_purge.php, godmode/agentes/manage_config.php,
          godmode/agentes/planned_downtime.php,
          godmode/agentes/manage_config_remote.php,
          godmode/reporting/graph_builder.php,
          godmode/servers/modificar_server.php: Updated translation
          infrastructure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-22 15:03:48 +00:00
raulmateos 3b33d2ab0e 2008-10-11 Raul Mateos <raulofpandora@gmail.com>
* images/firefox.png: Moved from .gif to .png. WE SHOLDN'T USE .gif FILES!
	* general/footer.php: Added year header. Changed image link to .png

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1144 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-10-11 19:00:18 +00:00
slerena 7d9eaac721 2008-10-10 Sancho Lerena <slerena@artica.es>
* 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
2008-10-10 15:08:31 +00:00
Ramon Novoa c189cdb765 2008-09-25 Ramon Novoa <rnovoa@artica.es>
* general/pandora_help.php: Fixed bug #2119100.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-25 15:08:06 +00:00
guruevi 6287d8e5fb 2008-09-24 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/functions_db.php: Fixed a small bug in get_db_value and fixed 
        check_server_status () to return an int at all times

        * general/header.php: Removed my old table code. Fixed bug #2119102.

        * ChangeLog: Made Jorge's entry use tab instead of spaces

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-24 14:34:52 +00:00
slerena f52b03b73a 2008-09-03 Sancho Lerena <slerena@artica.es>
* reporting/fgraph.php: URL passed should don't get slashes or 
	don't work, used unsafe_string() to remove it.

	* datos_agente.php: was not showing async string data. Now it
	uses a regexp to search for string types.

	* logon_ok.php: Was using a wrong variable on message counter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1079 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-03 16:27:28 +00:00
Esteban Sanchez 802bf1b359 2008-09-02 Esteban Sanchez <estebans@artica.es>
* 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
2008-09-02 17:21:22 +00:00
slerena 9a4725dd3e 2008-09-02 Sancho Lerena <slerena@gmail.com>
* 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
2008-09-02 16:08:11 +00:00
raulmateos c97bc978fa 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* general/error_noconfig.php, error_perms: Updated pages title.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 09:43:32 +00:00
raulmateos a90f6aecdd 2008-09-01 Raul Mateos <raulofpandora@gmail.com>
* general/error_install.php: Forgot to submit the page.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-09-01 09:41:03 +00:00
slerena e78d2c2bbc 2008-09-01 Sancho Lerena <slerena@artica.es>
* 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
2008-09-01 08:51:04 +00:00
slerena a1ccf34e56 2008-08-22 Sancho Lerena <slerena@gmail.com>
* Massive header update. We're now officially on Beta1.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-22 18:07:32 +00:00
slerena 404e43c9fc 2008-08-22 Sancho Lerena <slerena@gmail.com>
* 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
2008-08-22 14:28:00 +00:00
Esteban Sanchez 47e14f88b9 2008-08-21 Esteban Sanchez <estebans@artica.es>
* include/functions_html.php: Added an optional parameter to 
        print_input_text_extended() to allow password inputs. Replaced 
        print_input_password_extended() with print_input_password().

        * general/login_page.php: Replaced print_input_password_extended()
        with print_input_text_extended(). Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 21:57:11 +00:00
guruevi 3ac0eccf78 2008-08-21 Evi Vanoost <vanooste@rcbi.rochester.edu>
* 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
2008-08-21 21:07:20 +00:00
Esteban Sanchez 4c922ded73 2008-08-21 Esteban Sanchez <estebans@artica.es>
* general/pandora_help.php: Added a require of a functions file. Added
        missing HTML tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 14:13:58 +00:00
guruevi 20c7a00281 2008-08-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* 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
2008-08-19 17:09:44 +00:00
Esteban Sanchez 145bc28f91 2008-08-12 Esteban Sanchez <estebans@artica.es>
* pandoradb_data.sql: Added default languages.

	* include/streams.php, include/gettext.php: Added to repository. New
	files to add gettext support of mo files.
	
	* include/functions_db.php: Function lang_string() functionallity
	changed to use gettext library.

	* include/languages/language_es_es.php,
	include/languages/language_gl.php, include/languages/language_en.php,
	include/languages/language_pt_br.php,
	include/languages/language_it.php,
	include/languages/language_ast_es.php,
	include/languages/language_es_la.php,
	include/languages/language_de.php, include/languages/language_fr.php,
	include/languages/language_ca.php: Files deleted, they are
	deprecated since we have moved to gettext.

	* lude/languages/pt_br.mo, include/languages/es.mo,
	include/languages/fr.po, include/languages/it.po,
	include/languages/ca.po, include/languages/ast.po,
	include/languages/de.po, include/languages/gl.mo: Gettext translations
	of the previous languages we have in language_*.php files.

	* include/languages/Makefile: Added to repository to generate
	index.pot and mo files of each translation.

	* include/functions_reporting_pdf.php,
	include/functions_reporting.php, include/config_process.php,
	include/functions.php, include/functions_visual_map.php, index.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_note.php,
	operation/incidents/incident_search.php,
	operation/incidents/incident_statistics.php,
	operation/snmpconsole/snmp_alert.php,
	operation/snmpconsole/snmp_view.php, operation/users/user.php,
	operation/users/user_edit.php, operation/users/user_statistics.php,
	operation/events/event_statistics.php, operation/events/events.php,
	operation/visual_console/render_view.php,
	operation/visual_console/index.php,
	operation/agentes/estado_alertas.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_grupo.php,
	operation/agentes/datos_agente.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/bulbs.php,
	operation/agentes/sla_view.php, operation/agentes/exportdata.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php, operation/agentes/estadisticas.php,
	operation/agentes/tactical.php, operation/agentes/networkmap.php,
	operation/messages/message.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/custom_reporting.php,
	operation/servers/view_server.php,
	operation/servers/view_server_detail.php, operation/menu.php,
	reporting/fgraph.php, reporting/stat_win.php, general/logoff.php,
	general/pandora_help.php, general/footer.php, general/noaccess.php,
	general/logon_failed.php, general/links_menu.php,
	general/login_page.php, general/logon_ok.php, general/header.php,
	general/main_menu.php, godmode/groups/configure_group.php,
	godmode/groups/group_list.php, godmode/setup/news.php,
	godmode/setup/links.php, godmode/setup/setup.php,
	godmode/users/user_list.php, godmode/users/configure_user.php,
	godmode/profiles/profile_list.php, godmode/admin_access_logs.php,
	godmode/db/db_info_data.php, godmode/db/db_main.php,
	godmode/db/db_audit.php, godmode/db/db_refine.php,
	godmode/db/db_info.php, godmode/db/db_event.php,
	godmode/db/db_purge.php, godmode/agentes/agent_template.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/alert_manager.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/alert_manager_editor.php,
	godmode/agentes/manage_config.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/agent_disk_conf_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php,
	godmode/agentes/agent_manager.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/graph_builder.php, godmode/servers/plugin.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/modify_alert.php, godmode/alerts/configure_alert.php,
	godmode/menu.php: Replaced string parameters of __() callings to
	plain english. Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 12:06:25 +00:00
Esteban Sanchez f5f4164911 2008-08-11 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added __ as an alias of lang_string().

	* include/functions_reporting_pdf.php,
	include/functions_reporting.php, include/functions.php,
	include/functions_visual_map.php, index.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_note.php,
	operation/incidents/incident_search.php,
	operation/incidents/incident_statistics.php,
	operation/snmpconsole/snmp_alert.php,
	operation/snmpconsole/snmp_view.php, operation/users/user.php,
	operation/users/user_edit.php, operation/users/user_statistics.php,
	operation/events/event_statistics.php, operation/events/events.php,
	operation/visual_console/render_view.php,
	operation/visual_console/index.php, operation/extensions.php,
	operation/agentes/estado_alertas.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_grupo.php, operation/agentes/export_csv.php,
	operation/agentes/datos_agente.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/bulbs.php,
	operation/agentes/status_events.php, operation/agentes/sla_view.php,
	operation/agentes/exportdata.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php, operation/agentes/estadisticas.php,
	operation/agentes/tactical.php, operation/agentes/networkmap.php,
	operation/messages/message.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/custom_reporting.php,
	operation/servers/view_server.php,
	operation/servers/view_server_detail.php, operation/menu.php,
	reporting/fgraph.php, reporting/stat_win.php, ajax.php,
	general/logoff.php, general/pandora_help.php, general/footer.php,
	general/noaccess.php, general/logon_failed.php,
	general/links_menu.php, general/login_page.php, general/logon_ok.php,
	general/header.php, general/main_menu.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/setup/news.php, godmode/setup/links.php,
	godmode/setup/setup.php, godmode/users/user_list.php,
	godmode/users/configure_user.php, godmode/profiles/profile_list.php,
	godmode/admin_access_logs.php, godmode/db/db_info_data.php,
	godmode/db/db_main.php, godmode/db/db_audit.php,
	godmode/db/db_sanity.php, godmode/db/db_refine.php,
	godmode/db/db_info.php, godmode/db/db_event.php,
	godmode/db/db_purge.php, godmode/extensions.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/alert_manager.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/alert_manager_editor.php,
	godmode/agentes/manage_config.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/agent_disk_conf_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php,
	godmode/agentes/agent_manager.php,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/graph_builder.php, godmode/servers/plugin.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/modify_alert.php, godmode/alerts/configure_alert.php,
	godmode/menu.php: Replaced $id_user with $config['id_user']. Use __a
	instead of $lang_label to future use of gettext. Style
	corrections.

	* godmode/agentes/planned_downtime.php: Rewritten to use Pandora
	functions and adopt the UI style. Replaced lang_string with __().

	* pandoradb.sql: Fields in tplanned_downtime renamed to fit
	guidelines.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-11 10:59:07 +00:00
Esteban Sanchez 6173f0bf72 2008-08-05 Esteban Sanchez <estebans@artica.es>
* include/functions_extensions.php: Added function to call login
        functions of the extensions. Functions renamed.

        * include/styles/pandora.css: Added style to notify bubble.

        * general/logon_ok.php: Added extensions login functions call. Style
        correction.

        * include/functions.php: Fixed array values cleanup on safe_input(). 
        Documentation added to clean_output_breaks().

        * index.php: Renamed functions fix.

        * operation/menu.php: Style correction.

        * ChangeLog: Added comment about commit #1000.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-05 10:47:40 +00:00
Esteban Sanchez 00bb3be3f1 2008-08-04 Esteban Sanchez <estebans@artica.es>
* 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
2008-08-04 14:29:41 +00:00
slerena 2f2ec46b1c 2008-07-31 Sancho Lerena <slerena@gmail.com>
* include/help/en/help_plugin_definition.php: New help page for 
	plugin register section.

	* include/javascript/pandora.js: Help window now shows scrollbar.

	* general/pandora_help.php: Better layout for help system.

	* godmode/servers/plugin.php: Fixed position / menu issues and other
	menor bugs in plugin editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 16:14:04 +00:00
slerena 627e1187ad 2008-07-30 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Some changes in structure for new export server. Removed
	and extra comma in tplanned_downtime.

	* pandoradb_data.sql: Deleted some stuff from Gigabit module templates, 
	too much.

	* logon_ok.php: Header update.

	* menu.php: Plugin editor moved under server section.

	* modificar_agente.php: Added icon to agent config editor from manage
	agents view.

	* links.php: Some code cleanup.

	* pandora.ico: New .ICO file for web, this will be official one for
	2.0 version.

	* functions_db.php: Fixed a problem in audit_db() where parameters
	was not properly cleaned and with ' chars this makes an SQL error.
	Fixed BUG #2032885, in function get_monitors_in_agent () where a 
	bad SQL forced an error in report.

	* estado_agente.php, estado_generalagente.php: Added link to group 
	view from group icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 18:39:40 +00:00
guruevi 6f8feafda3 2008-07-30 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb.sql: Updated schema for tplanned_downtime

	* include/functions_db.php: Small bug that gave a warning in case there were no events for an agent

	* godmode/agentes/planned_downtime.php: You can now create planned downtime schedules. This 
	won't work yet as the server doesn't support it yet. So I didn't integrate it in the menu either, but it can be.

	* general/links_menu.php: The first link will also show up. It wasn't showing up because the mysql function
	that was used moved the internal pointer ahead while checking if it existed. Used new functions.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 18:19:58 +00:00
guruevi 12efa658cf 2008-07-29 Evi Vanoost <vanooste@rcbi.rochester.edu>
* functions_db.php: Style changes, updated process_sql so it can return other
        interesting stuff on INSERT. No functions have direct mysql functions anymore

        * logon_ok.php: Style changes. Made it use the DB functions


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-29 16:50:17 +00:00
raulmateos 26fa4599dc 2008-07-26 Raul Mateos <raulofpandora@gmail.com>
* Commited again the files due to failure in my svn client (no recursive)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-26 16:25:12 +00:00
raulmateos 6f155a19fd git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2008-07-26 16:24:01 +00:00
guruevi c7ae3bd073 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/general/logon_ok.php: Fixed bug, the latest update failed in the middle (SourceForge SVN problems) and didn't include this file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-21 13:08:25 +00:00
Esteban Sanchez 3a96085c9a 2008-07-17 Esteban Sanchez <estebans@artica.es>
* include/functions.php: Minimal style correction.

        * include/functions_db.php: Check sql_cache with empty() to avoid
        notices.

        * operation/agentes/status_monitor.php: Tab style correction.

        * general/logon_ok.php: Added missing field to SQL sentence which was 
        causing PHP notices.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 06:41:39 +00:00
guruevi 086ec57b3c 2008-07-13 Evi Vanoost <vanooste@rcbi.rochester.edu>
* 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
2008-07-15 20:19:30 +00:00
guruevi 15283d4b31 2008-07-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/agentes/networkmap.php: Some minor bugfixes introduced with my changes yesterday

        * pandora_console/general/links_menu.php: 2 queries for a menu? Changed it to a single query. This list will likely never be empty - if it is, Links section won't be generated

        * pandora_console/general/logon_ok.php: Updated the queries to go faster. Changed the timestamp calculation to an indexed query using utimestamp and UNIXTIME(NOW())-604800

        * pandora_console/images/networkmap/8.png: Added the Mac OS X icon.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-14 18:00:54 +00:00
slerena d2377f9f09 2008-07-10 Sancho Lerena <slerena@gmail.com>
* include/styles/pandora_red.css: Updated.

	* include/styles/pandora_black.css: New style with BLACK blackground.

	* include/styles/pandora.css: Updated.

	* include/functions_db.php: Added auto order combos and queries.
	
	* include/functions_visual_map.php: Added overlap on down elements if
	there are more than one in the same position (This could allow to cluster
	elements to shown the down status first). Removed unused code.

	* operation/events/events.php: Added tooltip for group name.

	* operation/visual_console/render_view.php: Adjusted controls position.

	* operation/agentes/status_monitor.php: Added status for unknown monitors.
	Added some database search improvement.

	* operation/agentes/sla_view.php: Sorted list of items.

	* operation/agentes/ver_agente.php: Updated AJAX code for network map
	detail view of an agent. Added alert data.

	* operation/agentes/tactical.php: Removed 'fixed' styles, now using CSS.

	* operation/agentes/networkmap.php: Added ransep and font selectors. 
	Added alert under yellow color. Minor improvements.

	* operation/reporting/graph_viewer.php: Style update.

	* operation/menu.php: Visual console maps sort by name

	* images/background-li.gif: This sould replace <li> image.

	* general/login_page.php: Added build version on develop mode.

	* godmode/reporting/map_builder.php: Sorted lists, and shown module name 
	instead description.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-10 11:58:40 +00:00
guruevi 00451a0cbd 2008-07-07 Evi Vanoost <vanooste@rcbi.rochester.edu>
* 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
2008-07-07 17:33:31 +00:00
Esteban Sanchez bcd04b2130 2008-07-02 Esteban Sanchez <estebans@artica.es>
* 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
2008-07-02 12:30:56 +00:00
Esteban Sanchez 33992fd9e9 2008-06-30 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Renamed get_db_all_rows_sqlfree() to
        get_db_all_rows_sql(). Replaced all occurrences of old function name.

        * general/logon_ok.php, godmode/reporting/reporting_builder.php,
        operation/reporting/reporting_viewer.php, reporting/fgraph.php,
        include/functions_reporting.php: Replaced all occurrences
        ofget_db_all_rows_sqlfree() with get_db_all_rows_sql().

        * include/config_process.php: Do not add a slash to attachment_store 
        config variable.

        * include/functions.php: Style correction.

        * operation/agentes/estado_agente.php: Reduced one indentation level
        by using comprueba_login() propperly.

        * include/javascript/jquery.cluetip.js: Added to repository. jQuery 
        plugin to add cute tips support.

        * images/darrowdown.gif, images/darrowright.gif, images/darrowup.gif,
        images/darrowleft.gif, images/wait.gif, include/styles/cluetip.css: 
        Added to repository. Cute tips styling.

        * operation/agentes/networkmap.php: Added support to pretty tips to
        each node of the network map. Use a variable to define the name of 
        Pandora FMS node (maybe it would be a nice idea to let the user 
        configure it). Added an extra check for file existance when generating  
        the graphic. Use pandora functions in some cases. Style correction.

        * operation/agentes/ver_agente.php: Added AJAX support to get the
        current status of an agent to suit in a tooltip.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 08:11:10 +00:00
Esteban Sanchez 39dcecd957 2008-06-26 Esteban Sanchez <estebans@artica.es>
* 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
2008-06-26 14:57:11 +00:00
Esteban Sanchez e28ac09264 2008-06-26 Esteban Sanchez <estebans@artica.es>
* ajax.php: Sed id_user in config array.

	* godmode/menu.php, general/header.php, operation/menu.php: Replaced
	lang_label with lang_string().

	* general/logon_ok.php: Reduced one indentation level.

	* godmode/agentes/agent_manager.php: Replaced lang_label with
	lang_string(). Use pandora functions.

	* include/functions_html.php, godmode/agentes/configurar_agente.php:
	Tab and blankspaces style correction.

	* godmode/reporting/map_builder.php: Complete rewritten to provide an
	intuitive way of build the maps. It's cool, useful and very simple.

	* godmode/reporting/reporting_builder.php: Deleted an output debug.

	* godmode/setup/setup.php: Rewritten to use pandora functions. Added a
	colorpicker for color settings.

	* include/config.php: Reset pandora password. We must solve things
	with this file...

	* include/functions.php: Check if input is an array on safe_input().
	Use filename as id in array returned by list_files().

	* include/functions_db.php: Renamed return_coordinate_* functions.
	Style correction.

	* include/javascript/jquery.js: Updated to 1.2.6.

	* include/javascript/jquery.ui.datepicker.js: Code minimized.
	
	* include/javascript/pandora.js: Style correction.

	* include/javascript/wz_jsgraphics.js: Added a class to the elements
	of a line, so it can be modified using javascript.

	* /include/styles/pandora.css: Added style to some tables dropdowns.
	Added new styles relative to visual map editor.

	* operation/reporting/reporting_viewer.php: Style correction. Added
	jQuery UI.

	* operation/visual_console/index.php: Use Pandora functions.

	* operation/visual_console/render_view.php: Drawing the map is now on
	functions_visual_map.php. Added a countdown if a refresh time is set.
	Use pandora functions. Style correction.

	* reporting/fgraph.php: Style correction. Use graphic_error() if
	there's no data on grafico_modulo_sparse().

	* images/trash.png: Added to repository. Image used on trash area on
	visual map editor.

	* images/console/background/africa.jpg,
	images/console/background/asia.jpg,
	images/console/background/europe.jpg, 
	images/console/background/north_america.jpg, 
	images/console/background/oceania.jpg, 
	images/console/background/shouth_america.jpg, 
	images/console/background/world.jpg: Added to repository. Useful and
	cool map backgrounds.

	* include/functions_visual_map.php: Added to repository. Implements
	visual map functions like drawing the map.

	* include/javascript/jquery.colorpicker.js: Added to repository.
	Implements a color picker widget.

	* /include/javascript/jquery.countdown.js: Added to repository.
	Implements a countdown widget.

	* include/javascript/jquery.ui.core.js: Added to repository. jQuery UI
	core.

	* include/javascript/jquery.ui.draggable.js: Added to repository.
	jQuery draggable plugin.

	* include/javascript/jquery.ui.droppable.js: Added to repository.
	jQuery droppable plugin.

	* include/javascript/pandora_visual_console.js: Added to repository.
	Function useful to visual map interface.

	* include/languages/countdown_*.js: Added to repository. Countdown
	localization.

	* include/languages/date_es_la.js, include/languages/date_gl.js,
	include/languages/time_es_la.js, include/languages/time_gl.js: Added
	to repository. Missing localizations.

	* include/styles/color-picker.css: Added to repository. Colorpicker
	style sheet.

	* include/styles/countdown.css: Added to repository. Countdown style
	sheet.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@899 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-26 13:26:48 +00:00
slerena dc6e7d6fe2 2008-06-19 Sancho Lerena <slerena@gmail.com>
* Fixed some typos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 16:01:54 +00:00
slerena b6e45a9d99 2008-06-18 Sancho Lerena <slerena@gmail.com>
* pandoradbdata_13_to_20.sql: prototype. not functional.

    * operation/events/export_csv.php: Event export to CSV. Support
    passed filters.

    * images/networkmap/*.png: Updated icons for network map.

    * godmode/menu.php,
    * godmode/db/db_sanity.php: New sanity tool for database in interactive
    mode using console (ported from pandora_db.pl).

    * reporting/fgraph.php: Added graphs for string data types. Fixed
    event by agent/module graph for system events.

    * general/logon_ok.php, tactica.php: Fixed a div0.

    * godmode/agentes/manage_config.php: Several fixes, and added a new
    option to mass-deletion of agents.

    * godmode/agentes/agent_manager.php,
    godmode/agentes/modificar_agente.php: Delete of remote configuration
	when delete an agent and manually, by user. 

    * operation/servers/view_server_detail.php: Added refresh option and 
    fixed layout.

    * status_monitor.php: Added new filter by state, most code rewritten.
    Added pagination fixes, and corrected labels and legends.

    * operation/agentes/networkmap.php: Several fixes and modification to 
    render small maps and huge (>200 agents) maps. This should be fine by
    now. Need "Group/Section" drawing /by click into section line/.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 00:24:05 +00:00
slerena d135f1334f 2008-06-16 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Updated some new config tokens (graph colors), 
	updated group default names and icons, 

	* manage_config_remote.php, godmode/menu.php: Added new config to 
	manage/copy remote config from one agent to other(s).

	* agent_manager.php: When create a new agent, cannot select group "ALL".

	* agent_template.php: Fixed a weird bug that creates two tagente_estado
	records when using a module template.

	* alert_manager_editor.php: Fixed ACL problem assigning combined alert
	components. Better management of NOP in combined alerts (Automated NOP 
	when create the first component. Added NAND, NXOR y NOR).

	* manage_config.php: Solved some bugs copying configuration with new
	modules (Added support for new module types). Added filter for group and
	fixed ACL problems. Code cleanup and better layout.

	* module_manager_editor_prediction.php: ACL checks added.

	* config_process.php, setup.php: Support to choose color graphs.

	* functions.php: Fixed typo and removed N/A for alerts with min/max = 0
	
	* functions_db.php: Fixed another typo in give_disabled_group(), and added
	feature to list_group() combo to render or now group "ALL".

	* estado_generalagente.php: Added network push button for whole agent.

	* tactical.php: Some minor layout improvement.

	* ver_agente.php: Network FLAG change request for whole group, and fixed
	manual validation on combined alerts.

	* events.php: Event description don't show with " ' "characters. Fixed.

	* fgraph.php: graph_event_module() restored (was missing in last commit),
	added user-defined color support.

	* stat_win.php: Added support to choose another date for graph. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-16 18:09:56 +00:00
slerena 8fbed5f59f 2008-06-13 Sancho Lerena <slerena@gmail.com>
* 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
2008-06-13 16:59:54 +00:00
jorgonzalez a62c8ae61a 2008-04-03 Jorge Gonzalez <jo[Brge.gonzalez@artica.es>
* include/functions_db.php: New functions added to handle plugins and
        export servers.

        * include/languages/language_en.php: Updated English translation file.

        * general/header.php: Updated header.

        * godmode/agentes/manage_config.php,
        godmode/agentes/module_manager_editor_data.php,
        godmode/agentes/module_manager_editor_network.php,
        godmode/agentes/module_manager.php,
        godmode/agentes/modificar_agente.php,
        godmode/agentes/module_manager_editor_wmi.php,
        godmode/agentes/configurar_agente.php,
        godmode/agentes/module_manager_editor_plugin.php,
        godmode/agentes/module_manager_editor.php,
        godmode/agentes/module_manager_editor_prediction.php,
        godmode/agentes/agent_manager.php, godmode/modules/module_list.php:
        Added infrastructure to add/edit modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-03 16:52:11 +00:00
slerena 9855c65076 2008-04-03 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: IA to prediction in description.

    * pandoradb.sql: Added priority to alert and custom recovery fields.

    * include/styles/tip.css, include/styles/pandora.css: New styles
    for tooltip info (combined and alerts) and some changes in frames for
    agent management / view.

    * include/functions_db.php: Added check_server_status() function to check
    from console server status. If in 15 minutes there is no updated keepalive
    from any server, they will be marked as down. And function return down. 
    This function is now called on each page. Added funtions to display alert
    status in a tooltip.

    * include/languages/language_en.php: More strings.

    * include/functions.php: Added several funtions to simplify alert report.

    * operation/agentes/estado_alertas.php: Updated. Shows also combined 
    alerts and give a lot of information in different tooltips.

    * operation/agentes/estado_ultimopaquete.php: Clean blank spaces in URL.

    * operation/agentes/estado_monitores.php: now is possible to force a
    module refresh from main view.

    * operation/agentes/ver_agente.php: Tab has been upgraded.

    * images/mod_data.png,
      images/mod_data_inc.png
      images/mod_proc.png
      images/mod_keepalive.png
      images/mod_string.png: Added new type icons and updated old ones.

    * general/header.php: Global check for servers and autorefresh control.

    * godmode/agentes/alert_manager.php: New alert management for combined
    alerts, visualization, etc.

    * godmode/agentes/configurar_agente.php: Included new alert management.

    * godmode/agentes/alert_manager_editor.php: New alert management editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-03 15:43:34 +00:00
slerena 5d9b702454 2008-04-01 Sancho Lerena <slerena@gmail.com>
* 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
2008-04-01 13:53:11 +00:00
slerena 0f60a3f6ca 2008-03-06 Sancho Lerena <slerena@gmail.com>
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
2008-03-07 16:22:16 +00:00
slerena a516087894 2008-02-21 Sancho Lerena <slerena@gmail.com>
* 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
2008-02-21 15:16:54 +00:00
raulmateos 7b57809619 2007-09-08 Raul Mateos <raulofpandora@gmail.com>
* 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
2007-09-08 18:05:06 +00:00