Commit Graph

24 Commits

Author SHA1 Message Date
guruevi e10fac58c1 2009-01-30 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/config.inc.php: Updated documentation on LDAP implementation.
	
	* include/functions_db.php: Restored get_agent_modules_count function.
	
	* index.php, include/config_process.php, godmode/setup/setup.php: Now you
	can enforce https with a config variable

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-30 15:09:16 +00:00
guruevi 8d09a7a49a 2009-01-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* ajax.php, include/config.inc.php, include/config_process.php,
	include/functions.php, include/functions_db.php, 
	include/functions_ui.php, index.php, install.php, 
	operation/users/user.php, operation/users/user_edit.php,
	reporting/fgraph.php: Added pluggable authentication and moved functions

	* general/login_page.php, general/logon_ok.php, 
	godmode/agentes/modificar_agente.php, 
	godmode/users/configure_users.php, godmode/users/user_list.php, 
	operation/agentes/estado_agente.php, operation/incidents/incident.php, 
	operation/incidents/incident_search.php: Updated functions

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-20 18:21:20 +00:00
slerena 5e653848b1 2008-08-21 Sancho Lerena <slerena@gmail.com>
* pandoradb*.sql: tplanned_downtime: Fixed a typo, changed timestamp 
	types, added executed field and removed id_agent_module.

	* manage_config.php:  (Problem copying keep_alive modules
	and alerts and solved bad message with no data supplied.

	* manage_config_remote.php: Solved BUG #2042788 Fixed, was missing 
	extension in filename check.

	* planned_downtime.php: Major rewrite. Now works with server model of
	planned downtimes based on select agents to disable in specific times.
	Using unixtime was a very nice idea, so the javascript controls are 
	fantastic to do this job!. Thanks Esteban and Evi!.

	* manage_recontask*: Some issues with styles, using new div for button.

	* modificar_server.php:  Some issues with styles, using new div for button

	* config.inc.php: By default, show errors, easy to debug first problems.

	* functions_db.php: Fixed problems detected in borrar_incidencia() function
	(this is delete_incident in spanish).

	* estado_agente.php: Added support to search by IP address in agent view.

	* networkmap.php: Regen on by default, Font label shortened.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 19:16:16 +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
slerena 5b65d42409 2008-04-09 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: New header.

	* pandoradb_data.sql: Removed /**/ comments, due problems with
	installer.

	* install.php: Updated installer for 2.0 version.

	* functions.php: Fix small problem in pandora_help() with icon.

	* estado_alertas.php: Do not show header "combined alert" if there
	is no complex alerts.

	* reporting_viewer.php: Round data for monitor SLA report.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-06 22:18:33 +00:00
slerena 5d9b702454 2008-04-01 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Alert type 0 is not 1. 1-3 are reserved. Removed 
    prediction module (nosense since it uses normal modules).

    * include/functions_db.php: Added wrapper give_db_value to get_db_value
    because A LOT of code uses old syntax and this makes too many errors.

    * include/functions.php: Fixed pagination issues with blocksize config.

    * pandoradb.sql: Change alert command lenght and added some comments
    for future implementation of alert criticity and others.
 
    * operation/incidents/incident.php: Fixed some bugs calling to old
    funcions / variables.

    * operation/events/events.php: Fixed some bugs calling to old
    funcions / variables. Removed graph and simplified header.

    * operation/agentes/estado_alertas.php: Changed get_db_value call
    and removed (Raul) button to create alert from here.

    * operation/agentes/estado_grupo.php: Implemented support for optional
    view of down modules and fired alerts.

    * operation/agentes/ver_agente.php, 
    operation/agentes/datos_agente.php: Uses of new get_db_value and
    new session id variable.
    
    * images/mod_async_string.png: Added image.

    * images/mod_async_inc.png: Added image.

    * images/mod_image_png.png: Added image.

    * images/mod_async_data.png: Added image.

    * images/mod_async_proc.png: Added image.

    * images/mod_image_jpg.png: Added image.

    * godmode/setup/setup.php: Several fixes.

    * godmode/agentes/alert_manager.php: Several changes for new alert manager. 
    Not finished. Interim commit.

    * godmode/agentes/configurar_agente.php: More changes needed to alert editor.

    * godmode/agentes/alert_manager_editor.php: New file for alert management.

    * godmode/modules/module_list.php: Some updates, removed invalid column.

    * godmode/alerts/modify_alert.php: Alert types < 4 cannot be modified (this
    includes combined, internal audit and Pandora FMS log).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-01 13:53:11 +00:00
slerena 0f60a3f6ca 2008-03-06 Sancho Lerena <slerena@gmail.com>
Pandora FMS 2.0 development first commit. 1.4 version is now 2.0

        * pandoradb_data.sql: Added correct tnetwork_components, fixed
        ttipo_modulo (categoria values).

        * include/styles/pandora.css: Added some server icons, tab style
        for module editor has been improved.

        * include/functions_db.php: added new functions, lang_string and
        check_login, and a first review of several functions that currently
        need change for new config session parameters in array $config[]

        * include/javascript/pandora.js: Added a new global include for
        spare javascript functions before included into a few pages.

        * include/languages/language_en.php: New tokens.

        * include/help*: New contextual help system.

        * include/config_process.php: New way to manage config.

        * include/functions.php: Added new functions to manage global

        * operation/agentes/estado_ultimopaquete.php: removed old javascript
        code from there.

        * operation/agentes/estado_agente.php: Removed references to deprecated
        field "agent_type".

        * operation/agentes/tactical.php: Some code cleanup and progressbar 
        issues merged from 1.3.1 branch. Need to add support to new server 
        types and new module types.

        * operation/servers/view_server.php: Added support to new servers, code
        cleanup.

        * reporting/fgraph.php: Code cleanup, changes to use new config method,
        and a lot of style change. 

        * general/pandora_help.php: New source for contextual help in the way 
        of moodle.

        * general/footer.php, general/noaccess.php: Code cleanup and uses of
         new config.

        * module_manager_editor: New editors for each module family. Need
         finish and implement EDITION of data, now only inserts data.

        * godmode/agentes/agent_manager.php: Implemented new server assigment
         and edition. 

        * godmode/agentes/configurar_agente.php: Small changes that affects 
        module management, visualization and agent management.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-07 16:22:16 +00:00
slerena a516087894 2008-02-21 Sancho Lerena <slerena@gmail.com>
* Added new structures for predictive module, plugin server, and other
        planned functionalities for 1.4.x version.

        * Merged code from 1.3.1 branch.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-02-21 15:16:54 +00:00
raulmateos 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
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
slerena 9f3515799a 2008-08-29 Sancho Lerena <slerena@artica.es>
* include/config.inc.php: Change defaults to avoid problems with attachments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-29 11:41:26 +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 cae943fa4a 2007-06-25 Sancho Lerena <slerena@artica.es>
* include/config.inc.php: Added backslash to some variables to
        avoid problems in wizard.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@537 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-25 10:31:13 +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 47579d155d 2007-06-07 Sancho Lerena <slerena@artica.es>
* include/styles/god.css: Added god51 (reporting).

        * include/styles/pandora.css: Added h4 (for reporting).

        * include/functions_db.php:

        * include/functions_reporting.php: Reporting functions should be
        here. Now is SLA, tomorrow will be more ;)

        * include/functions.php: Added generic POST/GET parameter
        management, and a few functions to mangle dates.

        * pandoradb.sql: A few changes on treport_content table.

        * operation/agentes/datos_agente.php: Added option to delete
        individual data from here. Useful to purge bad data.

        * operation/reporting/reporting_viewer.php: New report viewer on
        HTML.

        * operation/reporting/custom_reporting.php: Moved.

        * operation/reporting/graph_builder.php: Moved to godmode
        directory.

        * operation/menu.php: Added few options and removed other
        (Reporting)

        * reporting/fgraph.php: Few changes to use graphs in reports
        without titles.

        * godmode/reporting: Added.

        * godmode/reporting/reporting_builder.php: The Pandora FMS report
        editor :-)

        * godmode/reporting/graph_builder.php: Graph builder almost done,
        only a few bugs to finish.

        * godmode/menu.php: New reporting options in godmode menu.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-07 17:46:38 +00:00
