Mostly prompted by the problem that mistyping the admin password
makes the form go boom. We cannot rely on the browser. While here
reformat and add copyright as various improvements have been made
here ever since 2015.
We are forcing a change through the installer, which is where
the majority starts from. We don't want to enforce a change
twice.
We can't really see if we installed or went through a factory
reset, so this is (was) the best of both worlds in conjunction
with the new installer feature.
While here, annotate that it is possible to leave it "empty".
This reverts commit 5eb2c986ca7233f0f94f372968433b145b4b3249.
o Remove a subtype of <includefile/> to reduce feature bloat
o Select 32 bit subnet (host) as a suggestion
o Never skip LAN and make it optional instead
o Fix regression of $xml passing
o Fix voodoo on Static
JS regex validation should die, but so should this wizard so
just touch up on the subject of IP validation, improving:
o Allow leading zeros
o Fail on x.x.x.0
o We could potentially pass files using xml=../../xxx, so just
hardcode the wizards we know for now. I don't expect them to
grow, otherwise we may be able to do a directory expand.
o Move xml files out of the /usr/local/www/wizards into /usr/local/wizard.
o Move the include file to the normal include path /usr/local/etc/inc.
o Allow the menu to always expand to the setup wizard, even though
we many be triggering the OpenVPN wizard. This gives a consistent
feel of navigation, especially since POST requests hide the invoked
wizard later on anyway.