Commit Graph

15 Commits

Author SHA1 Message Date
Vincent Bernat
226c902e12 console: use Unknown instead of empty string for top widget 2022-07-09 08:51:38 +02:00
Vincent Bernat
f5e2e85d0d console: fix a possible divide by 0 error
This is not the only problem we have.
2022-07-09 08:42:42 +02:00
Vincent Bernat
412bb1f535 console: fill missing values with 0 for timeseries graphs 2022-07-08 09:43:09 +02:00
Vincent Bernat
8be1bca4fd license: AGPL-3.0-only
```
git ls-files \*.js \*.go \
  | xargs sed -i '1i // SPDX-FileCopyrightText: 2022 Free Mobile\n// SPDX-License-Identifier: AGPL-3.0-only\n'
git ls-files \*.vue \
  | xargs sed -i '1i <!-- SPDX-FileCopyrightText: 2022 Free Mobile -->\n<!-- SPDX-License-Identifier: AGPL-3.0-only -->\n'
```
2022-06-29 11:42:28 +02:00
Vincent Bernat
fb7c51653f console: rely on validator to check input values 2022-05-21 22:47:19 +02:00
Vincent Bernat
dd64d02b48 console/frontend: better error formatting 2022-05-16 21:45:03 +02:00
Vincent Bernat
2319262340 console: add visualize tab
Currently, there is no controls available.
2022-05-12 14:27:18 +02:00
Vincent Bernat
05276dbc63 console: make use of consolidated tables 2022-05-10 09:30:33 +02:00
Vincent Bernat
922161c375 console/frontend: don't display "Other" when too small 2022-04-23 15:00:54 +02:00
Vincent Bernat
45a40f451c console/frontend: add IPv4 vs IPv6 2022-04-23 14:53:41 +02:00
Vincent Bernat
39fcd1396b console: only return complete intervals for the graph widget 2022-04-22 11:45:10 +02:00
Vincent Bernat
370cd6f961 console/frontend: add a graph on the homepage 2022-04-21 16:07:01 +02:00
Vincent Bernat
507168f098 console: fix logic for some widgets with respect to direction
For country and AS, we are interested in values from external IPs. For
ports, we don't care.
2022-04-14 16:31:35 +02:00
Vincent Bernat
506bca0291 console: add "top" widgets API 2022-04-14 16:00:35 +02:00
Vincent Bernat
793e55db52 console: add an API to get flow rate 2022-04-14 13:50:00 +02:00