Commit graph

994 commits

Author SHA1 Message Date
emanuele-f
92b40eb2d0 Fix interface switch not working properly 2017-01-20 18:39:37 +01:00
Simone Mainardi
b9c063ac8a Reworks edit users page layout 2017-01-20 13:45:42 +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
Simone Mainardi
1bd0d01658 Improves auth lifetime check 2017-01-20 13:15:22 +01:00
Simone Mainardi
2aa6430949 Reworks add users page layout 2017-01-20 12:42:15 +01:00
Luca Deri
e423d8c94c Displayed host pool in host detail page
Fixed bug in redis that was not properly reporting the return code on some commands (e.g SADD)
Changes for captive portal implementation
2017-01-20 00:43:44 +01:00
Luca Deri
82850dcbb4 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2017-01-19 19:14:54 +01:00
Luca Deri
c6e21b7f6e Improvements on AddressTree
Initial support of captive portal on HTTP server
2017-01-19 19:14:20 +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
Luca Deri
1c2d811f9b Removed debug message 2017-01-19 17:24:16 +01:00
Simone Mainardi
f6b4c1f775 Adds is_captive_portal flag to prefs 2017-01-19 15:57:37 +01:00
emanuele-f
06e3d1fd83 Add helper function getPoolsList 2017-01-19 15:42:19 +01:00
Simone Mainardi
0be022e37e Adds host pool id and user lifetime to lua getUsers 2017-01-19 15:39:36 +01:00
Simone Mainardi
6667a3a22c Implements captive portal users lifetime 2017-01-19 15:25:01 +01:00
Luca Deri
d7394d8f68 Simulated _GET even when _POST is used
Fixed parameter reload issue on preferences
2017-01-19 13:28:37 +01:00
emanuele-f
6c7871596e Host pools UI improvements 2017-01-19 11:30:58 +01:00
Luca Deri
ddf6601f9a Enable/disable captive portal from preferences
Fixed HTTP bug that prevented ntopng to work on standard ports (80, 443)
Fixed minor UI glitches
2017-01-18 22:25:22 +01:00
emanuele-f
716e01cbbe Make shapers use hosts pools 2017-01-18 20:06:23 +01:00
emanuele-f
d73cae36ad Fix validation issues 2017-01-18 11:56:30 +01:00
Simone Mainardi
2385542b89 Displays host pool names in captive portal users 2017-01-18 11:04:25 +01:00
emanuele-f
a384d82682 Add leftover files 2017-01-18 10:34:52 +01:00
emanuele-f
5f3093d067 Implement host pools page 2017-01-18 10:34:52 +01:00
Tony
8aa5fa34ab fixed small typo (#935)
there was a typo on the alerts configuration page
for slack notification.  Listed as "Notification Wekhook"
instead of "Notification Webhook"
2017-01-18 09:34:15 +01:00
Simone Mainardi
4e2c7b8e8b Implements captive portal users 2017-01-17 19:57:48 +01:00
Luca Deri
d9af0c8025 Added the ability to display the number of flows per host in the host list
DHCP/Mac address optimizations
2017-01-17 18:24:10 +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
Luca Deri
40c64ff541 Modified label for protocol stats 2017-01-17 13:30:47 +01:00
Simone Mainardi
d8804a99a8 Reworks top sites preference 2017-01-17 12:35:22 +01:00
emanuele-f
498923b5b6 Create a preference to enable top sites.
Calculating top sites in redis can be disk-intensive task for big networks.
This is now disabled by default and can be manually enabled from preferences page.
2017-01-17 12:35:22 +01:00
Simone Mainardi
8033cb0f28 Fix for reset counters buttons 2017-01-14 22:18:51 +01:00
emanuele-f
34df0ec2c4 Fix page parameters 2017-01-14 21:05:22 +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
1b2ceac8f5 Added fixes to avoid users to be manipulated with invalid CSRF token 2017-01-12 10:10:20 -08: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
6934bfdb0b Move style definition to css 2017-01-11 20:39:57 +01:00
emanuele-f
e48152bcf6 Make format data use keys instead of indexes 2017-01-11 20:39:57 +01:00
emanuele-f
2c40fe3763 Make shapers rate visualization uniform 2017-01-11 20:39:57 +01:00
emanuele-f
b07467c1be Fix policy clone button appearing as clicked 2017-01-11 20:39:57 +01:00
Simone Mainardi
3f67244c5d Improves speed button layout 2017-01-11 20:39:57 +01:00
emanuele-f
beea5d2557 Add strict_mode to paramsPairsDecode 2017-01-11 20:39:57 +01:00
emanuele-f
9c1c4eb75b Fix IPv6 support in shaper 2017-01-11 20:39:57 +01:00
emanuele-f
ed63d81a71 Prevent empty shaper rate 2017-01-11 20:39:57 +01:00
emanuele-f
c59088f6d6 Restore separated protocols and categories dropdown 2017-01-11 20:39:57 +01:00
emanuele-f
5ebefe06aa Use default bootstrap disable state 2017-01-11 20:39:57 +01:00
emanuele-f
b19a0c930f Generalize resolution buttons and use in bandwidth manager 2017-01-11 20:39:57 +01:00
emanuele-f
9dd027110f Save perPage state 2017-01-11 20:38:35 +01:00