emanuele-f
a8d1f9e4e7
Add the possibility to specify custom scripts parameters
2017-02-17 20:25:40 +01:00
emanuele-f
4a5f0cf8a3
Fix wrong quote in alerts
2017-02-17 12:11:49 +01:00
emanuele-f
7f48b1b4ad
Fixes
2017-02-15 11:28:58 +01:00
emanuele-f
97515fd76b
Fix validation error when deleting a protocol category policy
2017-02-13 21:20:02 +01:00
emanuele-f
5995ab536a
Unify alert configuration code and place settings under alert icon
2017-02-13 21:17:59 +01:00
emanuele-f
e88eda6168
Select host pool in host_details page
2017-02-13 10:13:00 +01:00
emanuele-f
45451f9a12
Fix for alerts dashboard
2017-02-10 19:37:57 +01:00
emanuele-f
ed0c30f839
Optional parameter fix
2017-02-09 11:46:06 +01:00
emanuele-f
7c32f4d92f
Parameters fixes
2017-02-08 17:09:51 +01:00
Emanuele Faranda
afdfac1c9c
Lua scripts parameters validation ( #970 )
...
* partial work
* Migrate 'mode' parameters
* Migrate alerts types
* Fix some interface ids
* Partial work
* Partial work
* End of work for _GET parameters
* Work in progress
* Add support for special parameters
* Preferences validation
* Fixes and improvements
* Enforce interger validation
2017-02-08 12:25:35 +01:00
emanuele-f
af90324c96
Add lua_utils include
2017-02-02 22:11:40 +01:00
emanuele-f
05d4956fbd
Adds missing quotes to href attributes
2017-02-02 15:52:09 +01:00
Simone Mainardi
3c659184d3
Security fix (properly escapes href)
2017-02-02 10:29:35 +01:00
Luca Deri
77a17361a5
Initil work towards strong HTTP parameter validation
2017-02-01 23:44:20 +01:00
emanuele-f
63c19759da
Fix high cpu usage in mac_stats page
...
The issue was caused by multiple reads of the EtherOUI.txt file in lua
2017-02-01 18:55:55 +01:00
emanuele-f
2f9a5f6c0c
Fall back to MAC icon and alias when they are not provided for the IP
2017-02-01 16:15:12 +01:00
emanuele-f
bd6106e19c
Fixs for manage users lifetime
2017-02-01 12:19:18 +01:00
emanuele-f
62899d4385
Add button to empty an host pool
2017-02-01 11:18:59 +01:00
emanuele-f
118da00425
Move Host Pools to interface page
2017-01-31 20:16:10 +01:00
emanuele-f
195eaa6e5f
Add GUI support for volatile members
2017-01-31 20:16:10 +01:00
emanuele-f
32ab9e8769
Delete RRDs when an host pool is deleted
2017-01-31 20:16:10 +01:00
emanuele-f
66749cc891
Fix pool undeletable bug when using a different interface
2017-01-31 20:16:10 +01:00
emanuele-f
6837f42ce2
Add lifetime change in manage user
2017-01-31 18:00:41 +01:00
emanuele-f
618529c92d
Add javascript function to set resolution buttons value at runtime
2017-01-31 10:20:45 +01:00
Emanuele Faranda
2a843966da
Add alias and device type columns to host pools ( #953 )
...
* Add alias and device type columns to host pools
* Add host pool members links when available
* Add host pool links
* Implement host pool members pagination
* Host Pools GUI fixes and improvements
* Remove hardcoded columns number
* Host Pools GUI fixes
* Remove debug print
2017-01-27 17:48:58 +01:00
Simone Mainardi
c45849d73e
Allows sort L7 Devices by mac address
2017-01-26 15:36:05 +01:00
Simone Mainardi
e5a57d93ad
Fixes for host pools historical stats
2017-01-26 14:41:14 +01:00
emanuele-f
17c5a4af57
Delete redis dump when pool is deleted
2017-01-26 12:19:12 +01:00
emanuele-f
5f7762ade5
Implement Redis Host Pools counters dump
2017-01-26 12:19:12 +01:00
emanuele-f
5c305ba6a1
Add GUI side support for host pools stats
2017-01-26 11:53:24 +01:00
Simone Mainardi
8ea7b5dbe4
Fixes for the optimized getTopFlowPeers
2017-01-26 11:33:36 +01:00
emanuele-f
1598598c47
Replace getFlowPeers function with getFlows and limit results to reduce memory footprint.
2017-01-26 11:33:36 +01:00
emanuele-f
096db1085d
Hide alerts link where alerts are disabled
2017-01-26 11:04:44 +01:00
emanuele-f
cd3c2b68c2
Handle expire resolution js code
2017-01-25 23:31:14 +01:00
Simone Mainardi
844a34df92
Adds lifetime selection button to CP users
2017-01-25 23:31:14 +01:00
Simone Mainardi
3322cfe576
Prevents housekeeping alerts extra redis reads
2017-01-24 10:46:57 +01:00
Simone Mainardi
f304f9229f
Implements captive portal users auto expiration
2017-01-20 20:20:09 +01:00
emanuele-f
0db8abd83e
Host Pools UI changes
...
- Do now show the "Not Assigned" group in user pool dropdown
- Show an alert message when creating a Captive Portal user and no pools are defined
- Improve unique member validator to account missing network prefixes
- Prevent deleting an Host Group when a captive portal user is defined on it
2017-01-20 13:28:24 +01:00
emanuele-f
04c72b2038
UI improvements and fixes
...
- Show confirmation alert when trying to delete some item
- Disable VLAN field for mac addresses in Host Pools and handle accordingly
- Remove Host Pool id column
- Remove Full Name user field minimum length restriction
- Other fixes
2017-01-19 18:33:25 +01:00
emanuele-f
06e3d1fd83
Add helper function getPoolsList
2017-01-19 15:42:19 +01:00
emanuele-f
716e01cbbe
Make shapers use hosts pools
2017-01-18 20:06:23 +01:00
emanuele-f
a384d82682
Add leftover files
2017-01-18 10:34:52 +01:00
Simone Mainardi
e8cffe9227
Implements periodic alerts rotation
...
Oldest alerts are periodically overwritten by newest ones
when a certain (user-configurable) threshold has been exceeded.
Rotation is performed periodically in a housekeeping.lua
2017-01-17 15:15:23 +01:00
emanuele-f
397d525d85
Use POST requests when required
2017-01-14 20:31:01 +01:00
Antonio Spada
abf27a1779
Added shapers improve and category shapers.
2017-01-14 17:04:39 +01:00
Luca
ada218c00e
Fixed possible undefined interface name
...
If CSRF has been validated, valid_csrf is now put on _GET
2017-01-12 06:55:22 -08:00
emanuele-f
c40075486f
Refresh blacklist rules when blacklist alert preference changes
2017-01-12 15:17:52 +01:00
emanuele-f
2141004cc6
Fix filters being lost after selecting local/remote hosts filter
2017-01-12 10:13:24 +01:00
emanuele-f
0e7bdf503e
Fix after rebase
2017-01-11 20:40:29 +01:00
emanuele-f
e48152bcf6
Make format data use keys instead of indexes
2017-01-11 20:39:57 +01:00