Commit graph

402 commits

Author SHA1 Message Date
emanuele-f
b6cef08bea Fix spurious configuration save requests due to interface switching
Switching the active network interface triggered a POST request, which
was interpreted by the active lua script as a configuration save request.
Now in case of interface switching a 302 redirection is performed to clear
the page state.

Fixes #3126
2019-12-13 14:53:44 +01:00
Simone Mainardi
37f54a5090 Fixes font-awesome 5 external link
Fixes #3125
2019-12-13 10:18:20 +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
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
Alfredo Cardigliano
73bea15edc Implement csrf chain in updates POSTs 2019-12-11 18:13:44 +01:00
Alfredo Cardigliano
5a1a63b709 Moved updates menu 2019-12-11 17:35:04 +01:00
Alfredo Cardigliano
8f652cff71 Software update support 2019-12-11 13:14:15 +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
7402bbdd14 FontAwesome 5 migration 2019-12-09 15:11:37 +01:00
Luca Deri
bac7c05e4b Various cosmetic fixes 2019-12-07 17:29:49 +01:00
Alfredo Cardigliano
5e3f77bbb6 Moved interface selector 2019-12-06 11:04:54 +01:00
Alfredo Cardigliano
93806e0a83 Main container, moved home 2019-12-05 10:40:28 +01:00
emanuele-f
a08393afcb Fix dialog titles right aligned 2019-12-05 10:31:07 +01:00
Simone Mainardi
d19ff06fca Bootstrap migration fixes dropdown header 2019-12-05 09:59:52 +01:00
Simone Mainardi
786298adeb Bootstrap migration menu fixes 2019-12-05 09:36:05 +01:00
Simone Mainardi
f12c9946e4 Bootstrap migration datatables pagination 2019-12-05 09:27:48 +01:00
Simone Mainardi
b8dadfc8a1 Bootstrap migration main menu navbar 2019-12-05 09:27:48 +01:00
Alfredo Cardigliano
a26d707713 Restored old top navbar 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
fa97d65293 Fix sidebar items 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
b7515f0ad6 Add sidebar (WIP) 2019-12-05 09:27:47 +01:00
Simone Mainardi
bd30b4ad8e Tentative navbar for mac details 2019-12-05 09:27:47 +01:00
Alfredo Cardigliano
c287030593 Comments 2019-12-05 09:27:46 +01:00
Simone Mainardi
d7d26faad1 Initial migration to bootstrap4 2019-12-05 09:27:46 +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
Alfredo Cardigliano
2135ddf089 Moved menu items 2019-11-28 10:55:45 +01:00
Alfredo Cardigliano
f24801570e Add sidebar 2019-11-28 10:36:49 +01:00
Alfredo Cardigliano
d69276396f Replace Interfaces dropdown with Interface stats link and interface selector 2019-11-27 17:28:48 +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
emanuele-f
6932a155fe Add home menu entry to the alerts/status definitions page 2019-11-21 12:04:41 +01:00
Alfredo Cardigliano
390a3e4141 Links to the scripts list (fix #3011) 2019-11-15 18:46:57 +01:00
Simone Mainardi
8fa525eddc Hides interfaces status report when only one interface is monitored 2019-11-14 15:47:44 +01:00
Simone Mainardi
fd33ad1429 Implements summary page across all ntopng interfaces 2019-11-14 15:38:51 +01:00
Simone Mainardi
aceb123ebb Adds About/directories page listing custom scripts directories 2019-10-07 11:34:39 +02:00
Simone Mainardi
8dc025bc35 Reworks System Menu
Implements #2889
2019-10-02 16:23:19 +02:00
Alfredo Cardigliano
fa178126ab Displaying an icon for dynamic interfaces 2019-09-26 17:18:06 +02:00
emanuele-f
beddb433b7 Add a message when POST form submission fails 2019-09-23 16:00:25 +02:00
Simone Mainardi
edbc952a43 Fixes missing sFlow devices menu entry 2019-09-13 16:46:46 +02:00
Simone Mainardi
f96743569d Adds alert menu also for view interfaces 2019-08-27 14:54:55 +02:00
Simone Mainardi
c01ff1dc18 Implements add button anchor for host pools
Fixes #2761
2019-08-14 12:02:05 +02:00
Alfredo Cardigliano
bc7a7561c3 Removed local hosts matrix which is unusable with many hosts 2019-07-25 15:17:42 +02:00
emanuele-f
a3942831b8 Fix issues with engaged alert counters and other improvements 2019-07-24 15:40:43 +02:00
Simone Mainardi
9c448445ac Implements MySQL flow dump for view interfaces 2019-07-23 17:44:40 +02:00
Simone Mainardi
3cd6a92efd Implements nDPI stats counters for views 2019-07-19 10:30:59 +02:00
Alfredo Cardigliano
acd776ce55 Hiding Top Hosts page when analysing pcap dump 2019-07-15 12:35:27 +02:00
emanuele-f
47e5d87e44 Show InfluxDB setup errors in the header
Fixes #2702
2019-07-03 16:59:29 +02:00
emanuele-f
e51afad344 Fix InfluxDB export chart 2019-07-01 15:00:52 +02:00
emanuele-f
a9d3c78587 Alerts changes
NOTE: database schema changed. Existing alerts will be lost.

- Unified engaged and closed tables
- Simplified hosts engaged alert counters handling: periodically set by lua
- Removed alert engine and replaced with alert periodicity
- Now engage is implicitly derived from the alert end timestamp and periodicity
- New alerts_api.lua to easily emit alerts
- Removed past alerts counter aggregation by hash
- Alert notifications for non-flow alerts are now removed from C and triggered by lua
2019-06-28 10:47:17 +02:00