wgctl/modules
Nuno Duque Nunes 2a6648735e refactor: config restructure, wgctl.json, data/ directory layout
- context.sh: .wgctl/{config,data,daemon} directory structure
- ctx::config_file: points to .wgctl/config/wgctl.json
- ctx::data: points to .wgctl/data/ (rules, identities, groups, etc.)
- ctx::peer_history: .wgctl/data/peer-history/
- config.module.sh: loads from wgctl.json via json::config_load
- config::_load_legacy: fallback for old wgctl.conf with migration warning
- json_helper.py: config_load() outputs KEY=value pairs from wgctl.json
- cmd::config::migrate: converts wgctl.conf → wgctl.json, moves data files
- cmd::config::_show: renamed from run body
- daemon/wgctl-monitor.py: updated PEER_HISTORY_DIR path
2026-05-27 01:37:28 +00:00
..
ui feat: watch/logs endpoint annotation, shared row primitives 2026-05-26 15:16:33 +00:00
block.module.sh finish base implementation 2026-05-20 21:49:44 +00:00
config.module.sh refactor: config restructure, wgctl.json, data/ directory layout 2026-05-27 01:37:28 +00:00
firewall.module.sh feat: block/unblock --service, fw::has_rule/has_block_rule/has_allow_rule, block::cleanup, restricted status in inspect, net service annotations 2026-05-15 09:22:17 +00:00
group.module.sh feat: main group display, group::has_peer, config validation, full block cleanup on unblock, ui::empty helper, blocks header count 2026-05-17 22:06:21 +00:00
hosts.module.sh feat: hosts.json IP resolution system 2026-05-23 22:01:45 +00:00
identity.module.sh feat: identity, subnet, policy systems + tableless layouts 2026-05-22 03:42:40 +00:00
ip.module.sh finish base implementation 2026-05-20 21:49:44 +00:00
keys.module.sh finish base implementation 2026-05-20 21:49:44 +00:00
monitor.module.sh feat: watch/logs endpoint annotation, shared row primitives 2026-05-26 15:16:33 +00:00
net.module.sh feat: hosts.json IP resolution system 2026-05-23 22:01:45 +00:00
peers.module.sh test: add tests for all new features, fix bugs found by tests 2026-05-26 00:09:30 +00:00
policy.module.sh remove hardcoded policies 2026-05-25 18:47:48 +00:00
resolve.module.sh feat: peer endpoint history tracking and resolution 2026-05-26 15:51:53 +00:00
rule.module.sh feat: rule list tableless layout with inline extends and +all/-N indicators 2026-05-22 23:12:27 +00:00
subnet.module.sh implement policy system 2026-05-21 02:16:32 +00:00
ui.module.sh init feature 2026-05-19 15:26:31 +00:00