Commit Graph

47 Commits

Author SHA1 Message Date
esanchezm 788db0318b 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 ad93a46f0f 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 08ec183a4b 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 86415f86cb 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 b3106b9969 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 b4a87a0eef 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 813d5dc10a 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 7e6500c1da 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 a472c5d389 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 4d8ed974ba 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 2d28d9f134 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 05caee1a4e 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 896e1ae63a 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 20e8fa1983 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 3a8d97d7a7 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 a09bb8410f 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 d55e219c23 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 8110a458a9 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 9d0e27d612 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 e18fb2e2e1 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 5b15ef46f4 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 6a790b88de 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 984bc09a5a 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 9aebe0f1aa 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 81dc518759 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 4e15be85c7 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 3dc3b035d5 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 372be90356 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 0ff4b2ee42 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 825d9cfd30 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 805593eec1 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 46d686fece 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 720b82edf5 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 9a6657db65 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 c5c0d97d50 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 2d06ba4cbb 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 36934a367c 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 7371579156 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 2b497cb953 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 b96f3a7121 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
esanchezm 80bccca21d 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 6dcfcc7bdf 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 bb40c36c54 (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 a924cdb2b6 * (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 8a3b781a61 * 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 5038aa8fce * 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