Commit graph

30 commits

Author SHA1 Message Date
Alfredo Cardigliano
2ef958d8df Add Notification Endpoint and Recipients import/export/reset endpoint (#4433) 2020-10-01 15:52:35 +02:00
Simone Mainardi
6c1280a8e5 Reworks recipients.lua as static rather than (useless) instance 2020-09-23 15:03:07 +02:00
Simone Mainardi
d3572496b8 Adds missing default recipient params format 2020-09-18 11:32:10 +02:00
Simone Mainardi
8724ebdd9f Adds formatted output of endpoint recipients 2020-09-17 12:41:45 +02:00
Simone Mainardi
d8d8ee08ee Refreshes recipients upon plugins reload 2020-09-16 22:11:50 +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
33bd6bb1c9 Fixes callbacks last duration
Fixes #4436
2020-09-16 18:10:51 +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
d42051616c Implements per-recipient user script categories and severities 2020-09-16 12:09:13 +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
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
Simone Mainardi
06bf75c048 Implements method to retrieve endpoints with associated recipients
Implements #4389
2020-09-11 09:58:14 +02:00
Simone Mainardi
6310dc1d8d Avoids reset of builtin endpoints/recipients 2020-09-10 18:51:36 +02:00
Simone Mainardi
c577710618 Fixes cascade-deletion of endpoint recipients
Partially addresses #4389
2020-09-10 17:48:50 +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
6924651ec5 Refactors creation of builtin endpoints and recipients
Implements #4386
2020-09-10 12:01:23 +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
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
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
Simone Mainardi
ddf2970843 Refactors base_recipients to recipients 2020-09-01 10:56:58 +02:00
Renamed from scripts/lua/modules/recipients/base_recipients.lua (Browse further)