Commit Graph

164 Commits

Author SHA1 Message Date
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
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 4b3f3fcbbe 2008-08-25 Sancho lerena <slerena@artica.es>
* 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
2008-08-25 17:51:52 +00:00
slerena 631f34eb33 2008-08-24 Sancho Lerena <slerena@gmail.com>
* 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
2008-08-24 23:59:10 +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
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 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
slerena b16aac61f6 2008-08-05 Sancho Lerena <slerena@gmail.com>
* 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
2008-08-05 11:42:08 +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
Esteban Sanchez d2891eb1c8 2008-08-04 Esteban Sánchez <estebans@artica.es>
* 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
2008-08-04 08:15:16 +00:00
slerena 33e3cfd3cc 2008-07-25 Sancho Lerena <slerena@gmail.com>
* 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
2008-07-25 18:37:32 +00:00
guruevi eb6398fa59 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* 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
2008-07-21 12:23:28 +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 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 f42b3c6003 2008-06-18 Esteban Sanchez <estebans@artica.es>
* 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
2008-06-19 09:01:12 +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
slerena 4698c1d102 2008-04-10 Sancho Lerena <slerena@artica.es>
* 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
2008-04-10 14:00:50 +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
slerena 38a03d9978 2008-01-10 Sancho Lerena <slerena@gmail.com>
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
2008-01-10 16:40:00 +00:00
slerena 1aae32eedf 2007-12-16 Sancho Lerena <slerena@gmail.com>
* 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
2007-12-16 23:56:31 +00:00
raulmateos 1c450fa022 2007-12-16 Raul Mateos <raulofpandora@gmail.com>
* include/languages/language_en.php, language_es_es.php, language_fr.php,
	language_de.php, language_pt_br.php: Updated strings.

	* pandoradb_data.sql: Updated to insert updated languages.

	* index.php, include/config_inc.php: Updated version and build number.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@682 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-12-16 16:56:45 +00:00
slerena a27a7a4384 2007-11-19 Sancho Lerena <slerena@gmail.com>
* index.php: Included patch summited by Guru Evi (guruevi) for HTTPS support. THanks evi ! :)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@678 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-11-19 19:51:46 +00:00
raulmateos 1089ca6365 2007-10-12 Raul Mateos <raulofpandora@gmail.com>
* 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
2007-10-12 16:27:50 +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
slerena 86f9d2dcbd 2007-08-20 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Used UTF-8 by default

        * index.php. UTF-8 Default.

        * README: Updated texts for Readme.

        * INSTALL: Deteled old stuff



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-20 15:32:27 +00:00
slerena 4e11e6a258 2007-08-20 Sancho Lerena <slerena@artica.es>
* 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
2007-08-20 14:29:01 +00:00
slerena d5afeab484 2007-08-08 Sancho Lerena <slerena@gmail.com>
* 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
2007-08-08 18:36:18 +00:00
slerena ee68300c5e 2007-08-06 Sancho Lerena <slerena@artica.es>
* 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
2007-08-06 11:44:49 +00:00
slerena 09f0191bf0 2007-08-06 Sancho Lerena <slerena@artica.es>
* CSS Fixes (min height).

        * pandoradb_data.sql: Added some missing default alerts, fixed others.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@590 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-06 09:19:22 +00:00
