Commit Graph

119 Commits

Author SHA1 Message Date
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 e147922f36 2007-06-12 Sancho Lerena <slerena@artica.es>
* include/languages/language_en.php: New text

        * include/functions.php: Now all functions to render timeframes
        are using lang_label variable, some small adjustements and fixes.

        * operation/agentes/status_monitor.php,
        operation/agentes/estado_alertas.php,
        operation/agentes/estado_ultimopaquete.php: A lot of many small
        fixes and improvements on render output for all timestamp fields.

        * operation/agentes/exportdata.php: Now predefine last 24
        hours. Fixed a bad combo (too small).

        * operation/agentes/estado_monitores.php
        operation/reporting/reporting_viewer.php
        operation/reporting/graph_viewer.php reporting/stat_win.php
        general/logon_ok.php godmode/agentes/alert_manager.php
        godmode/reporting/reporting_builder.php
        godmode/reporting/graph_builder.php: A lot of many small fixes and
        improvements on render output for all timestamp fields and in
        MIN/MAX, small icons for module types, and things like that.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@504 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-12 11:57:03 +00:00
slerena 7e25051712 2007-06-09 Sancho Lerena <slerena@artica.es>
* include/functions.php: Solved decimals problem in format_numeric() function

        * operation/agentes/tactical.php: General indicator formula improvement.

        * general/logon_ok.php: Tactical ODO graph update (the same that above).

        * godmode/agentes/manage_config.php: Select list too small, bad render fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-10 13:19:27 +00:00
slerena effc9b3c70 2007-06-08 Sancho Lerena <slerena@artica.es>
* include/languages/language_en.php: New strings

        * include/functions_reporting.php: Added generic function to parse
        information of all monitors / data checks for statistical usage in
        several sections of console.

        * pandoradb.sql: Updated field "timestamp" of tnews table.

        * operation/agentes/estado_grupo.php: Better management of unknown
        monitors, this should fix odd behaviour detected.

        * operation/agentes/tactical.php: New tactical view.

        * operation/menu.php: New option for group view and
        tactical. Default option now is tactical view.

        * images/backgrounds/background4.jpg: Updated background.

        * reporting/Image/Graph/Plot/Odo.php: Fixed warning in original code.

        * reporting/Image/Canvas/GD.php: Again playing with canvas options.

        * reporting/fgraph.php: New odo graph.

        * general/logon_ok.php: New welcome screen :-)

        * godmode/setup/news.php: New news manager.

        * godmode/reporting/map_builder.php: Future map/visual console
        editor, not ready yet.

        * godmode/menu.php: Updated a few options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@498 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-08 15:55:53 +00:00
raulmateos 3697ee4c57 2007-06-08 Raul Mateos <raulofpandora@gmail.com>
* include/styles/god.css: Updated god51.
	* include/languages/language_en.php: Updated.
	* operation/reporting/custom_reporting, operation/users/user.php,
	godmode/agentes/module_manager.php, godmode/users/configure_user.php,
	godmode/reporting/reporting_builder.php: Updated with new table style.
	* images/reporting_edit.png: Added icon for creating reports in 
	administration mode.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-08 09:28:47 +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 016aab6d1d 2007-06-06 Raul Mateos <raulofpandora@gmail.com>
* images/copy.png: New icon for copy data.
	* include/styles/pandora.css: Added style for copy icon.
	* include/languages/language_en.php: Added template text.
	* godmode/agentes/agent_template.php, manage_config.php: Updated with new
	table styles. Updated texts and closed html tags.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-06 17:48:08 +00:00
