Commit graph

50 commits

Author SHA1 Message Date
Alfredo Cardigliano
75ba792513 Check if pool recipients exist 2020-07-31 16:50:55 +02:00
Alfredo Cardigliano
b15379d5be Handle old pools with no recipients 2020-07-31 12:56:40 +02:00
Simone Mainardi
330234e3f7 Optimized hosts scripts using direct pool_id to retrieve config 2020-07-30 19:57:16 +02:00
Simone Mainardi
7a0a3b5d42 nEdge compatibility fixes with the new Defaul pool 2020-07-30 14:04:11 +02:00
Simone Mainardi
31f173cdad Prevents name changes for the default pool 2020-07-29 19:01:43 +02:00
Simone Mainardi
b5f805fce5 Implements default pools
Implements #4158
2020-07-29 18:14:34 +02:00
Simone Mainardi
301b8ce83c Changes pools lock key to avoid saving it as preference 2020-07-28 19:10:45 +02:00
Alfredo Cardigliano
e344508df1 Update runTest API in all endpoint plugins. Add action=test in edit_notification_recipient.lua 2020-07-28 15:52:41 +02:00
Alfredo Cardigliano
6db82d9d3f Enable new recipient based notification for the email endpoint (temporarily disabled) 2020-07-27 13:19:28 +02:00
Alfredo Cardigliano
7ffb4df9a6 Handle host pool serialization (exception for backward compatibility).
Fix recipients add
Initial work for alerts dispatching to recipients
2020-07-23 06:22:17 +02:00
Simone Mainardi
4adc0f7924 Fixes invalid pool_name method in base_pools 2020-07-22 20:32:14 +02:00
Alfredo Cardigliano
1d1a49c6bf Implement unbind_all_recipient_id 2020-07-22 18:26:17 +02:00
Alfredo Cardigliano
0d7d274d4c Add recipients to pools 2020-07-22 17:30:11 +02:00
Simone Mainardi
da709e6ccd Fixes get_pool_name 2020-07-21 19:15:11 +02:00
Simone Mainardi
ceba04f92c Fixes to associate pool ids with alerts 2020-07-21 14:59:12 +02:00
Simone Mainardi
42b7d8e7e9 Implements facility to add pool info to alerts 2020-07-21 13:09:27 +02:00
Simone Mainardi
52c022de20 Returns bind errors in REST endpoint to add host pool members 2020-07-17 17:29:46 +02:00
Simone Mainardi
831dcfff83 Fixes for unbinding host pool members 2020-07-17 11:43:31 +02:00
Simone Mainardi
c623f21ba0 Refactors old host_pools_utils to nEdge-only host_pools_nedge 2020-07-16 18:17:19 +02:00
Simone Mainardi
749942c7a5 Reworks pool change dropdowns with the new lua implementation 2020-07-16 17:38:20 +02:00
Simone Mainardi
fbd2eb829f Migrates unknown_devices.lua to use the new lua host pools class 2020-07-16 16:01:22 +02:00
Simone Mainardi
205eb8723c Reworks get_pools_data.lua to use the new host pools lua class 2020-07-16 15:44:02 +02:00
Simone Mainardi
4e886711cf Refactors pools members bind checks (eases host pools checks) 2020-07-15 15:11:58 +02:00
Simone Mainardi
eb5c15ed88 Optimizes bind_member 2020-07-15 11:56:31 +02:00
Simone Mainardi
7408eca0bc Implements host pools as a Lua class (compatible with existing pools)
Implements #4131
2020-07-14 16:54:14 +02:00
Simone Mainardi
a9ccba5ec6 Implements base_pools:bind_member Lua API
Implements #4129
2020-07-13 19:22:05 +02:00
Simone Mainardi
92c88c7924 Migrates interface user scripts to the new interface pools configuration 2020-07-10 19:32:03 +02:00
Simone Mainardi
cf400216e2 Implements caching of member-to-confiset_id as Lua pool class member 2020-07-10 19:22:47 +02:00
Simone Mainardi
bd4921df55 Migrates local network user scripts to the new host pools configuration 2020-07-10 18:45:19 +02:00
Simone Mainardi
ecdf9e22cd Improves configuration lock/unlock logic 2020-07-10 16:39:55 +02:00
Simone Mainardi
a6ffb62bf2 Implements unbind of configsets across all pools instances 2020-07-10 16:32:49 +02:00
Simone Mainardi
2230673eb3 Reworks user scripts UI with new host pools 2020-07-09 19:12:20 +02:00
Simone Mainardi
d848b64862 Adds configset name to pools getter 2020-07-09 12:11:21 +02:00
Simone Mainardi
53e440c0f7 Allows pool members to be created/edited with zero members 2020-07-08 15:19:21 +02:00
Simone Mainardi
d05c191cc7 Implements lua class local_network_pools.lua to handle network pools 2020-07-08 14:42:48 +02:00
Simone Mainardi
d862404802 Returns pool details in base_pools:get_pool 2020-07-07 11:13:58 +02:00
Simone Mainardi
69c7cd7acd Implements get_member_details to get interface pool member details 2020-07-07 11:06:20 +02:00
Simone Mainardi
53fe63f6b3 Adds member details to interface_pools.lua 2020-07-06 18:23:13 +02:00
Simone Mainardi
a74028878a Returns pool lists as a lua array 2020-07-06 17:29:41 +02:00
Simone Mainardi
4c1ae3056a Implements locks to prevent races when adding/editing/deleting pools 2020-07-06 16:52:03 +02:00
Simone Mainardi
aab7051810 Implements RESTful getters for interface pools and members
Implements #4109
2020-07-06 14:22:24 +02:00
Simone Mainardi
62c35e82ec Implements RESTful delete of interface pools and members
Implements #4108
2020-07-06 13:06:01 +02:00
Simone Mainardi
519fec5f94 Implements RESTful edit of interface pools and members
Implements #4107
2020-07-06 12:57:01 +02:00
Simone Mainardi
ca1a011c2b Implements RESTful addition of interface pools and members 2020-07-06 12:38:39 +02:00
Simone Mainardi
1ef13ca9ea Implements consistency checks for the addition/edit of pools and members 2020-07-06 12:00:27 +02:00
Simone Mainardi
d09b105a9c Improves hierarchy of lua classes for pools and interface pools 2020-07-05 18:43:24 +02:00
Simone Mainardi
7c3573186a Makes list_available_configset_ids part of base class base_pools.lua 2020-07-05 14:05:22 +02:00
Simone Mainardi
efbb84a892 Additional methods for pools and interface pools lua classes 2020-07-05 13:57:35 +02:00
Simone Mainardi
a9040f1057 Initial implementation of lua classes to handle pools and interface pools 2020-07-05 12:15:08 +02:00
Simone Mainardi
959de4da4c Adds stubs to list available pool members and available confset ids
Addresses #4106
2020-07-03 15:02:42 +02:00