Commit graph

3960 commits

Author SHA1 Message Date
emanuele-f
52df5b25dc Implement i18n lazy loading
Fixes #3096
2019-12-12 18:23:12 +01:00
emanuele-f
8883a5321a Fix plugins errors due to demo expiration 2019-12-12 17:26:56 +01:00
emanuele-f
f473a59460 Add user scripts getters 2019-12-12 16:00:21 +01:00
Simone Mainardi
1eb3bf9335 Moves hosts HTTP updates offline 2019-12-12 15:54:23 +01:00
Alfredo Cardigliano
f6c6e4c54b Add badge for new updates 2019-12-12 15:17:35 +01:00
Alfredo Cardigliano
159a0cdd08 Typo 2019-12-12 12:22:59 +01:00
Alfredo Cardigliano
f7df880549 Hide interface live traffic download when not a packet interface 2019-12-12 11:26:28 +01:00
Alfredo Cardigliano
62c2e9a2de Do not show updates menu on Win 2019-12-12 11:17:51 +01:00
Alfredo Cardigliano
0ef242feb1 Show updates menu when installing from packages only 2019-12-12 10:17:15 +01:00
emanuele-f
5587e73b02 Fix script errors in plugins while switching to community mode
Fixes #3127
2019-12-12 08:29:10 +01:00
Alfredo Cardigliano
73bea15edc Implement csrf chain in updates POSTs 2019-12-11 18:13:44 +01:00
emanuele-f
bb0974a645 Ensure that permissions on plugins files are correct 2019-12-11 18:38:42 +01:00
Alfredo Cardigliano
5a1a63b709 Moved updates menu 2019-12-11 17:35:04 +01:00
emanuele-f
e9a081903c More robust plugins loading and error reporting
This prevents malformed scripts in plugins from breaking ntopng
2019-12-11 13:20:11 +01:00
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
Luca Deri
20046ffb4c Minor chart rework 2019-12-10 11:44:23 +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
93be3e87d8 Fix host http page 2019-12-06 11:44:02 +01:00
Alfredo Cardigliano
3bd6a0258d Fix captive portal css/js 2019-12-06 11:33:33 +01:00
Simone Mainardi
2bfd12a84c Bootstrap migration bnt-default to bnt-secondary 2019-12-06 11:51:45 +01:00
Alfredo Cardigliano
5e3f77bbb6 Moved interface selector 2019-12-06 11:04:54 +01:00
Simone Mainardi
243cfddf51 Bootstrap migration hosts filter dropdown 2019-12-06 11:28:34 +01:00
Alfredo Cardigliano
c81ac71231 Fix table alignment 2019-12-06 10:41:20 +01:00
Alfredo Cardigliano
ade466ddd0 Fix save button alignment 2019-12-06 09:57:46 +01:00
Simone Mainardi
b8f867a4bf Bootstrap migration fa to fa-lg navbar icons 2019-12-05 18:46:21 +01:00
Alfredo Cardigliano
169da9e91f Fix preference table style 2019-12-05 17:52:07 +01:00
Simone Mainardi
4ad51c1abc Fixes possibly inf DNS req/reply ratio 2019-12-05 17:36:18 +01:00
Alfredo Cardigliano
256f42bcf4 Fix alert delete 2019-12-05 17:19:35 +01:00
Simone Mainardi
4bac6dfd85 DNS queries pie chart fix 2019-12-05 17:14:02 +01:00
Alfredo Cardigliano
99a3a241d8 Fix button alignement 2019-12-05 17:10:33 +01:00
Alfredo Cardigliano
ed21ceae7c Fix host details div 2019-12-05 16:51:04 +01:00
Simone Mainardi
0ee7feb539 Bootstrap migration pref layout fix 2019-12-05 15:26:33 +01:00
Alfredo Cardigliano
a72d9c2320 Resize map 2019-12-05 15:12:24 +01:00