Compare commits

..

No commits in common. "c043c5fca85856decea054d06f2507a2be49fa73" and "9b8144073f72297b6272b02bd67210a76b794b2a" have entirely different histories.

3 changed files with 10 additions and 47 deletions

View File

@ -1,31 +1,3 @@
secubox-toolbox (2.6.31-1~bookworm1) bookworm; urgency=medium
* ad_ghost: remove ad placeholders entirely (#584, reverses #576). Ghosted
ad slots now collapse with display:none — no black-hole/void, the space
disappears. Host-blocking (204) still saves the bandwidth.
-- Gerald KERMA <devel@cybermind.fr> Sun, 14 Jun 2026 14:00:00 +0200
secubox-toolbox (2.6.30-1~bookworm1) bookworm; urgency=medium
* ad_ghost: ghosted ads become a CSS "black hole" placeholder (#576).
Instead of display:none (a collapsed blank gap), the ghosted ad slot is
a layered dark void — radial-gradient background + inset glow + a glowing
accretion-disc via ::after, real content hidden. Intentional reclaimed
space, R3+/R4, toggle via the ad_ghost filter.
-- Gerald KERMA <devel@cybermind.fr> Sun, 14 Jun 2026 13:30:00 +0200
secubox-toolbox (2.6.29-1~bookworm1) bookworm; urgency=medium
* fix(postinst): portal reliably restarts after dpkg upgrade (#581). The
upgrade SIGTERMs the units before postinst runs, so the old try-restart
loop was a no-op on the already-stopped portal → secubox-toolbox.service
stayed dead → kbin 503 (hit twice 2026-06-14). Now ENABLED units get a
full `restart` (starts even if stopped); others keep `try-restart`.
-- Gerald KERMA <devel@cybermind.fr> Sun, 14 Jun 2026 13:00:00 +0200
secubox-toolbox (2.6.28-1~bookworm1) bookworm; urgency=medium
* Eye graph: hide all IP nodes + cap clients list (#575).

View File

@ -231,15 +231,14 @@ fi
fi
fi
# Phase 10 (#501 perf) : on UPGRADE ($2 = previous version), bring the
# long-running daemons back on the new code without operator action.
# dh_installsystemd ships --no-start --no-enable in debian/rules.
# #581 fix : the dpkg upgrade SIGTERMs the units BEFORE this postinst
# runs, so `try-restart` (a no-op on a stopped unit) left
# secubox-toolbox.service DEAD post-upgrade -> kbin 503 (caught twice on
# 2026-06-14, first on 2026-06-09). So : ENABLED units get a full
# `restart` (starts them even if currently stopped) ; everything else
# keeps `try-restart` (preserve an operator's deliberate stop).
# Phase 10 (#501 perf) : on UPGRADE ($2 = previous version), try-restart
# the long-running daemons so the new code is live without operator
# intervention. dh_installsystemd ships --no-start --no-enable in
# debian/rules so without this loop secubox-toolbox.service stays dead
# post-upgrade until reboot (caught 2026-06-09 : kbin.gk2 503'd for 5 min
# after the 2.5.0 → 2.5.1 upgrade because the unit was SIGTERMed and
# never restarted). try-restart is a no-op when the unit is not
# running, so it's safe on fresh install / unconfigured boards.
if [ -n "${2:-}" ] && [ -d /run/systemd/system ]; then
for unit in secubox-toolbox.service \
secubox-toolbox-mitm.service \
@ -247,11 +246,7 @@ fi
secubox-toolbox-mitm-wg-worker@2.service \
secubox-toolbox-mitm-wg-worker@3.service \
secubox-toolbox-mitm-wg-worker@4.service ; do
if systemctl is-enabled --quiet "$unit" 2>/dev/null; then
systemctl restart "$unit" 2>/dev/null || true
else
systemctl try-restart "$unit" 2>/dev/null || true
fi
done
fi
;;

View File

@ -108,11 +108,7 @@ def _style_for(cats: dict) -> bytes:
sels.extend(_COSMETIC[cat])
if not sels:
return b""
sel = ",".join(sels)
# #584 — NO placeholder : collapse the ghosted ad slot entirely so the
# space disappears (display:none), rather than leaving a void/black-hole.
# Host-blocking (204) still saves the bandwidth ; this just hides the box.
rule = sel + "{display:none!important;visibility:hidden!important;}"
rule = ",".join(sels) + "{display:none!important;visibility:hidden!important}"
return (b"<style id=\"sbx-ghost-style\">" + rule.encode("utf-8") + b"</style>")