Paul Mannarino
aa3c8aef5f
reduce functions
...
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com >
2021-12-02 18:08:24 -05:00
Paul Mannarino
35396a6cb5
Clean up
...
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com >
2021-12-02 13:31:14 -05:00
Paul Mannarino
05d56d12d5
Update pie chart slice toggle
...
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com >
2021-12-02 13:12:08 -05:00
Paul Mannarino
cb6b3480a5
Avoid window.open
...
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com >
2021-11-30 23:13:53 -05:00
Adam Warner
01191c7a1b
Merge pull request from GHSA-mhr8-7rvg-8r43
...
* Prevent possible XSS attack vector on add_client
Update JS code to prevent possible XSS vector
Co-authored-by: Harold Kim <root@stypr.com >
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
* Fix both addClient and deleteClient to prevent XSS
Signed-off-by: Harold Kim <root@stypr.com >
Co-authored-by: Harold Kim <root@stypr.com >
2021-10-23 19:26:07 +01:00
Adam Warner
e53f7e674e
Also set the color of the iframe's font ( #1934 )
...
(remove prettier:check from npm test, as the output is not helpful at all - whereas xo's output will tell the user what prettier is complaining about)
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2021-10-23 19:21:19 +01:00
DL6ER
5d981c165b
Merge pull request #1924 from yubiuser/delete_network
...
Add delete button to the network table to allow deleting individual entries
2021-10-23 16:41:22 +02:00
yubiuser
98ee67efed
Add delete function
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-11 14:46:10 +02:00
yubiuser
84d53985ee
Add delete button to network table
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
Fix styling
Signed-off-by: yubiuser <ckoenig@posteo.de >
Fix xo
Signed-off-by: yubiuser <ckoenig@posteo.de >
Use data.id
Signed-off-by: yubiuser <ckoenig@posteo.de >
Sort by last seen
Signed-off-by: yubiuser <ckoenig@posteo.de >
Use data.id instead of data.ip
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-10-11 13:47:09 +02:00
Adam Warner
7374ce57d4
address prettier complaints
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2021-10-07 00:13:33 +01:00
Th3M3
0d24f25f3c
Modal Dialog for Teleporter-import
...
fixes page reload every time the DHCP tab gets active
Signed-off-by: Th3M3 <the_me@outlook.de >
2021-10-07 00:12:33 +01:00
Lion Ralfs
7462904c60
fix: row background colors in query log ( #1906 )
...
Signed-off-by: Lion Ralfs <lion.ralfs@gmail.com >
2021-10-05 14:48:54 +01:00
yubiuser
57bf116e47
Unescape German umlauts ( #1914 )
...
* Unescape German umlauts
Signed-off-by: Yubiuser <ckoenig@posteo.de >
2021-10-04 21:30:21 +01:00
Adam Warner
d64818c7a5
Merge pull request #1892 from a1346054/fixes
...
Simple maintenance improvements
2021-09-29 21:17:25 +01:00
DL6ER
8de314f919
Merge pull request #1886 from yubiuser/delete_messages2
...
Add delete button to message table
2021-09-27 08:10:20 +02:00
Adam Warner
e3a69aff6a
Add background colors on Query log + switchable text coloring (as before) ( #1893 )
...
* Add subtle background colour to the rows depending on query status
* Do the same for long term query log (and also apply changes missed on last release
* Add per-browser setting for Query Log colorization
Signed-off-by: DL6ER <dl6er@dl6er.de >
Co-authored-by: DL6ER <dl6er@dl6er.de >
2021-09-21 09:39:49 -07:00
a1346054
48c63c0a0b
Fix spelling
...
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com >
2021-09-15 21:22:59 +00:00
a1346054
a8ab8c811f
Use english name for control key
...
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com >
2021-09-15 21:22:58 +00:00
yubiuser
e0ba6ded2a
Address review comments
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-09-12 19:42:34 +02:00
yubiuser
086a8dabbb
Fix xo
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-09-12 19:42:25 +02:00
DL6ER
4faa77da39
Add interpretation for Pi-hole message type RATE_LIMIT
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-09-12 19:42:14 +02:00
yubiuser
29fbb3379f
Fix prettier
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-09-12 19:41:30 +02:00
yubiuser
9aaa45a034
Add delete button to message table
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-09-12 19:41:15 +02:00
XhmikosR
f9506c5484
Autofix issues
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2021-09-12 10:26:14 +03:00
Adam Warner
42c4ed8e66
Merge pull request #1871 from pi-hole/tweak/non_cached_replies
...
Add BLOB reply type
2021-09-11 21:00:46 +01:00
DL6ER
5db2fc2786
Remove coloring of the domain names
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-09-09 20:51:16 +02:00
DL6ER
b174bad770
Less color for the Query Log
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-09-09 20:34:05 +02:00
DL6ER
b9645ff6c5
Add new BLOB reply type
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-08-27 15:14:33 +02:00
DL6ER
487ac38435
Show response time only when reply is not N/A
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-08-27 15:13:55 +02:00
DL6ER
224f906069
Merge pull request #1869 from pi-hole/tweak/blocking_while_busy
...
Add new blocked by database status and NONE reply type
2021-08-23 20:19:19 +02:00
DL6ER
a2ff50851c
Merge pull request #1867 from pi-hole/devel
...
Import two fixes
2021-08-19 06:58:18 +02:00
DL6ER
b4a26d3d59
Add new blocked by database status and NONE reply types
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-08-18 11:24:59 +02:00
MichaIng
bea1d91be3
Fix TypeError if no extended DNS error is available
...
If no extended DNS errors are available, the "ede" variable is assigned an undefined array value, hence "ede" is undefined. Since the length method is not available on undefined variables, a TypeError is thrown later in the script, which breaks the DNS queries view in the admin panel.
This commit solves the issue by assigning an empty string, if no EDE is available (data[11] is undefined).
Signed-off-by: MichaIng <micha@dietpi.com >
2021-08-16 23:23:44 +02:00
Fabian Preuß
196e226e2c
Add padding between if statements
...
Signed-off-by: Fabian Preuß <preuss_fabian@gmx.de >
2021-08-10 21:21:12 +02:00
Fabian Preuß
48ee7abbe8
Stop timer when user reenabled blocking early
...
Signed-off-by: Fabian Preuß <preuss_fabian@gmx.de >
2021-08-10 21:02:05 +02:00
DL6ER
c77f104072
Add interpretation for Pi-hole message type RATE_LIMIT
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-08-06 21:35:51 +02:00
DL6ER
4e1f7c23a1
Merge branch 'devel' into update/dnsmasq-v2.86
2021-07-04 12:58:23 +02:00
DL6ER
f5b59d141b
Hide blackbutton for internally generated DNSSEC queries (they cannot be blocked)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-07-04 11:37:10 +02:00
DL6ER
762aba21ec
Add note when a BOGUS result was sent down from upstream (we cannot say why it failed in this case)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-07-03 09:37:25 +02:00
DL6ER
a120e72524
Add EDE if available
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-06-28 20:35:51 +02:00
DL6ER
122146fcc6
Update styling of scripts/pi-hole/js/settings.js
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-06-26 15:28:11 +00:00
DL6ER
df9bf15e75
Query Log: Show if a query was already answered or was only sent to an upstream (and we're still awaiting the reply)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-06-26 11:00:49 +02:00
DL6ER
fb2b87e833
Add new DNSSEC reply type
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-06-23 11:43:14 +02:00
DL6ER
0d0a8dba67
Change prettier option trailingComma from "none" to the new default "es5" (see https://prettier.io/docs/en/options.html#trailing-commas )
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-06-23 11:26:43 +02:00
Adam Warner
1488af490b
Merge pull request #1809 from pi-hole/master
...
resync Dev with Master
2021-05-19 21:06:14 +01:00
XhmikosR
cf6a59d63f
Disable a few xo rules for now.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2021-04-13 19:25:35 +00:00
Adam Warner
074621be54
use textContent instead ot innerHTML to prevent possible xss attack
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2021-04-11 20:04:34 +01:00
DL6ER
187e9ddae6
Merge pull request #1673 from pi-hole/new/gravity_adlist_infos
...
Add details to adlist table
2021-03-17 20:35:40 +01:00
DL6ER
78672fdbec
Avoid 1970 date if list was never updated.
2021-03-17 16:55:27 +01:00
yubiuser
e045ec3d32
Fix prettier complains
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-02-18 20:24:03 +01:00