* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* pandoradb.sql: Solved small problems that caused some tables not
to be created.
* operation/active_console/lib/db_functions.php: Remove ".." in include
path for config file.
* general/logon_ok.php: Use new styles and small check to show some text if
no data.
* include/styles/pandora.css: New styles.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* include/functions.php: Pagination function now works fine.
* operation/incidents/incident.php, indicent_detail.: Incident
update/inser goes to main incident view. More usable
interface. Pagination works fine, needs to adjust SQL to use LIMIT
syntax for more optimized code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* help/[gl|de]/*.php: New files. At this moment, is a redirect to the
english help.
* operation/menu.php: Small style correction.
* active_console/*.php: Change from <? to <?php, change comments to put them
inside <?php. Small changes in js scripts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Importing data from Azabel brach. This commit is a little
chaotic :-). Almost all code it's break apart, so no problems
should not be generated. New graphical console will be called
"Active console", as temporal name.
* pandora_graphical_console.sql: New SQL for active console.
* pandora_graphical_console_data.sql: New SQL data for A.C.
* images/op9.gif: New icon for operation menu.
* operation/active_console/index.php: Main index for A.C. this
includes now a require function for config.php.
* operation/active_console/imagenes/*: Lots of images for
A.C. Need to be ordered or something.
* operation/active_console/scripts/*: Most of the Javascript code
for the A.C is here.
* operation/active_console/lib/*: Main include PHP code for A.C
* operation/active_console/styles/*: CSS Styles for A.C.
* pandora_graphical_console.INSTALL: How to install A.C
* include/styles/cb/: Unused, deleted.
* include/styles/op.css: Changes need to activate new A.C option.
* include/languages/language_en.php: New string for A.C
* operation/menu.php: New menu option.
* include/config.php: New version and set error reporting to 0. At
this time A.C reports many warnings and notices and dont work
properly, so keep this low at the moment.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@353 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php, functions_db.php: Move list_group from f*.php
to f*_db.php. Add two new functions to show icons.
* operation/agentes/*.php, operation/eventos/eventos.php,
godmode/agentes/*.php: Updated files to use the new functions for icons.
Clear code. Clear sytle.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/languages/language_es*.php: Updated.
* include/languages/language_gl*.php: New galician language.
* operation/agentes/bulbs.php: New file with the bulbs. Used by
estado_agente.php.
* pandoradb_data.sql: Updated to use the new language.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
Pandora_console:
* include/styles/pandora.css: New style mr40.
* help/en,es/chapter3.php: Explanation of monitor added. Solved error with
english file (maximun-> manimum; minimun -> minimum)
* include/functions: Add function to show groups of an user.
* operation/agentes/*, operation/eventos/eventos.php: Use new function.
Style correction.
Pandora_docs:
* pandora_chapter3.xml: Explanation of monitor added. Solved error with
english file (maximun-> manimum; minimun -> minimum)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css, op.css, god.css: Removed more unnecessary
lines and solve some typo errors.
* operation/agentes/estado_grupo.php: Style correction. Change some
colour names for its HTML RGB code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/op.css: Added new op8. FIXME: There is a little
problem i cannot fix before commit. TODO.
* include/languages/language_en.php: Added new report strings.
* include/config.php: Officially are 1.3 devel version. Updated.
* operation/menu.php: CODE CLEANUP. FIXME: There is a little
problem I cannot fix before commit. TODO
* images/op8.gif: Added.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@323 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/messages/message.php: Updated style for not found items.
* godmode/agentes/configurar_agente.php,
operation/agentes/estado_agente.php: Updated style for red text.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config.php: Changed build
* images/info.gif: New file
* include/styles/pandora.css: Created new style and modified others
* operation/agentes/*.php, operation/servers/*.php, godmode/agentes/*.php,
godmode/servers/*.php,: Close some HTML tags. Changed style for not
found items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config.php: Changed build
* operation/snmp/*: Close some HTML tags. Changed style
for not found items.
* operation/servers/view_server.php: Close some HTML tags. Changed style
for not found items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css: new style for not found items.
* operation/events/events.php: Add filter to events by group. Changed
style for not found items.
* operation/agentes/estado_agente.php, status_monitor.php,
estado_alertas.php: Add name to filter combo. Changed style for not
found items.
* operation/incidents/incident.php: Changed style for not found items.
* images/cancel.gif: Changed image to one with smaller size.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@296 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* agentes/estado_ultimopaquete.php: Fixed small size of
visualization of data in packet view. Big values was cutted. Added
elimination of decimals, and suffix for M (1000) divisible values.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: change bulb images from botton
to top, some style corrections
* operation/agentes/estado_generalagente.php,
operation/agentes/estado_ultimopaquete.php:
Several changes to make it more HTML compliant, and better sytle.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* general/footer.php: Change time() function to $_SERVER['REQUEST_TIME']
for optimization, Esteban's suggestion. Changed text from Pandora to
Pandora FMS.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_generalagente.php: Clear code, small adapt to
guidelines. Add code for showing 'Never' if there wasn't a previous contact
of the agent.
* include/styles/pandora.css, god.css, link.css, op.css, tip.css: Style
correction. Add border: 0px to tables and images. With this change, all the
tables and images shouln't have the "border=0" parameter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* incident_detail.php: Converted from DOS to UNIX newlines (flip -u).
Fixed color background for "Source" field. Fixed help link.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f