Commit Graph

7 Commits

Author SHA1 Message Date
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
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 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
Esteban Sanchez 00b5a1eaec 2008-06-17 Esteban Sanchez <estebans@artica.es>
* ajax.php: Added to repository. AJAX interface for Pandora. A new
	time is coming...

	* pandoradb.sql: Added id_group to treport. A report is now assigned
	to a group of agents. Changes in treport_content to add an order
	field, drop sla fields and use an enum for the type. NOTE: This will
	break all your current defined reports, update under your
	responsabillity. Added table treport_content_sla_combined to define
	SLAs in the SLA types reports.

	* godmode/reporting/graph_builder.php: Use Pandora functions. Adde
	javascript code to display the module icon when changing from the
	dropdown menu.

	* godmode/reporting/reporting_builder.php: Almost complet rewritten to
	use Pandora HTML functions. Style correction.

	* include/functions.php: Added new report types. Style correction.

	* include/functions_db.php: Use Pandora database functions to get
	simple values. Added functions get_agents_in_group(),
	get_modules_in_agent(), get_simple_alerts_in_agent(),
	get_combined_alerts_in_agent(), get_alerts_in_agent(),
	get_monitor_downs_in_period(),
	get_monitor_last_down_timestamp_in_period(),
	get_alert_fires_in_period(),
	get_alert_last_fire_timestamp_in_period(). Deleted debug output and
	fixed calling to an inexistent function in
	return_moduledata_sum_value().

	* include/functions_html.php: Tab style correction. Thanks to Ramon
	for the advice. Fixed some errors on print_table that was causing not
	to work fine if rowclass or colspan was defined.

	* include/functions_reporting.php: Adde date support to
	return_module_SLA(), event_reporting(). Added alert_reporting(),
	monitor_health_reporting(), general_group_reporting() and
	agents_detailed_reporting() to implement new report types. Style
	correction.

	* include/javascript/pandora.js: Added html_entity_decode() function
	to decode some AJAX results.

	* javascript/jquery.js: Added to repository. jQuery version 1.2.4a

	* include/javascript/jquery.timeentry.js: jQuery plugin to manage time
	inputs.

	* include/javascript/jquery.ui.datepicker.js: jQuery plugin to manage
	date inputs in a dropdown calendar.

	* include/languages/date_*.js, include/languages/time_*.js: Added to
	repository. Translation of date and time strings for the new calendar
	javascript support.

	* include/languages/language_en.php: Added new strings relatives to
	reports.

	* include/languages/language_de.php,
	include/languages/language_fr.php, include/languages/language_gl.php,
	include/languages/language_pt_br.php: Fixed a variable name.

	* godmode/groups/group_list.php: Avoid the use of an extra indentation
	by returning if no success on comprueba_login().

	* include/styles/pandora.css: Add some classes. Tab style correction.

	* operation/agentes/ver_agente.php: Added AJAX support to agent
	operations.

	* operation/reporting/graph_viewer.php: Period dropdown selection
	improved and printed with Pandora functions.

	* operation/reporting/reporting_viewer.php: Massive rewritten.
	Implemented date and time support, added new report types, use Pandora
	functions...

	* reporting/fgraph.php: Documentation fix. Added a new graphic to show
	monitors health.

	* godmode/agentes/agent_manager.php,
	operation/reporting/custom_reporting.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 14:30:44 +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 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 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