Commit graph

820 commits

Author SHA1 Message Date
Simone Mainardi
5d8d748cdf Fixes flows filter in host details page
Fixes #4010
2020-06-01 11:47:46 +02:00
Simone Mainardi
6b4b5751bc Migrates host_details.lua to REST API v1 2020-06-01 10:46:55 +02:00
Alfredo Cardigliano
192a043ae5 Remove iface_ndpi_stats.lua (use the REST API) 2020-05-28 11:21:43 +02:00
Simone Mainardi
df04f867c1 Uses interface.getHostInfo to generate host links in host_details.lua 2020-05-26 17:35:11 +02:00
Simone Mainardi
d487199a19 Unifies host_details.lua link gen in host_details.lua flows page 2020-05-26 15:12:44 +02:00
Simone Mainardi
49e49e0ed6 Unifies host_details.lua generation
Addresses #3977
2020-05-26 12:50:47 +02:00
emanuele-f
f7a7329741 Fix variables not properly initialized
Addresses #3969
2020-05-25 17:42:48 +02:00
emanuele-f
eea288dee9 Add on-off switch template
Addresses #3513
2020-05-21 17:22:00 +02:00
emanuele-f
610e632234 Add comments/remove table.clone when not needed 2020-05-21 11:10:47 +02:00
Simone Mainardi
08440cf324 Fixes wrong interface displayed on active monitoring
Fixes #3965
2020-05-20 16:22:57 +02:00
Luca Deri
13d0d2cbdb Reference fixes for HTTP prefixes (#3957) 2020-05-19 08:54:04 +02:00
emanuele-f
af842e4aa6 Cleanup unnecessary CSRF tokens passed 2020-05-08 12:56:58 +02:00
emanuele-f
ba5c64b107 Rework host label getters
This fixes inconsistencies across the ntopng gui

Addresses #3699
2020-05-07 17:47:18 +02:00
emanuele-f
61576c8751 Improve host restore
Addesses requests of #2898
2020-05-07 15:11:05 +02:00
Luca Deri
49b1817f9d Fixed virustotal icon appearance 2020-05-07 11:13:14 +02:00
emanuele-f
03b69dfe64 Add ability to search inactive hosts 2020-05-05 12:59:57 +02:00
emanuele-f
d65bd41212 Implement proper LBD host restore 2020-05-05 12:20:40 +02:00
emanuele-f
abf91c2702 Fix active monitoring add action in the host page 2020-04-30 15:00:32 +02:00
emanuele-f
c2a85e96d7 Only show throbber when the host resolution is enabled 2020-04-30 14:35:04 +02:00
Luca Deri
3f19850601 Added virustotal URL in host page 2020-04-30 11:44:31 +02:00
emanuele-f
ebe2e78b7e Split RX/TX in other charts 2020-04-24 17:41:52 +02:00
Simone Mainardi
4d61e7b23d Implements utils to properly handle fingerprint data across pages
Fixes #3762
Fixes #3761
2020-04-15 17:11:56 +02:00
Simone Mainardi
0a9a7015e0 Unifies status_id and status_key 2020-04-15 14:29:03 +02:00
Simone Mainardi
577a82d2eb Changes active_monitoring_utils require
Fixes #3758
2020-04-14 22:14:13 +02:00
Simone Mainardi
3e14bc30f8 Refactors RTT to Active Monitoring
Addresses #3741

Refactors RTT: rtt_utils to active_monitoring_utils

Refactors RTT: rtt_host to am_host schema name

Refactors RTT: import_active_monitoring_config.lua

Refactors RTT: active_monitoring_stats.lua

Refactors RTT: active_monitoring_stats i18n

Refactors RTT: get_active_monitoring_config.lua

Refactors RTT: get_active_monitoring_hosts

Refactors RTT: edit_active_monitoring_host

Refactors RTT: active_monitoring.lua

Refactors RTT: active_monitor

Refactors RTT: active_monitoring_utils.js

Refactors RTT: get_active_monitoring_hosts.lua fixes

Refactors RTT: last_rtt

Refactors RTT: rtt_host to am_host
2020-04-13 21:34:10 +02:00
Simone Mainardi
e487427aab Refactors alert_utils and enterprise_alert_utils
Addresses #3720

Alerts Refactor: alert_utils as module

Alerts Refactor: notify_ntopng_start and notify_ntopng_stop

Alerts Refactor: processAlertNotifications

Alerts Refactor: checkStoreAlertsFromC

Alerts Refactor: formatAlertNotification

Alerts Refactor: notification_timestamp_rev

Alerts Refactor: formatAlertMessage

Alerts Refactor: getConfigsetAlertLink

Alerts Refactor: alertNotificationActionToLabel

Alerts Refactor: flushAlertsData

Alerts Refactor: disableAlertsGeneration

Alerts Refactor: newAlertsWorkingStatus and other

Alerts Refactor: drawAlerts

Alerts Refactor: drawAlertTables

Alerts Refactor: printAlertTables

Alerts Refactor: checkDeleteStoredAlerts

Alerts Refactor: getUnpagedAlertOptions

Alerts Refactor: getTabParameters

Alerts Refactor: getAlerts

Alerts Refactor: getNumAlerts

Alerts Refactor: performAlertsQuery

Alerts Refactor: sec2granularity

Alerts Refactor: granularity2id

Alerts Refactor: granularity2sec

Alerts Refactor: alertEngineLabel

Alerts Refactor: alertEngine

Alerts Refactor: alertEngineRaw

Alerts Refactor: alertTypeDescription

Alerts Refactor: alertType

Alerts Refactor: alertTypeLabel

Alerts Refactor: alertTypeRaw

Alerts Refactor: alertSeverity

Alerts Refactor: alertSeverityLabel

Alerts Refactor: alertSeverityRaw

Alerts Refactor: get_make_room_keys

Alerts Refactor: enterprise_alert_utils
2020-04-10 14:03:20 +02:00
Simone Mainardi
3744ace4f8 Refactors graph_utils and nv_graph_utils
Addresses #3720

Refactor: create module graph_utils

Refactor: get_timeseries_layout

Refactor: get_default_timeseries

Refactor: getDeviceCommonTimeseries

Refactor: printCategoryDropdownButton

Refactor: printPoolChangeDropdown

Refactor: poolDropdown

Refactor: printProtocolQuota

Refactor: printGraphTopFlows

Refactor: drawGraphs

Refactor: printNotes

Refactor: getMinZoomResolution

Refactor: printSeries

Refactor: zoom_vals

Refactor: getZoomDuration

Refactor: getZoomAtPos

Refactor: stackedProgressBars

Refactor: percentageBar

Refactor: breakdownBar

Refactor: getProtoVolume

Refactor: normalizeSeriesPoints

Refactor: nv_graph_utils

Refactor: extendLabels

Refactor: getAlertGraphLink

Refactor: performCustomQuery

Refactor: drawProGraph

Refactor: unifies nv_graph_utils and graph_utils
2020-04-10 09:47:32 +02:00
Luca Deri
99c4ce6897 Fixed geomap 2020-04-09 00:20:06 +02:00
emanuele-f
d0ba121a5e Rework flows table update
The update of multiple flows is now performed in a single AJAX request,
reducing the performance impact.

Closes #3660
2020-04-07 16:56:14 +02:00
gabryon99
792a542c41 added print_page_title on each page 2020-04-06 10:35:57 +02:00
emanuele-f
0cae211404 Fix missing SNMP host menu entry
Fixes #3694
2020-04-03 10:36:19 +02:00
Alfredo Cardigliano
2425134f05 Replace isEnterprise with isEnterpriseM 2020-04-02 12:36:34 +00:00
emanuele-f
02c36d4140 Replace calls to getResolvedAddress with host2name 2020-03-31 11:52:50 +02:00
gabryon99
ce0e3d2d11 fix for system view 2020-03-24 12:39:08 +01:00
gabryon99
f87db8ec27 added windows check rtt in host details 2020-03-23 19:45:57 +01:00
gabryon99
23c7fd869c added message on rtt add 2020-03-23 18:10:58 +01:00
gabryon99
253f73dea6 fixed typo 2020-03-23 17:40:49 +01:00
gabryon99
7479582210 fix system view and add rtt host from host_details 2020-03-23 17:38:22 +01:00
emanuele-f
4094662148 Hide packets-related pages in nEdge
Fixes #3586
Fixes #3585
2020-03-20 17:45:38 +01:00
emanuele-f
d0d0287570 Fix MUD recording state when disabled 2020-03-10 11:01:19 +01:00
emanuele-f
c7b2f12cc1 MUD improvements
- Handle configuration reset from gui
- Handle validation
- Show general and special device types info description
2020-03-05 11:56:23 +01:00
emanuele-f
b23ee9fb4f Show MUD recording status, fix recording issues 2020-03-05 10:04:42 +01:00
emanuele-f
f000dcb30a MUD configuration save fixes 2020-03-04 18:13:14 +01:00
emanuele-f
94f175194b Initial changes for MUD recording 2020-03-04 17:05:53 +01:00
emanuele-f
d1140ec9fd Avoid timeseries read operations to display the chart icon
Now the icon is displayed whenever the timeseries are enabled for the given context
2020-02-19 13:27:20 +01:00
Luca Deri
5351320114 Added checks on nil variables 2020-02-15 16:49:06 +01:00
gabryon99
a5f6ae3b8d Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2020-02-13 17:44:21 +01:00
emanuele-f
70da6923a5 Fix traffic report incorrectly show in community 2020-02-13 17:16:25 +01:00
gabryon99
bec4c8184d add switches instead checkboxes 2020-02-12 22:38:27 +01:00
Simone Mainardi
20fe918d66 Handles dismissable missing geoip notice
Implements #3395
2020-02-11 15:30:01 +01:00