Commit Graph

1306 Commits

Author SHA1 Message Date
DL6ER
cb3d3c16b6 Restore Teleporter functionality (#2738) 2023-10-26 17:00:24 +02:00
DL6ER
801efe96be Fix sorting on Settings -> Local DNS Records table (#2777) 2023-10-26 16:59:53 +02:00
DL6ER
f516e04c35 Add "Delay" column to Query Log (#2757) 2023-10-26 16:59:41 +02:00
DL6ER
82f1965d4d Add ability to specify domains, lists, clients and group names as arrays (#2707) 2023-10-24 21:25:51 +02:00
DL6ER
b46a8a5bb6 Address review comment
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-23 21:21:29 +02:00
DL6ER
3642b83d5c Fix sorting on Settings -> Local DNS Records table. Fixes #2770
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-23 21:00:41 +02:00
DL6ER
606a1de47a Show total clients in hover title instead
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-22 09:28:36 +02:00
DL6ER
ea4ebc3aca Show active clients instead of clients-ever-seen on the dashboard. When the two numbers are different, show both
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-21 18:43:42 +02:00
DL6ER
7e7c6d1815 Match only the filename that is in double-quotes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-17 22:44:25 +02:00
DL6ER
fcf226d521 Do not show extra N/A when no ABP-style domains are in a list
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-17 22:11:53 +02:00
DL6ER
c1d0523776 Remove duplicated reply time in child row
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-16 22:56:31 +02:00
RD WebDesign
7c5908fc5f Use the final message from gravity to attest it was completed successfully
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-16 17:25:13 -03:00
DL6ER
191f89d58e Improve rendering of search results (#2750) 2023-10-16 17:14:53 +02:00
DL6ER
d8a1469322 Add "Delay" column to Query Log
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-15 12:31:32 +02:00
DL6ER
25cef3fbf4 Fix broken multi-delete of adlists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-15 12:11:17 +02:00
DL6ER
5dcaa2198d Add number of matches and possible hint about missing results due to too small N
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-15 11:55:17 +02:00
DL6ER
601cf44ca0 Use color and also add info if a gravity list match is of allow type (antigravity)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-15 11:43:59 +02:00
Christian König
8ccc66d8cb Add a space
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-14 22:27:06 +02:00
Christian König
9ea844f332 It's empty, not null
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-14 20:09:35 +02:00
Christian König
c992b00720 FIx link
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-14 20:01:47 +02:00
Christian König
506bca37b6 Do not assume update if remote hash is empty
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-14 20:00:47 +02:00
DL6ER
402017798e Merge branch 'development-v6' into tweak/domain_array
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-14 16:23:31 +02:00
Christian König
d544473988 Fix and tweak footer
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-14 15:27:31 +02:00
DL6ER
43c8ede674 Add "processData: false" to all JSON data we send
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-13 09:44:01 +02:00
DL6ER
1146248964 Revert "Fix AJAX JSON data (#2742)"
This reverts commit 340d373711, reversing
changes made to 1ed1efdc91.

Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-13 09:41:10 +02:00
yubiuser
2fbef7f40e Fix update logic for custom branches by comparing hashes (#2737) 2023-10-12 20:22:26 +02:00
DL6ER
2563213b6a Use filename as generated by FTL by analyzing the Content-Disposition response header
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-12 18:40:06 +02:00
Christian König
45b1c66798 Add check for Docker tag
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 23:08:32 +02:00
Christian König
bde1396389 Fix tests
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 22:52:54 +02:00
Christian König
fc542f5f86 Close at the right place
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 22:49:22 +02:00
Christian König
5cd83cfa24 Remove duplication
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 22:38:25 +02:00
DL6ER
da1fb92915 Restore Teleporter functionality. Concerning compatibility, https://caniuse.com/url tells us it can be used iny any sufficiently recent browser except IE and Opera Mini
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-11 22:37:23 +02:00
Christian König
d4d07f766a Fix update logic for custom branches by comparing hashes
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 22:04:29 +02:00
Christian König
01366da32f adminlte > web
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-11 21:31:14 +02:00
DL6ER
d2701f7955 We should not use JSON.stringify() but leave escaping to AJAX itself
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-10 19:28:14 +02:00
DL6ER
d64dc0d750 Conditional HTTPS hint on login page (#2730) 2023-10-09 21:39:43 +02:00
DL6ER
e01124fb2b Update scripts/pi-hole/js/login.js
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: DL6ER <DL6ER@users.noreply.github.com>
2023-10-09 17:38:11 +02:00
RD WebDesign
d969adee0f Adding a final message when gravity is done
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-08 18:30:20 -03:00
RD WebDesign
d62077c8f1 Use a function to parse escape sequences in the text stream
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-08 18:01:28 -03:00
DL6ER
a5a7a4e481 Adapt to most recent FTL changes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-08 22:59:06 +02:00
RD WebDesign
dfb76f509c Fix the gravity output to use the ${OVER} sequence
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-08 17:46:10 -03:00
DL6ER
eaf068c506 Show HTTPS hint on login page only when HTTPS is actually served. If it is served an a port != 443, add this port as well
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-08 19:35:02 +02:00
DL6ER
de15123b4e Build HTTPS URL using Javascript to ensure we use the exact same URL the user used to get there - do not hard-code pi.hole as hostname
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-08 12:48:08 +02:00
DL6ER
d516aec5ce Give details about sucessfully added and failed items to domains, groups, lists and clients
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-08 10:56:45 +02:00
DL6ER
a6ba2a8eb8 Implement support for adding multiple domains, clients, groups, and list addresses at once
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-07 21:38:10 +02:00
RD WebDesign
555b2ebb35 accordignly => accordingly
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-07 14:41:50 -03:00
RD WebDesign
7daf75044a Passing the type using the data-type attribute
Fix the "Cannot read properties of undefined" error:
- The `function editAdlist(event)` wasn't receiving any arguments,
  because every call to this function is not passing arguments, so
  `event` was undefined.

Using `data-type` attribute to pass the value and avoid the error.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-09-27 19:13:22 -03:00
DL6ER
60ed8d2352 Ensure type is transmitted when editing lists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-09-27 21:31:03 +02:00
DL6ER
3a9144d3b7 Always show regex ID when available
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-09-13 17:01:45 +02:00
DL6ER
2a68f56a3a Add UI-related antigravity changes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-09-03 20:03:32 +02:00