Commit graph

3722 commits

Author SHA1 Message Date
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
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
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
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
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
13cfd29376 Implements REST endpoint to get all pools for a given recipient 2020-09-10 14:00:55 +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
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
Simone Mainardi
f56bcebe81 Handles in-memory recipients addition/deletion 2020-09-08 14:05:38 +02:00
Simone Mainardi
fbf1e39981 Implements reuse of recipient ids 2020-09-07 15:53:35 +02:00
Simone Mainardi
26ec4738f3 Adds endpoint_key to recipients.lua 2020-09-07 15:45:25 +02:00
Simone Mainardi
3cefe89d4b Initial implementation of OO recipients and integer ids 2020-09-07 13:03:34 +02:00
gabryon99
5db42ecec4 replaced endpoint/recipient name as primary key in GUI 2020-09-07 10:04:57 +02:00
Simone Mainardi
148999e212 Fixes to process low-pri flow alerts queue 2020-09-04 19:02:58 +02:00
Simone Mainardi
be3fd5b7cd Implements two priority queues for each notification recipient
Implements #4365
2020-09-04 18:25:46 +02:00
Simone Mainardi
85f555a908 Removes intermediate alert queues - only leaves recipient queues
Implements #4366
2020-09-04 17:41:55 +02:00
Simone Mainardi
1a7ee97334 Reworks builtin SQLite alerts as a regular alert recipient 2020-09-04 10:33:10 +02:00
Simone Mainardi
1d4930fc13 Initial work to add the SQLite plugin and builtin recipient 2020-09-03 19:35:28 +02:00
Simone Mainardi
6053c752f6 Avoids resending notifications for triggered alerts after restarts
Implements #4357
2020-09-03 09:58:46 +02:00
Simone Mainardi
d7a02546c9 Implements discord notifications endpoint
Implements #4346
2020-09-02 19:02:11 +02:00
Luca Deri
7aa6fd3bd8 Partially implements #4346 (work in progress) 2020-09-02 17:50:54 +02:00
Simone Mainardi
28caa3ac33 Fixes alerts starving in per-recipient queues 2020-09-02 14:52:40 +02:00
Simone Mainardi
e1aee48292 Adds budget in processAlertNotifications
Addresses comment 9fd8c20324 (commitcomment-41951949)
2020-09-02 10:12:46 +02:00
Simone Mainardi
a0097167f4 Fixes active monitoring alerts 2020-09-01 23:03:11 +02:00
Simone Mainardi
b6f53df891 Fixes possibly skipped endpoint notifications export 2020-09-01 19:54:54 +02:00
Simone Mainardi
9fd8c20324 Fixes alerts possibly starving in the alerts notif. queue 2020-09-01 18:24:23 +02:00
Simone Mainardi
5fbe012134 Implements in-memory counters for alert queues and shows them in the UI 2020-09-01 17:42:03 +02:00
Simone Mainardi
4d5abf778a Changes default return codes of base recipients.lua class 2020-09-01 11:17:31 +02:00
Simone Mainardi
7b7f2f193b Implements checks for SQLite recipient queue push return 2020-09-01 11:15:07 +02:00