Commit graph

5396 commits

Author SHA1 Message Date
gabryon99
ecd3e4e062 widgets and datasources hidden from menu 2020-09-22 10:05:34 +02:00
Simone Mainardi
3ad4522e45 Implements additional plugin hooks
The following plugin hooks have been implemented

onEnable(hook, hook_config)
onDisable(hook, hook_config)
onUpdateConfig(hook, hook_config)
onLoad(hook, hook_config)
onUnload(hook, hook_config)

Documentation is part of the commit.

Implements #4451
Implements #4453
Implements #4454
Implements #4455
2020-09-21 18:25:14 +02:00
Alfredo Cardigliano
f83ccb70d5 Add external alert check on flow end event. Remove *if* preventing external alerts from being triggered. 2020-09-21 16:12:36 +02:00
Simone Mainardi
304c5404f2 Implement additional plugin hook script.onUpdateConfig
Implements #4451
2020-09-20 13:19:36 +02:00
gabryon99
402e1113fb fixed weird notification style
close #4449
2020-09-18 21:53:17 +02:00
Simone Mainardi
65484afb6c User script categories id assignment fixes 2020-09-18 19:23:15 +02:00
Alfredo Cardigliano
721a32b9a4 Indentation 2020-09-18 18:27:21 +02:00
Alfredo Cardigliano
161535700d Show an alert in the GUI when Flow Dump (e.g. nIndex) initialization fails 2020-09-18 15:25:33 +02:00
Alfredo Cardigliano
875e4febc6 Report whether flow dump is disabled from runtime prefs 2020-09-18 11:42:38 +02:00
Simone Mainardi
d3572496b8 Adds missing default recipient params format 2020-09-18 11:32:10 +02:00
Alfredo Cardigliano
b35e0bcdd9 Fix access to getSavedDeviceName 2020-09-17 19:01:36 +02:00
Alfredo Cardigliano
a5078cd4f5 Show disaggregated icon for the active interface in the menu 2020-09-17 17:57:03 +02:00
gabryon99
e201fe69f2 improved SNMP edit pool 2020-09-17 15:36:24 +02:00
gabryon99
54d0ae1e19 hide 0 bytes values 2020-09-17 15:00:40 +02:00
gabryon99
a10f320918 improved alerts page looking 2020-09-17 15:00:40 +02:00
gabryon99
803e434604 improved pages looking & feel 2020-09-17 15:00:39 +02:00
Simone Mainardi
8724ebdd9f Adds formatted output of endpoint recipients 2020-09-17 12:41:45 +02:00
Alfredo Cardigliano
85e62b6c1e Fix exported flows rate unit 2020-09-17 11:08:29 +02:00
Alfredo Cardigliano
37b41db270 Show Direct Mode in flow export stats 2020-09-17 10:36:02 +02:00
Luca Deri
8db941c31e Improved IEC 104 plugin 2020-09-16 23:24:40 +02:00
Simone Mainardi
d8d8ee08ee Refreshes recipients upon plugins reload 2020-09-16 22:11:50 +02:00
Alfredo Cardigliano
3f9b3a8272 Add trend icon for unhandled flows 2020-09-16 18:57:02 +02:00
Alfredo Cardigliano
eaa98e6002 Show counters for unhandled flows 2020-09-16 18:52:19 +02:00
Simone Mainardi
71c8f9c1f3 Fixes too many C levels (limit is 200) in function at line 2424 near 'country' 2020-09-16 18:51:23 +02:00
Simone Mainardi
0bbcc12edb Fixes pools_alert_utils.lua:112: bad argument #1 to 'for iterator' 2020-09-16 18:26:39 +02:00
Simone Mainardi
33bd6bb1c9 Fixes callbacks last duration
Fixes #4436
2020-09-16 18:10:51 +02:00
gabryon99
5d2e887aea improved edit category list page style 2020-09-16 18:02:11 +02:00
Simone Mainardi
f49ee9ba7a Fixes recipients_rest_utils.parse_minimum_severity 2020-09-16 17:10:52 +02:00
gabryon99
521c2a3b8e severity fix on recipient edit modal 2020-09-16 17:02:15 +02:00
Simone Mainardi
9341a43809 Adds user scripts categories mapping in C 2020-09-16 16:47:09 +02:00
gabryon99
4c6d067205 add severity and categories for recipients 2020-09-16 16:13:04 +02:00
Simone Mainardi
b7341506f7 Implements checks for script type and alert severity in dispatch_notification 2020-09-16 13:08:07 +02:00
Simone Mainardi
8a31d3b11d Adds recipients_rest_utils.lua file 2020-09-16 12:09:53 +02:00
Simone Mainardi
d42051616c Implements per-recipient user script categories and severities 2020-09-16 12:09:13 +02:00
Alfredo Cardigliano
e2f87a26b9 Add license status in the About page 2020-09-16 11:03:58 +02:00
Simone Mainardi
64f0922b6b Implements plugin onLoad call
Implements #4438
2020-09-16 10:48:12 +02:00
Simone Mainardi
18db446acd Validation for user scripts categories and severity 2020-09-16 10:23:49 +02:00
Simone Mainardi
09c33b57f7 Adds user script category ids 2020-09-15 18:41:02 +02:00
gabryon99
e7540033af check on table type in table.all 2020-09-15 18:16:59 +02:00
gabryon99
489ef050b2 improved table.all 2020-09-15 18:16:59 +02:00
Simone Mainardi
b1b90c13d6 Implements alert queues monitoring backend
Implements #4324
2020-09-15 18:05:56 +02:00
Simone Mainardi
fdf65adc62 Reworks recipient register/delete and Lua VMs reload 2020-09-15 15:58:48 +02:00
Simone Mainardi
f7e1ea9709 Reworks plugin loading and structure
Implements #4358
2020-09-15 11:33:53 +02:00
gabryon99
7a76cbf880 replaced other/others with 'and X more' 2020-09-14 15:43:05 +02:00
gabryon99
024f8b4572 fixed plus button inside recipients list 2020-09-14 15:25:30 +02:00
Simone Mainardi
b4627ffc08 Removes forced use of builtin SQLite plugin
Implements #4383
2020-09-11 18:39:18 +02:00
gabryon99
4eb22f261a fix otherStr string in ntop_utils.js 2020-09-11 17:29:14 +02:00
Luca Deri
15337f7051 Added check to void handling nil in notifications 2020-09-11 16:24:58 +02:00
gabryon99
3b071dd046 added new pools 2020-09-11 14:35:38 +02:00
gabryon99
f8ef59e19d show alway recipients list 2020-09-11 14:35:38 +02:00