Michael Tremer
75bb55e716
openvpn: Create database schema if not exists
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-26 11:12:23 +00:00
Michael Tremer
186c0ddd91
OpenVPN Log: Add connection duration
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:15:25 +00:00
Stefan Schantl
b10612e8ba
ovpnclients.dat: Align traffic values to the right side.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:14:58 +00:00
Stefan Schantl
7b54c0fb7b
ovpnclients.dat: Fix type in received.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:14:48 +00:00
Stefan Schantl
e1cc1e6cb9
ovpnclients.dat: Do not perform DB actions if there is an error message.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:14:21 +00:00
Stefan Schantl
0f195a5305
ovpnclients.dat: Display error when the to date is not later than the from date.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:14:11 +00:00
Stefan Schantl
c7d55d7fbd
ovpnclients.dat: Display a notice if there are no entries.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:13:57 +00:00
Stefan Schantl
1242cb0134
ovpnclients.dat: Convert timestamps into localtime.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:13:46 +00:00
Stefan Schantl
d5b6023c32
ovpnclients.dat: Add table header.
...
The header will be dynamically generated, according the items which will
be displayed.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:13:28 +00:00
Stefan Schantl
8615383823
ovpnclients.dat: Display traffic details in a human-readable format.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:12:51 +00:00
Stefan Schantl
6317d55c4a
ovpnclients.dat: Fix hard coded language string
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:12:28 +00:00
Michael Tremer
70e1d58745
OpenVPN: Fix query when selecting sessions only
...
Previously some sessions were selected which did not qualify
for the search.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:12:10 +00:00
Stefan Schantl
3e10b3de4a
openvpn: Add WUI page for client usage statistics
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-05-01 19:11:50 +00:00