raulmateos 1778bf8075 2007-06-02 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora.css: Updated.

	* include/styles/pandora_minimal.css: New file for install and graphs.

	* include/config.inc.php: Updated build. Updated attachment directory.

	* install.php: Added some text to clarify use of config directory in
	step 3. Now we use the pandora_mininmal.css file. Updated logo. Closed
	some HTML tags.

	* reporting/stat_win.php: Now we use the pandora_minimal.css file. Closed
	some HTML tags. Added title.

	* reporting/Image/*.php: Converted end-line Windows format to Unix.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-02 13:52:45 +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 8d0650ba2c 2007-05-24 Sancho Lerena <slerena@artica.es>
* include/styles/pandora.css: Some margin adjustements for databox
        classes and H1-3.

        * include/config.inc.php: Added support to detect empty
        configuration tokens in DB and abort.

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

        * operation/visual_console/render_view.php: Fixed static links to
        images.

        * operation/agentes/estado_alertas.php: Databox style fixed.

        * operation/agentes/estado_monitores.php: Added image instead
        label.

        * operation/servers/view_server.php: Fixed divbyzero notice.

        * operation/servers/view_server_detail.php: Fixed static image URL.

        * reporting/fgraph.php: Fixed distribution of X axis ticks.

        * general/login_page.php: Added "demo" user by default.

        * godmode/agentes/alert_manager.php,
        godmode/alertas/modificar_alerta.php
        godmode/alertas/configurar_alerta.php: Style 'databox' update.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-24 20:03:05 +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 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 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 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