• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iplweb / bpp / 25009900212
65%

Build:
DEFAULT BRANCH: dev
Ran 27 Apr 2026 06:07PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
25009900212

push

github

mpasternak
fix(html-minify): zabezpiecz frontend przed regresjami minifikacji HTML

Trzecia regresja w 2 tygodnie (footer wskakiwal pod tabele na
/pbn_export_queue/?page=4#pager) — naprawione + 3 warstwy prewencji
zeby klasa nie wracala.

Hotfixy templatow:
- base.html (linie 240, 266): usunieto self-closing <p/> z globalnego
  base templatu;
- pagination/{pagination,pagination_with_anchor}.html i
  bpp/templates/pagination.html: pusty <li class=ellipsis></li>
  zamieniono na <li class=ellipsis><span>&hellip;</span></li> —
  minify-html traktowal pusty li jako redundant void i usuwal go;
- pagination_with_anchor.html: wyciagnieto inline <style> (96 linii)
  do _pagination.scss — partial jest swap-owany przez htmx
  innerHTML, kazdy swap re-injektowal CSS-a;
- import _pagination w app-{blue,orange,green}.scss.

Prewencja systemowa:
- BppMinifyHtmlMiddleware.should_minify() omija requesty z naglowkiem
  HX-Request: true. minify-html jest zaprojektowane dla pelnych
  dokumentow — na fragmentach htmx rozjezdza DOM swoimi heurystykami.
  To eliminuje cala klase bugow.
- djlint jako linter HTML w pre-commit (--lint, bez auto-reformatu;
  [tool.djlint] enforcuje H020 puste-tag-pair, H025 orphan-tag, H017
  void-self-closing; reszta wyciszona).
- src/bpp/tests/test_html_minify_integrity.py: 5 testow z canary
  HTML-em odwzorowujacym ostatnie incydenty (pusty <li>, <p/>,
  <span/>) + sentinel "self-closing span PSUJE DOM" + bypass-test
  dla htmx + sanity dla non-htmx.

Higiena:
- src/django_bpp/bpp/static/500.html: usuniety z gita (zawiera
  tenant-specific dane z BD jak nazwa uczelni; generowany w entrypoint
  appservera) + dodany do .gitignore.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Source Files on build 25009900212
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #25009900212
  • fe3185fb on github
  • Prev Build on dev (#25004763435)
  • Next Build on dev (#25039195369)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc