wgctl/commands
Nuno Duque Nunes 0b9f113453 feat: block history tracking
- core/lib/block_history.py: record/unblock/list functions
- ctx::block_history: .wgctl/data/block-history/ path
- block --reason: record block event with reason, endpoint, triggered_by
- unblock --reason: update block event with unblock timestamp
- json::block_history_record/unblock/list/list_all wrappers
- json::endpoint_cache_get: get cached endpoint for peer
- export --all: include block-history in full backup
- import --all: restore block-history files
- tests: section_block_unblock with fixture peer, history field validation
2026-05-28 01:51:37 +00:00
..
mixins feat: --json output for group/rule/identity/net/activity 2026-05-27 00:36:30 +00:00
test feat: block history tracking 2026-05-28 01:51:37 +00:00
activity.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
add.command.sh feat: identity, subnet, policy systems + tableless layouts 2026-05-22 03:42:40 +00:00
audit.command.sh feat: complete wgctl v2 — net services, block system M:N, rule inheritance, service annotations, restricted status, 64 tests passing 2026-05-15 12:36:38 +00:00
block.command.sh feat: block history tracking 2026-05-28 01:51:37 +00:00
config.command.sh refactor: config restructure, wgctl.json, data/ directory layout 2026-05-27 01:37:28 +00:00
export.command.sh feat: block history tracking 2026-05-28 01:51:37 +00:00
fw.command.sh feat: block system JSON migration, M:N group tracking, block module, block::restore_all, color module, fw refactor 2026-05-15 04:44:53 +00:00
group.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
hosts.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
identity.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
import.command.sh add export,import features/add tests 2026-05-27 16:46:09 +00:00
inspect.command.sh feat: command mixin system, --json for list/inspect, tests 2026-05-27 00:01:06 +00:00
list.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
logs.command.sh fix: --ascending/--descending flag parsing in logs show 2026-05-26 12:40:35 +00:00
net.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
peer.command.sh feat: duplicate rule validation, peer command, fallback DNS 2026-05-25 21:39:17 +00:00
policy.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
qr.command.sh finish base implementation 2026-05-20 21:49:44 +00:00
remove.command.sh init feature 2026-05-19 15:26:31 +00:00
rename.command.sh finish base implementation 2026-05-20 21:49:44 +00:00
rule.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
service.command.sh feat: block system JSON migration, M:N group tracking, block module, block::restore_all, color module, fw refactor 2026-05-15 04:44:53 +00:00
shell.command.sh feat: watch/logs endpoint annotation, shared row primitives 2026-05-26 15:16:33 +00:00
subnet.command.sh feat: display config, table layouts for all commands 2026-05-27 03:32:31 +00:00
test.command.sh init feature 2026-05-19 15:26:31 +00:00
unblock.command.sh feat: block history tracking 2026-05-28 01:51:37 +00:00
watch.command.sh feat: watch/logs endpoint annotation, shared row primitives 2026-05-26 15:16:33 +00:00