Skip to content

feat(webdav): Add configurable extra footer HTML support#92

Closed
SilviaSWR wants to merge 2 commits intorexzhang:mainfrom
SilviaSWR:feature/configurable-extra-footer
Closed

feat(webdav): Add configurable extra footer HTML support#92
SilviaSWR wants to merge 2 commits intorexzhang:mainfrom
SilviaSWR:feature/configurable-extra-footer

Conversation

@SilviaSWR
Copy link
Copy Markdown
Contributor

Description

This PR adds support for injecting a custom footer into the generated HTML via extra_footer_path.

The footer content is loaded from a file and inserted into the HTML template, allowing configurable footer content in directory listings.

No changes are made to static file serving or resource handling.

fixes #91

Checklist

  • I have read the contribution guidelines
  • One feature (issue) per PR
  • All commits will be squashed into a single commit
  • Changelog updated if necessary
  • Tests added/updated if necessary
  • Documentation updated if necessary

@SilviaSWR
Copy link
Copy Markdown
Contributor Author

This contribution has received funding from the Spanish government (grant EQC2021-007479-P, funded by MCIN/AEI/10.13039/501100011033), the EU NextGeneration/PRTR (PRTR-C17.I1), and the Generalitat de Catalunya.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 75.91%. Comparing base (412893d) to head (695f6c2).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
asgi_webdav/web_dav.py 45.45% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
- Coverage   76.00%   75.91%   -0.09%     
==========================================
  Files          26       26              
  Lines        3775     3787      +12     
==========================================
+ Hits         2869     2875       +6     
- Misses        906      912       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SilviaSWR SilviaSWR closed this Apr 21, 2026
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.

Feature request: support configurable templates for HTML directory listing

1 participant