Commit graph

95 commits

Author SHA1 Message Date
Alfredo Cardigliano
257ece18c0 Copyright update (Lua) 2022-01-03 09:42:33 +01:00
Simone Mainardi
b117e8a23a Adds new REST API v2/
Addresses #5269
2021-07-08 09:57:46 +02:00
Alfredo Cardigliano
ca6707c54a Rename haveAdminPrivileges -> isAdministratorOrPrintErr (use meaningful names) 2021-07-02 16:51:40 +02:00
Simone Mainardi
1dce9e5842 Migrates to Bootstrap 5
Adds bootstrap-5.0.0-beta3-dist

Adds bootstrap-5.0.0

Updates bootstrap-5.0.0-beta3-dist to bootstrap-5.0.0-dist

initial migration to bs v5

porting to bs5

improvements on dropdown menu filter

fixed host map dropdown

removed excessive padding

fix button toggle

re-add blog news

removed text decoration for links

fix button layout (#5348)

remove underscore from href (#5347)
2021-05-18 11:39:59 +02:00
Luca Deri
a1178a0791 Updated (C) 2021-01-02 12:08:23 +01:00
gabryon99
e35100f25c removed table responsive wrapper (#4798) 2020-12-28 18:41:21 +01:00
gabryon99
4eaedf5c75 add responsive div wrapper for necessary tables (#4681) 2020-11-06 10:50:09 +01:00
Simone Mainardi
1ae2b2d932 Refactors NtopngUtils into NtopUtils 2020-08-18 15:10:04 +02:00
Simone Mainardi
e61f9ffe68 Refactor JS code into class NtopngUtils
Implements #3735
2020-08-18 14:13:48 +02:00
gabryon99
2c27297ed3 add host pool members page 2020-07-20 11:50:44 +02:00
Simone Mainardi
54b29aa1dc Implements GUI to configure host pools
Implements #4098
Implements #4087
2020-07-01 16:05:01 +02:00
Simone Mainardi
5ade224d85 Implements global host pools
Implements #4086

Refactors host pools to global

Implements host pools migration

Migration fixes

nEdge changes for host pools migration

Create README.host_pools_migration.md
2020-07-01 12:02:09 +02:00
Simone Mainardi
19da0a665a Fixes host pool export conf 2020-06-01 11:02:23 +02:00
Simone Mainardi
9c09d1c315 Migrates admin/host_pools.lua to REST API v1 2020-06-01 10:59:42 +02:00
Alfredo Cardigliano
7335b3b2c9 Add v1/get/pool/config v1/get/scripts/config REST API 2020-05-18 18:54:58 +02:00
emanuele-f
af842e4aa6 Cleanup unnecessary CSRF tokens passed 2020-05-08 12:56:58 +02:00
Simone Mainardi
3744ace4f8 Refactors graph_utils and nv_graph_utils
Addresses #3720

Refactor: create module graph_utils

Refactor: get_timeseries_layout

Refactor: get_default_timeseries

Refactor: getDeviceCommonTimeseries

Refactor: printCategoryDropdownButton

Refactor: printPoolChangeDropdown

Refactor: poolDropdown

Refactor: printProtocolQuota

Refactor: printGraphTopFlows

Refactor: drawGraphs

Refactor: printNotes

Refactor: getMinZoomResolution

Refactor: printSeries

Refactor: zoom_vals

Refactor: getZoomDuration

Refactor: getZoomAtPos

Refactor: stackedProgressBars

Refactor: percentageBar

Refactor: breakdownBar

Refactor: getProtoVolume

Refactor: normalizeSeriesPoints

Refactor: nv_graph_utils

Refactor: extendLabels

Refactor: getAlertGraphLink

Refactor: performCustomQuery

Refactor: drawProGraph

Refactor: unifies nv_graph_utils and graph_utils
2020-04-10 09:47:32 +02:00
emanuele-f
4cc8c8f33d Fix device type dropdown incorrectly enabled for non MAC members
Fixes #3695
2020-04-03 10:24:26 +02:00
Alfredo Cardigliano
2425134f05 Replace isEnterprise with isEnterpriseM 2020-04-02 12:36:34 +00:00
emanuele-f
ac7aef29d7 Fix add pool button disabled state
Fixes #3575
2020-03-19 12:31:46 +01:00
gabryon99
2c1e845f7d added disabled class to addPoolMemberBtn 2020-03-16 22:35:32 +01:00
emanuele-f
d1140ec9fd Avoid timeseries read operations to display the chart icon
Now the icon is displayed whenever the timeseries are enabled for the given context
2020-02-19 13:27:20 +01:00
Alfredo Cardigliano
e2f0d36d2f Moved hostpool endpoints 2020-02-06 11:20:30 +01:00
emanuele-f
5b90645332 Ays form fixes 2020-02-06 11:17:57 +01:00
Alfredo Cardigliano
2ab9cc14ad Host pool import/export buttons, endpoint improvements 2020-02-06 11:03:56 +01:00
Alfredo Cardigliano
74483bee0e Enlarge pool selector 2020-02-04 17:43:49 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
Simone Mainardi
dacaa7e3db Migrates font-awesome 5 fa to fas 2019-12-18 11:50:02 +01:00
Simone Mainardi
189379f9c3 Fixes font-awesome 5 fa-close 2019-12-16 12:51:38 +01:00
Simone Mainardi
7402bbdd14 FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
Simone Mainardi
2bfd12a84c Bootstrap migration bnt-default to bnt-secondary 2019-12-06 11:51:45 +01:00
Simone Mainardi
40882068f6 Bootstrap migration fixes host pools add/remove 2019-12-05 09:27:48 +01:00
Simone Mainardi
db272831e9 Bootstrap migration tabs 2019-12-05 09:27:47 +01:00
emanuele-f
dfc9de74a0 Host pools gui fixes and improvements
- Fix selectable "Not Assigned" pool in manage pools
- Hide "Unassigned Devices" tab for interfaces without macs
- Add note in "Unassigned Devices" to explain the list shown

Fixes #2486
2019-04-19 12:43:53 +02:00
emanuele-f
140390f20b Prevent action on disabled buttons 2019-01-16 17:30:31 +01:00
Simone Mainardi
8f893a8f50 Splits protocol View for Interfaces
Implements #2265
2018-12-31 13:05:07 +01:00
Simone Mainardi
e916e61742 Code cleanup of pool members 2018-10-19 16:38:40 +02:00
Simone Mainardi
bc13f2f6e8 Fixes LIMITED_NUMBER_POOL_MEMBERS checks 2018-10-04 16:43:37 +02:00
emanuele-f
7d965bbdb9 Fix manage pools page js errors with non english locales 2018-09-25 17:34:36 +02:00
Emanuele Faranda
4cbe45a948
New pro charts features and timeseries api (#1865)
* Integrate modified nvd3 library with zoom and multicharts working support

* Fix count in RRD driver

* Initial chart ajax migration

* Update nvd3 with zoom stack support

* Fix RRD listSeries with directories

* Work in progress graphs

* Compatibility fix

* Initial support for schema based api

* Add missing script

* Fix listSeries for existance check

* Implement topk timseries api

* Implement topk queries and fix labels and formats

* Migrate interface top sender and receivers

* Migrate charts to new API

* Move timeseries list for menu inside respective scripts

* Add support for extended labels

* Fix missing fields while chaning graph resolution

Also Rename drawRRD in drawGraphs

* Fix historical tabs

* Add missing time fence in influx topk

* Add graphs support for custom statistics visualization

* Initial support for graphs statistics footer

* Implement statistics in single graphs for RRD driver

* Move sampling function into the driver and fix graph statistics

* Fix max/min value offset

* Implement influxdb sampling use built-in FILL

* Implement stats and total serie in influxdb driver

* Update nvd3 with multiChart fixes

* Update nvd3 with new multiChart fixes

* RRD driver fixes

* Move metrics type from single metric to schema

* Handle ajax errors and empty data in charts

* Fix flow device interfaces graphs

* Use timeserie label as timeseries dropdown text

* Implement topk aggregation into one data serie

* ts_utils module now provides all the schemas

* Migrate ntop.exist(rrd) to ts_utils.exist

* Fix timeseries dropdown label

* L4 protos fixes for charts

* Migrate getProtoVolume to new API

* Integrate nvd3 fix for tooltip position

* Initial community graphs migration to timseries API

* Fix community timeseries dropdown and historical tabs

* Hide total serie by default

* Remove l4 protos from topk charts
2018-07-18 15:09:19 +02:00
Simone Mainardi
eae1ec0d06 Fixes set of alias/manuf for networks
Fixes #1805
2018-07-16 17:45:12 +02:00
emanuele-f
6a13837ff6 Fix manage pools page not changing pool details 2018-05-18 12:29:03 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
3e4c50f8ec Fix possible null ifid 2018-01-26 16:20:23 +01:00
emanuele-f
4cd147da67 Fix pools view button 2017-12-06 10:02:31 +01:00
emanuele-f
1c826e480c Fix host pool members address not editable 2017-11-01 16:46:49 +01:00
Simone Mainardi
4bbe36c957 Removes unused DNS-based categorization 2017-10-31 13:53:17 +01:00
Simone Mainardi
a67205af77 Implements per-host traffic shapers 2017-10-23 15:01:34 +02:00
emanuele-f
1f87acbe3a Impose a case convention to the pool members to prevent multiple pool assignment of the same mac/ip 2017-08-16 20:44:25 +02:00
emanuele-f
8b92590287 Make the user defined device type a preference and fix host pool member icon assignment 2017-08-16 18:18:02 +02:00