raulmateos 28988b44ea 2007-06-02 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora_minimal.css: New file for install and graphs.
	Not added in last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@484 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-02 13:54:02 +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 d57da3ddad 2007-05-28 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora.css, pandora_red.css: New style with icon
	for search.
	* include/languages/*.php: New string for alert updating.
	* godmode/agentes/*.php: Updated h2 headers.
	* operation/agentes/estado_alertas.php, estado_monitores.php,
	estado_ultimopaquete.php: Updated h2 headers. Added code for not showing
	table headers if no alert defined. Add some icon to input buttons.
	* operation/incidents/incident_detail.php, incident_search.php,
	operation/messages/message.php, operation/snmpconsole/snmp_alert.php:
	Add some icon to input buttons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@478 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-28 19:15:44 +00:00
raulmateos 5e264939dd 2007-05-27 Raul Mateos <raulofpandora@gmail.com>
* include/styles/help.css: New file only used in help pages.
	* help/*: Updated help files with 1.3 string and clear CSS styles.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-27 14:56:13 +00:00
raulmateos 2d3e6ccdb9 2007-05-27 Raul Mateos <raulofpandora@gmail.com>
* include/styles/install.css: Forgotten file from last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-27 13:28:50 +00:00
raulmateos 478ad30747 2007-05-27 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora.css: Cleaned and moved install styles
	to a new file only using in install.php file.
	* include/styles/pandora_red.css: Cleaned and moved install styles
	to a new file only using in install.php file.
	* include/styles/install.css: New file.
	* install.php: Updated with new styles.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-27 12:11:15 +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 f86c428e59 2007-05-24 Sancho Lerena <slerena@artica.es>
* pandora.css: tiny update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-24 21:31:12 +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
raulmateos d53fdbcfc1 2007-05-21 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora.css: Updated footer style.
	* operation/estado_generalagente.php: Closed div for footer if agent not
	found.
	* godmode/configurar_agente.php: Closed div for footer if agent not found.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-21 10:50:03 +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
raulmateos 10fda5201d 2007-05-08 Raul Mateos <raulofpandora@gmail.com>
* godmode/modules/*.php, godmode/agentes/*.php: Added icon to buttons.
	* godmode/grupos/configurar_grupo.php: Changed datos2 style to datos in
	second row.
	* operation/agentes/estado_monitores.php: Added code to show "Never" if
	timestamp is 00-00...
	* operation/agentes/estado_ultimopaquete.php: Added title to <td> tag,
	to show name when is longer than 15 chars.
	* general/logon_ok.php: Closed some html tags. Reduce size of table.
	* include/styles/pandora.css: Changed some colours.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-08 11:24:57 +00:00
raulmateos 3b38f493d7 2007-05-07 Raul Mateos <raulofpandora@gmail.com>
* general/header.php: Made smaller.
	* godmode/agentes/module_manager.php: Changed html anchor.
	* operation/snmpconsole/snmp_view.php, general/logon_ok.php,
	operation/events/events.php, operation/incidents/incident.php,
	operation/agentes/estado_alertas.php: Removed classes.
	Now we use some styles at each page to simplify css.
	* operation/agentes/estado_generalagente.php: Changed table width.
	* include/pandora.css: Updated a lot of styles, deleted some not used.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-07 15:32:03 +00:00
raulmateos 8d3f6071ec 2007-05-03 Raul Mateos <raulofpandora@gmail.com>
* images/reporting.png: Renamed from chart_pie.png.
	* include/op.css: Updated with reporting.png.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-03 14:49:29 +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
raulmateos 3a477467d3 2007-05-01 Raul Mateos <raulofpandora@gmail.com>
* images/bricks.png: Changed red colour to orange one.
	* include/pandora.css: Changed background colour for View Mode tab.
	* operation/agentes/estado_agente.php: Changed space between combo and
	table, including the style into the table, deleting div.
	* operation/agentes/estado_grupo.php: Style correction.
	* operation/messages/message.php: Added style to some table cells.
	* pandoradb.sql, pandoradb_data.sql: Added column disable to table tgrupo
	and default value 0.
	* operation/snmpconsole/snmp_alert.php: Deleted duplicated br tag.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-01 13:28:33 +00:00
raulmateos d794b130ea 2007-04-29 Raul Mateos <raulofpandora@gmail.com>
* images/recon.png: Renamed file from chart_organization.png

	* include/pandora.css: Added styles for table in servers.

	* operation/servers/view_server.php: Used style added. Change order
	for table (now the legend is shown only if there are servers)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@445 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-29 13:19:45 +00:00
slerena 2a759aaea8 2007-04-22 slerena <slerena@artica.es>
* functions_db.php, language_en.php, estado_grupo.php
	estado_agente.php configurar_grupo.php lista_grupos.php
	modificar_server.php: New feature implemented: groups could be
	configured to do not launch alerts (Disabled field). Any agent
	inside this group does not fire alerts while disabled will be
	activated. Useful for programmed non-service periods or programmed
	shutdowns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-22 01:08:58 +00:00
slerena 21a8f71cc0 2007-04-21 Sancho Lerena <slerena@gmail.com>
* include/languages/language_en.php: New strings added.

        * include/functions.php: Added function output_clean_strict().

        * operation/agentes/estado_ultimopaquete.php: Fixed title when
        some ugly characters used (like #).

        * operation/agentes/estado_generalagente.php: OS icon show,
        ignoring $agent_type parameter.

        * operation/agentes/estado_agente.php: OS icon show, ignoring
        agent_type variable.

        * godmode/grupos/configurar_grupo.php: Now it's possible to define
        parent group.

        * godmode/grupos/lista_grupos.php: Parent for group and some code
        cleanup. Added confirmation to group delete.

        * godmode/agentes/module_manager.php: Added confirmation to some
        items and added "data fix" new feature to delete data above 1.3 of
        average value of graph.

        * godmode/agentes/modificar_agente.php: Confirmation before delete
        an agent.

        * godmode/agentes/configurar_agente.php: Added fix module data
        feature.

        * godmode/modules/manage_network_components_form.php: Some fixes.

        * godmode/modules/manage_network_templates.php: More fixes.

        * godmode/menu.php: Fixed some navigation marks.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-21 16:14:11 +00:00
slerena 145ca40616 2007-04-19 Sancho Lerena <slerena@artica.es>
* pandora.css: added some classes for graphical input buttons.
	
	* languages/language_en.php: More strings to go !
	
	* include/config.php: Deleted from repo, now has no sense.
	
	* pandoradb.sql: Added `alert_text` to talerta_agent for new text
	alerts. Added tables for custom graphs and reporting: tgraph,
	tgraph_source, treport, and treport_content.
	
	* operation/users/user.php: Fixed problem with last Raul's commit.

	* godmode/usuarios/lista_usuarios.php: Fixed problem with last
	Raul's commit.
	
	* operation/agentes/estado_alertas.php: Code cleanup. Implemented
	render for text alerts.
	
	* operation/agentes/datos_agente.php: Fixed small bug with text output.
	
	* operation/agentes/datos_agente_calendar.php: Added contribution
	from Leandro Doctors. Need to work on it before use several
	problems detected.
	
	* operation/servers/view_server.php: Fixed some bugs.
	
	* operation/reporting/graph_viewer.php: Added viewer for custom graphs.
	
	* operation/reporting/custom_reporting.php: Initial code, not
	finished yet.
	
	* operation/reporting/graph_builder.php: Work for modules in the
	same agent, several problems, but works.
	
	* operation/menu.php: Updated options for new reporting menu.
	
	* reporting/stat_win.php: New menu is great :-)
	
	* general/login_page.php: Updated login page.
	
	* godmode/agentes/alert_manager.php, configurar_agente.php: New
	code for text alerts and better user help.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 18:50:07 +00:00
raulmateos 197dc2184e 2007-04-18 Raul Mateos <raulofpandora@gmail.com>
* include/pandora.css: removed old "wxx" classes. Change some colours
	for agent general information tabs.
	* include/god.css, link.css: minimal changes for case letters.
	* several .php updated to use the changes in sytles. No new features or
	functionality changed.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 21:45:03 +00:00
raulmateos 06e7769132 2007-04-18 Raul Mateos <raulofpandora@gmail.com>
* pandoradb_data.sql, pandoradb.sql: Fixed small warnings.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 17:17:06 +00:00
slerena 660665348c 2007-04-18 Sancho Lerena <slerena@artica.es>
* include/styles/pandora.css: Added frame and changed basic form input 
	styles (fixed the old problem with radio and checkboxes).
	
	* include/functions_db.php: Finished function
	agent_add_address(). Added functions: agent_delete_address(),
	give_agent_address() and give_agent_address_from_list().

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

	* include/functions.php: Added numeric render for graph Y scale
	and for numeric data output in screen: format_for_graph().
	
	* pandoradb.sql: Several small fixes and cleanup (deleted drop check).

	* operation/agentes/estado_alertas.php: Fixed old bug with
	visualization of alerts (min/max) vs (max/min). Now alert is a
	real value, not integer.
	
	* operation/agentes/datos_agente.php: Better render for numeric
	(float) data.
	
	* operation/agentes/estado_ultimopaquete.php: Better render for numeric
	(float) data and fixed a small costemic bug.
	
	* operation/agentes/estado_generalagente.php: Fixed a small
	costemic bug, list of ip's have some white space before and this
	have better visualization for user due to combo style stripping
	some space.
	
	* reporting/fgraph.php: Graph improvement: graphs now could show
	alerts associated to an agent and draw alert limits. Preprocessor
	function is now used to render axis label with (M,K) symbols and
	decimal commas. Title and subtitle has been improved.
		
	* reporting/stat_win.php: Graph menu improvement. Fully completed
	work. This should work for final version without more changes.
	
	* godmode/agentes/agent_template.php: Template/Wizard module
	assigment form for agent.
	
	* godmode/agentes/alert_manager.php: Several fixes (links) and
	alert max/min render.
	
	* godmode/agentes/configurar_agente.php: Fixed several navitation
	bugs. Added agent ip addition/deletion code.
	
	* godmode/agentes/agent_manager.php: Address list management code.
	
	* godmode/modules/module_list.php: Deleted link to "module type
	editor" and create button: This has no sense since there is no
	moduletype editor yet :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 09:58:26 +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
raulmateos 10658ac8e7 2007-04-03 Raul Mateos <raulofpandora@gmail.com>
* include/languages/language_en.php, language_es_es.php: Added text
	for no network profile.
	* godmode/modules/manage_network_components.php: Added noscript tag
	to avoid showing the "show" button if Javascript is enabled. Added
	image to button Create.
	* godmode/modules/manage_network_templates.php: Added code to show
	text if no netork template is defined. Added
	image to button Create.
	* godmode/modules/manage_network_templates_form.php: Added code to 
	avoid a notice error when creating new profile.
	* godmode/modules/manage_nc_groups.php: Added imaged to Button
	Create.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@411 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-03 14:28:07 +00:00
raulmateos 1648708234 2007-04-02 Raul Mateos <raulofpandora@gmail.com>
* images/ok.gif: Deleted
	* images/cross.png, go.png, ok.png, upd.png: Added new images
	* include/styles/pandora.css, tip.css, op.css: Updated. Deleted some
	old styles, not all.
	* include/languages/language_en.php, language_es_es.php: Added text
	for no recon task.
	* godmode/*.php, operation/*.php, help/*.php: Changed some icons, 
	updated several buttons with new icons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@410 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-02 17:17:27 +00:00
slerena e21ca2e398 2007-03-28 Sancho Lerena <slerena@artica.es>
* tip.css, pandora.css: Some updates to fix render in tooltips and
	datos3 background color.

	* config.php: Version update.

	* operation/menu.php: Added reporting suboption: Custom Graph Builder.

       	* operation/reporting/graph_builder.php: New custom and combined
	graphic generator that uses new function from fgraph
	graphic_combined_module().

	* reporting/fgraph.php: new function graphic_combined_module() to
	generate combined graphs. Needs to finish implementation to show
	alerts and evetns (most work done). Function
	grafico_db_agentes_purge() now uses Pear Graph instead jpgraph.

	* operation/agents/exportdata.php: Now uses indexes and improve
	the overall speed.

	* operation/agents/estado_grupo.php: Rewritten version, much more
	fast than previous.

	* operation/events/events.php: Fixed code to mass delete/update
	and added some audit control points.

	* pandora_db.php: audit_db() now uses utimestamp. event_insert()
	now uses utimestamp. Added function
	give_agent_id_from_module_id().

	* operation/agents/estado_ultimopaquete.php: Now render in red
	timestamp for "outdated" data. Fixes some minor problems with
	module groups and interval rendering.

	* operation/agents/estado_monitores.php: now uses utimestamp.

	* operation/agents/ver_agente.php: Uses lang_label labels for some
	texts. Fixed image bug.

	* operation/servers/view_server.php: Added version of server and
	some cosmetic adjustments.

	* godmode/db/db_main.php: Applied new graphic.

	* godmode/agentes/module_manager.php: Now sort by modulegroup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-28 16:07:29 +00:00
Esteban Sanchez b887172f46 2007-03-28 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Changed MyISAM tables to InnoDB. Deleted charset
        definition to Latin1. Some changes to be consecuent with the data.
        Deleted unnecesary field from tagente_estado. Added tmodule table and
        a field in tagente_module to point there. Fixed some default dates to
        become the same. Removed mysqldump comments.

        * pandoradb_data.sql: Removed mysqldump comments.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-28 14:51:39 +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
raulmateos e8ca7deeb5 2007-03-07 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/alert_manager.php, modificar_agente.php,
	operation/agentes/estado_generalagente.php: Small changes
	with table lines.

	* include/styles/pandora.css: Reduce data_box class one pix.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-07 12:37:23 +00:00
raulmateos b0139f4657 2007-03-06 Raul Mateos <raulofpandora@gmail.com>
* images/info.png: New image, replace old info.gif.
	
	* images/help.png: Change colour.
	
	* include/styles/pandora.css: Changed colour in nf class. Small changes
	in other colours.
	
	* include/styles/menu.css: Small colour change in menu border.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-06 21:37:38 +00:00
slerena f5f53e4a95 2007-03-06 Sancho Lerena <slerena@artica.es>
* include/functions*.php: Some reorganization, moved some funtions
	from functions.php. Added recursive functions to implement group
	hiearchy (group_belong_group, agent_belong_group).

	* godmode/agentes/module_manager.php, configurar_agente.php:
	Module edition/add now works :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-06 13:18:49 +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
raulmateos 554a516620 2007-01-23 Raul Mateos <raulofpandora@gmail.com>
* sytles/*.css: Updated

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@385 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-23 09:08:26 +00:00
slerena aa1ede84c1 2007-02-22 Sancho Lerena <slerena@artica.es>
* reporting/Image: Added to repository (at last!) Image Graph
	package (not original, copy from Babel Enterprise project, has
	some modification for antialiasing -disabled- due to problems on
	some environments.
	
	* include/styles/pandora.css: Added new styles for new layour
	(pending to do, not finished yet, i need help, Raul).
	
	* include/languages/language_en.php: Some strings added.
	
	* operation/agentes/ver_agente.php: Changes for adding tabs and
	new style, not finished.
	
	* operation/servers/view_server.php: NEW feature: network server
	load. Needs to be improved :)

	* images/image_problem.png: Static image for problems rendering
	graph.

	* images/console: Added graphcs for active console, not used yet
	(backgrounds).

	* pandoradb.sql: Fixed some problems in last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@384 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-22 19:48:12 +00:00
Esteban Sanchez 28eb116928 2007-02-22 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Changed a 'utimestamp' field from mediumint to
        integer.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@382 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-22 16:45:10 +00:00