Commit graph

90 commits

Author SHA1 Message Date
Alfredo Cardigliano
9e74c09dbd Improve navbar responsivenes 2021-08-13 17:28:41 +02:00
Alfredo Cardigliano
4ed9b03b20 Improve number format in badges. Add NtopUtils.formatValue (add decimal). 2021-08-13 13:13:32 +02:00
Simone Mainardi
f10dd6a6d0 Fixes empty toggles to hide/show columns with empty names
Fixes #5741
2021-08-13 11:38:55 +02:00
Alfredo Cardigliano
74b2beb829 Improve navbar look 2021-08-13 10:12:44 +02:00
Simone Mainardi
d1d598e0a2 Implements proper shortening in host/flow alerts
Addresses #5727
2021-08-03 19:39:39 +02:00
Alfredo Cardigliano
968fb5f752 Improve top navbar look&feel 2021-08-03 14:58:37 +02:00
Alfredo Cardigliano
9167e35bc3 Keep search at the top-right when resizing 2021-08-03 11:43:17 +02:00
Simone Mainardi
27951ae8a1 Fixes invalid traffic totals when reading large timespans
Addresses #5683
2021-07-20 11:14:38 +02:00
Alfredo Cardigliano
67657f1952 Fix filters with 0 value 2021-07-20 11:04:23 +02:00
Simone Mainardi
d11929f578 Minor infrastructure monitoring cleanup 2021-07-14 16:00:29 +02:00
Alfredo Cardigliano
25ee21db0a Add SMTP url validation 2021-07-14 11:59:37 +02:00
Simone Mainardi
833fc3670b Reworks version of alert exclusions 2021-07-12 17:37:51 +02:00
Alfredo Cardigliano
84a30899ec Fix alert name tooltip. Fix filter label for alert name. 2021-07-09 17:00:52 +02:00
Simone Mainardi
553b18a8b3 Updates js files 2021-07-01 18:10:16 +02:00
Alfredo Cardigliano
6827241e13 Defer sql condition generation. Rework handling of special cases of conditions. Fix host/vlan filters. 2021-07-01 12:41:36 +02:00
Simone Mainardi
ae8e82de5e Removes shadows from navbars
Fixes #5460
2021-06-08 12:41:07 +02:00
Simone Mainardi
f27ea48a54 Replaces old warning.png with fontawesome
Fixes #5397
2021-06-04 15:38:29 +02:00
Simone Mainardi
c6f8f6f085 Fixes useless fontawesome minification an invalid make minify
Fixes #5443
2021-06-04 12:26:19 +02:00
gabryon99
78c3984f7c fix for sidebar (#5407) 2021-05-28 12:50:18 +02:00
gabryon99
cc87b69dd4 fixes for login page in dark mode 2021-05-28 12:30:53 +02:00
gabryon99
ebc76da1b6 fixes for dark mode and removed of minified files. (#5391) 2021-05-28 12:13:23 +02:00
gabryon99
90d6bedcdf right aligned search box 2021-05-21 15:02:31 +02:00
Simone Mainardi
1dce9e5842 Migrates to Bootstrap 5
Adds bootstrap-5.0.0-beta3-dist

Adds bootstrap-5.0.0

Updates bootstrap-5.0.0-beta3-dist to bootstrap-5.0.0-dist

initial migration to bs v5

porting to bs5

improvements on dropdown menu filter

fixed host map dropdown

removed excessive padding

fix button toggle

re-add blog news

removed text decoration for links

fix button layout (#5348)

remove underscore from href (#5347)
2021-05-18 11:39:59 +02:00
Alfredo Cardigliano
1b58740579 Add colors to alertt dashboard. Cleanup duplicated css. 2021-05-06 18:47:29 +02:00
gabryon99
994afbaf52 fixes on alerts layout 2021-05-04 12:20:21 +02:00
gabryon99
ab289aec69 fixes on alert stats layout 2021-05-03 17:42:54 +02:00
gabryon99
ae384d8a34 new alerts page layout (#5230) 2021-05-03 12:00:54 +02:00
gabryon99
f99e7d4830 gui improvments 2021-04-30 10:38:17 +02:00
gabryon99
74a6906c4c lightly rework for page's navbar (#5247) 2021-04-28 12:22:37 +02:00
Simone Mainardi
c7082a4647 Implements new alerts database and drilldown
alert store skeleton

Alert database type changes

Implement alert store for host alerts. All alert store skeletons.

Fix class method access

Enable tracing

Implements simple queries for host alerts

Implement flow alert store

Fixes escaping of INSERT queries

Flow alerts database schema fixes

Adds escaping for alert JSON in flows and hosts

Implements queries .select() for alerts store

Adds limit and offset to perform paginated queries

Adds new REST getter for flow alerts

Name changes alert_severity to severity, alert_json to json

Fixes alert message not shown

Implement active monitoring alerts store

Implements sort of queries in the new dataabase

Changes alert_type to alert_id

Implement mac alerts store

Fixes flow alert messages

Implement system alerts store

Implement snmp alert store

Add missing items to the flow alerts

Add missing items to the host alerts

Add missing items to the mac alerts

Implements COUNT aplerts api

Add device_name to snmp alerts

add flow alerts templates

updated gitignore

fix for missing order field

add families defined in `alert_store_schema.sql`

Reworks and simplifies alert store subclasses

Implements REST API to fetch alert timeseries

Fixes date in flow REST api

Host alert json fix

Add get/host/alert/list.lua

Move alert/list.lua to alert/past/list.lua

Add alert/past/list.lua for all alert families

Add entity_id to system table to identify the alert type based on <alert_id, entity_id>

Add missing field

Implements facilities to query engaged alerts via REST

Handle both historical and past alerts in alert/list.lua

Fix count

Update params of select_historical

Implement method to add family-specific filters

Add alert/ts.lua for all alert families

Implements facilities and REST endpoints to delete alerts

Implements ordering of alert queries

Fix add_order_by group_by

Rest API tests update

Tests output update

Remove debug trace

Use alert_id instead of type. Add more flow alert info.

Update http lint

Format obsolete tlv version alerts. Add more host info.

Add row_id to list of alerts

Fix selection of engaged alerts

Add test for mac alerts (bcast domains)

Removes attempt to format alerts as flow alerts

Fixes interface selection for active monitoring

Update test output with rest changes

Add more fields to be ignores

Set alert count to 1 for the time being

add bar timeseries chart

add apexcharts

improvements on timeseries bar chart

registered chart callbakcs

working on alert page

fix for date format

Fixes acrive monitoring REST API

Fixes alignment of grouped alert data

Additional fix for alert histogram

remove useless if

formatting alerts page

fixes on flows alert stats table

rename local networks to device

format host pagie in alert_stats

add tag support for hosts and flow

implemented single delete action

add release modal

Fixes format of threshold cross interface alerts

Fixes wrong increase of dropped alerts

Implements exclusion list for invalid dns queries

Reworks exclusions lists for hosts and flows

Addresses #5212
Addresses #5113

Adds host alert keys in host callbacks definitions

Adds alert ids to flow callbacks

fix for not working button (#5215)

Fixes reported timeseries name

removed any additional button inside chart's toolbar (#5200)

Add tables for interfaces, networks, users to the schema. Skeleton alert_store classes

fixed broken range picker layout in firefox (#5199)

Alert insert fixes

Add more info to network alerts

Add rest endpoint for interface, network, user alerts

Fix endpoint selection in alerts_stats

Unifies columns between engaged and past alerts

Fixes Missing mandatory 'alert_granularity'

Minor fixes for missing alert_severity

Fixes arithmetic on a nil value (field 'last_seen')

Fixes get/system/alert/list.lua

use tstamp for column names (#5221)

Implements host alert formatter

Add alerts_store format_record_common

Use common format_record for am, system alerts

Use common format_record for all alerts

Fixes formatting of alerts of all types

Fixes nil in function 'hostinfo2label'

fixes on disable modal

add pages for network, user and interface endpoint (#5224)

Set alert_entity in all classes

Unifies influxdb alerts into system alerts

Addresses #5224

Unifies process alerts into system alerts

Addresses #5224

Cleanup unused periodicActivityEntity

Unifies category lists alerts into system alerts

Addresses #5224

Aligns new alert enums

Addresses #5224

Fixes alert page links

Fixes insertion of interface alerts

Implement filters for Host alerts

Fixes active monitoring alerts not triggering

Implement filters on flow alerts

Fixes for internal alerts timestamp and subtype

implements disable for the alerts

formatted alert disable label

Add address and device type to mac alert records

fix for delete alert toggle

Fix access to entity_val in alert_unexpected_new_device

add mac address and device type inside table

Fixes for new alert fields not handled

Fixes alert_definitions to handle new fields

Add ip/port to snmp alert records

Implements deletion of stored flow alerts

Add alert_name to all alert records via rest. Fix duration.

fixes for snmp tab

Implements delete of past host alerts

Add name to snmp alert records

fixes on system tab

Fix Date column

fixes link

Update menu

Fixes bad argument #3 to 'format' in snmp alerts

updated interface link

new alerts url for host (#5228)

Fixes sort of engaged alert

Minor cleanup

Fixes data returned for local network alerts

Fix duration for one shot. Note.

Fix duration override

Fixes interface selection for system alerts

Move host alert page

fixes for local network tab

Minor fix

Fix engaged host alerts

fixes on user tab

Fix alert_user_activity message
2021-04-26 19:41:34 +02:00
gabryon99
6ae469ff98 initial work for new dashboard 2021-04-12 09:10:20 +02:00
gabryon99
8fa4433fb3 fixed duplicated filter bug in nindex page 2021-04-02 11:34:09 +02:00
Matteo Biscosi
7a5869f729 Updated minify and changed top talkers rest path 2021-04-01 12:20:53 +02:00
gabryon99
6ead87d958 added chips inside range-picker 2021-03-23 11:19:15 +01:00
gabryon99
aefcb6d83e added overlay to hide loading 2021-03-22 16:57:08 +01:00
gabryon99
a7aa8da622 add resizable container 2021-01-27 10:06:03 +01:00
gabryon99
caf3c40e0a add no-wrap css class for table cells (#4958) 2021-01-27 09:44:06 +01:00
gabryon99
5688f45544 simple test for widgets 2021-01-06 15:47:05 +01:00
gabryon99
07e747e538 improvements for pages layout (#4798) 2021-01-04 16:17:11 +01:00
gabryon99
4bb913884a removed unecessary css class 2020-12-29 15:14:45 +01:00
gabryon99
3db7c2f6e5 temporal fix for dropdown menus beign hide (#4798)
Right now the best solution to solve this issue is to set a minimum
height for the `.table-responsive` wrapper. The height is calculated
by the minimum height of a scrollable-dropdown, plus a delta used to
avoid that a menu overlays the button.
2020-12-28 09:21:07 +01:00
gabryon99
f489710fa8 extended datatable utils 2020-12-23 18:26:27 +01:00
gabryon99
0936df6d01 made a new page for the license (#3665) 2020-11-30 18:02:01 +01:00
gabryon99
a5f74410f8 refactorized notifications into toasts (#4706) 2020-11-25 14:36:34 +01:00
gabryon99
68df289386 imrpved page layouts and lokking feel 2020-11-20 14:50:38 +01:00
gabryon99
60348d7833 fixed navbar background mobile devices 2020-11-11 17:05:45 +01:00
gabryon99
cd8bb96a35 improvement on ntopng style 2020-11-11 16:58:07 +01:00
gabryon99
ead42c9390 removed uncecessary div 2020-11-03 10:26:17 +01:00
gabryon99
93a426dfca fixed dark theme toggle button 2020-11-03 10:21:26 +01:00
gabryon99
cf16003826 add notification for unexpected plugins (#4659) 2020-11-02 11:42:30 +01:00