Commit Graph

341 Commits

Author SHA1 Message Date
Christian Boyle
95ffbd5bf9 fix dhcp display in padd tiny
updates from review

more updates from review

fix dhcp string to checkbox

fix dhcp ip range display

fix dhcp ip range display again

enhance dhcp range display

Update padd.sh

Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Christian Boyle <christianboyle@users.noreply.github.com>

add newline at end of file, per editorconfig-checker failure

Update padd.sh

Co-authored-by: yubiuser <github@yubiuser.dev>
Signed-off-by: Christian Boyle <christianboyle@users.noreply.github.com>
2025-03-29 21:35:37 +01:00
yubiuser
ca7dcfdcbb Allow to perform update without authentication and on docker
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-03-27 21:28:42 +01:00
yubiuser
80a0cfb14b Fix padd -u
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-03-27 21:28:42 +01:00
yubiuser
68afc9a441 Remove function to output some data as json - Pi-hole v6 has an API for that
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-03-27 21:28:42 +01:00
yubiuser
5c2febd6c5 Allow JSON, Update and Version to be combined with other flags
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-03-27 21:28:42 +01:00
Rob Gill
506c0b6d78 Prevent transient error messages where no temperature is provided (#428)
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
2025-03-04 09:55:38 +01:00
yubiuser
909dc29aca Tweak convertUptime() to not rely on external date (#429) 2025-02-28 21:50:34 +01:00
RD WebDesign
cde0ac7516 Fix typo: replace "remmote" with "remote"
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-02-27 22:34:09 -03:00
yubiuser
8233ca6a35 Fix indention
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-27 22:14:05 +01:00
yubiuser
2f7ebaa84e Fix resize during startup
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-27 17:59:46 +01:00
yubiuser
05eb5a9962 Tweak convertUptime() to not rely on external date
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-25 12:27:58 +01:00
yubiuser
f92959c425 Only exit for small screen sizes during startup (#423) 2025-02-24 16:40:12 +01:00
yubiuser
57b3ff8d98 Only exit for small screen sizes during startup
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-23 22:21:43 +01:00
yubiuser
a0df3ff6c5 Fix IPv4 address indicator
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-23 21:40:27 +01:00
yubiuser
a0833eefab Add hint to skip 2FA in case the app password was used
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-18 21:14:27 +01:00
yubiuser
f697f997e3 If a CLI password is found, 2FA can be skipped
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-18 21:14:27 +01:00
yubiuser
3df185411c Add 2FA
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-18 21:14:27 +01:00
Michael Woolweaver
64e4927141 remove duplicate text at end of line in DisplayHelp()
Signed-off-by: Michael Woolweaver <michael@woolweaver.bid>
2025-02-13 10:54:27 -06:00
yubiuser
d1b9372044 Disabled IPv6 is not an error
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-12 21:25:03 +01:00
yubiuser
d7517afb17 Clear the screen once on startup
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-12 14:16:23 +01:00
yubiuser
e54e7030e2 Fix startup sequence on mini
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-12 14:09:23 +01:00
yubiuser
7d1a0b02ff Improve DHCP and IPv6 info
Signed-off-by: yubiuser <github@yubiuser.dev>
2025-02-12 14:01:51 +01:00
RD WebDesign
74b3670ca6 Also use a new blue box to represent disabled items
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-02-11 23:45:39 -03:00
RD WebDesign
8e2a93cdae Change the color for some disabled elements to avoid confusion
Using blue color because not every disabled setting means an error.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2025-02-11 23:16:24 -03:00
yubiuser
689e602eff Speedup response handling
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-12-22 23:43:06 +01:00
yubiuser
9bfb33869b Fix CPU load
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-09-26 22:43:49 +02:00
yubiuser
0440ade345 Require all API data after connection is re-established
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-09 23:20:13 +02:00
yubiuser
09e33964f6 Set --connect-timeout for curl connections
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-09 22:53:04 +02:00
yubiuser
51fde8aa88 Skip all the processing if FTL is down
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-09 22:44:14 +02:00
yubiuser
97006b0681 Fix --version command
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-09 21:05:59 +02:00
yubiuser
ed3143f79a Propagate API response errors upstream
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-09 15:41:44 +02:00
yubiuser
573d36ff20 padd_data is a global variable
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-09 15:37:57 +02:00
yubiuser
e18403b922 Suppress curl errors
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-09 15:33:42 +02:00
yubiuser
d8c6f3344f Re add necessary 2>/dev/null
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-09 14:42:13 +02:00
yubiuser
285f387fe9 Rename functions to clarify their use
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-09 14:41:33 +02:00
RD WebDesign
f1c3382bda Using paths(scalars | true) to return null and false values.
We also check if the value is exactly `null` and, in this case, return the
string "null", as jq would return an empty string for nulls.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-08-07 22:49:37 -03:00
DL6ER
1310ea8f48 Redefine jq's paths() as its built-in function skips all pais with values null and false
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-08-07 22:26:02 +02:00
DL6ER
113ef44b37 Use jq only once for parsing the entire payload after querying the API
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-08-07 20:26:52 +02:00
DL6ER
5559796a4a Use new FTL api/padd endpoint for querying the data
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-08-05 19:01:55 +02:00
Dominik
b719987e57 Modify PADD to comply with the changes in FTL on the same branch (#395) 2024-07-23 18:05:14 +02:00
DL6ER
ef97d5bd57 Fallback: If there is no default IPv6 gateway, use the default IPv4 gateway interface instead
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-22 14:16:29 +02:00
yubiuser
f918bff777 No need to check for wget in update routine as we check for curl during normal runtime
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-07-18 10:05:23 +02:00
yubiuser
d1707e56a5 Check for required dependencies on startup
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-07-18 08:51:01 +02:00
yubiuser
19808bfb57 Fix idention style
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-07-14 22:25:14 +02:00
yubiuser
c1adc4a6eb DHCP is a top level config object
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-07-14 22:25:14 +02:00
DL6ER
c7f7608659 Fix editorconfig errors even if not introduced by the PR at hand
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-14 16:45:24 +02:00
DL6ER
11723bce97 Modify PADD to comply with the changes in FTL on the same branch
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-14 15:10:34 +02:00
DL6ER
770ce440fa Fix old spelling issue
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-29 21:09:43 +02:00
DL6ER
8316033d4d Try to use the CLI password for logins (if enabled and readable by the current user)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-29 21:09:43 +02:00
DL6ER
8b8e219448 Rename API functions for consistency with core code
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-29 21:09:40 +02:00