Query kea-ctrl-socket for existing leases since the in-memory database is mutated when using lease-del, the csv files still show leases for a while that do not exist in memory anymore until a cleanup happens periodically.
mvc: Shell: rewrite exec_safe() to avoid vsprintf() complications; closes #9703
Only support %s and %% using preg_replace_callback() and throw
3 distinct TypeError cases making sure the resulting command is
the dummy command then.
We're not overly interested in how well escapeshellarg() works,
but we ensure it's being called always.
(cherry picked from commit b25bdee3b4d76b4e722d30fadd3591d90e30b50c)
(cherry picked from commit aef0172f5596683f4dba6a805f80b85116653dff)
Services: Dnsmasq DNS & DHCP: Since client-id is a valid IPv4 reservation type as well, ensure the lease view handles it correctly (#10003)
Remove some of the heuristics with the adding lease button. We cannot assume what the user want, so just offer both mac and hwaddr for any add lease command. The dnsmasq GUI we built has no constraints regarding this, and the application below renders both if given since there is no logic constraint here either.
(cherry picked from commit 15ba56587119e9998ac65829f62592e3e63d2389)
firewall: fix mvc code vs. legacy rules display issues #9931
These functions only pertain to printing automatic rules in the
old GUI so eventually we can all scrap them.
(cherry picked from commit 095a4d53a89b81c1726d1e342d9bb83e1b93e184)
make: make `vim' target even more lazy
Match the file name without left anchor and look for
a partial directory match if a director was specified.
(cherry picked from commit 286dfcb6a660105ec44955ee8ce8693af7fdb53a)