Commit Graph

2898 Commits

Author SHA1 Message Date
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
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
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
RD WebDesign
6bd2358580 Use abbreviated month to avoid overlapping due to excessive text length
The new v6 page now put the datepicker element side-by-side with another
element. On certain screen sizes, both controls are still side-by-side,
but the long text was causing an overlap. Shorter month name will avoid
breaking the layout.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-07-26 19:06:33 -03:00
DL6ER
af8957b5ca Ensure the login redirection target ends in / if there is no query string. See https://github.com/pi-hole/FTL/issues/1596 for further details
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-07-24 19:48:34 +02:00
DL6ER
30d706e561 Group search results by adlist
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-07-24 18:40:43 +02:00
DL6ER
f0973ce32b replaceAll() requires a global regex
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-07-24 18:30:09 +02:00
Christian König
827e96d1d0 Fix CI tests
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-07-22 16:30:34 +02:00
RD WebDesign
b26dcf36b8 Settings pages: move level selector from top bar and add page titles
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-07-19 00:39:35 -03:00
Adam Warner
395ceef168 Fix check of ticked non-custom DNS servers (#2640) 2023-07-18 18:28:13 +01:00
Adam Warner
1020f3079d Fix running gravity from the web UI (#2639) 2023-07-17 20:57:52 +01:00
DL6ER
e0e10e7c5f Fix gravity from the web UI
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-07-17 20:15:55 +02:00
Christian König
f510d6ae3a Fix prettier on footerv6
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-07-12 22:55:29 +02:00
RD WebDesign
bb861e41d0 Reorder CSS files to fix some style dependencies
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-07-05 17:54:06 -03:00
RD WebDesign
4d8f4a129c Move datatables and daterangepicker CSS files to header.lp
and add a condition to load them only if authenticated.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-07-05 17:26:46 -03:00
RD WebDesign
e8703f8182 Replacing "splitted" with "CNAMEarr" to avoid Spellcheck errors
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-06-30 21:41:04 -03:00
RD WebDesign
ef513c2c48 Fix previous spellcheck errors
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-06-30 20:35:34 -03:00
RD WebDesign
702f403696 Fix donate button - This is an external link
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-06-30 19:26:27 -03:00
DL6ER
5f450be823 Fix privacy level radio button not being restored
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-06-15 13:45:00 +02:00
DL6ER
3c9ca90749 List all available temp sensors when hovering over the CPU temperature
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-06-15 13:45:00 +02:00
DL6ER
645984db5c Show number of ABP-style entries on adlists if appropriate
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-06-15 13:45:00 +02:00
DL6ER
a69726b4da Fix typo and clarify the expired cache entries count
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-06-15 13:45:00 +02:00
DL6ER
3e4a7699f8 Change Number of {domains -> entries}
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-06-12 21:44:48 +02:00
DL6ER
3085544001 Do not hide mock MAC addresses int the network table
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-06-10 07:50:17 +02:00
DL6ER
c89b092b28 Automatically add X-CSRF-TOKEN to all AJAX calls
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-06-03 22:32:26 +02:00
DL6ER
5dc9c41ce1 Updae jQuery to 3.7.0
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-06-03 12:46:11 +02:00
DL6ER
6b2e6d8976 Remove obsolete JS file
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-06-03 12:37:16 +02:00
DL6ER
7a6d21c9c0 Fix favicon not being reachable from deep links (e.g. /admin/settings/dns)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-06-03 12:31:43 +02:00
RD WebDesign
09d35f0516 Including missing file: qrious.min.js
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-06-03 01:30:59 -03:00
RD WebDesign
62e9bcf2c9 Fix LCARS fonts
theme variable is an array. Using pihole.webtheme().

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-06-03 01:06:57 -03:00
DL6ER
a6ce666e3e !!! BREAKING CHANGE !!! Switch to the proven memory-hard password-hashing alogorithm BALLOON
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-05-30 21:24:11 +02:00