Commit graph

2814 commits

Author SHA1 Message Date
Alfredo Cardigliano
8f652cff71 Software update support 2019-12-11 13:14:15 +01:00
emanuele-f
e566444d43 Handle demo expiration to prevent user scripts failures 2019-12-11 08:50:51 +01:00
emanuele-f
114a5fafa3 Fix flow scripts editor path 2019-12-10 21:15:36 +01:00
emanuele-f
e6346c06eb Fix button alignment 2019-12-10 20:55:07 +01:00
Luca Deri
a0eff7ac59 Implemented script viewer integration 2019-12-10 20:45:15 +01:00
emanuele-f
15759c8db2 Add source path, plugin and edition in user scripts 2019-12-10 19:25:00 +01:00
Luca Deri
fbbec75c54 Disablede debugging code 2019-12-10 18:01:51 +01:00
Luca Deri
958fed3a54 Implemented script code editor 2019-12-10 17:58:16 +01:00
emanuele-f
3a6897bb84 Community plugins fixes 2019-12-10 11:48:03 +01:00
emanuele-f
fe9d5ee882 Fix plugins lua scripts runtime directory 2019-12-10 11:29:04 +01:00
emanuele-f
f998b7fafd Fix automatic alert release skipping some alerts 2019-12-10 09:27:01 +01:00
emanuele-f
a3432e00e8 Implement ntopng plugins
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:

- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +01:00
Simone Mainardi
df245fad3a Minor cosmetic fixes 2019-12-09 15:46:26 +01:00
Simone Mainardi
b5ba28d8d1 Cleanup old fontawesome 4 and bootstrap 3 2019-12-09 15:35:39 +01:00
Simone Mainardi
7402bbdd14 FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
Alfredo Cardigliano
bda3cc68cd Check for vlan in bpf filter in VLAN capture (fix #3103) 2019-12-09 11:23:23 +01:00
Alfredo Cardigliano
9e01d1d13c Storage legend layout (fix #3108) 2019-12-09 10:58:05 +01:00
Luca Deri
bac7c05e4b Various cosmetic fixes 2019-12-07 17:29:49 +01:00
Luca Deri
4204fa208d Minor changes 2019-12-06 19:51:26 +01:00
Alfredo Cardigliano
3bd6a0258d Fix captive portal css/js 2019-12-06 11:33:33 +01:00
Alfredo Cardigliano
256f42bcf4 Fix alert delete 2019-12-05 17:19:35 +01:00
Simone Mainardi
0ee7feb539 Bootstrap migration pref layout fix 2019-12-05 15:26:33 +01:00
Simone Mainardi
efe799d737 Bootstrap migration custom colum fixes 2019-12-05 09:27:48 +01:00
Simone Mainardi
1aa0546b85 Bootstrap migration dropdown style fixes 2019-12-05 09:27:48 +01:00
Simone Mainardi
83be23a783 Bootstrap migration data explorer breadcrumb 2019-12-05 09:27:48 +01:00
Simone Mainardi
a34a326d4c Bootstrap migration glyphicon filter to fa 2019-12-05 09:27:48 +01:00
Simone Mainardi
cba220ab4c Bootstrap migration preferences 2019-12-05 09:27:48 +01:00
Simone Mainardi
207ef4b6ec Bootstrap migration network interface navbar 2019-12-05 09:27:47 +01:00
Simone Mainardi
b3d1d50fa9 Bootstrap migration implements generic navbar gen 2019-12-05 09:27:47 +01:00
Simone Mainardi
222be5ae10 Bootstrap migration host nav bar 2019-12-05 09:27:47 +01:00
Simone Mainardi
db272831e9 Bootstrap migration tabs 2019-12-05 09:27:47 +01:00
Simone Mainardi
ba99f74a90 Bootstrap migration to new tempusdominus datetimepicker 2019-12-05 09:27:47 +01:00
Simone Mainardi
2fd08cf6f3 Bootstrap migration timeseries dropdown dividers and headers 2019-12-05 09:27:47 +01:00
Simone Mainardi
6d36e7cb76 Bootstrap migration btn-default to btn-secondary 2019-12-05 09:27:47 +01:00
Simone Mainardi
2639d49e4a Bootstrap migration progress bars 2019-12-05 09:27:47 +01:00
Simone Mainardi
d7d26faad1 Initial migration to bootstrap4 2019-12-05 09:27:46 +01:00
emanuele-f
679f0638f6 Additional checks for bad domain/ip addresses 2019-12-04 17:40:18 +01:00
Luca
464f2845f7 Third party lua template engine 2019-12-02 18:50:33 +01:00
Alfredo Cardigliano
6359bc9ab0 Fix displayed RTP MOS with TLV (this also fixes other fields formatting with JSON) 2019-12-02 12:09:37 +01:00
emanuele-f
d86d58a80d Make InfluxDB query timeout configurable 2019-11-29 12:10:59 +01:00
Luca
6ae67a84b6 Revert "Moved menu items"
This reverts commit 2135ddf089.

Revert "Add sidebar"

This reverts commit f24801570e.
2019-11-29 10:37:16 +01:00
emanuele-f
0d48bff069 Implement more flexible user_scripts api
NOTE: The existing alerts configuration of the users will be discarded.

Some code has been added to make the current gui on/off toggle work.
It is marked with the following comment:

-- TODO remove after implementing the new gui
2019-11-28 11:06:14 +01:00
Alfredo Cardigliano
f24801570e Add sidebar 2019-11-28 10:36:49 +01:00
Simone Mainardi
0f507dba1c Fixes alerts API error
Fixes #3002
2019-11-26 18:07:01 +01:00
emanuele-f
2a04c8fe35 Log influxdb queries in redis 2019-11-26 13:54:52 +01:00
Simone Mainardi
49ddb55620 Adds interface TCP keepalive packets 2019-11-25 16:02:04 +01:00
Simone Mainardi
993fcc2fc3 Fixes interfaces TCP timeseries
Fixes #3077
2019-11-25 15:53:30 +01:00
emanuele-f
478c97b743 Inhibit some influxdb queries when the database does not respond
This reduces the gui loading time when such event occurs
2019-11-25 15:39:21 +01:00
emanuele-f
20ef1a4ebc Fix ts_utils.listSeries in redis.lua being performed on every page load
This was caused by probe.getTimeseriesMenu being called at every page load by the timeseries
code to load the schemas. probe.loadSchemas is now called instead.
2019-11-25 15:39:21 +01:00
Simone Mainardi
7a6bb13e29 Shows periodic activities time utilization as progress bar
Implements #3078
2019-11-22 19:21:20 +01:00