slerena 94910192e4 2007-08-02 Sancho Lerena <slerena@artica.es>
* Fixed bug #1757084 for Data Server lag check.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-02 12:24:26 +00:00
slerena 1c3572bc00 2007-07-18 Sancho Lerena <slerena@artica.es>
* 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
2007-07-18 18:01:06 +00:00
raulmateos d0466cfe11 2007-06-27 Raul Mateos <raulofpandora@gmail.com>
* 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
2007-06-27 17:45:42 +00:00
slerena 6084c4dc95 2007-06-25 Sancho Lerena <slerena@artica.es>
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
2007-06-25 17:33:22 +00:00
slerena 63d2e1ccfa 2007-06-22 Sancho Lerena <slerena@artica.es>
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
2007-06-22 12:00:04 +00:00
slerena b3fad7dbd4 2007-06-12 Sancho Lerena <slerena@artica.es>
* 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
2007-06-12 18:10:57 +00:00
slerena 99a2832dd0 2007-05-30 Sancho Lerena <slerena@artica.es>
* 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
2007-05-30 17:32:35 +00:00
raulmateos e42393821f 2007-05-26 Raul Mateos <raulofpandora@gmail.com>
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
2007-05-27 02:55:55 +00:00
slerena 45a4ba6916 2007-05-24 Sancho Lerena <slerena@artica.es>
* 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
2007-05-24 21:06:42 +00:00
slerena 32d96a89a0 2007-05-20 Sancho Lerena <slerena@artica.es>
* 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
2007-05-20 17:12:31 +00:00
slerena abe8fa0c5f 2007-05-18 Sancho Lerena <slerena@gmail.com>
* 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
2007-05-18 12:56:05 +00:00
slerena 6b401edcc3 2007-05-18 Raul Mateos <raulofpandora@gmail.com>
* 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
2007-05-18 09:29:54 +00:00
slerena aaaec7f71c 2007-05-03 Sancho Lerena <slerena@artica.es>
* 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
2007-05-03 02:08:00 +00:00
slerena fa5263c4d0 2007-04-13 Sancho Lerena <slerena@artica.es>
* 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
2007-04-13 18:47:58 +00:00
slerena 70e2f9d797 2007-04-10 Sancho Lerena <slerena@gmail.com>
* 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
2007-04-11 03:12:48 +00:00
slerena 1f29feb353 2007-03-19 Sancho Lerena <slerena@artica.es>
* 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
2007-03-19 19:39:40 +00:00
slerena 02acab8e95 2007-03-12 Sancho Lerena <slerena@artica.es>
* 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
2007-03-12 17:58:52 +00:00
slerena 4f827de5f0 2007-03-02 Sancho Lerena <slerena@artica.es>
* 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
2007-03-02 17:56:07 +00:00
slerena f2d732a350 2007-02-27 Sancho Lerena <slerena@openideas.info>
* 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
2007-02-27 19:03:56 +00:00
slerena 2d148cc0a5 2007-02-20 Sancho Lerena <slerena@artica.es>
* 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
2007-02-20 18:09:54 +00:00
slerena 44c8e7ad16 2007-02-19 Sancho Leren <slerena@openideas.info>
* 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
2007-02-20 01:38:59 +00:00
slerena 51c2517a46 2007-02-16 Sancho Lerena <slerena@artica.es>
* 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
2007-02-16 18:29:37 +00:00
slerena 169f607b66 2007-02-05 Sancho Lerena <slerena@artica.es>
* 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
2007-02-05 17:45:14 +00:00
raulmateos d565437811 2006-12-24 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora.css, tip.css: Stylesheet correction.
	* include/general/footer.php, header.php, login_page.php: Corrected
	styles.
	* index.php: added div for footer.
	* include/languages/*.php: Removed old texts.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-24 22:40:09 +00:00
Esteban Sanchez 33934311e1 2006-12-15 Esteban Sanchez <estebans@artica.es>
* operation/agentes/estado_grupo.php: Huge style correction. There is
        too much work left.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-15 15:25:19 +00:00
raulmateos 9a0938766a 2006-11-06 Raul Mateos <raulofpandora@gmail.com>
* 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
2006-11-06 10:33:04 +00:00
raulmateos c7673709dd (Pandora Console)
* 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
2006-07-11 14:14:09 +00:00
slerena 5d43a9a7ad * (estado_monitores) Detected a bug in last commit from Raul, return to state #79
* Fixed minor issues for finish Pandora 1.2 Beta 2.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-06 17:06:59 +00:00
slerena f792d3c69f * Visual improvements (from Babel Project) added to Pandora (logon screen and user views for agents).
* 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
2006-07-01 01:48:56 +00:00
slerena 97c43db2a8 * Licence banner change (for more accurate information about GPL and copyrights in all files of this commit.
* 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
2006-06-29 19:31:53 +00:00
slerena 0cd002810a Initial Pandora load from our internal SVN
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-03-27 03:37:27 +00:00