XhmikosR
138e4b6e1a
db_graph.js: move variable where it's used
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-23 13:14:47 +03:00
XhmikosR
e70e108cce
Use .hidden/.show for showing/hiding the reset buttons
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-23 13:04:13 +03:00
XhmikosR
9c5fb734c4
Remove redundant variable.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-23 11:27:59 +03:00
Adam Warner
3957e9eef1
Move some duplicated code to utils.js
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-05-23 11:04:30 +03:00
Adam Warner
eb05394b66
Add saveState/loadState callbacks
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-05-23 10:53:34 +03:00
Adam Warner
6b1340cfdf
Add staveSave property bool to DHCP tables to remember last used sort direction/column
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-05-23 10:53:32 +03:00
Adam Warner
34f6c753c7
Merge pull request #1350 from pi-hole/cookies-delete
...
Properly delete the `persistentlogin` cookie
2020-05-23 08:51:31 +01:00
Adam Warner
71547422ec
Merge pull request #1347 from pi-hole/improve-user-info-markup
...
Improve user info markup
2020-05-23 08:49:36 +01:00
XhmikosR
4247c973c9
Rename function.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-23 10:29:50 +03:00
XhmikosR
444e97b2b9
Rename groups-common.js to utils.js.
...
It's not used only in group pages, and we should try to move more common stuff here later.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-23 10:29:48 +03:00
XhmikosR
0fa7de82b0
JS: Enforce camelcase.
...
It's a common convention to use camelcase for variable names.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-23 10:29:44 +03:00
Adam Warner
8729995ed1
Merge pull request #1342 from pi-hole/XhmikosR-patch-2
...
Update settings.js
2020-05-23 08:14:51 +01:00
Adam Warner
685f262b91
Merge pull request #1341 from pi-hole/rm-glyphicons
...
Remove glyphicons again.
2020-05-23 08:12:22 +01:00
Adam Warner
8c3ad9a1b9
Merge pull request #1335 from pi-hole/datatables
...
Load the built DataTables bundle
2020-05-23 08:08:17 +01:00
Adam Warner
ef545a2f89
Merge pull request #1334 from pi-hole/mv-files
...
Move non-Bootstrap files outside of the bootstrap folder
2020-05-23 08:04:46 +01:00
Adam Warner
2de1c94a5f
Merge pull request #1333 from pi-hole/auditlog-row-fix
...
auditlog: fix buttons grouping
2020-05-23 08:03:58 +01:00
XhmikosR
3dc8d9c5e3
Properly delete the persistentlogin cookie
...
The previous solution did not delete the cookie.
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-22 16:23:46 +03:00
XhmikosR
442201d613
Improve user info markup
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-22 11:21:43 +03: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
XhmikosR
617447e534
Update settings.js
...
* fix "Pi-hole" case
* remove moot modal class
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-21 15:39:15 +03:00
XhmikosR
f158e25d2e
Remove glyphicons again.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-21 09:55:36 +03:00
Adam Warner
7b2d396295
require auth for the customDNS page
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-05-20 08:26:21 +01:00
XhmikosR
9d9cd8b7e6
Load the built DataTables bundle file.
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-19 21:58:09 +03:00
XhmikosR
7ad275e1fd
Move non-Bootstrap files outside of the bootstrap folder
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-19 16:31:25 +03:00
DL6ER
ac89d268a7
Only try to implode pihole arpflush quiet output if it is an array.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-19 11:23:42 +02:00
XhmikosR
3202c10c2c
auditlog: fix buttons grouping
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-19 10:23:43 +03:00
Adam Warner
c4091a7b3b
Add checkbox (save state in localstorage) to toggle between bar and smooth charts
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-05-18 20:56:21 +01:00
DL6ER
128a88e130
Fix IP sorting when there are empty fields present.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-18 21:22:26 +02:00
DL6ER
7be091d76e
Shorten name validation regex
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-18 21:14:42 +02:00
Adam Warner
80d7d897d3
Merge pull request #1327 from pi-hole/tweak/dhcpTableOrdering
...
Set default sort on DHCP lease tables to that of Hostname for ease of Access
2020-05-18 19:30:56 +01:00
Adam Warner
dd599ad08d
Merge pull request #1323 from pi-hole/XhmikosR-patch-7
...
header.php: minor cleanup
2020-05-18 19:12:50 +01:00
Adam Warner
89baa0b532
Merge pull request #1320 from pi-hole/XhmikosR-patch-2
...
header.php: group stylesheets and scripts
2020-05-18 19:10:18 +01:00
Adam Warner
84dd58e03e
Merge pull request #1319 from pi-hole/XhmikosR-patch-4
...
Use `text-uppercase` in sidebar
2020-05-18 19:08:26 +01:00
Adam Warner
dd6b47e835
Merge pull request #1309 from pi-hole/XhmikosR-patch-3
...
Improve navbar's hostname markup
2020-05-18 19:07:38 +01:00
Adam Warner
d47d284ef9
Set default sort on DHCP lease tables to that of Hostname for ease of access
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-05-18 18:22:34 +01:00
Adam Warner
e3cd70dcb3
While I'm in here.. prevent another error being constantly output to the error log
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-05-18 18:09:23 +01:00
Adam Warner
2633cbace6
Remove an error log output that was presumably leftover from debugging
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-05-18 17:00:52 +01:00
DL6ER
eb983dc292
Add support for entering client host names.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-18 14:59:39 +02:00
DL6ER
090e55ef99
Use host names stored in the network_addresses table when querying new client suggestions.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-18 14:29:41 +02:00
XhmikosR
b7fd000cef
header.php: minor cleanup
...
* remove unneeded inline styles
* use `strong` instead of `b`
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-18 10:27:45 +03:00
XhmikosR
0029b3fccb
header.php: group stylesheets and scripts
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-18 09:23:39 +03:00
XhmikosR
c66599c1b8
Use text-uppercase in sidebar
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-17 22:14:57 +03:00
DL6ER
9809cfee9d
Merge pull request #1266 from pi-hole/new/diagnostics
...
Add new Pi-hole diagnostics system
2020-05-17 16:35:13 +02:00
XhmikosR
30b8c5f383
Improve navbar's hostname markup
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-17 17:20:48 +03:00
Adam Warner
12d8f73ae7
Merge pull request #1315 from pi-hole/teleporter-24h
...
Fix teleporter to use the 24-hour format.
2020-05-17 14:42:11 +01:00
V@no
70d2b62382
Fix teleporter to use the 24-hour format.
...
Split from #1305
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-17 16:35:51 +03:00
XhmikosR
6bfc95ff85
Remove unneeded stuff and fix linting
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2020-05-17 16:11:05 +03:00
DL6ER
f591280d58
Review comments
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-17 16:07:22 +03:00
DL6ER
0d834b9b1c
Fix domain management JS error.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-17 16:07:21 +03:00
DL6ER
4a29d93a2f
Add support for SUBNET messages.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-17 16:07:21 +03:00