mirror of
https://github.com/CyberMind-FR/secubox-deb.git
synced 2026-07-01 06:24:59 +00:00
Compare commits
No commits in common. "c043c5fca85856decea054d06f2507a2be49fa73" and "9b8144073f72297b6272b02bd67210a76b794b2a" have entirely different histories.
c043c5fca8
...
9b8144073f
|
|
@ -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
|
secubox-toolbox (2.6.28-1~bookworm1) bookworm; urgency=medium
|
||||||
|
|
||||||
* Eye graph: hide all IP nodes + cap clients list (#575).
|
* Eye graph: hide all IP nodes + cap clients list (#575).
|
||||||
|
|
|
||||||
|
|
@ -231,15 +231,14 @@ fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Phase 10 (#501 perf) : on UPGRADE ($2 = previous version), bring the
|
# Phase 10 (#501 perf) : on UPGRADE ($2 = previous version), try-restart
|
||||||
# long-running daemons back on the new code without operator action.
|
# the long-running daemons so the new code is live without operator
|
||||||
# dh_installsystemd ships --no-start --no-enable in debian/rules.
|
# intervention. dh_installsystemd ships --no-start --no-enable in
|
||||||
# #581 fix : the dpkg upgrade SIGTERMs the units BEFORE this postinst
|
# debian/rules so without this loop secubox-toolbox.service stays dead
|
||||||
# runs, so `try-restart` (a no-op on a stopped unit) left
|
# post-upgrade until reboot (caught 2026-06-09 : kbin.gk2 503'd for 5 min
|
||||||
# secubox-toolbox.service DEAD post-upgrade -> kbin 503 (caught twice on
|
# after the 2.5.0 → 2.5.1 upgrade because the unit was SIGTERMed and
|
||||||
# 2026-06-14, first on 2026-06-09). So : ENABLED units get a full
|
# never restarted). try-restart is a no-op when the unit is not
|
||||||
# `restart` (starts them even if currently stopped) ; everything else
|
# running, so it's safe on fresh install / unconfigured boards.
|
||||||
# keeps `try-restart` (preserve an operator's deliberate stop).
|
|
||||||
if [ -n "${2:-}" ] && [ -d /run/systemd/system ]; then
|
if [ -n "${2:-}" ] && [ -d /run/systemd/system ]; then
|
||||||
for unit in secubox-toolbox.service \
|
for unit in secubox-toolbox.service \
|
||||||
secubox-toolbox-mitm.service \
|
secubox-toolbox-mitm.service \
|
||||||
|
|
@ -247,11 +246,7 @@ fi
|
||||||
secubox-toolbox-mitm-wg-worker@2.service \
|
secubox-toolbox-mitm-wg-worker@2.service \
|
||||||
secubox-toolbox-mitm-wg-worker@3.service \
|
secubox-toolbox-mitm-wg-worker@3.service \
|
||||||
secubox-toolbox-mitm-wg-worker@4.service ; do
|
secubox-toolbox-mitm-wg-worker@4.service ; do
|
||||||
if systemctl is-enabled --quiet "$unit" 2>/dev/null; then
|
systemctl try-restart "$unit" 2>/dev/null || true
|
||||||
systemctl restart "$unit" 2>/dev/null || true
|
|
||||||
else
|
|
||||||
systemctl try-restart "$unit" 2>/dev/null || true
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
|
|
@ -108,11 +108,7 @@ def _style_for(cats: dict) -> bytes:
|
||||||
sels.extend(_COSMETIC[cat])
|
sels.extend(_COSMETIC[cat])
|
||||||
if not sels:
|
if not sels:
|
||||||
return b""
|
return b""
|
||||||
sel = ",".join(sels)
|
rule = ",".join(sels) + "{display:none!important;visibility:hidden!important}"
|
||||||
# #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;}"
|
|
||||||
return (b"<style id=\"sbx-ghost-style\">" + rule.encode("utf-8") + b"</style>")
|
return (b"<style id=\"sbx-ghost-style\">" + rule.encode("utf-8") + b"</style>")
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user