Commit Graph

16 Commits

Author SHA1 Message Date
DL6ER
88b439029e Fix lost setting level selector
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-28 08:02:05 +02:00
DL6ER
3c086b051c Decode URI componentes in GET dictionary
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-27 18:27:22 +02:00
DL6ER
06e89c5781 Send back to plain page when redirecting to the dashboard
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-26 20:20:38 +02:00
DL6ER
6ab2f9fd40 Improve autoscrolling on taillog page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-26 20:19:03 +02:00
DL6ER
155d9d369a Try again a bit later if there was a connection interruption in taillog
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-25 18:53:47 +02:00
DL6ER
5f7ceda54f Add live-tail of all log files as well as local DNS and CNAME records handling (add new and delete existing records is still TODO at this point)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-02-20 15:41:12 +01:00
Christian König
d55847013f Fix deprecated warnings of jquery-migrate
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-10-13 17:53:13 +02:00
XhmikosR
ae13014565 Adapt to the new rules.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-10 18:34:47 +00:00
XhmikosR
704c352277 Format JS code
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-01-02 19:42:18 +02:00
XhmikosR
9c1846885a Clean up JS
* remove unused variables/functions
* use the dot notation
* use explicit coercion
* remove unneeded else
* use `textContent` instead of `innerHTML`
* cache a few `getElementById` calls
* fix a couple of undefined variables
* various assorted lint tweaks

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2019-12-16 20:36:40 +02:00
Toakan
e963fbf4e0 Modified Taillog to prevent offscreen scrolling.
Signed-off-by: Toakan <tdaykin@live.co.uk>
2018-02-15 09:16:48 +00:00
DL6ER
9471594bdf Move tailLog function into own file 2017-02-23 15:12:23 +01:00
DL6ER
874ec8c9db Implemented tailLog into FTL API 2017-02-23 15:03:53 +01:00
DL6ER
aabff35bef Squashed commit of the following:
- Dynamically fall back to PHP API functions to ensure API does always repond even if FTL is not runnung for some reason
- Update PHP API from current devel branch
- Increase flexibility in getQueryTypes API call
- Hide top ads list if nothing to display
- Proper display of activated privacy mode
- Remove spinner (would otherwise not be removed for zero results)
- Update tables every 10 seconds
- Update query types and forward destinations plots every 10 seconds
- More verbose output in top lists (total number next to percentage in tooltip)
- Implemented "recentBlocked" keyword for API
- Ensure compatibility with PHP5 version < 5.4
- Adjust output format of overTimeData10mins to comply with PHP API
- Further speedup of Query Log page by showing only the recent 10 minutes by default
- Hide temperature if FTL is not running and show FTL status
- Add information to Settings page
- Adjust error message when loading of query log failed
- Move processing of domainname, clientIP, clientname and time interval filters for the Query Log page to FTL for speed enhancement
- Generate link if pi.hole comes up in the Top Domains list
- Remove resolve DNS names option - this is now enabled by default (daemon will only do it once per day instead of PHP-API which did it on every reloading of the web interface)
- Add socket timeout of 10 seconds + modification to Settings page since FTL backend supports API_EXCLUDE_CLIENTS filtering with both IP addresses and host names (also mixed)
- Improved Query Log page
2017-02-16 08:52:30 +01:00
DL6ER
e5d4ca328a Added header to scripts/pi-hole/js files 2017-02-14 15:01:40 +01:00
Mcat12
4cffd16aae Update tail log and query ads 2016-12-30 15:00:06 -05:00