Commit graph

5369 commits

Author SHA1 Message Date
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
Simone Mainardi
06bf75c048 Implements method to retrieve endpoints with associated recipients
Implements #4389
2020-09-11 09:58:14 +02:00
Simone Mainardi
98fca69c06 Removes a debug print 2020-09-10 18:54:32 +02:00
Simone Mainardi
6310dc1d8d Avoids reset of builtin endpoints/recipients 2020-09-10 18:51:36 +02:00
Simone Mainardi
1a8552549b Removes unused old notification_recipients module 2020-09-10 18:10:23 +02:00
Simone Mainardi
c577710618 Fixes cascade-deletion of endpoint recipients
Partially addresses #4389
2020-09-10 17:48:50 +02:00
Simone Mainardi
27ef917766 Implements flag to indicate default-only pools 2020-09-10 16:29:00 +02:00
Luca Deri
a91bde8952 Reworked alert formatting adding new options and removing little redundancy
Tiny change in the discord plugin
2020-09-10 16:13:42 +02:00
Simone Mainardi
72828270ad Adds a missing package.path 2020-09-10 15:20:51 +02:00
Simone Mainardi
9875e9b398 Implements REST API endpoint to factory-reset notif. endpoints
Implements #4391
2020-09-10 15:17:43 +02:00
gabryon99
8617c045ef shows always builtin recipients in add/edit pool modal 2020-09-10 15:14:14 +02:00
Simone Mainardi
2086065b28 Implements REST API endpoint to factory-reset recipients
Implements #4391
2020-09-10 15:04:48 +02:00
Simone Mainardi
e0192d03be Implements reset of pools and REST API endpoint
Implements #4384
2020-09-10 14:45:28 +02:00
Simone Mainardi
0924b42828 Fixes endpoint type for builtin endpoint 2020-09-10 14:23:48 +02:00
Simone Mainardi
13cfd29376 Implements REST endpoint to get all pools for a given recipient 2020-09-10 14:00:55 +02:00
gabryon99
2048db187f made recipients builtin non-editable and non-deletable 2020-09-10 12:43:09 +02:00
gabryon99
2e0b7015fc add non-editable and non-deletable endpoints builtins 2020-09-10 12:42:14 +02:00
Luca Deri
4253d44996 Added check when recipient do not have a correspondign endpoint defined. Not a fix but a workaround
until https://github.com/ntop/ntopng/issues/4389 is fixed
2020-09-10 12:07:45 +02:00
Simone Mainardi
6924651ec5 Refactors creation of builtin endpoints and recipients
Implements #4386
2020-09-10 12:01:23 +02:00
Simone Mainardi
c1078d2f21 Implements additional pools and edit/get REST API
Implements #4380
Implements #4381
2020-09-10 11:11:08 +02:00
Simone Mainardi
20db316136 Migrates Discord plugin as self-contained 2020-09-09 17:22:09 +02:00
Simone Mainardi
5e7f2cfff4 Implements thread for notifications handling 2020-09-09 12:16:51 +02:00
gabryon99
63f3914e04 fixed string localization 2020-09-09 11:08:31 +02:00
Luca Deri
4648dfffe1 Implemented full IEC 104 handling 2020-09-08 20:03:20 +02:00
Simone Mainardi
64e1f7bbe8 Excludes builtin recipients from host pool pages 2020-09-08 19:14:46 +02:00
Simone Mainardi
9e99fa1403 Uses new in-memory queues for alert recipients (avoid Redis) 2020-09-08 18:36:18 +02:00
Simone Mainardi
2aa4588c07 UI fixes for new recipients 2020-09-08 14:57:55 +02:00
gabryon99
146e0f7945 rewrok gui for new recipients api 2020-09-08 14:08:44 +02:00