Commit Graph

968 Commits

Author SHA1 Message Date
RD WebDesign
c3e879a9ce Swap colors for top lists bars. (#1981)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-21 08:47:18 +01:00
Christian König
e3709571c3 Fix zeroLineColor in all graphs
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-11-19 19:44:17 +01:00
Christian König
23828df3db Use theme gridColor and ticksColor in long time graph
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-11-19 19:35:01 +01:00
RD WebDesign
753d1c9c86 Improving the display of some graphics (#1976)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-17 20:54:41 +01:00
Christian König
78aace3403 Revert "Remove duplicated code as it is already part of utils.stateLoadCallback"
This reverts commit 395b1b6c1f.

Signed-off-by: Christian König <ckoenig@posteo.de>
2021-11-14 22:38:18 +01:00
DL6ER
ecbaaca000 Add pretty-printing for message type DNSMASQ_WARN (#1973)
* Add pretty-printing for message type DNSMASQ_WARN

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Fix prettier

Signed-off-by: Christian König <ckoenig@posteo.de>

Co-authored-by: Christian König <ckoenig@posteo.de>
2021-11-13 13:16:46 +01:00
rdwebdesign
1cc80940bc Parentheses removed
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-12 03:17:14 -03:00
rdwebdesign
4b23b038b1 Fix prettier again
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-12 03:07:30 -03:00
rdwebdesign
3cc8797092 Fix prettier 2nd time
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-12 02:24:29 -03:00
rdwebdesign
ffc628ae4c Fix prettier complains
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-12 02:06:02 -03:00
rdwebdesign
906f76ac1d Starting the Long-term graph on the the earliest date contained in the database.
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-11 21:43:04 -03:00
yubiuser
14d44f25d5 Merge pull request #1910 from lionralfs/fix/1849-checkboxes
fix: exclude status checkboxes from being treated as iCheck elements
2021-11-09 20:46:55 +01:00
rdwebdesign
1a88de961f "7 days fix" on db_lists.js and db_graph.js
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-07 03:26:03 -03:00
rdwebdesign
8746dc76ba Using the same date interval (7 days) for the default value.
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-06 23:34:37 -03:00
rdwebdesign
319b394c3a Allow this functionality only after a daterange has been selected by the user
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-06 19:12:25 -03:00
rdwebdesign
ac5767118a fixing prettier complaint
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-05 20:14:18 -03:00
rdwebdesign
8bce551012 Allows reloading the queries after modifying the options.
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-11-05 19:54:02 -03:00
yubiuser
0ad7cfca3f Merge pull request #1952 from rdwebdesign/queryads_singlediv
Queryads single DIV and responsive CSS (fixed)
2021-11-01 20:54:28 +01:00
Dylan Sealy
dcdad3e606 Readded blank line
Signed-off-by: Dylan Sealy <66305635+DylanSealy@users.noreply.github.com>
2021-10-29 15:00:47 +02:00
rdwebdesign
065d5873f0 queryads: Replace double DIV solution with single DIV and responsive CSS
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-10-29 02:02:23 -03:00
Dylan Sealy
5e9ba7d1fc Added missing blocked boolean in queries.js
Signed-off-by: Dylan Sealy <66305635+DylanSealy@users.noreply.github.com>
2021-10-28 23:04:25 +02:00
yubiuser
5aeb52ee50 Merge pull request #1948 from pi-hole/tweak/datatables
Tweak to datatables column rendering
2021-10-28 20:21:01 +02:00
yubiuser
98ec9ee2fc Set stateDuration to 0 for all saved datatables to store the state indefinitely (#1944)
* Set stateDuration to 0 for all saved datatables to store the state indefinite

Signed-off-by: Christian König <ckoenig@posteo.de>

* Move stateDuration to utils.js

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove duplicated code as it is already part of utils.stateLoadCallback

Signed-off-by: Christian König <ckoenig@posteo.de>

* Fix function

Signed-off-by: Christian König <ckoenig@posteo.de>

* Revert "Fix function"

This reverts commit 2f54f5f988.

Signed-off-by: Christian König <ckoenig@posteo.de>

* Revert "Move stateDuration to utils.js"

This reverts commit 6a3e7786bc.

Signed-off-by: Christian König <ckoenig@posteo.de>
2021-10-27 20:06:02 +01:00
Adam Warner
0e483a8eea Force all columns in any declared datatable to render using datatables render.text function to prevent possible (very low risk, requiring authenticated dashboard anyway) XSS.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-10-27 19:49:46 +01:00
yubiuser
b4780e4a7f Fix date ranges in datarangepicker (#1940)
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-10-25 17:49:49 +01: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
Adam Warner
15f4b4c25f address prettier complaints
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2021-10-04 21:42:01 +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
Lion Ralfs
28b7e85373 fix: exclude status checkboxes from being treated as iCheck elements
Signed-off-by: Lion Ralfs <lion.ralfs@gmail.com>
2021-10-02 15:31:41 +02: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