Skip to content

feat: improved application usage#7

Merged
hali-coding merged 2 commits into
mainfrom
feat/sprint
Jun 21, 2026
Merged

feat: improved application usage#7
hali-coding merged 2 commits into
mainfrom
feat/sprint

Conversation

@hali-coding

Copy link
Copy Markdown
Owner

Changes

  • feat: add audit log download from both TUI and dashboard
  • feat: general improvments

Copilot AI review requested due to automatic review settings June 21, 2026 12:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves operational usability of ssltui by adding audit log export (TUI + dashboard), exposing the CRL via the public API, and improving dashboard UX (favicon + connection-loss handling). It also updates documentation and CI configuration to reflect the new/clarified behavior.

Changes:

  • Add audit log CSV export from the TUI and the dashboard.
  • Add /api/v1/crl.pem endpoint (and document it) plus serve a favicon for the dashboard.
  • Improve dashboard resilience by hiding sensitive UI data when the backend is unreachable.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
tools/convert_favicon.sh Adds a helper script to generate favicon.ico from favicon.png.
ssltui/tui.py Adds audit CSV rendering + export UI flow in the TUI; makes Save modal title configurable.
ssltui/images/favicon.png Adds favicon source image (Git LFS pointer).
ssltui/images/favicon.ico Adds generated favicon ICO (Git LFS pointer).
ssltui/api.py Adds CRL download endpoint, dashboard audit download, favicon route, and connection-loss UI behavior.
README.md Documents running ssltui serve in the background; updates dashboard capabilities list.
docs/API.md Documents /api/v1/crl.pem.
CLAUDE.md Fixes cron command example to use the renew subcommand.
.github/workflows/pr.yaml Adds explicit workflow permissions; bumps CI Python version to 3.13.
.gitattributes Adds *.ico to Git LFS tracking.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tools/convert_favicon.sh Outdated
Comment thread ssltui/api.py
Comment thread ssltui/api.py
Comment on lines +1419 to +1426
@app.get("/api/v1/crl.pem")
def download_crl():
crl = config.crl_path(root)
if not crl.exists():
abort(
404, description="CRL not found — no certificates have been revoked yet"
)
return _pem_response(crl, "ca.crl")
Comment thread .github/workflows/pr.yaml
Comment thread README.md
Comment on lines +234 to +235
Reattach later with `tmux attach -t ssltui`. (`screen` or a systemd user
service work equally well.)
Comment thread CLAUDE.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@hali-coding
hali-coding merged commit f3fc52e into main Jun 21, 2026
5 checks passed
@hali-coding
hali-coding deleted the feat/sprint branch June 21, 2026 12:53
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.

2 participants