DL6ER
7595ceb17f
Ensure the own session is only removed once all other sessions removals finished. This also ensures our own session is NOT deleted on error so the user can still see the generated error message
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-10-24 19:39:13 +02:00
DL6ER
80dba39a36
Fix mass-deletion of sessions on the settings -> API page
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-10-19 19:05:45 +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
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
Christian König
1802ab78dc
Change descriptons to signal also allowed domains are searched for
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-10-15 14:07:51 +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
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
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
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 and RD WebDesign
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
RD WebDesign
555b2ebb35
accordignly => accordingly
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-10-07 14:41:50 -03:00
Adam Warner
0f6b917ae1
Improve settings level select location ( #2720 )
2023-10-06 13:21:14 +01:00
DL6ER
6bf3d09ed3
Simplify theme handling ( #2718 )
2023-09-29 20:42:36 +02: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
b5feb9e031
Remove theme.lua, source everything there is to know through Lua instead (pihole.webtheme() now returns a full table)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-09-26 09:55:31 +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
RD WebDesign
547d60c5ea
Fix: set theme "High contrast dark" as dark
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-08-03 15:13:20 -03:00
DL6ER
5c6d3800ec
Show direct link to domainlist on REGEX blocked entries ( #2667 )
2023-08-03 18:24:48 +02:00
DL6ER and yubiuser
1613115063
Update scripts/pi-hole/js/queries.js
...
Co-authored-by: yubiuser <ckoenig@posteo.de >
Signed-off-by: DL6ER <DL6ER@users.noreply.github.com >
2023-08-03 09:30:56 +02:00
Adam Warner
4452d5f40d
Replace some php references with their correct lp counterparts ( #2666 )
2023-08-02 23:02:15 +01:00
DL6ER
e017b55da9
Revert "Fix login page rediction"
2023-07-29 00:06:05 +02:00
Adam Warner
d59bbd26db
php -> lp
...
There are still a few cases left in debug.js, but as that feature is so far missing, I will leave them for now
2023-07-28 22:55:06 +01:00
DL6ER
d6bf4293bf
Show direct link to domainlist on REGEX blocked entries
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-07-28 23:48:40 +02:00
Christian König
58a6de6daf
Remove shutdown and reboot button
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-07-28 23:09:07 +02:00
DL6ER
7a15ea322e
Implement new API's endpoints for the buttons on the Query Log and actually show them
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-07-28 16:19:11 +02:00
DL6ER
4b6d3c7666
Do not expand Query Log details box when the user is selecting some text. Only do it on innocent clicks
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-07-28 16:15:22 +02:00