* godmode/modules/manage_network_components_form.php,
include/functions_html.php, operation/menu.php,
operation/events/events_list.php: improved source code.
* include/functions_events.php: fixed into the function
"events_get_agent" the query to get criticities.
Fixes: #3606285
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Added new fields to events_create_event
function: critical warning and unknown instructions, source and tags.
* include/functions_api.php: Reimplemented api_create_event API function,
the behaviour was completly wrong from documented and events_create_event
function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/styles/pandora.css
include/functions_graph.php
include/functions_events.php
include/javascript/pandora.js
operation/agentes/estado_generalagente.php: Improve agent view
interface, work in hidden menus to improve more the graphs
layout.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
operation/events/events_list.php: Little fixes
of new layout of events
* include/graphs/pChart/pPie.class.php: Fixed a
bug of the pChart library of ugly borders in the
3d pie graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ajax.php: added the autologin hash for some ajax call of user
without login (but with hash autologin).
* godmode/reporting/reporting_builder.list_items.php,
include/db/mysql.php: cleaned source code style.
* include/functions_reporting.php, include/functions_events.php,
operation/reporting/reporting_xml.php: optimized the get by steps
the group events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/jquery-ui-1.10.0.custom.css,
include/styles/images/ui-*,
include/javascript/jquery.jquery-ui-1.10.0.custom.js,
include/javascript/jquery-1.9.0.js: added the last version of
jquery and jqueryUI.
* godmode/reporting/visual_console_builder.editor.js,
include/ajax/events.php, include/functions_events.php,
include/functions_reporting.php,
include/javascript/pandora_events.js,
include/javascript/jquery.scrollTo.js,
include/javascript/jquery.tablesorter.pager.js,
include/javascript/jquery.tablesorter.js, include/functions_ui.php,
extensions/update_manager/lib/functions.php,
extensions/update_manager/main.php, extensions/agents_alerts.php,
operation/events/events.php, general/login_page.php,
general/logoff.php, general/header.php,
general/login_help_dialog.php: fixes about the new jquery and
jqueryUI version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/events.php
include/functions_graph.php
include/functions_events.php
include/javascript/pandora_events.js
include/functions_config.php
operation/events/events_list.php
operation/events/events.php: Create a new
event visor to metaconsole history events
* include/functions_api.php: Added a new API function
to create netflow filters
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php,
godmode/agentes/agent_manager.php, include/functions_events.php,
include/functions_reporting.php: added the option "no validaded" in
the items for events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql:
Add profile tags to the database structure
* include/ajax/events.php
include/functions.php
include/functions_events.php
include/functions_reporting.php
include/functions_treeview.php
include/functions_profile.php
include/constants.php
include/functions_tags.php
operation/tree.php
operation/users/user_edit.php
operation/events/events_list.php
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql
godmode/users/configure_user.php: Add new acl control with
tags in events and tree views. Fix a lot of little bugs like ACLs
in tree view (tags mode), add the tags mode on tree view of the normal
console, pass the ACL flag to some forgotten functions, etc.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/resource_registration.php,
extensions/resource_exportation.php,
operation/events/event_statistics.php,
operation/events/events_list.php,
operation/reporting/reporting_viewer.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php,
include/functions_alerts.php, include/functions_reports.php,
include/functions_events.php, include/graphs/fgraph.php,
include/functions_graph.php, include/styles/pandora.css,
include/functions_reporting.php, include/functions_agents.php: a lot
of changes and fixes from the branch for the reports.
MERGED FROM PANDORA_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/events.php
include/functions_events.php
include/javascript/pandora_events.js: Adapt responses
to metaconsole connection (retrieving of event address macro)
and set format to tags in event view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Fixed a typo (have a small
meaning for localization). Merged from branch 4.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/javascript/pandora_events.js
include/ajax/events.php
include/constants.php
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php: Change the validation events
system to validate passing the ids searialized avoiding a lot
of operations. Improve counts and fix several bugs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/styles/jquery-ui-1.8.23.custom.css
include/javascript/pandora_events.js
include/ajax/events.php
operation/events/events_list.php
operation/events/events.php
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
godmode/menu.php
godmode/events/event_responses.list.php
godmode/events/custom_events.php
godmode/events/event_responses.php
godmode/events/events.php
godmode/events/event_responses.editor.php: Added several changes on
events system as responses editor and performer, and several
fixes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
All changes (except a small patch on function_groups) are
ported from 4.0.2 development branch.
* include/help/en/help_main_help.php: Added new general
introduction help file. Need work.
* include/functions_events.php: Fixed link colors and other
aesthetic improvements.
* include/styles/pandora_legacy.css
include/styles/pandora_black.css
include/styles/pandora.css
include/styles/pandora_bluenavy.css
include/styles/pandora_minimal.css
include/styles/pandora_blackmetal.css
include/styles/pandora_green.css:
* extensions/agents_modules.php,
include/functions_groups.php: now colors uses CSS instead
fixed codes in code. In function_groups also I've also applied a missing
patch from the 4.0 with corrections on the Group extration from the DB.
* operation/events/sound_events.php: Fixed small format problem.
* operation/events/events_list.php: Link on event now "zoom it" instead
filter for the same events (nosense since agrupatio is the default view!).
Fixed a lof of aesthetic issues, now uses CSS for most issues.
* operation/agentes/tactical.php
operation/agentes/estado_generalagente.php: more work in the visual
aspect of the information.
* images/status_sets/default/agent_ok.png
images/status_sets/default/module_warning.png
images/status_sets/default/module_ok.png
images/status_sets/default/agent_warning.png: Replaced colors with
more contrast, easier to view for operators!.
* images/header_f2b.png
images/header_f2.png: new style headers.
* general/header.php: New icon for general help.
* godmode/agentes/agent_manager.php: Removed ugly visualization for GIS
agent icons. Now it's much better :)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: into the function
"events_validate_event" fixed the return false when fail validation.
* include/functions_network_components.php: fixed the includes.
* operation/agentes/exportdata.php: cleaned source code style.
* include/functions_api.php: fixed the checking error to healty
level into the function "get_events".
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6212 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/exportdata.php,
operation/events/events_list.php: cleaned source code style.
* include/functions_events.php,
include/functions_network_components.php,
include/functions_api.php: fixed some things, the function
"events_validate_event" when can't update as validate any event
return false, into the file "functions_network_components" added
$config['homedir'] for situations where include in a other path that
index. And show error when make a bad validate event.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/servers/recon_view.php: Fix column header.
* godmode/agentes/module_manager_editor_plugin.php: Now plugin description
is shown formatted (\n -> <br>). Some fields have better layout.
* godmode/servers/plugin.php: Ajax load of description is now formatted.
* godmode/servers/manage_recontask.php: Fix link to show recon server.
* godmode/servers/manage_recontask_form.php: Wider textarea.
* pandoradb_data.sql: New defaults (4 plugins, 2 recon scripts).
* include/functions_events.php: More space visible in event info, smaller
font.
* include/config_process.php: Updated version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/include/functions_ui.php: changed the source code into the
function "ui_get_full_url" for accept false for to return url with the home
url or with any string (as query) return url with the php file.
* pandora_console/include/functions_graph.php,
pandora_console/include/functions_html.php,
pandora_console/include/functions_events.php,
pandora_console/include/functions_reporting.php,
pandora_console/include/functions_api.php,
pandora_console/include/functions.php, pandora_console/index.php,
pandora_console/extensions/system_info.php,
pandora_console/operation/agentes/stat_win.php,
pandora_console/operation/menu.php,
pandora_console/operation/events/events_rss.php,
pandora_console/operation/events/events_marquee.php,
pandora_console/operation/events/events.php: change in more part of source
code to use "ui_get_full_url" instead the hard write method of $_SERVER
vars, now Pandora Console run fine (in all actions I hope) with web servers
in other ports instead the typical 80.
Merged from branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
operation/events/events_list.php
operation/events/events_validate: Allowed post a comment
without changing the event's state.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
godmode/agentes/module_manager_editor_common.php
godmode/agentes/module_manager.php: Some corrections over this
views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5259 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: cleaned source code style.
* include/functions_events.php: added the parameter to return only url
in function "events_print_type_img".
* include/functions_api.php: now the api in getevents return more data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4954 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/functions.php
operation/agentes/estado_monitores.php
operation/agentes/networkmap.php
godmode/modules/manage_nc_groups.php: Fixes in this views in order
to have compatibility with IE.
Bug: #3274423
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Fixed duplication of comments
when validate events merged from 3.2.1
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Fixed repeated values into
array of event ids in delete function merged from validate function
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/functions_reporting.php: Fixed some mistakes of my last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/functions_reporting.php
include/functions_alerts.php
operation/incidents/incident_detail.php
operation/agentes/status_events.php
operation/agentes/tactical.php
operation/integria_incidents/incident_detail.php
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php
operation/reporting/reporting_xml.php: Functions in functions_events.php have "events_"
prefix.
* index.php: Added some "db_" prefixes that I forgot in my last commit. Functions in
functions_events.php have "events_" prefix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Truncated agent and module name
* include/functions_reporting.php: Added functionality to store info of
General, Top n and Exception reports
* include/pchart_graph.php: Added function graph_sla_horizontal to print
sla horizontal graph bar. (Not working properly yet)
* include/pandora_graph.php: Added prototipe for
function graph_sla_horizontal
* include/fgraph.php: Added function graph_sla_pie to print sla pie graph
* include/functions.php: Added options top n, exception and general for
the combo box to select report type.
* pandoradb.sql: added fome fields to treport_content table
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: added some fields to
treport_content table
* godmode/reporting/reporting_builder.list_items.php: Truncated agent
and module name
* godmode/reporting/reporting_builder.preview.php: Added a bottom scroll
bar to the report table
* godmode/reporting/reporting_builder.php: Added variables for the new
kinds of reports, top n, exception and general
* godmode/reporting/reporting_builder.item_editor.php: Added html
elements for the new kind of reports
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php, include/functions_reporting.php,
include/functions_db.php, extensions/users_connected.php,
general/logon_ok.php: added the SQL queries PostgreSQL
compatible, in this case with the function to get unix_timestamp.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4060 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f