Commit graph

921 commits

Author SHA1 Message Date
emanuele-f
05d4956fbd Adds missing quotes to href attributes 2017-02-02 15:52:09 +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
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
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
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
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
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
emanuele-f
2c40fe3763 Make shapers rate visualization uniform 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
b19a0c930f Generalize resolution buttons and use in bandwidth manager 2017-01-11 20:39:57 +01:00
Luca
30e1a75f98 (C) update 2017-01-10 15:03:16 -08:00
emanuele-f
bd11ca7937 Split preferences into simple and advanced 2017-01-02 13:33:00 +01:00
emanuele-f
75b5fd068e Validate some fields and set some fields widths 2017-01-02 13:33:00 +01:00
Luca
2ba6b7e1bb Implemented redis caching to reduce cache pressure (work in progress)
Rearranged menus
2016-12-30 10:54:59 +01:00
Luca Deri
3443b76b06 Refined alert generation
Added refresh button in alert page
2016-12-17 12:33:34 +01:00
Simone Mainardi
c4cd6200f9 Minor fixes for the alerts browser 2016-12-14 11:54:50 +01:00
emanuele-f
db01d1b211 Parameters pass simplification 2016-12-14 11:54:50 +01:00
Luca
25185ce028 While the network interface has at least one engaged interface alert, expired flows are now triggering a flow alert 2016-12-13 01:19:50 +01:00
Luca Deri
6f9a7d0238 Lua code cleanup 2016-12-10 08:45:13 +01:00
Simone Mainardi
758db35671 Implements MySQL open_files_limit check
ntopng checks MySQL for the value of open_files_limit and engages
and alert if the worst case number of open files is greater
than or equal to the 80% of open_files_limit
2016-12-09 17:14:25 +01:00
Emanuele Faranda
ce7f2fa69b Delete alerts period dropdown and to-delete count (#846) 2016-12-06 15:20:55 +01:00
Luca Deri
ff20879987 Fix for #836
Fixed bug in footer.lua that caused a JS error that prevented the page from being updated
Moved utility functions from footer lua script to ntopng_utils.js
2016-12-01 09:26:27 +01:00
Luca Deri
b591001d6b Fixed table sort order 2016-11-30 17:07:59 +01:00
Luca Deri
c5343e29e4 Fixed table sort order 2016-11-30 16:50:11 +01:00
Luca Deri
091378fd7b Implemented local hosts looking glass (more criteria to be added) 2016-11-30 16:26:17 +01:00
emanuele-f
d52dc77e36 Implement per-network protocol shaping 2016-11-27 01:50:31 +01:00
Simone Mainardi
d5f4889375 Adds a link to the historical alerts explorer 2016-11-25 20:10:16 +01:00
emanuele-f
330ea6f017 Fix CSRF issues 2016-11-18 20:45:01 +01:00
emanuele-f
d82a4cee6c Use redirects for a gracefully navigation 2016-11-18 17:08:29 +01:00
Luca
bbfcc42994 Reworked locales and menu 2016-11-17 19:38:41 +01:00
Simone Mainardi
86eceb6fe6 Implements AJAX Alerts Pie Charts 2016-11-15 18:52:03 +01:00
Luca Deri
1f8e05d750 Added TZ in pages footer 2016-11-14 21:03:16 +01:00
Luca Deri
39a6b240da Enhanced lua string trim
Trim spaces from the about page form fields
2016-11-10 11:27:16 +01:00
emanuele-f
50db46cfdf Make use of scaling factor 2016-10-27 22:21:58 +02:00
Simone Mainardi
6194dc955a Implements maximum alerts limit per alarmed entity 2016-10-18 17:44:35 +02:00