wgctl/core
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
..
__pycache__ refactor: split json_helper.py into lib/ modules 2026-05-24 22:02:50 +00:00
lib feat: block history tracking 2026-05-28 01:51:37 +00:00
mixins feat: command mixin system, --json output for list/inspect 2026-05-26 23:18:56 +00:00
test feat: date format config, batch optimizations, list refactor, fw:: rename, .wgctl data dir 2026-05-11 22:27:33 +00:00
color.sh init feature 2026-05-19 15:26:31 +00:00
command.sh feat: command mixin system, --json for list/inspect, tests 2026-05-27 00:01:06 +00:00
command_mixins.sh feat: command mixin system, --json for list/inspect, tests 2026-05-27 00:01:06 +00:00
context.sh feat: block history tracking 2026-05-28 01:51:37 +00:00
flag.sh add wgctl 2026-05-06 23:02:12 +00:00
fmt.sh fix: policy_read accidental defaults merge from module split 2026-05-25 18:45:23 +00:00
fmt_helper.py feat: date format config, batch optimizations, list refactor, fw:: rename, .wgctl data dir 2026-05-11 22:27:33 +00:00
json.sh feat: block history tracking 2026-05-28 01:51:37 +00:00
json_helper.py feat: block history tracking 2026-05-28 01:51:37 +00:00
log.sh finish base implementation 2026-05-20 21:49:44 +00:00
module.sh init feature 2026-05-19 15:26:31 +00:00
ui.sh cleanup: ui::pad_mb removal, watch alignment fixes, endpoint cache fallback 2026-05-25 15:09:13 +00:00
utils.sh feat: date format config, batch optimizations, list refactor, fw:: rename, .wgctl data dir 2026-05-11 22:27:33 +00:00