Commit graph

12 commits

Author SHA1 Message Date
billz
c98d2b0c15 Add authentication to ajax pages, thx @lts-rad 2024-03-11 18:52:34 +01:00
billz
1e5ac9b3fc Apply patch from RaspAP/raspap-insiders#209 2023-09-13 21:26:19 +02:00
Lukas
2b3b0eb6c2 fix #1068 data size units 2022-04-22 19:06:05 +02:00
Lukas
b5b2e81d3b
fix overwrite issues
The $jsonobj array is iterated from the back, so the first entries overwrite the newest entries (that is, the ones from the back). So it happens that instead of the traffic for today 16 o'clock ,the traffic from the day before yesterday 16 o'clock ends up in the array $data_template and is displayed in the graph. But this should not be like this!
2022-04-22 18:50:18 +02:00
billz
4be05fe85e Fix for vnStat v2.6 (bullseye) breaking changes. Resolves #1064 2021-11-21 18:45:01 +00:00
billz
a426823aee Bugfix: vnstat column name change. Resolves #1060 2021-11-18 10:08:24 +00:00
billz
457da91008 Processed with phpcbf 2020-02-15 17:57:46 +00:00
glaszig
1fddad190f fix require paths 2019-08-07 23:51:22 +02:00
glaszig
da69d3d768 send CSRF token in a response header,
update the page's CSRF tokens with the new token
from the response header,
verify csrf token in ajax endpoints,
initialize a session for every endpoint
2019-08-06 21:34:58 +02:00
Benjamin Leblond
a295cf87c0 new feature data usage hourly 2019-02-27 20:42:36 +01:00
D9ping
7c3820d9ab Use seperate container for chart and datatable.
Cleanup unused code comments.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-10 21:41:35 +02:00
D9ping
7b2f42f326 Added Morris.Js chart and jquery.datatable to bandwidth page.
Use ajax for getting bandwidth data.
Added support for adding extra scripts in footer if needed.

Signed-off-by: D9ping <D9ping@users.noreply.github.com>
2018-09-10 16:53:05 +02:00