Commit Graph

467 Commits

Author SHA1 Message Date
RD WebDesign
0d55c511ff Improving settings for Web and API
- use separate tabs for Web and API
- change box titles and options distribution

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-02-01 19:02:49 -03:00
RD WebDesign
f15d104342 Move the temperature unit option from the "Per browser" section
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-30 16:04:09 -03:00
RD WebDesign
302a402277 Avoid caching issues using last modified time
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-13 23:10:15 -03:00
Christian König
cda98e2173 Restore save functionality
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-23 09:03:59 +02:00
Christian König
e32bc2d07a Remove email functionality
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-08-17 23:18:07 +02:00
RD WebDesign
509113296c Move login form to a new page
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-12 18:04:57 -03:00
DL6ER
6a39cc3b4a Disable Yoda style
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-12 18:55:27 +02:00
DL6ER
97a76669a2 Explicitly set blank_line_before_statement to exclude include* and require*
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 20:55:02 +02:00
DL6ER
6ec4b8a529 Run PHP-CS-Fixer on all files
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 12:04:03 +02:00
RD WebDesign
6adf8e0132 Fixing lines without multiple of 4 spaces
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:57:13 -03:00
RD WebDesign
a3234d1306 Replacing tabs with 4 spaces
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:28:30 -03:00
RD WebDesign
2bc918ad6e Use 4 spaces to indent PHP files.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:18:26 -03:00
RD WebDesign
79187b1258 Simplify header.php
- move some functions to `func.php`
- move sidebar to its own file `sidebar.php`
- fix indentation
- LCARS CSS: hide menu headers when logged off
- LCARS CSS: invert hover and active menu colors

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-07-20 18:59:36 -03:00
RD WebDesign
a8aaebcad4 Remove old debug output
and fix indentation.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-06-28 19:33:51 -03:00
yubiuser
30cbfb1cf2 Remove unnecessary requirement 2022-06-11 00:40:36 +02:00
Christian König
0ccf727edd Use API gateway endpoint
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-06-10 23:41:45 +02:00
yubiuser
0ff11d6349 Omit DHCPdomain
Co-authored-by: DL6ER <DL6ER@users.noreply.github.com>
2022-06-06 22:57:55 +02:00
Christian König
a4ebb5b4e2 Remove unnecessary else case
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-06-06 10:33:53 +02:00
yubiuser
d99fc93d44 Fix indention
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
2022-06-06 10:30:49 +02:00
Christian König
dac8138fc8 Base DHCP settings on default gateway address and not on IPV4_ADDRESS from setupVars.conf
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-06-04 23:23:59 +02:00
Christian König
a097d63b3b Use DEFAULT_FTLCONFFILE
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-04-23 19:44:11 +02:00
Christian König
d3aafaa30f Pass config file path when reloading pihole-FTL.conf
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-04-23 14:07:37 +02:00
Adam Warner
a5f20e4ce3 spelling
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-04-08 23:26:12 +01:00
DL6ER
af9a6f3444 Merge branch 'devel' into new/nonfatal-dnsmasq-warnings
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-03-20 09:00:57 +01:00
Christian König
6ab9ef0ef3 Source utils.js in header.php
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-16 11:11:11 +01:00
DL6ER
b78ba8d562 Add documentation link
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-27 20:45:23 +01:00
DL6ER
3ed3a2b6f7 Use 4em as width for the rate limiting interval
Co-authored-by: yubiuser <ckoenig@posteo.de>
2022-02-26 16:33:59 +01:00
DL6ER
21964cfd7f Add per-browser setting to ignore non-fatal dnsmasq warnings
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-26 10:53:45 +01:00
DL6ER
dd49ad4ae7 Add CSS style to make the input boxes smaller
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-26 10:08:25 +01:00
yubiuser
304a4e31a8 Set min and step for rate_limit_interval as well 2022-02-20 18:36:27 +01:00
DL6ER
4acfa01429 Apply suggestions from code review
Co-authored-by: yubiuser <ckoenig@posteo.de>
2022-02-20 16:18:06 +01:00
DL6ER
8cad8114cf Always re-read FTL config file at start of settings page to refresh old config data from before running the savesettings.php code
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-19 10:58:19 +01:00
DL6ER
1d67146b75 Add rate-limit settings to dashboard
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-19 09:29:35 +01:00
DL6ER
d9ad67860f Merge pull request #2111 from pi-hole/local_time
Include timezone info in time/date FTL has been started
2022-02-12 09:30:05 +01:00
Christian König
bfe91d9da3 Prevent code injection
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-12 09:10:19 +01:00
Adam Warner
bb4cafcb7c Merge pull request #2021 from Iksas/safari-css-animation-fix
Decrease resource usage of CSS animations
2022-02-11 17:23:30 +00:00
Christian König
be31e4ea58 Get TZ info from ENV in docker or date command
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-08 21:51:55 +01:00
Christian König
9b1e2b8dab Fix indention
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-05 19:21:25 +01:00
Christian König
a0ee63381f Inlcude timezone info
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-05 17:09:51 +01:00
RD WebDesign
bf82c47e98 Fix the wrong escaping on settings datatable (#2100)
* Fix the wrong escaping on settings datatable

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>

* Using utils escapeHtml function

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>

* Fix prettier

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-30 14:46:47 +01:00
Iksas
369170105a improve efficiency of the lookatme animation
Signed-off-by: Iksas <Iksas@users.noreply.github.com>
2022-01-22 15:12:30 +01:00
DL6ER
eadd6c5c20 Merge pull request #2042 from Moonlight63/tweak/DHCP-datatables
Tweak DHCP datatables
2022-01-05 19:03:45 +01:00
Justin Cauchon
dbcafc333a Fix mislabeled privacy setting (#2044)
* Fix mislabeled privacy setting

* Update settings.php

Co-authored-by: yubiuser <ckoenig@posteo.de>

Co-authored-by: yubiuser <ckoenig@posteo.de>
2022-01-04 18:56:08 +00:00
Dalen
f850264ab4 Fixed a typo and split DHCP page into different boxes.
Signed-off-by: Dalen <dalencattmlsp@gmail.com>
2022-01-01 14:54:06 -08:00
DL6ER
fc1b2c56ab Merge branch 'devel' into feat/avoid-window-open 2021-12-21 21:33:44 +01:00
DL6ER
2f52ab35fa Merge pull request #1991 from paul-man/chore/use-thead
Add absent <thead> tags
2021-12-21 21:30:21 +01:00
DL6ER
d7e750bda0 Improve interface settings (#2011)
* Change wording in the "Interface Listening Behavior" box (renamed to simply "Interface settings") to address issue #2009

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Clarify interface listening behavior. Add fourth (new) option it actually bind to an interface.

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Improve .no-danger-area and .danger-area CSS

Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-20 21:38:00 +01:00
Paul Mannarino
2a776f9dca Create modal for API token
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-09 12:10:57 -05:00
Paul Mannarino
2ca53d4f1e Merge remote-tracking branch 'upstream/devel' into chore/use-thead
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-02 18:33:54 -05:00
Paul Mannarino
ee2482a7ee Adding <thead> where missing
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-11-30 21:15:50 -05:00