Skip to content

chore: promote develop to main - #134

Merged
mikemadeja merged 7 commits into
mainfrom
develop
Oct 1, 2026
Merged

mikemadeja merged 7 commits into
mainfrom
develop

Conversation

@mikemadeja

Copy link
Copy Markdown
Owner

Summary

🤖 Generated with Claude Code

mikemadeja and others added 7 commits September 30, 2026 16:29
Adds Get-PiHoleDhcpLease (GET /dhcp/leases) and Remove-PiHoleDhcpLease
(DELETE /dhcp/leases/{ip}), completing the DHCP API area. Follows the
existing NetworkInformation get/delete pattern - no batch delete exists
for leases, and a nonexistent lease naturally surfaces as a real API
error rather than needing a pre-check.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Adds Get-PiHoleAuthStatus (GET /auth), Get-PiHoleAuthTotp
(GET /auth/totp), and New-PiHoleAppPassword (GET /auth/app),
completing the Authentication API area.

Get-PiHoleAuthStatus's -Password is optional, unlike every other
function in the module: its real value is checking whether a Pi-hole
requires a login at all for the calling client, which only works when
called without credentials. Passing -Password instead checks the
status of a real login.

New-PiHoleAppPassword only generates a candidate password/hash pair -
confirmed via testing that it has no effect, including no session
invalidation, until the returned hash is explicitly applied via
config, despite the API's own description text suggesting otherwise.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Picks up DHCP's examples alongside the Authentication ones added on
this branch, and refreshes stale stats/history output with fresh
captured data.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Not important enough to carry alongside the other Authentication
endpoints - app passwords are a niche credential-management feature,
unlike Get-PiHoleAuthStatus/Get-PiHoleAuthTotp which are simple status
checks. Get-PiHoleAuthStatus and Get-PiHoleAuthTotp remain.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
feat: add remaining Authentication API endpoints
@mikemadeja
mikemadeja merged commit 7469eca into main Oct 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant