Commit Graph

11 Commits

Author SHA1 Message Date
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
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
yubiuser
87fa180e67 Remember last used sort column/direction on Local DNS Records table and CNAME table
Signed-off-by: yubiuser <ckoenig@posteo.de>
2020-08-16 23:13:49 +02:00
yubiuser
02e0b1639d XO fixes
Signed-off-by: yubiuser <ckoenig@posteo.de>
2020-08-02 22:16:41 +02:00
yubiuser
70f5664bea Fix indentation for custom CNAME as well
Signed-off-by: yubiuser <ckoenig@posteo.de>
2020-08-02 20:52:32 +02:00
yubiuser
3b618add09 Adds ALL to list selector in Local DNS Records and CNAME Records
Signed-off-by: yubiuser <ckoenig@posteo.de>
2020-07-26 21:40:07 +02:00
Matthias rank
773fed0f21 Incorporate upstream changes
Signed-off-by: Matthias Rank <development@m-rank.de>
2020-06-21 13:55:50 +02:00
Matthias rank
212da94228 Added token verification
Moved CNAME functions to func.php
Added teleporter support
Fixed CNAME and DNS file declaration (filename was declarated in seperate file, therefore trying to read those files from func.php failed)
Fixed error and success response functions in func.php (calling addCustomDNSEntry and addCustomCNAMEEntry repeatedly from teleporter failed because of error function defined inside of those functions)

Signed-off-by: Matthias Rank <development@m-rank.de>
2020-05-21 14:48:13 +02:00
Matthias rank
4e07ae24f1 Added support for CNAME records add/remove
Signed-off-by: Matthias rank <development@m-rank.de>
2020-05-12 22:24:45 +02:00